From aa56797b0ba9c193f7921dd35718d09569edcb5f Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 9 Feb 2015 15:35:36 -0200 Subject: 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 Signed-off-by: Dirk Hohndel --- qt-ui/mainwindow.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'qt-ui') 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 profileToolbarActions; + + struct WidgetForBorder { + QWidget *topLeft; + QWidget *bottomLeft; + QWidget *topRight; + QWidget *bottomRight; + }; + QHash applicationState; }; #endif // MAINWINDOW_H -- cgit v1.2.3-70-g09d2