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
@ -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…
x
Reference in New Issue
Block a user