aboutsummaryrefslogtreecommitdiffstats
path: root/SQLiteStudio3/guiSQLiteStudio/mdiarea.h
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2023-04-30 18:30:36 -0400
committerLibravatarUnit 193 <unit193@unit193.net>2023-04-30 18:30:36 -0400
commit3565aad630864ecdbe53fdaa501ea708555b3c7c (patch)
treec743e4ad0bad39ebdb2f514c7cc52d34a257ebbe /SQLiteStudio3/guiSQLiteStudio/mdiarea.h
parent1fdc150116cad39aae5c5da407c3312b47a59e3a (diff)
New upstream version 3.4.4+dfsg.upstream/3.4.4+dfsg
Diffstat (limited to 'SQLiteStudio3/guiSQLiteStudio/mdiarea.h')
-rw-r--r--SQLiteStudio3/guiSQLiteStudio/mdiarea.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/SQLiteStudio3/guiSQLiteStudio/mdiarea.h b/SQLiteStudio3/guiSQLiteStudio/mdiarea.h
index f34434e..2cb488a 100644
--- a/SQLiteStudio3/guiSQLiteStudio/mdiarea.h
+++ b/SQLiteStudio3/guiSQLiteStudio/mdiarea.h
@@ -28,6 +28,8 @@ class GUI_API_EXPORT MdiArea : public QMdiArea
QAction* getTaskByWindow(MdiWindow* window);
QList<MdiWindow*> getWindows() const;
QList<MdiChild*> getMdiChilds() const;
+ void enforceTaskSelectionAfterWindowClose(QAction* task);
+ void enforceCurrentTaskSelectionAfterWindowClose();
template<class T>
QList<T*> getMdiChilds() const;
@@ -38,9 +40,11 @@ class GUI_API_EXPORT MdiArea : public QMdiArea
TaskBar* taskBar = nullptr;
QHash<QAction*,MdiWindow*> actionToWinMap;
QHash<MdiWindow*,QAction*> winToActionMap;
+ QAction* taskToSelectAfterWindowClose = nullptr;
signals:
void windowListChanged();
+ void sessionValueChanged();
private slots:
void taskActivated();
@@ -51,6 +55,8 @@ class GUI_API_EXPORT MdiArea : public QMdiArea
void tileHorizontally();
void tileVertically();
void closeAllButActive();
+ void closeAllLeftToActive();
+ void closeAllRightToActive();
};
template<class T>