6 #ifndef SWIFT_GUI_COMPONENTS_INSTALLXSWIFTBUSCOMPONENT_H
7 #define SWIFT_GUI_COMPONENTS_INSTALLXSWIFTBUSCOMPONENT_H
10 #include <QNetworkReply>
11 #include <QScopedPointer>
24 class CInstallXSwiftBusComponent;
46 static constexpr std::chrono::milliseconds OverlayMsgTimeout { 5000 };
48 QScopedPointer<Ui::CInstallXSwiftBusComponent> ui;
53 this, &CInstallXSwiftBusComponent::updatesChanged
58 const QFileDialog::Options m_fileDialogOptions { QFileDialog::ShowDirsOnly | QFileDialog::ReadOnly |
59 QFileDialog::DontResolveSymlinks };
62 QString m_defaultDownloadName;
66 void selectPluginDirectory();
69 void selectDownloadDirectory();
72 void installXSwiftBus();
75 void triggerDownloadingOfXSwiftBusFile();
84 QString downloadDir()
const;
87 QString xSwiftBusDir()
const;
90 bool existsDownloadDir()
const;
93 bool existsXSwiftBusPluginDir()
const;
96 QString getXPlanePluginDirectory()
const;
99 void updatesChanged();
102 void openInstallDir();
105 void openDownloadDir();
117 using QWizardPage::QWizardPage;
Enable widget class for load indicator.
Using this class provides a QFrame with the overlay functionality already integrated.
Download and install xswiftbus.
void setDefaultDownloadName(const QString &defaultDownload)
Set a default name for download.
virtual ~CInstallXSwiftBusComponent()
Dtor.
CInstallXSwiftBusComponent(QWidget *parent=nullptr)
Default constructor.
Wizard page for CInstallXSwiftBusWizardPage.
virtual bool validatePage()
void setConfigComponent(CInstallXSwiftBusComponent *config)
Set config.
Streamable status message, e.g.
Bundle of settings for all simulators.
High level reusable GUI components.