Engauge Digitizer
2
Loading...
Searching...
No Matches
Dlg
DlgValidatorAboveZero.h
Go to the documentation of this file.
1
/******************************************************************************************************
2
* (C) 2017 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3
* under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4
* LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5
******************************************************************************************************/
6
7
#ifndef DLG_VALIDATOR_ABOVE_ZERO_H
8
#define DLG_VALIDATOR_ABOVE_ZERO_H
9
10
#include "
DlgValidatorAbstract.h
"
11
#include <QLocale>
12
14
class
DlgValidatorAboveZero
:
public
DlgValidatorAbstract
15
{
16
public
:
18
DlgValidatorAboveZero
(
const
QLocale
&locale,
19
QObject *
parent
= 0);
20
22
virtual
QValidator::State
validate
(
QString
&
input
,
23
int
&pos)
const
;
24
25
private
:
26
DlgValidatorAboveZero
();
27
28
const
QLocale
m_locale;
29
};
30
31
#endif
// DLG_VALIDATOR_ABOVE_ZERO_H
INNER_RADIUS_MIN
const int INNER_RADIUS_MIN
Definition
DlgSettingsDigitizeCurve.cpp:35
DlgValidatorAbstract.h
DlgValidatorAboveZero
Validator for generic (=simple) numbers that must be greater than zero.
Definition
DlgValidatorAboveZero.h:15
DlgValidatorAboveZero::validate
virtual QValidator::State validate(QString &input, int &pos) const
Apply the standard validation with 0 as the exclusive minimum. Call setCoordScale just before calling...
Definition
DlgValidatorAboveZero.cpp:20
DlgValidatorAbstract
Abstract validator for all numeric formats.
Definition
DlgValidatorAbstract.h:15
Generated on Wed Aug 3 2022 00:00:00 for Engauge Digitizer by
1.10.0