A templated class that applies the minimum, maximum and step specified in an EnhancedNumberValidator onto a QSpingBox. More...
#include <Optika_ValidatorApplier.hpp>
Static Public Member Functions | |
Applier Functions | |
static void | applyToSpinBox (RCP< const EnhancedNumberValidator< S > > validator, QSpinBox *spinBox) |
Applied attributes of the validator to the spin box. More... | |
static void | applyToLineEdit (RCP< const EnhancedNumberValidator< S > > validator, QLineEdit *lineEdit) |
A templated class that applies the minimum, maximum and step specified in an EnhancedNumberValidator onto a QSpingBox.
|
inlinestatic |
Applied attributes of the validator to the spin box.
validator | Validator whose attributes are to be applied to the spinbox |
spinBox | A point to the spinbox upon which the validator's attributes should be applied. |
Referenced by Optika::Delegate::createEditor(), Optika::Int2DArrayWidget::getEditorWidget(), and Optika::Short2DArrayWidget::getEditorWidget().