CanvasCV: CanvasCV-doxygen/src/canvascv/widgets/hframe.h Source File
CanvasCV  1.0.0
hframe.h
1 #ifndef HFRAME_H
2 #define HFRAME_H
3 
4 #include "horizontallayout.h"
5 
6 namespace canvascv
7 {
8 
16 class HFrame : public HorizontalLayout
17 {
18 public:
19 
27  static std::shared_ptr<HFrame> 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  HFrame(const cv::Point &pos);
47 };
48 
49 }
50 #endif // HFRAME_H
The WidgetFactory class.
Definition: widgetfactory.h:24
void setFrameRelief(Relief value)
setFrameRelief
This namespace holds all the classes of the CanvasCV library.
Definition: canvas.h:20
The HorizontalLayout class.
Definition: horizontallayout.h:37
The HFrame class.
Definition: hframe.h:16
virtual const char * getType() const
getType is always implemented by derived to return the same static pointer per 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
static std::shared_ptr< HFrame > create(Layout &layout, const cv::Point &pos=cv::Point(0, 0))
create a HFrame widget