1 #ifndef VERTICALLAYOUT_H 2 #define VERTICALLAYOUT_H 4 #include "autolayout.h" 53 static std::shared_ptr<VerticalLayout>
create(
Layout &layout,
54 const cv::Point &pos = cv::Point(0,0));
62 virtual const char *
getType()
const;
64 static const char *type;
86 #endif // VERTICALLAYOUT_H
The VerticalLayout class.
Definition: verticallayout.h:42
int getSpacing() const
returns 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
virtual void recalcCompound()
recalcCompound
static std::shared_ptr< VerticalLayout > create(Layout &layout, const cv::Point &pos=cv::Point(0, 0))
create a VerticalLayout widget
The Layout class.
Definition: layout.h:17
void setSpacing(int value)
sets pixel spacing between items
virtual const char * getType() const
getType is always implemented by derived to return the same static pointer per widget.