mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add recent files to main menu.
Add(up to four) recent files to File main menu. Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
933d44083e
commit
51220f26ef
4 changed files with 193 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ public:
|
|||
static MainWindow *instance();
|
||||
ProfileGraphicsView *graphics();
|
||||
MainTab *information();
|
||||
void loadRecentFiles(QSettings *s);
|
||||
void addRecentFile(const QStringList &newFiles);
|
||||
DiveListView *dive_list();
|
||||
GlobeGPS *globe();
|
||||
void showError(QString message);
|
||||
|
|
@ -60,6 +62,7 @@ public:
|
|||
QTabWidget *tabWidget();
|
||||
private slots:
|
||||
/* file menu action */
|
||||
void recentFileTriggered(bool checked);
|
||||
void on_actionNew_triggered();
|
||||
void on_actionOpen_triggered();
|
||||
void on_actionSave_triggered();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue