aboutsummaryrefslogtreecommitdiffstats
path: root/InfoPanelLabel.h
diff options
context:
space:
mode:
Diffstat (limited to 'InfoPanelLabel.h')
-rw-r--r--InfoPanelLabel.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/InfoPanelLabel.h b/InfoPanelLabel.h
new file mode 100644
index 0000000..81fc206
--- /dev/null
+++ b/InfoPanelLabel.h
@@ -0,0 +1,21 @@
+#ifndef __INFO_PANEL_LABEL_H__
+#define __INFO_PANEL_LABEL_H__
+
+#include <QWidget>
+#include <QLabel>
+#include <QRect>
+#include <QFont>
+#include <QString>
+
+class InfoPanelLabel : public QLabel
+{
+ Q_OBJECT
+ public:
+ InfoPanelLabel(QWidget *parent, QRect &r);
+ void Init(int pos, int height, const QString &text, QFont *font = NULL);
+
+ private:
+ QRect rect;
+};
+
+#endif // __INFO_PANEL_LABEL_H__