ksplitter.h
21 IMPORTANT Note: This file compiles also in TQt-only mode by using the NO_KDE2 precompiler definition
59 KDockSplitter(TQWidget *parent= 0, const char *name= 0, TQt::Orientation orient=TQt::Vertical, int pos= 50);
TQWidget * getAnother(TQWidget *w) const
If w is child0, return child1, otherwise child0.
void setSeparatorPos(int pos, bool do_resize=true)
set separator position.
int separatorPos() const
Return the separator position in the range [0..100000] To get the separator position in procent (%),...
int checkValueOverlapped(int position, TQWidget *child) const
Make sure the splitter position is not out of bounds.
TQt::Orientation orientation()
The orientation is either TQt::Horizontal or TQt::Vertical.
Definition ksplitter.h:174
void setSeparatorPosInPercent(int percent)
Set the separator position in percent (%), so the range must be [0..100].
Definition ksplitter.h:93
virtual bool eventFilter(TQObject *, TQEvent *)
The eventfilter installed on the divider processes all splitter resizing events.
int checkValue(int position) const
Make sure the splitter position is not out of bounds.
int separatorPosInPercent()
Return the separator position in percent (%), so the range is [0..100].
Definition ksplitter.h:80
virtual void resizeEvent(TQResizeEvent *ev)
The resize event resizes child0, child1 and the divider.
void setKeepSize(bool b=true)
If b is true, the splitter will keep its size on resize events.
KDockSplitter(TQWidget *parent=0, const char *name=0, TQt::Orientation orient=TQt::Vertical, int pos=50)
Constructor.
void setSeparatorPosX(int pos, bool do_resize=false)
For usage from outside.
