* @param aPaintEvent Pointer to paint event
*/
void paintEvent(QPaintEvent *aPaintEvent);
- QSize sizeHint() const;
+ QSize sizeHint() const; ///< Size setting method - OBSOLETE?
public slots:
/**
* @brief Sets the users current address
QPixmap m_avatar; ///< User's avatar
QWidget *widget; ///< Parent of all widgets.
SituareUser *situUser; ///< Situare user's framed picture
- QVBoxLayout *verticalLayout;
- QHBoxLayout *horizontalLayout;
- QGridLayout *m_layout;
- QLabel *m_clockLabel;
- QLabel *m_envelopeLabel;
- QLabel *m_compassLabel;
-
+ QVBoxLayout *verticalLayout; ///< Vertical layout for personal infotab
+ QHBoxLayout *horizontalLayout; ///< Horizontal layout for personal infotab
+ QGridLayout *m_layout; ///< Grid layout for personal infotab
+ QLabel *m_clockLabel; ///< Text label for clock item
+ QLabel *m_envelopeLabel; ///< Text label for message item
+ QLabel *m_compassLabel; ///< Text label for location item
};
#endif // INFOTAB_H
* MEMBER FUNCTIONS AND SLOTS
******************************************************************************/
public slots:
+ /**
+ * @brief Slot to capture returning user data from situareService
+ *
+ * @param user
+ */
void userDataReceived(User *user);
+ /**
+ * @brief Slot to capture returningn friends list data from situareService
+ *
+ * @param friendList
+ */
void friendInfoReceived(QList<User *> &friendList);
signals:
InfoTab *m_personalInfo; ///< Personal info tab
QVBoxLayout *m_vbox; ///< Holds the graphics view
Pixmap *m_arrowbutton; ///< Button which reveals/hides the info tab when pressed
- Pixmap *m_leftSideBar;
- Pixmap *m_slidingLeftSideBar;
- Pixmap *m_personalInfoBackGround;
- Pixmap *m_arrowLeft;
- Pixmap *m_arrowRight;
+ Pixmap *m_leftSideBar; ///< Left side sidebar image
+ Pixmap *m_slidingLeftSideBar; ///< Left side sliding sidebar image
+ Pixmap *m_personalInfoBackGround; ///< Personal info background image
+ Pixmap *m_arrowLeft; ///< Right side arrow image
+ Pixmap *m_arrowRight; ///< Left side arrow image
QGraphicsProxyWidget *m_widgetProxy; ///< Embeds InfoTab to graphics view
QAbstractTransition *m_trans1; ///< Animation transition from hidden state to visible
QAbstractTransition *m_trans2; ///< Animation transition from visible to hidden
QPropertyAnimation *m_anim4; ///< Animation for arrowbutton from visible to hidden
QPropertyAnimation *m_anim5; ///< Animation
QPropertyAnimation *m_anim6; ///< Animation for arrowbutton from visible to hidden
- QPropertyAnimation *m_anim7;
- QPropertyAnimation *m_anim8;
- QPropertyAnimation *m_anim9;
- QPropertyAnimation *m_anim10;
- QPropertyAnimation *m_anim11;
- QPropertyAnimation *m_anim12;
- QPropertyAnimation *m_anim13;
- QPropertyAnimation *m_anim14;
+ QPropertyAnimation *m_anim7; ///< Animation?
+ QPropertyAnimation *m_anim8; ///< Animation?
+ QPropertyAnimation *m_anim9; ///< Animation?
+ QPropertyAnimation *m_anim10; ///< Animation?
+ QPropertyAnimation *m_anim11; ///< Animation?
+ QPropertyAnimation *m_anim12; ///< Animation?
+ QPropertyAnimation *m_anim13; ///< Animation?
+ QPropertyAnimation *m_anim14; ///< Animation?
UpdateLocationDialog *m_locationDialog; ///< Message dialog
FriendListView *m_friendListView; ///< Friend list view