Optika GUI Toolik Version of the Day
Public Member Functions
Optika::EnhancedNumberValidator< S > Class Template Reference

#include <Optika_SpecificParameterEntryValidators.hpp>

Inheritance diagram for Optika::EnhancedNumberValidator< S >:
Inheritance 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.

Definition at line 268 of file Optika_SpecificParameterEntryValidators.hpp.


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.

Definition at line 278 of file Optika_SpecificParameterEntryValidators.hpp.

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.

Definition at line 286 of file Optika_SpecificParameterEntryValidators.hpp.


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