#include <qtwidget.h>
Public Member Functions |
| | QtWidget () |
| | Creates a new Qt widget.
|
| virtual | ~QtWidget () |
| | Cleans up.
|
| void | on_closing (QCloseEvent *event) |
| | What to do on closing.
|
| virtual QWidget * | get_widget () |
| | Returns the Qt widget.
|
| void | set_size (std::string &size) |
| | Resizes the widget from a string.
|
Protected Member Functions |
| void | init_widget () |
| | Initializes widgets information.
|
Protected Attributes |
| Logger * | logger |
| | Logger.
|
Constructor & Destructor Documentation
| crp::QtWidget::QtWidget |
( |
| ) |
|
| virtual crp::QtWidget::~QtWidget |
( |
| ) |
[inline, virtual] |
Member Function Documentation
| virtual QWidget* crp::QtWidget::get_widget |
( |
| ) |
[inline, virtual] |
Returns the Qt widget.
- Returns:
- Instance of the QWidget implemented by this item
| void crp::QtWidget::init_widget |
( |
| ) |
[protected] |
Initializes widgets information.
| void crp::QtWidget::on_closing |
( |
QCloseEvent * |
event | ) |
|
What to do on closing.
- Parameters:
-
| void crp::QtWidget::set_size |
( |
std::string & |
size | ) |
|
Resizes the widget from a string.
- Parameters:
-
Field Documentation
The documentation for this class was generated from the following file: