summaryrefslogtreecommitdiffstats
path: root/InfoPanelLabel.h
blob: 81fc20650512853ed28d653f68f7f6e0d3af8b45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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__