00001 /* 00002 This file is part of the Opie Project 00003 00004 Copyright (C) 2003 Michael 'Mickey' Lauer <mickey@tm.informatik.uni-frankfurt.de> 00005 Copyright (C) 1997 Michael Roth <mroth@wirlweb.de> 00006 =. 00007 .=l. 00008 .>+-= 00009 _;:, .> :=|. This program is free software; you can 00010 .> <`_, > . <= redistribute it and/or modify it under 00011 :`=1 )Y*s>-.-- : the terms of the GNU Library General Public 00012 .="- .-=="i, .._ License as published by the Free Software 00013 - . .-<_> .<> Foundation; either version 2 of the License, 00014 ._= =} : or (at your option) any later version. 00015 .%`+i> _;_. 00016 .i_,=:_. -<s. This program is distributed in the hope that 00017 + . -:. = it will be useful, but WITHOUT ANY WARRANTY; 00018 : .. .:, . . . without even the implied warranty of 00019 =_ + =;=|` MERCHANTABILITY or FITNESS FOR A 00020 _.=:. : :=>`: PARTICULAR PURPOSE. See the GNU 00021 ..}^=.= = ; Library General Public License for more 00022 ++= -. .` .: details. 00023 : = ...= . :.=- 00024 -. .:....=;==+<; You should have received a copy of the GNU 00025 -_. . . )=. = Library General Public License along with 00026 -- :-=` this library; see the file COPYING.LIB. 00027 If not, write to the Free Software Foundation, 00028 Inc., 59 Temple Place - Suite 330, 00029 Boston, MA 02111-1307, USA. 00030 00031 */ 00032 00033 #ifndef OSEPARATOR_H 00034 #define OSEPARATOR_H 00035 00036 #include <qframe.h> 00037 00038 namespace Opie { 00039 namespace Ui { 00040 00048 class OSeparator : public QFrame 00049 { 00050 Q_OBJECT 00051 Q_PROPERTY( int orientation READ orientation WRITE setOrientation ) 00052 public: 00056 OSeparator(QWidget* parent=0, const char* name=0, WFlags f=0); 00063 OSeparator(int orientation, QWidget* parent=0, const char* name=0, 00064 WFlags f=0); 00065 00071 int orientation() const; 00072 00078 void setOrientation(int orient); 00079 00083 virtual QSize sizeHint() const; 00084 00085 protected: 00086 virtual void drawFrame( QPainter * ); 00087 00088 private: 00089 class OSeparatorPrivate* d; 00090 }; 00091 00092 } 00093 } 00094 00095 #endif // OSEPARATOR_H
1.4.2