kexi
KDockSplitter Class Reference
#include <ksplitter.h>
Detailed Description
Like QSplitter but specially designed for dockwidgets stuff.
Definition at line 47 of file ksplitter.h.
Public Member Functions | |
KDockSplitter (QWidget *parent=0, const char *name=0, Orientation orient=Vertical, int pos=50) | |
virtual | ~KDockSplitter () |
void | activate (QWidget *c0, QWidget *c1=0L) |
void | deactivate () |
int | separatorPosInPercent () |
void | setSeparatorPosInPercent (int percent) |
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 *) |
QWidget * | getFirst () const |
QWidget * | getLast () const |
QWidget * | getAnother (QWidget *w) const |
void | updateName () |
void | setOpaqueResize (bool b=true) |
bool | opaqueResize () const |
void | setKeepSize (bool b=true) |
bool | keepSize () 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 position) const |
int | checkValueOverlapped (int position, QWidget *child) const |
virtual void | resizeEvent (QResizeEvent *ev) |
Friends | |
class | KDockContainer |
Constructor & Destructor Documentation
|
Constructor.
|
Member Function Documentation
|
Initialize the splitter.
If
|
|
Make sure the splitter position is not out of bounds.
|
|
Make sure the splitter position is not out of bounds. It has to honor all child widgets' mimimumSize.
|
|
Disables the splitter.
|
|
The eventfilter installed on the
|
|
If
|
|
Definition at line 138 of file ksplitter.h. |
|
Definition at line 142 of file ksplitter.h. |
|
The orientation is either
Definition at line 173 of file ksplitter.h. |
|
The resize event resizes The new sizes are dependant of
|
|
Return the separator position in the range [0.
.100000] To get the separator position in procent (%), call
|
|
Return the separator position in percent (%), so the range is [0. .100]
Definition at line 79 of file ksplitter.h. |
|
If
If no |
|
Set opaque flag.
|
|
set separator position.
|
|
Set the separator position in percent (%), so the range must be [0. .100]
Definition at line 92 of file ksplitter.h. |
|
For usage from outside.
If the splitter is in fixed position when called, the value of |
The documentation for this class was generated from the following file: