|
Omnidome
Fulldome Mapping Software Toolkit
|
A single parameter widget with a label and color set. More...
#include <Widget.h>


Public Member Functions | |
| Widget (QWidget *=nullptr) | |
| Widget (QString const &_label, QWidget *=nullptr) | |
| virtual | ~Widget () |
| QString | label () const |
| Return label text of widget. More... | |
| void | setLabel (QString const &) |
| Set label text of widget. More... | |
| ColorSet const & | colorSet () const |
| double | zoomFactor () const |
| Zoom factor of widget. More... | |
Protected Member Functions | |
| void | drawBorder (QPainter &) |
| void | drawBorder (QPainter &, bool _focus) |
Protected Attributes | |
| QLabel * | label_ |
Private Member Functions | |
| void | init () |
Private Attributes | |
| ColorSet | colorSet_ |
| double | zoomFactor_ = 1.0 |
A single parameter widget with a label and color set.
| omni::ui::Widget::Widget | ( | QWidget * | _parent = nullptr | ) |
| omni::ui::Widget::Widget | ( | QString const & | _label, |
| QWidget * | _parent = nullptr |
||
| ) |
| ColorSet const & omni::ui::Widget::colorSet | ( | ) | const |
|
protected |
|
protected |
|
private |
| QString omni::ui::Widget::label | ( | ) | const |
Return label text of widget.
| void omni::ui::Widget::setLabel | ( | QString const & | _label | ) |
Set label text of widget.
| double omni::ui::Widget::zoomFactor | ( | ) | const |
Zoom factor of widget.
|
private |
|
protected |
|
private |
1.8.6