Fraxinus
16.5.0-fx-rc9
An IGT application
|
Composite widget for scalar data manipulation. More...
#include <cxDoubleWidgets.h>
Public Member Functions | |
ScalarInteractionWidget (QWidget *parent, DoublePropertyBasePtr) | |
void | enableLabel () |
void | enableSlider () |
void | enableDial () |
void | enableEdit () |
void | enableSpinBox () |
void | enableInfiniteSlider () |
void | addToOwnLayout () |
void | addToGridLayout (QGridLayout *gridLayout=0, int row=0) |
void | build (QGridLayout *gridLayout=0, int row=0) |
void | showLabel (bool on) |
Public Member Functions inherited from cx::OptimizedUpdateWidget | |
OptimizedUpdateWidget (QWidget *parent=NULL) | |
virtual | ~OptimizedUpdateWidget () |
void | forcePrePaint () |
Protected Member Functions | |
virtual void | prePaintEvent () |
Protected Member Functions inherited from cx::OptimizedUpdateWidget | |
virtual void | paintEvent (QPaintEvent *event) |
Protected Attributes | |
DoublePropertyBasePtr | mData |
Additional Inherited Members | |
Public Slots inherited from cx::OptimizedUpdateWidget | |
virtual void | setModified () |
Composite widget for scalar data manipulation.
Consists of <namelabel, valueedit, slider>. Insert a subclass of DoublePropertyBasePtr in order to connect to data.
Before use: enable the widgets you need, then add either to Own layout, in case you wish to use the widget normally, or add to grid, in case you wish to integrate the elements into a larger grid.
Definition at line 147 of file cxDoubleWidgets.h.
cx::ScalarInteractionWidget::ScalarInteractionWidget | ( | QWidget * | parent, |
DoublePropertyBasePtr | dataInterface | ||
) |
Definition at line 45 of file cxDoubleWidgets.cpp.
void cx::ScalarInteractionWidget::addToGridLayout | ( | QGridLayout * | gridLayout = 0 , |
int | row = 0 |
||
) |
Layout all widgets into the input grid, including this.
Definition at line 138 of file cxDoubleWidgets.cpp.
void cx::ScalarInteractionWidget::addToOwnLayout | ( | ) |
Layout all widgets in this, horizontal style.
Definition at line 114 of file cxDoubleWidgets.cpp.
void cx::ScalarInteractionWidget::build | ( | QGridLayout * | gridLayout = 0 , |
int | row = 0 |
||
) |
Definition at line 162 of file cxDoubleWidgets.cpp.
void cx::ScalarInteractionWidget::enableDial | ( | ) |
Definition at line 73 of file cxDoubleWidgets.cpp.
void cx::ScalarInteractionWidget::enableEdit | ( | ) |
Definition at line 99 of file cxDoubleWidgets.cpp.
void cx::ScalarInteractionWidget::enableInfiniteSlider | ( | ) |
Definition at line 82 of file cxDoubleWidgets.cpp.
void cx::ScalarInteractionWidget::enableLabel | ( | ) |
Definition at line 53 of file cxDoubleWidgets.cpp.
void cx::ScalarInteractionWidget::enableSlider | ( | ) |
Definition at line 65 of file cxDoubleWidgets.cpp.
void cx::ScalarInteractionWidget::enableSpinBox | ( | ) |
Definition at line 105 of file cxDoubleWidgets.cpp.
|
protectedvirtual |
Implement to perform expensive operations that need only be called once per paint. Use setModified() to trigger this method.
Reimplemented from cx::OptimizedUpdateWidget.
Definition at line 216 of file cxDoubleWidgets.cpp.
void cx::ScalarInteractionWidget::showLabel | ( | bool | on | ) |
Definition at line 59 of file cxDoubleWidgets.cpp.
|
protected |
Definition at line 174 of file cxDoubleWidgets.h.