• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KDEUI

Public Member Functions | Properties | List of all members
KSeparator Class Reference

#include <kseparator.h>

Inheritance diagram for KSeparator:
QFrame

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
Author
Michael Roth mroth.nosp@m.@wir.nosp@m.lweb..nosp@m.de

Definition at line 34 of file kseparator.h.

Constructor & Destructor Documentation

◆ KSeparator() [1/2]

KSeparator::KSeparator ( QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
explicit

Constructor.

Parameters
parentparent object.
fextra QWidget flags.

Definition at line 25 of file kseparator.cpp.

◆ KSeparator() [2/2]

KSeparator::KSeparator ( Qt::Orientation  orientation,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)
explicit

Constructor.

Parameters
orientationSet the orientation of the separator. Possible values are Horizontal or Vertical.
parentparent object.
fextra 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
orientationPossible values are Vertical and Horizontal.

Definition at line 42 of file kseparator.cpp.

Property Documentation

◆ orientation

Qt::Orientation KSeparator::orientation
readwrite

Definition at line 1 of file kseparator.h.


The documentation for this class was generated from the following files:
  • kseparator.h
  • kseparator.cpp
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

KDE's Doxygen guidelines are available online.

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal