NorMIT-nav  16.5
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::SpinBoxGroupWidget Class Reference

Composite widget for scalar data manipulation. More...

#include <cxDoubleWidgets.h>

Inheritance diagram for cx::SpinBoxGroupWidget:
cx::ScalarInteractionWidget cx::OptimizedUpdateWidget

Public Member Functions

 SpinBoxGroupWidget (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, slider>. Insert a subclass of DoublePropertyBasePtr in order to connect to data.

Uses a QDoubleSpinBox instead of a slider - this gives a more compact widget.

Definition at line 210 of file cxDoubleWidgets.h.

Constructor & Destructor Documentation

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

Definition at line 323 of file cxDoubleWidgets.cpp.


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