Renamed PanelContent class to PanelContentStack and simplified the general structure...
[situare] / src / ui / tabbedpanel.h
index 7357229..33b93cb 100644 (file)
 
 class QPropertyAnimation;
 class QSignalTransition;
-class QStackedWidget;
 class QState;
 class QStateMachine;
 
 class PanelBar;
-class PanelContent;
+class PanelContentStack;
 class PanelTabBar;
 
 /**
@@ -172,15 +171,13 @@ private:
     QSignalTransition *m_panelTransitionClose;  ///< Transition signal for closing the panel
     QSignalTransition *m_panelTransitionOpen;   ///< Transition signal for opening the panel
 
-    QStackedWidget *m_panelWidgetStack;         ///< Stack for panel widgets
-
     QState *m_panelStateClosed;                 ///< State of the closed panel
     QState *m_panelStateOpened;                 ///< State of the opened panel
 
     QStateMachine *m_panelStateMachine;         ///< State machine for sliding the panel
 
     PanelBar *m_panelBar;                       ///< Widget for panel bar
-    PanelContent *m_panelContent;               ///< Widget for panel content
+    PanelContentStack *m_panelContentStack;     ///< Stack for panel widgets
     PanelTabBar *m_panelTabBar;                 ///< Widget for panel tab bar
 };