⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qdoublevalidator.3qt

📁 tmark1.11:用于生成QT/EMBEDDED应用工程的Markfile文件
💻 3QT
字号:
.TH QDoubleValidator 3qt "6 July 1999" "Troll Tech AS" \" -*- nroff -*-.\" Copyright 1992-1999 Troll Tech AS.  All rights reserved.  See the.\" license file included in the distribution for a complete license.\" statement..\".ad l.nh.SH NAMEQDoubleValidator \- Range checking of floating-point numbers.SH SYNOPSIS.br.PP\fC#include <qvalidator.h>\fR.PPInherits QValidator..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQDoubleValidator\fR ( QWidget * " "parent" ", const char * " "name" " = 0 )".br.ti -1c.BI "\fBQDoubleValidator\fR ( double " "bottom" ", double " "top" ", int " "decimals" ", QWidget * " "parent" ", const char * " "name" " = 0 )".br.ti -1c.BI "\fB~QDoubleValidator\fR ()".br.ti -1c.BI "QValidator::State \fBvalidate\fR ( QString &, int & ) const".br.ti -1c.BI "virtual void \fBsetRange\fR ( double " "bottom" ", double " "top" ", int " "decimals" " = 0 )".br.ti -1c.BI "double \fBbottom\fR () const".br.ti -1c.BI "double \fBtop\fR () const".br.ti -1c.BI "int \fBdecimals\fR () const".br.in -1c.SH DESCRIPTIONThe QDoubleValidator class provides range checking of floating-point numbers..PPQDoubleValidator provides an upper bound, a lower bound, and a limit on the number of digits after the decimal point. It does not provide a fixup() function..PPSee also: QIntValidator..SH MEMBER FUNCTION DOCUMENTATION.SH "QDoubleValidator::QDoubleValidator ( QWidget * parent, const char * name = 0 )"Creates a validator object which accepts all double from 2.7182818 to 3.1415926 (please, no bug reports) with at most seven digits after the decimal point..PPThis constructor is not meant to be useful; it is provided for completeness..SH "QDoubleValidator::QDoubleValidator ( double bottom, double top, int decimals, QWidget * parent, const char * name = 0 )"Creates a validator object which accepts all doubles from \fIbottom\fR up to and including \fItop\fR with at most \fIdecimals\fR digits after the decimal point..SH "QDoubleValidator::~QDoubleValidator ()"Deletes the validator and frees any storage and other resources used..SH "double QDoubleValidator::bottom () const"Returns the lowest valid number according to this validator..PPSee also: top(), decimals() and setRange()..SH "int QDoubleValidator::decimals () const"Returns the largest number of digits a valid number can have after its decimal point..PPSee also: bottom(), top() and setRange()..SH "void QDoubleValidator::setRange ( double bottom, double top, int decimals = 0 ) \fC[virtual]\fR"Sets the validator to accept numbers from \fIbottom\fR up to and including \fItop\fR with at most \fIdecimals\fR digits after the decimal point..SH "double QDoubleValidator::top () const"Returns the highest valid number according to this validator..PPSee also: bottom(), decimals and setRange()..SH "QValidator::State QDoubleValidator::validate( QString & input, int & ) const"Returns \fIAcceptable\fR if \fIinput\fR contains a number in the legalrange and format, \fIValid\fR if it contains another number, a numberwith too many digits after the decimal point or is empty, and \fIInvalid\fR if \fIinput\fR is not a number..SH "SEE ALSO".BR http://www.troll.no/qt/qdoublevalidator.html.SH COPYRIGHTCopyright 1992-1999 Troll Tech AS.  See the license file included inthe distribution for a complete license statement..SH AUTHORGenerated automatically from the source code.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -