canvascv::Layout Class Referenceabstract
#include <layout.h>
Inheritance diagram for canvascv::Layout:

Protected Member Functions | |
virtual void | addWidget (const std::shared_ptr< Widget > &widget)=0 |
adds the widget to this Layout after removing it from it's previous layout | |
virtual std::shared_ptr< Widget > | rmvWidget (const std::shared_ptr< Widget > &widget)=0 |
rmvWidget More... | |
Detailed Description
This is the layout interface class. All widgets must go into a Layout. All Layouts are also widgets except for the Canvas class.
- Examples:
- example_add_widget.cpp.
Member Function Documentation
|
protectedpure virtual |
- Parameters
-
widget will be removed from this Layout
- Returns
- filled shared_ptr to removed widget or empty if not found
- Note
- Widgets must be in layouts to be displayed correctly.
Implemented in canvascv::Canvas, canvascv::CompoundWidget, and canvascv::AutoLayout.
The documentation for this class was generated from the following file:
- CanvasCV-doxygen/src/canvascv/widgets/layout.h
Generated by
