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:
Tomaz Canabrava 2015-02-09 15:35:36 -02:00 committed by Dirk Hohndel
parent e9a1684d63
commit aa56797b0b

View file

@ -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