KDEUI
KSeparator Class Reference
#include <kseparator.h>
Inheritance diagram for KSeparator:

Public Member Functions | |
KSeparator (Qt::Orientation orientation, QWidget *parent=0, Qt::WindowFlags f=0) | |
KSeparator (QWidget *parent=0, Qt::WindowFlags f=0) | |
Qt::Orientation | orientation () const |
void | setOrientation (Qt::Orientation orientation) |
Properties | |
Qt::Orientation | orientation |
Detailed Description
Standard horizontal or vertical separator.

KDE Separator with horizontal orientation

KDE Separator with vertical orientation
Definition at line 34 of file kseparator.h.
Constructor & Destructor Documentation
◆ KSeparator() [1/2]
|
explicit |
Constructor.
- Parameters
-
parent parent object. f extra QWidget flags.
Definition at line 25 of file kseparator.cpp.
◆ KSeparator() [2/2]
|
explicit |
Constructor.
- Parameters
-
orientation Set the orientation of the separator. Possible values are Horizontal or Vertical. parent parent object. f extra QWidget flags.
Definition at line 33 of file kseparator.cpp.
Member Function Documentation
◆ orientation()
Qt::Orientation KSeparator::orientation | ( | ) | const |
Returns the orientation of the separator.
- Returns
- int Possible values Horizontal or Vertical.
Definition at line 57 of file kseparator.cpp.
◆ setOrientation()
void KSeparator::setOrientation | ( | Qt::Orientation | orientation | ) |
Set the orientation of the separator to orientation
.
- Parameters
-
orientation Possible values are Vertical and Horizontal.
Definition at line 42 of file kseparator.cpp.
Property Documentation
◆ orientation
|
readwrite |
Definition at line 1 of file kseparator.h.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.