Personal infotab mods in listviewscreen
[situare] / src / ui / situareuser.h
diff --git a/src/ui/situareuser.h b/src/ui/situareuser.h
new file mode 100644 (file)
index 0000000..43f0f85
--- /dev/null
@@ -0,0 +1,24 @@
+#ifndef SITUAREUSER_H
+#define SITUAREUSER_H
+
+#include <QLabel>
+#include <QPixmap>
+
+class SituareUser : public QLabel
+{
+    Q_OBJECT
+protected:
+    /**
+    * @brief This function is called when the widget is drawn
+    *
+    * @param aPaintEvent Pointer to paint event
+    */
+    void paintEvent(QPaintEvent *aPaintEvent);
+public:
+    SituareUser(QWidget *parent=0);
+    QSize sizeHint() const;
+private:
+    QPixmap m_p;
+};
+
+#endif // SITUAREUSER_H