mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
added for plugins own dir
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1850 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
97d8640f3a
commit
87344de7d4
809 changed files with 790 additions and 722 deletions
27
plugins/smplayer_plugin/verticaltext.h
Normal file
27
plugins/smplayer_plugin/verticaltext.h
Normal file
|
@ -0,0 +1,27 @@
|
|||
/* 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
|
Loading…
Add table
Add a link
Reference in a new issue