KSeparator Class
Standard horizontal or vertical separator. More...
| Header: | #include <KSeparator> |
| CMake: | find_package(KF6 REQUIRED COMPONENTS WidgetsAddons)target_link_libraries(mytarget PRIVATE KF6::WidgetsAddons) |
| Inherits: | QFrame |
Properties
- orientation : Qt::Orientation
Public Functions
| KSeparator(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()) | |
| KSeparator(Qt::Orientation orientation, QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags()) | |
| Qt::Orientation | orientation() const |
| void | setOrientation(Qt::Orientation orientation) |
Detailed Description


Property Documentation
orientation : Qt::Orientation
Access functions:
| Qt::Orientation | orientation() const |
| void | setOrientation(Qt::Orientation orientation) |
Member Function Documentation
[explicit] KSeparator::KSeparator(QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags())
Constructor.
parent parent object.
f extra QWidget flags.
[explicit] KSeparator::KSeparator(Qt::Orientation orientation, QWidget *parent = nullptr, Qt::WindowFlags f = Qt::WindowFlags())
Constructor.
orientation Set the orientation of the separator. Possible values are Horizontal or Vertical.
parent parent object.
f extra QWidget flags.
Qt::Orientation KSeparator::orientation() const
Returns the orientation of the separator.
Note: Getter function for property orientation.
See also setOrientation().
void KSeparator::setOrientation(Qt::Orientation orientation)
Set the orientation of the separator to orientation
orientation Possible values are Vertical and Horizontal.
Note: Setter function for property orientation.
See also orientation().