diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-04 12:30:05 -0300 |
---|---|---|
committer | Tomaz Canabrava <tcanabrava@kde.org> | 2013-07-04 12:30:05 -0300 |
commit | bb33be4117fa1f5e753d07ac530c3d378d4f0dd0 (patch) | |
tree | 4369e14e38650453a6eaec23444214b8d1744161 /qt-ui/mainwindow.h | |
parent | 52fd769efb1678d64d2a09b0b022e0484bf2d1b8 (diff) | |
download | subsurface-bb33be4117fa1f5e753d07ac530c3d378d4f0dd0.tar.gz |
Added the left / right shortcuts for moving the handlers around in time.
Added the left / right shortcuts for moving the handlers around in time,
this also made me wonder why we have the 'previous dc' on the menu, it
got actually to broke my code on the shortcuts for the planner because
they are active everytime - should they be active only when the profile's
visible or they serve any other purpose?
If they serve only for the profile, I'll get them out of the menu and
put them in their proper place - the profile view.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r-- | qt-ui/mainwindow.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h index 013c0dca7..a9f2ecaf0 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -47,6 +47,11 @@ public: void showError(QString message); void setTitle(enum MainWindowTitleFormat format); + // The 'Change DC Shortcuts' should only be enabled + // when the profile's visible. + void disableDcShortcuts(); + void enableDcShortcuts(); + private slots: /* file menu action */ void on_actionNew_triggered(); |