Optika GUI Toolik  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
Optika::ValidatorApplier< S > Class Template Reference

A templated class that applies the minimum, maximum and step specified in an EnhancedNumberValidator onto a QSpingBox. More...

#include <Optika_ValidatorApplier.hpp>

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)
 

Detailed Description

template<class S>
class Optika::ValidatorApplier< S >

A templated class that applies the minimum, maximum and step specified in an EnhancedNumberValidator onto a QSpingBox.

Definition at line 63 of file Optika_ValidatorApplier.hpp.

Member Function Documentation

template<class S >
static void Optika::ValidatorApplier< S >::applyToSpinBox ( RCP< const EnhancedNumberValidator< S > >  validator,
QSpinBox *  spinBox 
)
inlinestatic

Applied attributes of the validator to the spin box.

Parameters
validatorValidator whose attributes are to be applied to the spinbox
spinBoxA point to the spinbox upon which the validator's attributes should be applied.

Definition at line 76 of file Optika_ValidatorApplier.hpp.

template<class S >
static void Optika::ValidatorApplier< S >::applyToLineEdit ( RCP< const EnhancedNumberValidator< S > >  validator,
QLineEdit *  lineEdit 
)
inlinestatic

Definition at line 89 of file Optika_ValidatorApplier.hpp.


The documentation for this class was generated from the following file: