21#ifndef __qMRMLSpinBox_h
22#define __qMRMLSpinBox_h
25#include <ctkDoubleSpinBox.h>
26#include <ctkVTKObject.h>
29#include <qMRMLWidgetsExport.h>
36class qMRMLSpinBoxPrivate;
93 Q_DECLARE_FLAGS(UnitAwareProperties, UnitAwareProperty)
116 QScopedPointer<qMRMLSpinBoxPrivate>
d_ptr;
123Q_DECLARE_OPERATORS_FOR_FLAGS(
qMRMLSpinBox::UnitAwareProperties)
UnitAwareProperties unitAwareProperties
qMRMLSpinBox(QWidget *parent=nullptr)
Construct an empty qMRMLSpinBox with a null scene.
QVTK_OBJECTQString quantity
Q_INVOKABLE vtkMRMLScene * mrmlScene() const
QScopedPointer< qMRMLSpinBoxPrivate > d_ptr
void setQuantity(const QString &baseName)
void setUnitAwareProperties(UnitAwareProperties flags)
virtual void setMRMLScene(vtkMRMLScene *scene)
ctkDoubleSpinBox Superclass
void updateWidgetFromUnitNode()
Abstract Superclass for all specific types of MRML nodes.
A set of MRML Nodes that supports serialization and undo/redo.