• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kdeui

KSeparator Class Reference

Standard horizontal or vertical separator. More...

#include <kseparator.h>

Inheritance diagram for KSeparator:

Inheritance graph
[legend]

List of all members.


Public Member Functions

 KSeparator (int orientation, QWidget *parent=0, const char *name=0, WFlags f=0)
 KSeparator (QWidget *parent=0, const char *name=0, WFlags f=0)
int orientation () const
void setOrientation (int orient)
virtual QSize sizeHint () const

Protected Member Functions

virtual void drawFrame (QPainter *p)
virtual void virtual_hook (int id, void *data)

Properties

int orientation

Detailed Description

Standard horizontal or vertical separator.

Author:
Michael Roth <mroth@wirlweb.de>
Version:
Id
kseparator.h 465272 2005-09-29 09:47:40Z mueller

Definition at line 33 of file kseparator.h.


Constructor & Destructor Documentation

KSeparator::KSeparator ( QWidget *  parent = 0,
const char *  name = 0,
WFlags  f = 0 
)

Constructor.

Parameters:
parent parent object.
name name of the new object.
f extra QWidget flags.

Definition at line 28 of file kseparator.cpp.

KSeparator::KSeparator ( int  orientation,
QWidget *  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 QWidget flags.

Definition at line 38 of file kseparator.cpp.


Member Function Documentation

void KSeparator::drawFrame ( QPainter *  p  )  [protected, virtual]

Parameters:
p pointer to painter

Reimplemented from QFrame.

Definition at line 82 of file kseparator.cpp.

int KSeparator::orientation (  )  const

Returns the orientation of the separator.

Returns:
int Possible values are VLine and HLine.

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.

QSize KSeparator::sizeHint ( void   )  const [virtual]

The recommended height (width) for a horizontal (vertical) separator.

Definition at line 103 of file kseparator.cpp.

void KSeparator::virtual_hook ( int  id,
void *  data 
) [protected, virtual]

Definition at line 114 of file kseparator.cpp.


Property Documentation

int KSeparator::orientation [read, write]

Definition at line 36 of file kseparator.h.


The documentation for this class was generated from the following files:
  • kseparator.h
  • kseparator.cpp

kdeui

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal