Optika Development
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>

List of all members.

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.
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.


Member Function Documentation

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

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.

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs