34 #include "ui_formmain.h"
36 #include "gui/formnewproject.h"
37 #include "core/templatecore.h"
39 #include <QMainWindow>
59 explicit FormMain(QWidget *parent = 0);
71 return m_simulatorWindow;
79 void createConnections();
80 void setupSimulatorWindow();
81 void setupActionShortcuts();
86 void loadSizeAndPosition();
87 void saveSizeAndPosition();
94 void startSimulation();
97 void takeSimulationOneStepBack();
100 void onCanGenerateChanged(
bool can_generate,
const QString &informative_text);
103 void onExternalApplicationsChanged();
107 void onEditorChanged();
109 void onGenerationProgress(
int percentage_completed,
const QString &message);
110 void onGenerationStarted();
114 void openOutputDirectory();
120 void onAboutToQuit();
121 void onSimulatorWindowClosed();
122 void switchSimulatorWindow(
bool show);
124 void showSimulator();
128 void showHelp(
bool enable_do_not_show_again_option =
false);
129 void showUpdatesAfterBubbleClick();
148 void openSaveProjectDialog();
149 void openSaveProjectAsDialog();
150 void openLoadProjectDialog();
185 QProgressBar *m_statusProgress;
186 QLabel *m_statusLabel;
188 QScrollArea *m_centralArea;
189 QVBoxLayout *m_centralLayout;
190 bool m_firstTimeShow;
195 QString m_normalTitle;
196 QString m_unsavedTitle;
198 QString m_generatedApplicationPath;
void generateMobileApplication()
Generates mobile APK application from currently active project.
void switchVisibility(bool force_hide=false)
Switches visibility of main window.
void moved()
Emitted when window is moved.
void resizeEvent(QResizeEvent *e)
Executed when window is resized.
FormSimulator * simulatorWindow() const
Access to simulator window.
void moveEvent(QMoveEvent *e)
Executed when window is moved.
void uploadMobileApplicationToStore()
Displays dialog for uploading applications to store.
void openNewProjectDialog()
Opens "New project" dialog.
void resized()
Emitted when window is resized.
void show()
Displays window.
void display()
Displays the window.
bool saveUnsavedProject()
Performs necessary steps to save active project if there is unsaved work.
FormMain(QWidget *parent=0)
Constructor.
void closeEvent(QCloseEvent *e)
Executed when main application window is closed.
QList< QAction * > allActions()
Access to all actions provided by this window.
The core class container for single template.
GenerationResult
Possible results of generation of bundle data.
QMenu * trayMenu() const
Access to tray menu.