diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2015-02-09 15:35:36 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-02-10 10:45:44 -0800 |
commit | aa56797b0ba9c193f7921dd35718d09569edcb5f (patch) | |
tree | d8eb5d091c8ddbc5fb8db3f4518eca9006b12c16 /qt-ui/mainwindow.h | |
parent | e9a1684d63f63749f912bb6672bbef694a2f33a1 (diff) | |
download | subsurface-aa56797b0ba9c193f7921dd35718d09569edcb5f.tar.gz |
Add a new struct that will hold the widgets for each corner
The combination of the map / struct will change based on the
state of the application. Currently a lot of different
widgets change what is shown on the main window, and it's very
messy.
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/mainwindow.h')
-rw-r--r-- | qt-ui/mainwindow.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qt-ui/mainwindow.h b/qt-ui/mainwindow.h index 641c9ec9b..90e819707 100644 --- a/qt-ui/mainwindow.h +++ b/qt-ui/mainwindow.h @@ -199,6 +199,14 @@ private: struct dive copyPasteDive; struct dive_components what; QList<QAction *> profileToolbarActions; + + struct WidgetForBorder { + QWidget *topLeft; + QWidget *bottomLeft; + QWidget *topRight; + QWidget *bottomRight; + }; + QHash<QByteArray, WidgetForBorder> applicationState; }; #endif // MAINWINDOW_H |