1 #ifndef HORIZONTALLAYOUT_H 2 #define HORIZONTALLAYOUT_H 4 #include "autolayout.h" 48 static std::shared_ptr<HorizontalLayout>
create(
Layout &layout,
49 const cv::Point &pos = cv::Point(0,0));
51 virtual const char *
getType()
const;
59 static const char *type;
81 #endif // HORIZONTALLAYOUT_H
virtual const char * getType() const
getType is always implemented by derived to return the same static pointer per widget.
static std::shared_ptr< HorizontalLayout > create(Layout &layout, const cv::Point &pos=cv::Point(0, 0))
create a HorizontalLayout widget
void setSpacing(int value)
sets pixel spacing between items
The AutoLayout class.
Definition: autolayout.h:15
This namespace holds all the classes of the CanvasCV library.
Definition: canvas.h:20
int getSpacing() const
returns pixel spacing between items
The HorizontalLayout class.
Definition: horizontallayout.h:37
The Layout class.
Definition: layout.h:17
virtual void recalcCompound()
recalcCompound