X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fverticaldocktitle.h;fp=src%2Fuisupport%2Fverticaldocktitle.h;h=4afb2d2769f32ede2e4dec516152e37b7bc6f17d;hb=453731c6d3c5eac2df5e98c4f179afabed4451a1;hp=0000000000000000000000000000000000000000;hpb=b2cf1b73760eadbeb3452d8d2260e1dc876e6fe5;p=quassel.git diff --git a/src/uisupport/verticaldocktitle.h b/src/uisupport/verticaldocktitle.h new file mode 100644 index 00000000..4afb2d27 --- /dev/null +++ b/src/uisupport/verticaldocktitle.h @@ -0,0 +1,45 @@ +/*************************************************************************** + * Copyright (C) 2005/06 by the Quassel Project * + * devel@quassel-irc.org * + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) version 3. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; if not, write to the * + * Free Software Foundation, Inc., * + * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * + ***************************************************************************/ + +#ifndef VERTICALDOCKTITLE_H +#define VERTICALDOCKTITLE_H + +#include +#include + +class QDockWidget; + +class VerticalDockTitle : public QWidget { + Q_OBJECT + +public: + VerticalDockTitle(QDockWidget *parent); + virtual ~VerticalDockTitle(); + + virtual QSize sizeHint() const; + virtual QSize minimumSizeHint() const; + +protected: + virtual void paintEvent(QPaintEvent *event); +}; + + +#endif // VERTICALDOCKTITLE_H +