mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Untangle Profile from MainWindow: shortcuts
This, too, should be done with signals. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
000c9cc21c
commit
1013ba39c5
4 changed files with 11 additions and 10 deletions
|
@ -77,10 +77,6 @@ public:
|
|||
LocationInformationWidget *locationInformationWidget();
|
||||
void setTitle(enum MainWindowTitleFormat format = MWTF_FILENAME);
|
||||
|
||||
// Some shortcuts like "change DC" or "copy/paste dive components"
|
||||
// should only be enabled when the profile's visible.
|
||||
void disableShortcuts(bool disablePaste = true);
|
||||
void enableShortcuts();
|
||||
void loadFiles(const QStringList files);
|
||||
void importFiles(const QStringList importFiles);
|
||||
void importTxtFiles(const QStringList fileNames);
|
||||
|
@ -194,6 +190,10 @@ slots:
|
|||
void planCreated();
|
||||
void setEnabledToolbar(bool arg1);
|
||||
void setPlanNotes();
|
||||
// Some shortcuts like "change DC" or "copy/paste dive components"
|
||||
// should only be enabled when the profile's visible.
|
||||
void disableShortcuts(bool disablePaste = true);
|
||||
void enableShortcuts();
|
||||
|
||||
private:
|
||||
Ui::MainWindow ui;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue