blob: dd0c65c28a2cf5cd25a60d79a20f81ed5fc3c429 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef VERTICALLABEL_H
#define VERTICALLABEL_H
#include <QLabel>
class VerticalLabel : public QLabel
{
Q_OBJECT
public:
explicit VerticalLabel(QWidget *parent = 0);
explicit VerticalLabel(const QString& text, QWidget *parent = 0);
~VerticalLabel();
protected:
void paintEvent(QPaintEvent*);
QSize sizeHint() const;
QSize minimumSizeHint() const;
};
#endif // VERTICALLABEL_H
|