#include <QtGui>
#include <QWidget>
-
+#include "situareuser.h"
/**
* @brief InfoTab class.
* Composite custom widget class used to show user information
* @param aPaintEvent Pointer to paint event
*/
void paintEvent(QPaintEvent *aPaintEvent);
+ QSize sizeHint() const;
public:
/**
* @brief Constructor
* @param parent Parent
*/
InfoTab(QWidget *parent=0);
-
public slots:
/**
* @brief Sets the users current address
QString m_address; ///< Address from where the new message was sent.
QString m_time; ///< Time when the new message was sent
QPixmap m_avatar; ///< User's avatar
- QWidget *widget;
+ QWidget *widget; ///< Parent of all widgets.
+ SituareUser *situUser;
};
#endif // INFOTAB_H