kdeui Library API Documentation

KDockSplitter Class Reference

Like QSplitter but specially designed for dockwidgets stuff. More...

#include <kdockwidget_private.h>

Inheritance diagram for KDockSplitter:

Inheritance graph
[legend]
Collaboration diagram for KDockSplitter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 KDockSplitter (QWidget *parent=0, const char *name=0, Orientation orient=Vertical, int pos=50, bool highResolution=false)
virtual ~KDockSplitter ()
void activate (QWidget *c0, QWidget *c1=0L)
void deactivate ()
int separatorPos () const
void setSeparatorPos (int pos, bool do_resize=true)
void setSeparatorPosX (int pos, bool do_resize=false)
virtual bool eventFilter (QObject *, QEvent *)
virtual bool event (QEvent *)
QWidgetgetFirst () const
QWidgetgetLast () const
QWidgetgetAnother (QWidget *) const
void updateName ()
void setOpaqueResize (bool b=true)
bool opaqueResize () const
void setKeepSize (bool b=true)
bool keepSize () const
void setHighResolution (bool b=true)
bool highResolution () const
void setForcedFixedWidth (KDockWidget *dw, int w)
void setForcedFixedHeight (KDockWidget *dw, int h)
void restoreFromForcedFixedSize (KDockWidget *dw)
Orientation orientation ()

Protected Member Functions

int checkValue (int) const
int checkValueOverlapped (int, QWidget *) const
virtual void resizeEvent (QResizeEvent *)

Friends

class KDockContainer

Detailed Description

Like QSplitter but specially designed for dockwidgets stuff.

Definition at line 43 of file kdockwidget_private.h.


Member Function Documentation

void KDockSplitter::setSeparatorPosX int  pos,
bool  do_resize = false
 

For usage from outside.

If the splitter is in fixed position when called, the value of pos will be saved and used when the splitter is restored. If do_resize is true, the size will be changed unless the splitter is in fixed mode.

Definition at line 222 of file kdockwidget_private.cpp.

References setSeparatorPos().


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.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 16 06:50:57 2005 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003