KSeparator Class Reference
#include <kseparator.h>
Inherits TQFrame.
Public Member Functions | |
KSeparator (TQWidget *parent=0, const char *name=0, WFlags f=0) | |
KSeparator (int orientation, TQWidget *parent=0, const char *name=0, WFlags f=0) | |
int | orientation () const |
void | setOrientation (int orient) |
virtual TQSize | sizeHint () const |
Protected Member Functions | |
virtual void | drawFrame (TQPainter *p) |
virtual void | virtual_hook (int id, void *data) |
Detailed Description
Constructor & Destructor Documentation
◆ KSeparator() [1/2]
KSeparator::KSeparator | ( | TQWidget * | parent = 0 , |
const char * | name = 0 , |
||
WFlags | f = 0 |
||
) |
Constructor.
- Parameters
-
parent parent object. name name of the new object. f extra TQWidget flags.
Definition at line 28 of file kseparator.cpp.
◆ KSeparator() [2/2]
KSeparator::KSeparator | ( | int | orientation, |
TQWidget * | parent = 0 , |
||
const char * | name = 0 , |
||
WFlags | f = 0 |
||
) |
Constructor.
- Parameters
-
orientation Set the orientation of the separator. Possible values are HLine or Horizontal and VLine or Vertical. parent parent object. name name of the new object. f extra TQWidget flags.
Definition at line 38 of file kseparator.cpp.
Member Function Documentation
◆ drawFrame()
|
protectedvirtual |
- Parameters
-
p pointer to painter
Definition at line 82 of file kseparator.cpp.
◆ orientation()
int KSeparator::orientation | ( | ) | const |
Returns the orientation of the separator.
- Returns
- int Possible values are VLine and HLine.
Definition at line 71 of file kseparator.cpp.
◆ setOrientation()
void KSeparator::setOrientation | ( | int | orient | ) |
Set the orientation of the separator to orient
.
- Parameters
-
orient Possible values are VLine and HLine.
Definition at line 48 of file kseparator.cpp.
◆ sizeHint()
|
virtual |
The recommended height (width) for a horizontal (vertical) separator.
Definition at line 103 of file kseparator.cpp.
The documentation for this class was generated from the following files: