Optika::EnhancedNumberValidator< S > Class Template Reference

#include <Optika_SpecificParameterEntryValidators.hpp>

Inheritance diagram for Optika::EnhancedNumberValidator< S >:
Inheritance graph
[legend]
Collaboration diagram for Optika::EnhancedNumberValidator< S >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 EnhancedNumberValidator (S min, S max, S step)
 EnhancedNumberValidator (S step)

Detailed Description

template<class S>
class Optika::EnhancedNumberValidator< S >

Validates inputs using mins and max for specific number types.


Constructor & Destructor Documentation

template<class S >
Optika::EnhancedNumberValidator< S >::EnhancedNumberValidator ( min,
max,
step 
) [inline]

Constructs an EnhancedNumberValidator.

Parameters:
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.
template<class S >
Optika::EnhancedNumberValidator< S >::EnhancedNumberValidator ( step  )  [inline]

Constructs an EnhancedNumberValidator without explicit minimums or maximums.

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

The documentation for this class was generated from the following file:
 All Classes Functions Variables Typedefs Enumerations
Generated on Wed Apr 13 10:05:55 2011 for Optika by  doxygen 1.6.3