ui: Recent projects in menu

add a recent projects menu in the project menu
This commit is contained in:
Andreas Stallinger
2015-11-13 22:53:37 +01:00
parent 7fce4cfae6
commit fc816240cb
5 changed files with 76 additions and 4 deletions
+4
View File
@@ -66,6 +66,7 @@ public slots:
void newProject();
void openProject(const QString &path = QString());
void editProject();
void openRecentProject();
void find();
void closeWindow();
@@ -96,8 +97,10 @@ private:
QtViewToggle* toggle;
};
void setupEditMenu();
void setupProjectMenu();
void updateRecentProjectMenu();
void setupViewMenu();
void setupHelpMenu();
@@ -108,6 +111,7 @@ private:
std::vector<DockWidget> m_dockWidgets;
QMenu* m_viewMenu;
QAction* m_viewSeparator;
QAction** m_recentProjectAction;
std::shared_ptr<QtApplicationSettingsScreen> m_applicationSettingsScreen;
std::shared_ptr<QtStartScreen> m_startScreen;