qintvalidator.3qt
来自「tmark1.11:用于生成QT/EMBEDDED应用工程的Markfile文件」· 3QT 代码 · 共 74 行
3QT
74 行
.TH QIntValidator 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 NAMEQIntValidator \- Range checking of integers.SH SYNOPSIS.br.PP\fC#include <qvalidator.h>\fR.PPInherits QValidator..PP.SS "Public Members".in +1c.ti -1c.BI "\fBQIntValidator\fR ( QWidget * " "parent" ", const char * " "name" " = 0 )".br.ti -1c.BI "\fBQIntValidator\fR ( int " "bottom" ", int " "top" ", QWidget * " "parent" ", const char * " "name" " = 0 )".br.ti -1c.BI "\fB~QIntValidator\fR ()".br.ti -1c.BI "QValidator::State \fBvalidate\fR ( QString &, int & ) const".br.ti -1c.BI "virtual void \fBsetRange\fR ( int " "bottom" ", int top )".br.ti -1c.BI "int \fBbottom\fR () const".br.ti -1c.BI "int \fBtop\fR () const".br.in -1c.SH DESCRIPTIONThe QIntValidator class provides range checking of integers..PPQIntValidator provides a lower and an upper bound. It does not provide a fixup() function..PPSee also: QDoubleValidator..SH MEMBER FUNCTION DOCUMENTATION.SH "QIntValidator::QIntValidator ( QWidget * parent, const char * name = 0 )"Creates a validator object which accepts all integers..SH "QIntValidator::QIntValidator ( int bottom, int top, QWidget * parent, const char * name = 0 )"Creates a validator object which accepts all integers from \fIbottom\fR up to and including \fItop.\fR.SH "QIntValidator::~QIntValidator ()"Deletes the validator and frees up any storage used..SH "int QIntValidator::bottom () const"Returns the lowest valid number according to this validator..PPSee also: top() and setRange()..SH "void QIntValidator::setRange ( int bottom, int top ) \fC[virtual]\fR"Sets the validator to accept only number from \fIbottom\fR up to an including \fItop.\fR.SH "int QIntValidator::top () const"Returns the highest valid number according to this validator..PPSee also: bottom() and setRange()..SH "QValidator::State QIntValidator::validate( QString & input, int & ) const"Returns \fIAcceptable\fR if \fIinput\fR contains a number in the legalrange, \fIValid\fR if it contains another integer or is empty, and \fIInvalid\fR if \fIinput\fR is not an integer..SH "SEE ALSO".BR http://www.troll.no/qt/qintvalidator.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 + =
减小字号Ctrl + -
显示快捷键?