CustusX  2020.11.07-dev+develop.4ce4a
An IGT application
cx::SpinBoxAndDialGroupWidget Class Reference

Composite widget for scalar data manipulation. More...

#include <cxDoubleWidgets.h>

Inheritance diagram for cx::SpinBoxAndDialGroupWidget:
cx::ScalarInteractionWidget cx::OptimizedUpdateWidget

Public Member Functions

 SpinBoxAndDialGroupWidget (QWidget *parent, DoublePropertyBasePtr, QGridLayout *gridLayout=0, int row=0)
 
- Public Member Functions inherited from cx::ScalarInteractionWidget
 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 ()
 

Additional Inherited Members

- Public Slots inherited from cx::OptimizedUpdateWidget
virtual void setModified ()
 
- Protected Member Functions inherited from cx::ScalarInteractionWidget
virtual void prePaintEvent ()
 
- Protected Member Functions inherited from cx::OptimizedUpdateWidget
virtual void paintEvent (QPaintEvent *event)
 
- Protected Attributes inherited from cx::ScalarInteractionWidget
DoublePropertyBasePtr mData
 

Detailed Description

Composite widget for scalar data manipulation.

Consists of <namelabel, valueedit, dial>. Insert a subclass of DoublePropertyBasePtr in order to connect to data.

Uses both a dial and a spin box

Definition at line 222 of file cxDoubleWidgets.h.

Constructor & Destructor Documentation

cx::SpinBoxAndDialGroupWidget::SpinBoxAndDialGroupWidget ( QWidget *  parent,
DoublePropertyBasePtr  dataInterface,
QGridLayout *  gridLayout = 0,
int  row = 0 
)

Definition at line 325 of file cxDoubleWidgets.cpp.


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