KSeparator Class Reference
Standard horizontal or vertical separator. More...
#include <kseparator.h>
Inheritance diagram for KSeparator:

Public Methods | |
KSeparator (QWidget *parent=0, const char *name=0, WFlags f=0) | |
Constructor. | |
KSeparator (int orientation, QWidget *parent=0, const char *name=0, WFlags f=0) | |
Constructor. | |
int | orientation () const |
Returns the orientation of the separator. | |
void | setOrientation (int orient) |
Set the orientation of the separator to orient . | |
virtual QSize | sizeHint () const |
The recommended height (width) for a horizontal (vertical) separator. | |
Protected Methods | |
virtual void | drawFrame (QPainter *) |
Detailed Description
Standard horizontal or vertical separator.
- Author:
- Michael Roth <mroth@wirlweb.de>
- Version:
- Id:
- kseparator.h,v 1.10 2002/03/04 00:51:51 lunakl Exp
Definition at line 31 of file kseparator.h.
Constructor & Destructor Documentation
|
Constructor.
Definition at line 28 of file kseparator.cpp. References QFrame::setLineWidth(), QFrame::setMidLineWidth(), and setOrientation(). |
|
Constructor.
Definition at line 38 of file kseparator.cpp. References orientation(), QFrame::setLineWidth(), QFrame::setMidLineWidth(), and setOrientation(). |
Member Function Documentation
|
Returns the orientation of the separator. Possible values are VLine and HLine. Definition at line 71 of file kseparator.cpp. References QFrame::frameStyle(). Referenced by KSeparator(). |
|
Set the orientation of the separator to Possible values are VLine and HLine. Definition at line 48 of file kseparator.cpp. References QFrame::setFrameStyle(). Referenced by KDialogBase::enableButtonSeparator(), KSeparator(), and KDialogBase::setButtonBoxOrientation(). |
|
The recommended height (width) for a horizontal (vertical) separator.
Definition at line 107 of file kseparator.cpp. References QFrame::frameStyle(). |
The documentation for this class was generated from the following files: