mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 00:19:25 -05:00
87344de7d4
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1850 b45a01b8-16f6-495d-af2f-9b41ad6348cc
28 lines
532 B
C++
28 lines
532 B
C++
/* Taken from KMix */
|
|
/* Copyright (C) 2003-2004 Christian Esken <esken@kde.org> */
|
|
|
|
|
|
#ifndef VerticalText_h
|
|
#define VerticalText_h
|
|
|
|
#include <QWidget>
|
|
#include <QPaintEvent>
|
|
|
|
class VerticalText : public QWidget
|
|
{
|
|
public:
|
|
VerticalText(QWidget * parent, Qt::WindowFlags f = 0);
|
|
~VerticalText();
|
|
|
|
void setText(QString s) { _label = s; };
|
|
QString text() { return _label; };
|
|
QSize sizeHint() const;
|
|
QSizePolicy sizePolicy () const;
|
|
|
|
protected:
|
|
void paintEvent ( QPaintEvent * event );
|
|
QString _label;
|
|
};
|
|
|
|
#endif
|