#include <Libs/MRML/Widgets/qMRMLRangeWidget.h>
qMRMLRangeWidget is a wrapper around a ctkRangeWidget It adds QSpinBoxes (in a menu) for controlling the range of the values and supports for the units.
Definition at line 39 of file qMRMLRangeWidget.h.
◆ maximumHandlePalette
QPalette qMRMLRangeWidget::maximumHandlePalette |
|
readwrite |
◆ minimumHandlePalette
QPalette qMRMLRangeWidget::minimumHandlePalette |
|
readwrite |
◆ mrmlScene
◆ quantity
QString qMRMLRangeWidget::quantity |
|
readwrite |
◆ qMRMLRangeWidget()
qMRMLRangeWidget::qMRMLRangeWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
Constructor If
- parent is null, qMRMLRangeWidget will be a top-level widget
- Note
- The
- parent can be set later using QWidget::setParent()
◆ maximumHandlePalette()
QPalette qMRMLRangeWidget::maximumHandlePalette |
( |
| ) |
const |
◆ minimumHandlePalette()
QPalette qMRMLRangeWidget::minimumHandlePalette |
( |
| ) |
const |
◆ mrmlScene()
◆ quantity()
QString qMRMLRangeWidget::quantity |
( |
| ) |
const |
◆ setMaximumHandlePalette
void qMRMLRangeWidget::setMaximumHandlePalette |
( |
const QPalette & |
palette | ) |
|
|
slot |
Set the palette of the minimum handle.
◆ setMinimumHandlePalette
void qMRMLRangeWidget::setMinimumHandlePalette |
( |
const QPalette & |
palette | ) |
|
|
slot |
Set the palette of the minimum handle.
◆ setMRMLScene
virtual void qMRMLRangeWidget::setMRMLScene |
( |
vtkMRMLScene * |
scene | ) |
|
|
virtualslot |
Set the scene the spinboxes listens to.
- See also
- mrmlScene()
◆ setQuantity
void qMRMLRangeWidget::setQuantity |
( |
const QString & |
baseName | ) |
|
|
slot |
Set the quantity the widget should look for.
- See also
- quantity()
◆ setSymmetricMoves()
void qMRMLRangeWidget::setSymmetricMoves |
( |
bool |
symmetry | ) |
|
|
override |
When symmetricMoves is true, moving a handle will move the other handle symmetrically, otherwise the handles are independent. False by default.
◆ updateRange
void qMRMLRangeWidget::updateRange |
( |
| ) |
|
|
protectedslot |
◆ updateSpinBoxRange
void qMRMLRangeWidget::updateSpinBoxRange |
( |
double |
min, |
|
|
double |
max |
|
) |
| |
|
protectedslot |
◆ updateSymmetricMoves
void qMRMLRangeWidget::updateSymmetricMoves |
( |
bool |
symmetric | ) |
|
|
protectedslot |
◆ MaxSpinBox
◆ MinSpinBox
◆ SymmetricAction
QAction* qMRMLRangeWidget::SymmetricAction |
|
protected |
The documentation for this class was generated from the following file: