mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
e9a1684d63
commit
aa56797b0b
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue