MIRA
Classes | Namespaces | Functions
SpinBoxDelegate.h File Reference

Delegate that requires double values and provides a spin box as editor. More...

#include <QStyledItemDelegate>
#include <QDoubleSpinBox>
#include <QSpinBox>
#include <widgets/GuiWidgetsExports.h>
Include dependency graph for SpinBoxDelegate.h:

Go to the source code of this file.

Classes

class  SpinBoxDelegate
 Delegate for a QTableWidgetItem (or any model-view item for that matter). More...
 

Namespaces

 mira
 specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
 

Functions

MIRA_GUI_WIDGETS_EXPORT QDoubleSpinBox * createDoubleSpinBox (QWidget *parent, double minRange, double maxRange, double step, double defvalue, const QString &suffix="", bool buttons=true, bool readonly=false, unsigned int decimals=2)
 
MIRA_GUI_WIDGETS_EXPORT QSpinBox * createSpinBox (QWidget *parent, int min, int max, int step, int defvalue, const QString &suffix="", bool buttons=true, bool readonly=false)
 

Detailed Description

Delegate that requires double values and provides a spin box as editor.

Author
Christian Reuther
Date
2012/02/07