Optika GUI Toolik Version of the Day
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.

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.

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

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 
) [inline, static]

Definition at line 89 of file Optika_ValidatorApplier.hpp.


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