Last change
on this file was 112, checked in by Silvan Scherrer, 15 years ago |
Smplayer: eol-style
|
-
Property svn:eol-style
set to
LF
|
File size:
532 bytes
|
Line | |
---|
1 | /* Taken from KMix */
|
---|
2 | /* Copyright (C) 2003-2004 Christian Esken <esken@kde.org> */
|
---|
3 |
|
---|
4 |
|
---|
5 | #ifndef VerticalText_h
|
---|
6 | #define VerticalText_h
|
---|
7 |
|
---|
8 | #include <QWidget>
|
---|
9 | #include <QPaintEvent>
|
---|
10 |
|
---|
11 | class VerticalText : public QWidget
|
---|
12 | {
|
---|
13 | public:
|
---|
14 | VerticalText(QWidget * parent, Qt::WindowFlags f = 0);
|
---|
15 | ~VerticalText();
|
---|
16 |
|
---|
17 | void setText(QString s) { _label = s; };
|
---|
18 | QString text() { return _label; };
|
---|
19 | QSize sizeHint() const;
|
---|
20 | QSizePolicy sizePolicy () const;
|
---|
21 |
|
---|
22 | protected:
|
---|
23 | void paintEvent ( QPaintEvent * event );
|
---|
24 | QString _label;
|
---|
25 | };
|
---|
26 |
|
---|
27 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.