• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeui
 

tdeui

Public Member Functions | Protected Member Functions

KSeparator Class Reference

Standard horizontal or vertical separator. More...

#include <kseparator.h>

Inheritance diagram for KSeparator:
TQFrame

List of all members.

Public Member Functions

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

Protected Member Functions

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

Detailed Description

Standard horizontal or vertical separator.

Author:
Michael Roth <mroth@wirlweb.de>
Version:
$Id$

Definition at line 33 of file kseparator.h.


Constructor & Destructor Documentation

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

Constructor.

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

Definition at line 28 of file kseparator.cpp.

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

Definition at line 38 of file kseparator.cpp.


Member Function Documentation

void KSeparator::drawFrame ( TQPainter *  p  )  [protected, virtual]
Parameters:
p pointer to painter

Reimplemented from TQFrame.

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.

Definition at line 71 of file kseparator.cpp.

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.

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

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

Definition at line 103 of file kseparator.cpp.


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

tdeui

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

tdeui

Skip menu "tdeui"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeui by doxygen 1.7.1
This website is maintained by Timothy Pearson.