#ifndef USERPANEL_H
#define USERPANEL_H
+
#include <QtGui>
+class PanelSliderBar;
+
/**
* @brief Class for sliding user information panel
*
UserInfoPanel(QWidget *parent = 0);
/*******************************************************************************
- * BASE CLASS INHERITED AND REIMPLEMENTED MEMBER FUNCTIONS
- ******************************************************************************/
-protected:
- /**
- * @brief Draws stylesheet used in this class.
- *
- * @param * QPaintEvent unused
- */
- void paintEvent(QPaintEvent *);
-
- void mouseReleaseEvent(QMouseEvent *);
-
-/*******************************************************************************
* MEMBER FUNCTIONS AND SLOTS
******************************************************************************/
public slots:
*/
void reDrawUserPanel(int width, int height);
-
-signals:
- void clicked();
-
/*******************************************************************************
* DATA MEMBERS
******************************************************************************/
private:
QVBoxLayout *m_userPanelVBox; ///< Vertical layout inside the panel
- QPushButton *m_userPanelExpandButton; ///< PushButton used to expand the panel
- QLabel *m_userPanelLabel; ///< Dummy label inside the panel
- QWidget *m_userPanelSlidingBar; ///< Widget for sidebar tab item
+ PanelSliderBar *m_userPanelSlidingBar; ///< Widget for sidebar tab item
QStateMachine *m_userPanelStateMachine; ///< State machine for sliding the panel
QState *m_userPanelStateClosed; ///< State of the closed panel