48 public swift::gui::IMainWindowAccess,
104 swift::misc::CLogHistoryReplica m_logHistory {
this };
106 swift::misc::CMacOSMicrophoneAccess m_micAccess;
109 QString m_executable;
110 QStringList m_executableArgs;
111 QTimer m_checkTimer {
this };
112 int m_startCoreWaitCycles = 0;
113 int m_startMappingToolWaitCycles = 0;
114 int m_startGuiWaitCycles = 0;
126 void initStyleSheet();
129 void initLogDisplay();
132 void setHeaderInfo(
const swift::misc::db::CArtifact &latestArtifact);
135 bool setSwiftCoreExecutable();
138 void setSwiftDataExecutable();
141 bool setSwiftGuiExecutable();
144 bool canConnectSwiftOnDBusServer(
const QString &dbusAddress, QString &msg)
const;
147 bool isStandaloneGuiSelected()
const;
156 bool warnAboutOtherSwiftApplications();
159 void updateInfoAvailable();
162 void startButtonPressed();
165 void dbusServerModeSelected(
bool selected);
168 void showStatusMessage(
const swift::misc::CStatusMessage &msg);
171 void showStatusMessage(
const QString &htmlMsg);
177 void tabChanged(
int current);
180 void checkRunningApplicationsAndCore();
186 void onStyleSheetsChanged();
189 void onDBusEditingFinished();
192 void onCoreModeReleased();
195 void popupExecutableArgs();
198 void showSimulatorConfigDirs();
201 void requestMacMicrophoneAccess();
204 void installerMode();
207 void clearWindowsRegistry();
210 static QString toCmdLine(
const QString &exe,
const QStringList &exeArgs);
QMainWindow(QWidget *parent, Qt::WindowFlags flags)
virtual bool event(QEvent *event) override