Optika Development
Public Member Functions
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:
minThe minimum acceptable value for this validator.
maxThe maximum acceptable value for this validator.
stepThe 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:
stepThe 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