|
Optika Development
|
#include <Optika_SpecificParameterEntryValidators.hpp>


Public Member Functions | |
| EnhancedNumberValidator () | |
| EnhancedNumberValidator (short min, short max, short step=shortDefaultStep) | |
Static Public Member Functions | |
| static void | applyToSpinBox (Teuchos::RCP< const EnhancedNumberValidator< short > > validator, QSpinBox *spinBox) |
A specific validator used to validate values of type short.
| Optika::EnhancedNumberValidator< short >::EnhancedNumberValidator | ( | ) | [inline] |
Construcsts an EnhancedNumberValidator of type short with no minimum or maximum.
| Optika::EnhancedNumberValidator< short >::EnhancedNumberValidator | ( | short | min, |
| short | max, | ||
| short | step = shortDefaultStep |
||
| ) | [inline] |
Constructs an EnhancedNumberValidator of type short.
| min | The minimum acceptable value for this validator. |
| max | The maximum acceptable value for this validator. |
| step | The increments at which the value should be changed. This is mostly used for the QSpinBox that is used in the Optika GUI. If you're not using the GUI, you may ignore this parameter. |
| static void Optika::EnhancedNumberValidator< short >::applyToSpinBox | ( | Teuchos::RCP< const EnhancedNumberValidator< short > > | validator, |
| QSpinBox * | spinBox | ||
| ) | [inline, static] |
Applies an EnhancedNumberValidator of type short to a QSpinBox
| validator | The validator to be useed. |
| spinBox | The spinBox on which to apply the validator. |
1.7.4