64 virtual void add(QWidget *comp,
const QString &name=
""){
getLayout()->addWidget(comp); }
67 virtual void insert(
int idx, QWidget *comp,
const QString &name=
""){
add(comp,name); }
QScrollArea * getScroll()
returns the parent scroll area (which is null, if the component is hbox or vbox)
Definition: BoxHandle.h:73
bool horizontal
internal property that indicate the underlying layout orientation
Definition: BoxHandle.h:48
undocument this line if you encounter any issues!
Definition: Any.h:37
virtual void add(QWidget *comp, const QString &name="")
adds an external compnent to the underlying widgets layout
Definition: BoxHandle.h:64
virtual void insert(int idx, QWidget *comp, const QString &name="")
this does not work here (calls add, idx and name is ignored)
Definition: BoxHandle.h:67
A Handle for container GUI components (hbox, vbox, hscroll and vscroll)
Definition: BoxHandle.h:47
BoxHandle(bool isHorizontal, QWidget *w, GUIWidget *guiw, QScrollArea *scroll=0)
create an empty handle
Definition: BoxHandle.h:56
Abstract base class for Handle classes.
Definition: GUIHandle.h:40
bool isHorizontal() const
returns whether the layout orientation is horizontal
Definition: BoxHandle.h:76
BoxHandle()
empty base constructor
Definition: BoxHandle.h:53
QLayout * getLayout()
returns the associated layout
Definition: BoxHandle.h:60
bool hasScroll() const
returns whether this handle has
Definition: BoxHandle.h:70
Base class for Container like GUI handles as Box- or Tab widgets.
Definition: ContainerHandle.h:40
QScrollArea * scroll
optional parent QScrollArea
Definition: BoxHandle.h:49
bool isVertical() const
returns whether the layout orientation is vertical
Definition: BoxHandle.h:79