mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Add stub slots for all menu items
Naming of QActions was inconsistent wrt abbreviations - fixed. Add stub slots for each action relying on connect by name. Add qDebug() message to allow people to check that menu items fire slots; not really necessary but may provide some reassurance as we build familiarity with Qt. Some changes to display text for menu items (e.g. Tree becomes View All). Signed-off-by: Amit Chaudhuri <amit.k.chaudhuri@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
99153de715
commit
1182c98997
3 changed files with 226 additions and 56 deletions
|
@ -22,7 +22,41 @@ public:
|
|||
|
||||
private Q_SLOTS:
|
||||
|
||||
/* file menu action */
|
||||
void on_actionNew_triggered();
|
||||
void on_actionOpen_triggered();
|
||||
void on_actionSave_triggered();
|
||||
void on_actionSaveAs_triggered();
|
||||
void on_actionClose_triggered();
|
||||
void on_actionImport_triggered();
|
||||
void on_actionExportUDDF_triggered();
|
||||
void on_actionPrint_triggered();
|
||||
void on_actionPreferences_triggered();
|
||||
void on_actionQuit_triggered();
|
||||
|
||||
/* log menu actions */
|
||||
void on_actionDownloadDC_triggered();
|
||||
void on_actionDownloadWeb_triggered();
|
||||
void on_actionEditDeviceNames_triggered();
|
||||
void on_actionAddDive_triggered();
|
||||
void on_actionRenumber_triggered();
|
||||
void on_actionAutoGroup_triggered();
|
||||
void on_actionToggleZoom_triggered();
|
||||
void on_actionYearlyStatistics_triggered();
|
||||
|
||||
/* view menu actions */
|
||||
void on_actionViewList_triggered();
|
||||
void on_actionViewProfile_triggered();
|
||||
void on_actionViewInfo_triggered();
|
||||
void on_actionViewAll_triggered();
|
||||
void on_actionPreviousDC_triggered();
|
||||
void on_actionNextDC_triggered();
|
||||
|
||||
/* other menu actions */
|
||||
void on_actionSelectEvents_triggered();
|
||||
void on_actionInputPlan_triggered();
|
||||
void on_actionAboutSubsurface_triggered();
|
||||
void on_actionUserManual_triggered();
|
||||
|
||||
private:
|
||||
Ui::MainWindow *ui;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue