

| T | Datatype of validate. | |
| Limits | Limits of the datatype. It must provide min(), max(), is_integer and is_signed. |
Definition at line 66 of file osblineedits.h.
| OSB_GUI::RangeValidator< T, Limits >::RangeValidator | ( | QObject * | parent, | |
| const char * | name = "podValidator_" | |||
| ) | [inline, explicit] |
Constructor with QT arguments.
Definition at line 69 of file osblineedits.h.
References OSB_GUI::RangeValidator< T, Limits >::bottom_, and OSB_GUI::RangeValidator< T, Limits >::top_.
| OSB_GUI::RangeValidator< T, Limits >::RangeValidator | ( | const T & | bottom, | |
| const T & | top, | |||
| QObject * | parent, | |||
| const char * | name = "podValidator_" | |||
| ) | [inline] |
| OSB_GUI::RangeValidator< T, Limits >::RangeValidator | ( | const RangeValidator< T, Limits > & | ) | [private] |
Prevent copying: not implemented.
| const T& OSB_GUI::RangeValidator< T, Limits >::bottom | ( | ) | const [inline] |
Get lower boundary (included).
Definition at line 96 of file osblineedits.h.
References OSB_GUI::RangeValidator< T, Limits >::bottom_.
Referenced by OSB_GUI::RangeLineEdit< size_t >::bottom().
| bool OSB_GUI::RangeValidator< T, Limits >::getValue | ( | T & | t, | |
| const QString & | s | |||
| ) | const |
Get the value.
| t | Gets the converted input. | |
| s | String with value. |
Definition at line 387 of file osblineedits.h.
References OSB_GUI::RangeValidator< T, Limits >::bottom_, and OSB_GUI::RangeValidator< T, Limits >::top_.
Referenced by OSB_GUI::RangeValidator< T, Limits >::validate(), and OSB_GUI::RangeLineEdit< size_t >::value().
| RangeValidator& OSB_GUI::RangeValidator< T, Limits >::operator= | ( | const RangeValidator< T, Limits > & | ) | [private] |
Prevent assignment: not implemented.
| void OSB_GUI::RangeValidator< T, Limits >::setBottom | ( | const T & | bottom | ) | [inline] |
Set lower boundary (included).
Definition at line 120 of file osblineedits.h.
References OSB_GUI::RangeValidator< T, Limits >::bottom_.
Referenced by OSB_GUI::RangeLineEdit< size_t >::setBottom().
| void OSB_GUI::RangeValidator< T, Limits >::setRange | ( | const T & | bottom, | |
| const T & | top | |||
| ) | [inline] |
Set range (bottom and top included).
Definition at line 130 of file osblineedits.h.
References OSB_GUI::RangeValidator< T, Limits >::bottom_, and OSB_GUI::RangeValidator< T, Limits >::top_.
Referenced by OSB_GUI::RangeLineEdit< size_t >::setRange().
| void OSB_GUI::RangeValidator< T, Limits >::setTop | ( | const T & | top | ) | [inline] |
Set upper boundary (included).
Definition at line 125 of file osblineedits.h.
References OSB_GUI::RangeValidator< T, Limits >::top_.
Referenced by OSB_GUI::RangeLineEdit< size_t >::setTop().
| const T& OSB_GUI::RangeValidator< T, Limits >::top | ( | ) | const [inline] |
Get upper boundary (included).
Definition at line 101 of file osblineedits.h.
References OSB_GUI::RangeValidator< T, Limits >::top_.
Referenced by OSB_GUI::RangeLineEdit< size_t >::top().
| QValidator::State OSB_GUI::RangeValidator< T, Limits >::validate | ( | QString & | input, | |
| int & | pos | |||
| ) | const |
Validate the input.
Definition at line 368 of file osblineedits.h.
References OSB_GUI::RangeValidator< T, Limits >::getValue().
T OSB_GUI::RangeValidator< T, Limits >::bottom_ [private] |
Lower boundary (included).
Definition at line 150 of file osblineedits.h.
Referenced by OSB_GUI::RangeValidator< T, Limits >::bottom(), OSB_GUI::RangeValidator< T, Limits >::getValue(), OSB_GUI::RangeValidator< T, Limits >::RangeValidator(), OSB_GUI::RangeValidator< T, Limits >::setBottom(), and OSB_GUI::RangeValidator< T, Limits >::setRange().
T OSB_GUI::RangeValidator< T, Limits >::top_ [private] |
Upper boundary (included).
Definition at line 152 of file osblineedits.h.
Referenced by OSB_GUI::RangeValidator< T, Limits >::getValue(), OSB_GUI::RangeValidator< T, Limits >::RangeValidator(), OSB_GUI::RangeValidator< T, Limits >::setRange(), OSB_GUI::RangeValidator< T, Limits >::setTop(), and OSB_GUI::RangeValidator< T, Limits >::top().
1.4.7