main window: hide/show top level widgets when navigating
- removes the effects of a widget's constraints when it is present
in the navstack, but not the current index
- all widgets in the navstack now have a QWidget with a grid layout
as the top level
- regulates the size of the main window
Change-Id: I6b0726d9777be1b33fdf164ce9dd3db5ec917ec1
diff --git a/navwidget.h b/navwidget.h
index df1205e..29fdf93 100644
--- a/navwidget.h
+++ b/navwidget.h
@@ -36,8 +36,11 @@
explicit NavWidget(QWidget* parent = 0);
~NavWidget();
+ virtual void navigated(bool to) = 0;
+
signals:
void NavigationRequested(ScreenEnum screen);
void BackRequested();
+
};