Pages
API Documentation
On this page

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

List of all members, including inherited members

Properties

Public Functions

Detailed Description

Property Documentation

orientation : Qt::Orientation

Access functions:

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()

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.