Optika  Development
 All Classes Files Functions Variables Typedefs 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>

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)
 

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

Referenced by Optika::Delegate::createEditor(), Optika::Int2DArrayWidget::getEditorWidget(), and Optika::Short2DArrayWidget::getEditorWidget().


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