mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-05-06 02:16:04 +08:00
Fixed clazy warnings: missing Q_OBJECT.
This commit is contained in:
@@ -25,6 +25,8 @@ namespace BlackCore
|
|||||||
//! Application context
|
//! Application context
|
||||||
class BLACKCORE_EXPORT CContextApplicationEmpty : public IContextApplication
|
class BLACKCORE_EXPORT CContextApplicationEmpty : public IContextApplication
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CContextApplicationEmpty(CCoreFacade *runtime) : IContextApplication(CCoreFacadeConfig::NotUsed, runtime) {}
|
CContextApplicationEmpty(CCoreFacade *runtime) : IContextApplication(CCoreFacadeConfig::NotUsed, runtime) {}
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ namespace BlackCore
|
|||||||
//! Audio context implementation
|
//! Audio context implementation
|
||||||
class BLACKCORE_EXPORT CContextAudioEmpty : public IContextAudio
|
class BLACKCORE_EXPORT CContextAudioEmpty : public IContextAudio
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CContextAudioEmpty(CCoreFacade *runtime) : IContextAudio(CCoreFacadeConfig::NotUsed, runtime) {}
|
CContextAudioEmpty(CCoreFacade *runtime) : IContextAudio(CCoreFacadeConfig::NotUsed, runtime) {}
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ namespace BlackCore
|
|||||||
//! as data files via http, or file system and parsing (such as FSX models)
|
//! as data files via http, or file system and parsing (such as FSX models)
|
||||||
class BLACKCORE_EXPORT CThreadedReader : public BlackMisc::CContinuousWorker
|
class BLACKCORE_EXPORT CThreadedReader : public BlackMisc::CContinuousWorker
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Log categories
|
//! Log categories
|
||||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
|||||||
*/
|
*/
|
||||||
class BLACKGUI_EXPORT CAltitudeEdit : public QLineEdit
|
class BLACKGUI_EXPORT CAltitudeEdit : public QLineEdit
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CAltitudeEdit(QWidget *parent = nullptr);
|
CAltitudeEdit(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -63,6 +63,8 @@ namespace BlackGui
|
|||||||
*/
|
*/
|
||||||
class CConfigSimulatorWizardPage : public QWizardPage
|
class CConfigSimulatorWizardPage : public QWizardPage
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructors
|
//! Constructors
|
||||||
using QWizardPage::QWizardPage;
|
using QWizardPage::QWizardPage;
|
||||||
|
|||||||
@@ -66,6 +66,8 @@ namespace BlackGui
|
|||||||
*/
|
*/
|
||||||
class CCopyModelsFromOtherSwiftVersionsWizardPage : public QWizardPage
|
class CCopyModelsFromOtherSwiftVersionsWizardPage : public QWizardPage
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructors
|
//! Constructors
|
||||||
using QWizardPage::QWizardPage;
|
using QWizardPage::QWizardPage;
|
||||||
|
|||||||
@@ -354,6 +354,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
//! The menu for loading and handling VPilot rules for mapping tasks
|
//! The menu for loading and handling VPilot rules for mapping tasks
|
||||||
//! \note This is a specific menu for that very component
|
//! \note This is a specific menu for that very component
|
||||||
|
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||||
class CMappingVPilotMenu : public Menus::IMenuDelegate
|
class CMappingVPilotMenu : public Menus::IMenuDelegate
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -377,6 +378,7 @@ namespace BlackGui
|
|||||||
//! -# toggle stash auto filtering
|
//! -# toggle stash auto filtering
|
||||||
//! -# show changed attributes
|
//! -# show changed attributes
|
||||||
//! \note This is a specific menu for the CDbMappingComponent component
|
//! \note This is a specific menu for the CDbMappingComponent component
|
||||||
|
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||||
class CStashToolsMenu : public Menus::IMenuDelegate
|
class CStashToolsMenu : public Menus::IMenuDelegate
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -399,6 +401,7 @@ namespace BlackGui
|
|||||||
};
|
};
|
||||||
|
|
||||||
//! Menu for own model sets
|
//! Menu for own model sets
|
||||||
|
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||||
class COwnModelSetMenu : public Menus::IMenuDelegate
|
class COwnModelSetMenu : public Menus::IMenuDelegate
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -418,6 +421,7 @@ namespace BlackGui
|
|||||||
};
|
};
|
||||||
|
|
||||||
//! Menu for removed models
|
//! Menu for removed models
|
||||||
|
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||||
class CRemovedModelsMenu : public Menus::IMenuDelegate
|
class CRemovedModelsMenu : public Menus::IMenuDelegate
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -437,6 +441,7 @@ namespace BlackGui
|
|||||||
};
|
};
|
||||||
|
|
||||||
//! Apply DB data to selected models
|
//! Apply DB data to selected models
|
||||||
|
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||||
class CApplyDbDataMenu : public Menus::IMenuDelegate
|
class CApplyDbDataMenu : public Menus::IMenuDelegate
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@@ -457,6 +462,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
//! Merge with vPilot data
|
//! Merge with vPilot data
|
||||||
//! \deprecated vPilot menus will be removed in the future
|
//! \deprecated vPilot menus will be removed in the future
|
||||||
|
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||||
class CMergeWithVPilotMenu : public Menus::IMenuDelegate
|
class CMergeWithVPilotMenu : public Menus::IMenuDelegate
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
|||||||
*/
|
*/
|
||||||
class CDbModelKeyCompleter : public QLineEdit
|
class CDbModelKeyCompleter : public QLineEdit
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Ctor
|
//! Ctor
|
||||||
CDbModelKeyCompleter(QWidget *parent = nullptr);
|
CDbModelKeyCompleter(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -175,6 +175,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
//! The menu for loading and handling own models for mapping tasks
|
//! The menu for loading and handling own models for mapping tasks
|
||||||
//! \note This is specific for that very component
|
//! \note This is specific for that very component
|
||||||
|
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||||
class CLoadModelsMenu : public Menus::IMenuDelegate
|
class CLoadModelsMenu : public Menus::IMenuDelegate
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -191,6 +191,7 @@ namespace BlackGui
|
|||||||
|
|
||||||
//! The menu for loading models from cache or create a new model set
|
//! The menu for loading models from cache or create a new model set
|
||||||
//! \note This is specific for that very model set component
|
//! \note This is specific for that very model set component
|
||||||
|
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||||
class CLoadModelSetMenu : public Menus::IMenuDelegate
|
class CLoadModelSetMenu : public Menus::IMenuDelegate
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -93,6 +93,8 @@ namespace BlackGui
|
|||||||
//! Wizard page for CFirstModelSetComponent
|
//! Wizard page for CFirstModelSetComponent
|
||||||
class CFirstModelSetWizardPage : public QWizardPage
|
class CFirstModelSetWizardPage : public QWizardPage
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructors
|
//! Constructors
|
||||||
using QWizardPage::QWizardPage;
|
using QWizardPage::QWizardPage;
|
||||||
|
|||||||
@@ -54,6 +54,8 @@ namespace BlackGui
|
|||||||
*/
|
*/
|
||||||
class CInitialDataLoadWizardPage : public QWizardPage
|
class CInitialDataLoadWizardPage : public QWizardPage
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructors
|
//! Constructors
|
||||||
using QWizardPage::QWizardPage;
|
using QWizardPage::QWizardPage;
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
|||||||
*/
|
*/
|
||||||
class CInstallSimulatorSpecificWizardPage : public COverlayMessagesWizardPage
|
class CInstallSimulatorSpecificWizardPage : public COverlayMessagesWizardPage
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructors
|
//! Constructors
|
||||||
using COverlayMessagesWizardPage::COverlayMessagesWizardPage;
|
using COverlayMessagesWizardPage::COverlayMessagesWizardPage;
|
||||||
|
|||||||
@@ -106,6 +106,8 @@ namespace BlackGui
|
|||||||
*/
|
*/
|
||||||
class CInstallXSwiftBusWizardPage : public QWizardPage
|
class CInstallXSwiftBusWizardPage : public QWizardPage
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructors
|
//! Constructors
|
||||||
using QWizardPage::QWizardPage;
|
using QWizardPage::QWizardPage;
|
||||||
|
|||||||
@@ -62,6 +62,8 @@ namespace BlackGui
|
|||||||
*/
|
*/
|
||||||
class CLegalInfoWizardPage : public QWizardPage
|
class CLegalInfoWizardPage : public QWizardPage
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructors
|
//! Constructors
|
||||||
using QWizardPage::QWizardPage;
|
using QWizardPage::QWizardPage;
|
||||||
|
|||||||
@@ -73,6 +73,8 @@ namespace BlackGui
|
|||||||
*/
|
*/
|
||||||
class CConfigHotkeyWizardPage : public QWizardPage
|
class CConfigHotkeyWizardPage : public QWizardPage
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructors
|
//! Constructors
|
||||||
using QWizardPage::QWizardPage;
|
using QWizardPage::QWizardPage;
|
||||||
|
|||||||
@@ -83,6 +83,7 @@ namespace BlackGui
|
|||||||
void deferredUpdate();
|
void deferredUpdate();
|
||||||
|
|
||||||
//! Custom menu for the log component
|
//! Custom menu for the log component
|
||||||
|
//! \fixme Move to namespace scope and add Q_OBJECT
|
||||||
class CMessageMenu : public Menus::IMenuDelegate
|
class CMessageMenu : public Menus::IMenuDelegate
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ namespace BlackGui
|
|||||||
//! Combo box widget for ecosystems
|
//! Combo box widget for ecosystems
|
||||||
class CEcosystemComboBox : public QComboBox
|
class CEcosystemComboBox : public QComboBox
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CEcosystemComboBox(QWidget *parent = nullptr);
|
CEcosystemComboBox(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ namespace BlackGui
|
|||||||
public CFilterWidget,
|
public CFilterWidget,
|
||||||
public Models::IModelFilterProvider<BlackMisc::CCountryList>
|
public Models::IModelFilterProvider<BlackMisc::CCountryList>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CCountryFilterBar(QWidget *parent = nullptr);
|
explicit CCountryFilterBar(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ namespace BlackGui
|
|||||||
public CFilterWidget,
|
public CFilterWidget,
|
||||||
public Models::IModelFilterProvider<BlackMisc::Simulation::CDistributorList>
|
public Models::IModelFilterProvider<BlackMisc::Simulation::CDistributorList>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CDistributorFilterBar(QWidget *parent = nullptr);
|
explicit CDistributorFilterBar(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
|||||||
//! Base for filter dialog
|
//! Base for filter dialog
|
||||||
class BLACKGUI_EXPORT CFilterDialog : public QDialog
|
class BLACKGUI_EXPORT CFilterDialog : public QDialog
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CFilterDialog(QWidget *parent = nullptr);
|
CFilterDialog(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ namespace BlackGui
|
|||||||
*/
|
*/
|
||||||
class BLACKGUI_EXPORT CLineEditHistory : public QLineEdit
|
class BLACKGUI_EXPORT CLineEditHistory : public QLineEdit
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructors
|
//! Constructors
|
||||||
using QLineEdit::QLineEdit;
|
using QLineEdit::QLineEdit;
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
|||||||
//! Menu base class for aircraft model view menus
|
//! Menu base class for aircraft model view menus
|
||||||
class IAircraftModelViewMenu : public IMenuDelegate
|
class IAircraftModelViewMenu : public IMenuDelegate
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
virtual void anchor();
|
virtual void anchor();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CAircraftIcaoCodeListModel :
|
class BLACKGUI_EXPORT CAircraftIcaoCodeListModel :
|
||||||
public CListModelDbObjects<BlackMisc::Aviation::CAircraftIcaoCode, BlackMisc::Aviation::CAircraftIcaoCodeList, int, true>
|
public CListModelDbObjects<BlackMisc::Aviation::CAircraftIcaoCode, BlackMisc::Aviation::CAircraftIcaoCodeList, int, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CAircraftIcaoCodeListModel(QObject *parent = nullptr);
|
explicit CAircraftIcaoCodeListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CAircraftModelListModel :
|
class BLACKGUI_EXPORT CAircraftModelListModel :
|
||||||
public COrderableListModelDbObjects<BlackMisc::Simulation::CAircraftModel, BlackMisc::Simulation::CAircraftModelList, int, true>
|
public COrderableListModelDbObjects<BlackMisc::Simulation::CAircraftModel, BlackMisc::Simulation::CAircraftModelList, int, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! How to display
|
//! How to display
|
||||||
//! \sa BlackMisc::Simulation::CAircraftModel::ModelType
|
//! \sa BlackMisc::Simulation::CAircraftModel::ModelType
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
|||||||
//! Aircraft parts list model
|
//! Aircraft parts list model
|
||||||
class BLACKGUI_EXPORT CAircraftPartsListModel : public CListModelTimestampWithOffsetObjects<BlackMisc::Aviation::CAircraftParts, BlackMisc::Aviation::CAircraftPartsList, true>
|
class BLACKGUI_EXPORT CAircraftPartsListModel : public CListModelTimestampWithOffsetObjects<BlackMisc::Aviation::CAircraftParts, BlackMisc::Aviation::CAircraftPartsList, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CAircraftPartsListModel(QObject *parent = nullptr);
|
explicit CAircraftPartsListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
|||||||
//! Aircraft situation changes list model
|
//! Aircraft situation changes list model
|
||||||
class BLACKGUI_EXPORT CAircraftSituationChangeListModel : public CListModelTimestampWithOffsetObjects<BlackMisc::Aviation::CAircraftSituationChange, BlackMisc::Aviation::CAircraftSituationChangeList, true>
|
class BLACKGUI_EXPORT CAircraftSituationChangeListModel : public CListModelTimestampWithOffsetObjects<BlackMisc::Aviation::CAircraftSituationChange, BlackMisc::Aviation::CAircraftSituationChangeList, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CAircraftSituationChangeListModel(QObject *parent = nullptr);
|
explicit CAircraftSituationChangeListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
|||||||
//! Client list model
|
//! Client list model
|
||||||
class BLACKGUI_EXPORT CAircraftSituationListModel : public CListModelTimestampWithOffsetObjects<BlackMisc::Aviation::CAircraftSituation, BlackMisc::Aviation::CAircraftSituationList, true>
|
class BLACKGUI_EXPORT CAircraftSituationListModel : public CListModelTimestampWithOffsetObjects<BlackMisc::Aviation::CAircraftSituation, BlackMisc::Aviation::CAircraftSituationList, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CAircraftSituationListModel(QObject *parent = nullptr);
|
explicit CAircraftSituationListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CAirlineIcaoCodeListModel :
|
class BLACKGUI_EXPORT CAirlineIcaoCodeListModel :
|
||||||
public CListModelDbObjects<BlackMisc::Aviation::CAirlineIcaoCode, BlackMisc::Aviation::CAirlineIcaoCodeList, int, true>
|
public CListModelDbObjects<BlackMisc::Aviation::CAirlineIcaoCode, BlackMisc::Aviation::CAirlineIcaoCodeList, int, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CAirlineIcaoCodeListModel(QObject *parent = nullptr);
|
explicit CAirlineIcaoCodeListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CAirportListModel :
|
class BLACKGUI_EXPORT CAirportListModel :
|
||||||
public CListModelBase<BlackMisc::Aviation::CAirport, BlackMisc::Aviation::CAirportList, true>
|
public CListModelBase<BlackMisc::Aviation::CAirport, BlackMisc::Aviation::CAirportList, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CAirportListModel(QObject *parent = nullptr);
|
explicit CAirportListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
|||||||
//! Application info list model
|
//! Application info list model
|
||||||
class BLACKGUI_EXPORT CApplicationInfoListModel : public CListModelBase<BlackMisc::CApplicationInfo, BlackMisc::CApplicationInfoList, true>
|
class BLACKGUI_EXPORT CApplicationInfoListModel : public CListModelBase<BlackMisc::CApplicationInfo, BlackMisc::CApplicationInfoList, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CApplicationInfoListModel(QObject *parent = nullptr);
|
explicit CApplicationInfoListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
|||||||
//! ATC list model
|
//! ATC list model
|
||||||
class BLACKGUI_EXPORT CAtcStationListModel : public CListModelCallsignObjects<BlackMisc::Aviation::CAtcStation, BlackMisc::Aviation::CAtcStationList, true>
|
class BLACKGUI_EXPORT CAtcStationListModel : public CListModelCallsignObjects<BlackMisc::Aviation::CAtcStation, BlackMisc::Aviation::CAtcStationList, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! What kind of stations
|
//! What kind of stations
|
||||||
enum AtcStationMode
|
enum AtcStationMode
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
|||||||
//! Client list model
|
//! Client list model
|
||||||
class BLACKGUI_EXPORT CClientListModel : public CListModelBase<BlackMisc::Network::CClient, BlackMisc::Network::CClientList>
|
class BLACKGUI_EXPORT CClientListModel : public CListModelBase<BlackMisc::Network::CClient, BlackMisc::Network::CClientList>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CClientListModel(QObject *parent = nullptr);
|
explicit CClientListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CCloudLayerListModel :
|
class BLACKGUI_EXPORT CCloudLayerListModel :
|
||||||
public CListModelBase<BlackMisc::Weather::CCloudLayer, BlackMisc::Weather::CCloudLayerList, false>
|
public CListModelBase<BlackMisc::Weather::CCloudLayer, BlackMisc::Weather::CCloudLayerList, false>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CCloudLayerListModel(QObject *parent = nullptr);
|
explicit CCloudLayerListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -130,6 +130,8 @@ namespace BlackGui
|
|||||||
*/
|
*/
|
||||||
class BLACKGUI_EXPORT CColumns : public QObject
|
class BLACKGUI_EXPORT CColumns : public QObject
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
/*!
|
/*!
|
||||||
* Columns constructors
|
* Columns constructors
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CCountryListModel :
|
class BLACKGUI_EXPORT CCountryListModel :
|
||||||
public CListModelDbObjects<BlackMisc::CCountry, BlackMisc::CCountryList, QString, true>
|
public CListModelDbObjects<BlackMisc::CCountry, BlackMisc::CCountryList, QString, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CCountryListModel(QObject *parent = nullptr);
|
explicit CCountryListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CDistributorListModel :
|
class BLACKGUI_EXPORT CDistributorListModel :
|
||||||
public COrderableListModelDbObjects<BlackMisc::Simulation::CDistributor, BlackMisc::Simulation::CDistributorList, QString, true>
|
public COrderableListModelDbObjects<BlackMisc::Simulation::CDistributor, BlackMisc::Simulation::CDistributorList, QString, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! What kind of stations
|
//! What kind of stations
|
||||||
enum DistributorMode
|
enum DistributorMode
|
||||||
|
|||||||
@@ -24,6 +24,8 @@ namespace BlackGui
|
|||||||
//! Originator list model
|
//! Originator list model
|
||||||
class BLACKGUI_EXPORT CIdentifierListModel : public CListModelBase<BlackMisc::CIdentifier, BlackMisc::CIdentifierList>
|
class BLACKGUI_EXPORT CIdentifierListModel : public CListModelBase<BlackMisc::CIdentifier, BlackMisc::CIdentifierList>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CIdentifierListModel(QObject *parent = nullptr);
|
explicit CIdentifierListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CInterpolationSetupListModel :
|
class BLACKGUI_EXPORT CInterpolationSetupListModel :
|
||||||
public CListModelCallsignObjects<BlackMisc::Simulation::CInterpolationAndRenderingSetupPerCallsign, BlackMisc::Simulation::CInterpolationSetupList, false>
|
public CListModelCallsignObjects<BlackMisc::Simulation::CInterpolationAndRenderingSetupPerCallsign, BlackMisc::Simulation::CInterpolationSetupList, false>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CInterpolationSetupListModel(QObject *parent = nullptr);
|
explicit CInterpolationSetupListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CLiveryListModel :
|
class BLACKGUI_EXPORT CLiveryListModel :
|
||||||
public CListModelDbObjects<BlackMisc::Aviation::CLivery, BlackMisc::Aviation::CLiveryList, int, true>
|
public CListModelDbObjects<BlackMisc::Aviation::CLivery, BlackMisc::Aviation::CLiveryList, int, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CLiveryListModel(QObject *parent = nullptr);
|
explicit CLiveryListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
|||||||
//! Matching statistics entry
|
//! Matching statistics entry
|
||||||
class BLACKGUI_EXPORT CMatchingStatisticsModel : public CListModelBase<BlackMisc::Simulation::CMatchingStatisticsEntry, BlackMisc::Simulation::CMatchingStatistics, true>
|
class BLACKGUI_EXPORT CMatchingStatisticsModel : public CListModelBase<BlackMisc::Simulation::CMatchingStatisticsEntry, BlackMisc::Simulation::CMatchingStatistics, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! How to display
|
//! How to display
|
||||||
enum MatchingStatisticsMode
|
enum MatchingStatisticsMode
|
||||||
|
|||||||
@@ -35,9 +35,9 @@ namespace BlackGui
|
|||||||
//! Simple model displaying name / variant values
|
//! Simple model displaying name / variant values
|
||||||
class BLACKGUI_EXPORT CNameVariantPairModel : public CListModelBase<BlackMisc::CNameVariantPair, BlackMisc::CNameVariantPairList>
|
class BLACKGUI_EXPORT CNameVariantPairModel : public CListModelBase<BlackMisc::CNameVariantPair, BlackMisc::CNameVariantPairList>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CNameVariantPairModel(bool withIcon, QObject *parent = nullptr);
|
explicit CNameVariantPairModel(bool withIcon, QObject *parent = nullptr);
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
|||||||
//! Server list model
|
//! Server list model
|
||||||
class BLACKGUI_EXPORT CServerListModel : public CListModelBase<BlackMisc::Network::CServer, BlackMisc::Network::CServerList, true>
|
class BLACKGUI_EXPORT CServerListModel : public CListModelBase<BlackMisc::Network::CServer, BlackMisc::Network::CServerList, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CServerListModel(QObject *parent = nullptr);
|
explicit CServerListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CSimulatedAircraftListModel :
|
class BLACKGUI_EXPORT CSimulatedAircraftListModel :
|
||||||
public CListModelCallsignObjects<BlackMisc::Simulation::CSimulatedAircraft, BlackMisc::Simulation::CSimulatedAircraftList, true>
|
public CListModelCallsignObjects<BlackMisc::Simulation::CSimulatedAircraft, BlackMisc::Simulation::CSimulatedAircraftList, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Model modes
|
//! Model modes
|
||||||
enum AircraftMode
|
enum AircraftMode
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CStatusMessageListModel :
|
class BLACKGUI_EXPORT CStatusMessageListModel :
|
||||||
public CListModelTimestampObjects<BlackMisc::CStatusMessage, BlackMisc::CStatusMessageList, true>
|
public CListModelTimestampObjects<BlackMisc::CStatusMessage, BlackMisc::CStatusMessageList, true>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Mode
|
//! Mode
|
||||||
enum Mode
|
enum Mode
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CTemperatureLayerListModel :
|
class BLACKGUI_EXPORT CTemperatureLayerListModel :
|
||||||
public CListModelBase<BlackMisc::Weather::CTemperatureLayer, BlackMisc::Weather::CTemperatureLayerList, false>
|
public CListModelBase<BlackMisc::Weather::CTemperatureLayer, BlackMisc::Weather::CTemperatureLayerList, false>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CTemperatureLayerListModel(QObject *parent = nullptr);
|
explicit CTemperatureLayerListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ namespace BlackGui
|
|||||||
//! Text message list model
|
//! Text message list model
|
||||||
class BLACKGUI_EXPORT CTextMessageListModel : public CListModelBase<BlackMisc::Network::CTextMessage, BlackMisc::Network::CTextMessageList>
|
class BLACKGUI_EXPORT CTextMessageListModel : public CListModelBase<BlackMisc::Network::CTextMessage, BlackMisc::Network::CTextMessageList>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! What kind of stations
|
//! What kind of stations
|
||||||
|
|||||||
@@ -26,8 +26,9 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CUserListModel :
|
class BLACKGUI_EXPORT CUserListModel :
|
||||||
public CListModelBase<BlackMisc::Network::CUser, BlackMisc::Network::CUserList, true>
|
public CListModelBase<BlackMisc::Network::CUser, BlackMisc::Network::CUserList, true>
|
||||||
{
|
{
|
||||||
public:
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
//! What level of detail
|
//! What level of detail
|
||||||
enum UserMode
|
enum UserMode
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CWindLayerListModel :
|
class BLACKGUI_EXPORT CWindLayerListModel :
|
||||||
public CListModelBase<BlackMisc::Weather::CWindLayer, BlackMisc::Weather::CWindLayerList, false>
|
public CListModelBase<BlackMisc::Weather::CWindLayer, BlackMisc::Weather::CWindLayerList, false>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CWindLayerListModel(QObject *parent = nullptr);
|
explicit CWindLayerListModel(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ namespace BlackGui
|
|||||||
//! QDialog which can minimize to system tray
|
//! QDialog which can minimize to system tray
|
||||||
class BLACKGUI_EXPORT CSystemTrayWindow : public QMainWindow
|
class BLACKGUI_EXPORT CSystemTrayWindow : public QMainWindow
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! System Tray Flag
|
//! System Tray Flag
|
||||||
enum SystemTrayFlag
|
enum SystemTrayFlag
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ namespace BlackGui
|
|||||||
//! Forces uppercase
|
//! Forces uppercase
|
||||||
class BLACKGUI_EXPORT CUpperCaseValidator : public QValidator
|
class BLACKGUI_EXPORT CUpperCaseValidator : public QValidator
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CAircraftIcaoCodeView :
|
class BLACKGUI_EXPORT CAircraftIcaoCodeView :
|
||||||
public CViewWithDbObjects<Models::CAircraftIcaoCodeListModel, BlackMisc::Aviation::CAircraftIcaoCodeList, BlackMisc::Aviation::CAircraftIcaoCode, int>
|
public CViewWithDbObjects<Models::CAircraftIcaoCodeListModel, BlackMisc::Aviation::CAircraftIcaoCodeList, BlackMisc::Aviation::CAircraftIcaoCode, int>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CAircraftIcaoCodeView(QWidget *parent = nullptr);
|
explicit CAircraftIcaoCodeView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
|||||||
//! Aircraft parts
|
//! Aircraft parts
|
||||||
class BLACKGUI_EXPORT CAircraftPartsView : public CViewWithTimestampWithOffsetObjects<Models::CAircraftPartsListModel, BlackMisc::Aviation::CAircraftPartsList, BlackMisc::Aviation::CAircraftParts>
|
class BLACKGUI_EXPORT CAircraftPartsView : public CViewWithTimestampWithOffsetObjects<Models::CAircraftPartsListModel, BlackMisc::Aviation::CAircraftPartsList, BlackMisc::Aviation::CAircraftParts>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CAircraftPartsView(QWidget *parent = nullptr);
|
explicit CAircraftPartsView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
|||||||
//! Aircraft situation change view
|
//! Aircraft situation change view
|
||||||
class BLACKGUI_EXPORT CAircraftSituationChangeView : public CViewWithTimestampWithOffsetObjects<Models::CAircraftSituationChangeListModel, BlackMisc::Aviation::CAircraftSituationChangeList, BlackMisc::Aviation::CAircraftSituationChange>
|
class BLACKGUI_EXPORT CAircraftSituationChangeView : public CViewWithTimestampWithOffsetObjects<Models::CAircraftSituationChangeListModel, BlackMisc::Aviation::CAircraftSituationChangeList, BlackMisc::Aviation::CAircraftSituationChange>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CAircraftSituationChangeView(QWidget *parent = nullptr);
|
explicit CAircraftSituationChangeView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CAirlineIcaoCodeView :
|
class BLACKGUI_EXPORT CAirlineIcaoCodeView :
|
||||||
public CViewWithDbObjects<Models::CAirlineIcaoCodeListModel, BlackMisc::Aviation::CAirlineIcaoCodeList, BlackMisc::Aviation::CAirlineIcaoCode, int>
|
public CViewWithDbObjects<Models::CAirlineIcaoCodeListModel, BlackMisc::Aviation::CAirlineIcaoCodeList, BlackMisc::Aviation::CAirlineIcaoCode, int>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CAirlineIcaoCodeView(QWidget *parent = nullptr);
|
explicit CAirlineIcaoCodeView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -28,8 +28,9 @@ namespace BlackGui
|
|||||||
//! Airports view
|
//! Airports view
|
||||||
class BLACKGUI_EXPORT CAirportView : public CViewBase<Models::CAirportListModel, BlackMisc::Aviation::CAirportList, BlackMisc::Aviation::CAirport>
|
class BLACKGUI_EXPORT CAirportView : public CViewBase<Models::CAirportListModel, BlackMisc::Aviation::CAirportList, BlackMisc::Aviation::CAirport>
|
||||||
{
|
{
|
||||||
public:
|
Q_OBJECT
|
||||||
|
|
||||||
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CAirportView(QWidget *parent = nullptr);
|
explicit CAirportView(QWidget *parent = nullptr);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
|||||||
//! Network servers
|
//! Network servers
|
||||||
class BLACKGUI_EXPORT CApplicationInfoView : public CViewBase<Models::CApplicationInfoListModel, BlackMisc::CApplicationInfoList, BlackMisc::CApplicationInfo>
|
class BLACKGUI_EXPORT CApplicationInfoView : public CViewBase<Models::CApplicationInfoListModel, BlackMisc::CApplicationInfoList, BlackMisc::CApplicationInfo>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CApplicationInfoView(QWidget *parent = nullptr);
|
explicit CApplicationInfoView(QWidget *parent = nullptr);
|
||||||
@@ -40,6 +42,8 @@ namespace BlackGui
|
|||||||
//! Menu base class for aircraft model view menus
|
//! Menu base class for aircraft model view menus
|
||||||
class CApplicationInfoMenu : public Menus::IMenuDelegate
|
class CApplicationInfoMenu : public Menus::IMenuDelegate
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CApplicationInfoMenu(CApplicationInfoView *modelView) : Menus::IMenuDelegate(modelView)
|
CApplicationInfoMenu(CApplicationInfoView *modelView) : Menus::IMenuDelegate(modelView)
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
|||||||
//! Client view
|
//! Client view
|
||||||
class BLACKGUI_EXPORT CClientView : public CViewBase<Models::CClientListModel, BlackMisc::Network::CClientList, BlackMisc::Network::CClient>
|
class BLACKGUI_EXPORT CClientView : public CViewBase<Models::CClientListModel, BlackMisc::Network::CClientList, BlackMisc::Network::CClient>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CClientView(QWidget *parent = nullptr);
|
explicit CClientView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -27,9 +27,9 @@ namespace BlackGui
|
|||||||
//! Airports view
|
//! Airports view
|
||||||
class BLACKGUI_EXPORT CCloudLayerView : public CViewBase<Models::CCloudLayerListModel, BlackMisc::Weather::CCloudLayerList, BlackMisc::Weather::CCloudLayer>
|
class BLACKGUI_EXPORT CCloudLayerView : public CViewBase<Models::CCloudLayerListModel, BlackMisc::Weather::CCloudLayerList, BlackMisc::Weather::CCloudLayer>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CCloudLayerView(QWidget *parent = nullptr);
|
explicit CCloudLayerView(QWidget *parent = nullptr);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
|||||||
//! Countries
|
//! Countries
|
||||||
class BLACKGUI_EXPORT CCountryView : public CViewBase<Models::CCountryListModel, BlackMisc::CCountryList, BlackMisc::CCountry>
|
class BLACKGUI_EXPORT CCountryView : public CViewBase<Models::CCountryListModel, BlackMisc::CCountryList, BlackMisc::CCountry>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CCountryView(QWidget *parent = nullptr);
|
explicit CCountryView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CDistributorView :
|
class BLACKGUI_EXPORT CDistributorView :
|
||||||
public COrderableViewWithDbObjects<BlackGui::Models::CDistributorListModel, BlackMisc::Simulation::CDistributorList, BlackMisc::Simulation::CDistributor, QString>
|
public COrderableViewWithDbObjects<BlackGui::Models::CDistributorListModel, BlackMisc::Simulation::CDistributorList, BlackMisc::Simulation::CDistributor, QString>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CDistributorView(QWidget *parent = nullptr);
|
explicit CDistributorView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
|||||||
//! Originator servers
|
//! Originator servers
|
||||||
class BLACKGUI_EXPORT CIdentifierView : public CViewBase<Models::CIdentifierListModel, BlackMisc::CIdentifierList, BlackMisc::CIdentifier>
|
class BLACKGUI_EXPORT CIdentifierView : public CViewBase<Models::CIdentifierListModel, BlackMisc::CIdentifierList, BlackMisc::CIdentifier>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CIdentifierView(QWidget *parent = nullptr);
|
explicit CIdentifierView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
|||||||
//! Distributors
|
//! Distributors
|
||||||
class BLACKGUI_EXPORT CInterpolationSetupView : public CViewWithCallsignObjects<Models::CInterpolationSetupListModel, BlackMisc::Simulation::CInterpolationSetupList, BlackMisc::Simulation::CInterpolationAndRenderingSetupPerCallsign>
|
class BLACKGUI_EXPORT CInterpolationSetupView : public CViewWithCallsignObjects<Models::CInterpolationSetupListModel, BlackMisc::Simulation::CInterpolationSetupList, BlackMisc::Simulation::CInterpolationAndRenderingSetupPerCallsign>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CInterpolationSetupView(QWidget *parent = nullptr);
|
explicit CInterpolationSetupView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -35,6 +35,8 @@ namespace BlackGui
|
|||||||
class BLACKGUI_EXPORT CLiveryView :
|
class BLACKGUI_EXPORT CLiveryView :
|
||||||
public CViewWithDbObjects<Models::CLiveryListModel, BlackMisc::Aviation::CLiveryList, BlackMisc::Aviation::CLivery, int>
|
public CViewWithDbObjects<Models::CLiveryListModel, BlackMisc::Aviation::CLiveryList, BlackMisc::Aviation::CLivery, int>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CLiveryView(QWidget *parent = nullptr);
|
explicit CLiveryView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
|||||||
//! Matching statistics
|
//! Matching statistics
|
||||||
class BLACKGUI_EXPORT CMatchingStatisticsView : public CViewBase<Models::CMatchingStatisticsModel, BlackMisc::Simulation::CMatchingStatistics, BlackMisc::Simulation::CMatchingStatisticsEntry>
|
class BLACKGUI_EXPORT CMatchingStatisticsView : public CViewBase<Models::CMatchingStatisticsModel, BlackMisc::Simulation::CMatchingStatistics, BlackMisc::Simulation::CMatchingStatisticsEntry>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CMatchingStatisticsView(QWidget *parent = nullptr);
|
explicit CMatchingStatisticsView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -29,6 +29,8 @@ namespace BlackGui
|
|||||||
//! User view
|
//! User view
|
||||||
class BLACKGUI_EXPORT CNameVariantPairView : public CViewBase<Models::CNameVariantPairModel, BlackMisc::CNameVariantPairList, BlackMisc::CNameVariantPair>
|
class BLACKGUI_EXPORT CNameVariantPairView : public CViewBase<Models::CNameVariantPairModel, BlackMisc::CNameVariantPairList, BlackMisc::CNameVariantPair>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CNameVariantPairView(QWidget *parent = nullptr);
|
explicit CNameVariantPairView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
|||||||
//! Network servers
|
//! Network servers
|
||||||
class BLACKGUI_EXPORT CServerView : public CViewBase<Models::CServerListModel, BlackMisc::Network::CServerList, BlackMisc::Network::CServer>
|
class BLACKGUI_EXPORT CServerView : public CViewBase<Models::CServerListModel, BlackMisc::Network::CServerList, BlackMisc::Network::CServer>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CServerView(QWidget *parent = nullptr);
|
explicit CServerView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -27,9 +27,9 @@ namespace BlackGui
|
|||||||
//! Airports view
|
//! Airports view
|
||||||
class BLACKGUI_EXPORT CTemperatureLayerView : public CViewBase<Models::CTemperatureLayerListModel, BlackMisc::Weather::CTemperatureLayerList, BlackMisc::Weather::CTemperatureLayer>
|
class BLACKGUI_EXPORT CTemperatureLayerView : public CViewBase<Models::CTemperatureLayerListModel, BlackMisc::Weather::CTemperatureLayerList, BlackMisc::Weather::CTemperatureLayer>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CTemperatureLayerView(QWidget *parent = nullptr);
|
explicit CTemperatureLayerView(QWidget *parent = nullptr);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
|||||||
//! Airports view
|
//! Airports view
|
||||||
class BLACKGUI_EXPORT CTextMessageView : public CViewBase<Models::CTextMessageListModel, BlackMisc::Network::CTextMessageList, BlackMisc::Network::CTextMessage>
|
class BLACKGUI_EXPORT CTextMessageView : public CViewBase<Models::CTextMessageListModel, BlackMisc::Network::CTextMessageList, BlackMisc::Network::CTextMessage>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CTextMessageView(QWidget *parent = nullptr);
|
explicit CTextMessageView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
|||||||
//! User view
|
//! User view
|
||||||
class BLACKGUI_EXPORT CUserView : public CViewBase<Models::CUserListModel, BlackMisc::Network::CUserList, BlackMisc::Network::CUser>
|
class BLACKGUI_EXPORT CUserView : public CViewBase<Models::CUserListModel, BlackMisc::Network::CUserList, BlackMisc::Network::CUser>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
explicit CUserView(QWidget *parent = nullptr);
|
explicit CUserView(QWidget *parent = nullptr);
|
||||||
|
|||||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
|||||||
*/
|
*/
|
||||||
class CViewBaseItemDelegate : public QStyledItemDelegate
|
class CViewBaseItemDelegate : public QStyledItemDelegate
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CViewBaseItemDelegate(QObject *parent = nullptr) : QStyledItemDelegate(parent) {}
|
CViewBaseItemDelegate(QObject *parent = nullptr) : QStyledItemDelegate(parent) {}
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
|||||||
*/
|
*/
|
||||||
class CViewBaseProxyStyle : public QProxyStyle
|
class CViewBaseProxyStyle : public QProxyStyle
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CViewBaseProxyStyle(CViewBaseNonTemplate *view, QStyle *style = nullptr);
|
CViewBaseProxyStyle(CViewBaseNonTemplate *view, QStyle *style = nullptr);
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ namespace BlackGui
|
|||||||
//! Wind layer view
|
//! Wind layer view
|
||||||
class BLACKGUI_EXPORT CWindLayerView : public CViewBase<Models::CWindLayerListModel, BlackMisc::Weather::CWindLayerList, BlackMisc::Weather::CWindLayer>
|
class BLACKGUI_EXPORT CWindLayerView : public CViewBase<Models::CWindLayerListModel, BlackMisc::Weather::CWindLayerList, BlackMisc::Weather::CWindLayer>
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
|
|||||||
@@ -32,6 +32,8 @@ namespace BlackMisc
|
|||||||
*/
|
*/
|
||||||
class BLACKMISC_EXPORT CAtomicFile : public QFile
|
class BLACKMISC_EXPORT CAtomicFile : public QFile
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! \copydoc QFile::QFile(const QString &)
|
//! \copydoc QFile::QFile(const QString &)
|
||||||
CAtomicFile(const QString &filename) : QFile(filename) {}
|
CAtomicFile(const QString &filename) : QFile(filename) {}
|
||||||
|
|||||||
@@ -58,6 +58,8 @@ namespace BlackMisc
|
|||||||
*/
|
*/
|
||||||
class BLACKMISC_EXPORT CTimedFileDeleter : public QObject
|
class BLACKMISC_EXPORT CTimedFileDeleter : public QObject
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CTimedFileDeleter(const QString &file, int deleteAfterMs, QObject *parent = nullptr);
|
CTimedFileDeleter(const QString &file, int deleteAfterMs, QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -34,8 +34,10 @@ namespace BlackMisc
|
|||||||
* Used for hand written interface based on virtual methods.
|
* Used for hand written interface based on virtual methods.
|
||||||
* Allows to relay a message to DBus in a single code line
|
* Allows to relay a message to DBus in a single code line
|
||||||
*/
|
*/
|
||||||
class CGenericDBusInterface : public QDBusAbstractInterface
|
class BLACKMISC_EXPORT CGenericDBusInterface : public QDBusAbstractInterface
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CGenericDBusInterface(const QString &serviceName, const QString &path, const QString &interfaceName, const QDBusConnection &connection, QObject *parent = nullptr) :
|
CGenericDBusInterface(const QString &serviceName, const QString &path, const QString &interfaceName, const QDBusConnection &connection, QObject *parent = nullptr) :
|
||||||
|
|||||||
@@ -178,6 +178,8 @@ namespace BlackMisc
|
|||||||
*/
|
*/
|
||||||
class BLACKMISC_EXPORT CDummyModelLoader : public IAircraftModelLoader
|
class BLACKMISC_EXPORT CDummyModelLoader : public IAircraftModelLoader
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Dummy loader
|
//! Dummy loader
|
||||||
CDummyModelLoader(const CSimulatorInfo &simulator, QObject *parent);
|
CDummyModelLoader(const CSimulatorInfo &simulator, QObject *parent);
|
||||||
|
|||||||
@@ -27,6 +27,8 @@ namespace BlackMisc
|
|||||||
//! Dummy implementation for testing purpose
|
//! Dummy implementation for testing purpose
|
||||||
class BLACKMISC_EXPORT CRemoteAircraftProviderDummy : public CRemoteAircraftProvider
|
class BLACKMISC_EXPORT CRemoteAircraftProviderDummy : public CRemoteAircraftProvider
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CRemoteAircraftProviderDummy(QObject *parent = nullptr);
|
CRemoteAircraftProviderDummy(QObject *parent = nullptr);
|
||||||
|
|||||||
@@ -72,6 +72,8 @@ namespace BlackMisc
|
|||||||
*/
|
*/
|
||||||
class BLACKMISC_EXPORT CRegularThread : public QThread
|
class BLACKMISC_EXPORT CRegularThread : public QThread
|
||||||
{
|
{
|
||||||
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
//! Constructor
|
//! Constructor
|
||||||
CRegularThread(QObject *parent = nullptr) : QThread(parent) {}
|
CRegularThread(QObject *parent = nullptr) : QThread(parent) {}
|
||||||
|
|||||||
Reference in New Issue
Block a user