swift
dbliverycolorsearchdialog.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2016 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_GUI_COMPONENTS_DBLIVERYCOLORSEARCHDIALOG_H
7 #define SWIFT_GUI_COMPONENTS_DBLIVERYCOLORSEARCHDIALOG_H
8 
9 #include <QDialog>
10 #include <QScopedPointer>
11 
12 #include "misc/aviation/livery.h"
13 
14 namespace Ui
15 {
16  class CDbLiveryColorSearchDialog;
17 }
18 namespace swift::gui::components
19 {
23  class CDbLiveryColorSearchDialog : public QDialog
24  {
25  Q_OBJECT
26 
27  public:
29  explicit CDbLiveryColorSearchDialog(QWidget *parent = nullptr);
30 
33 
36 
37  private:
39  void onAccepted();
40 
41  swift::misc::aviation::CLivery m_foundLivery;
42 
43  private:
44  QScopedPointer<Ui::CDbLiveryColorSearchDialog> ui;
45  };
46 } // namespace swift::gui::components
47 
48 #endif // SWIFT_GUI_COMPONENTS_DBLIVERYCOLORSEARCHDIALOG_H
CDbLiveryColorSearchDialog(QWidget *parent=nullptr)
Constructor.
const swift::misc::aviation::CLivery & getLivery() const
Found livery if any, otherwise default.
Value object encapsulating information about an airpot.
Definition: livery.h:29
High level reusable GUI components.
Definition: aboutdialog.cpp:13