CanvasCV: CanvasCV-doxygen/src/canvascv/widgets/vframe.h Source File
CanvasCV  1.0.0
vframe.h
1 #ifndef VFRAME_H
2 #define VFRAME_H
3 
4 #include "verticallayout.h"
5 
6 namespace canvascv
7 {
8 
16 class VFrame : public VerticalLayout
17 {
18 public:
19 
27  static std::shared_ptr<VFrame> create(Layout &layout,
28  const cv::Point &pos = cv::Point(0,0));
29 
36  void setFrameRelief(Relief value);
37 
38  virtual const char *getType() const;
39 
40  static const char *type;
41 
42 protected:
43  friend class WidgetFactory;
44  template <class T> friend class WidgetFactoryT;
45 
46  VFrame(const cv::Point &pos);
47 };
48 
49 }
50 #endif // VFRAME_H
The WidgetFactory class.
Definition: widgetfactory.h:24
virtual const char * getType() const
getType is always implemented by derived to return the same static pointer per widget.
The VerticalLayout class.
Definition: verticallayout.h:42
The VFrame class.
Definition: vframe.h:16
void setFrameRelief(Relief value)
setFrameRelief
This namespace holds all the classes of the CanvasCV library.
Definition: canvas.h:20
static std::shared_ptr< VFrame > create(Layout &layout, const cv::Point &pos=cv::Point(0, 0))
create a VFrame widget
The Layout class.
Definition: layout.h:17
Relief
Control the widget BG relieft style.
Definition: widget.h:223
The WidgetFactoryT class.
Definition: widgetfactory.h:58