KDockSplitter Class Reference
#include <kdockwidget_private.h>
Inheritance diagram for KDockSplitter:

Detailed Description
Like QSplitter but specially designed for dockwidgets stuff.
For internal use only.
- Author:
- Max Judin.
Definition at line 44 of file kdockwidget_private.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.
Definition at line 32 of file kdockwidget_private.cpp. |
Member Function Documentation
|
Initialize the splitter.
If
Definition at line 51 of file kdockwidget_private.cpp. |
|
Make sure the splitter position is not out of bounds.
Definition at line 466 of file kdockwidget_private.cpp. |
|
Make sure the splitter position is not out of bounds. It has to honor all child widgets' mimimumSize.
Definition at line 442 of file kdockwidget_private.cpp. |
|
Disables the splitter.
Definition at line 204 of file kdockwidget_private.cpp. |
|
The eventfilter installed on the
Definition at line 492 of file kdockwidget_private.cpp. |
|
If
Definition at line 578 of file kdockwidget_private.cpp. |
|
Definition at line 124 of file kdockwidget_private.h. |
|
Definition at line 128 of file kdockwidget_private.h. |
|
The orientation is either
Definition at line 159 of file kdockwidget_private.h. |
|
The resize event resizes The new sizes are dependant of
Reimplemented from QWidget. Definition at line 239 of file kdockwidget_private.cpp. |
|
Return the separator position in the range [0.
.100000] To get the separator position in procent (%), call
Definition at line 234 of file kdockwidget_private.cpp. |
|
Return the separator position in percent (%), so the range is [0. .100]
Definition at line 211 of file kdockwidget_private.cpp. |
|
If
If no Definition at line 611 of file kdockwidget_private.cpp. |
|
Set opaque flag.
Definition at line 601 of file kdockwidget_private.cpp. |
|
set separator position.
Definition at line 221 of file kdockwidget_private.cpp. |
|
Set the separator position in percent (%), so the range must be [0. .100]
Definition at line 216 of file kdockwidget_private.cpp. |
|
For usage from outside.
If the splitter is in fixed position when called, the value of Definition at line 228 of file kdockwidget_private.cpp. |
The documentation for this class was generated from the following files: