kdeui Library API Documentation

KSeparator Class Reference

Standard horizontal or vertical separator. More...

#include <kseparator.h>

Inheritance diagram for KSeparator:

QFrame List of all members.

Public Methods

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

Protected Methods

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

Detailed Description

Standard horizontal or vertical separator.

Author:
Michael Roth <mroth@wirlweb.de>
Version:
Id:
kseparator.h,v 1.11 2003/03/07 22:05:52 waba Exp

Definition at line 31 of file kseparator.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 28 of file kseparator.cpp.

References QFrame::setLineWidth(), QFrame::setMidLineWidth(), and setOrientation().

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.

Definition at line 38 of file kseparator.cpp.

References orientation(), QFrame::setLineWidth(), QFrame::setMidLineWidth(), and setOrientation().


Member Function Documentation

int KSeparator::orientation   const
 

Returns the orientation of the separator.

Possible values are VLine and HLine.

Definition at line 71 of file kseparator.cpp.

References QFrame::frameStyle().

Referenced by KSeparator().

void KSeparator::setOrientation int    orient
 

Set the orientation of the separator to orient.

Possible values are VLine and HLine.

Definition at line 48 of file kseparator.cpp.

References QFrame::setFrameStyle().

Referenced by KDialogBase::enableButtonSeparator(), KSeparator(), and KDialogBase::setButtonBoxOrientation().

QSize KSeparator::sizeHint   const [virtual]
 

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

Definition at line 103 of file kseparator.cpp.

References QFrame::frameStyle().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdeui Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sun May 16 22:02:21 2004 by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2003