ContRap-Libraries
Public Member Functions | Protected Member Functions | Protected Attributes

crp::QtWidget Class Reference

#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 ( )

Creates a new Qt widget.

virtual crp::QtWidget::~QtWidget ( ) [inline, virtual]

Cleans up.


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:
eventQt event
void crp::QtWidget::set_size ( std::string &  size)

Resizes the widget from a string.

Parameters:
sizeSize of the widget

Field Documentation

Logger* crp::QtWidget::logger [protected]

Logger.


The documentation for this class was generated from the following file: