QIntValidator man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



QIntValidator(3qt)			       QIntValidator(3qt)

NAME
       QIntValidator - Range checking of integers

       #include <qvalidator.h>

       Inherits QValidator.

   Public Members
       QIntValidator ( QWidget * parent, const char * name = 0 )
       QIntValidator ( int bottom, int top, QWidget * parent,
	   const char * name = 0 )
       ~QIntValidator ()
       QValidator::State validate ( QString &, int & ) const
       void setBottom ( int )
       void setTop ( int )
       virtual void setRange ( int bottom, int top )
       int bottom () const
       int top () const

   Properties
       l l l l l
       - - - - -
       l l l l l.
       Type Name READ WRITE	Options
       int  bottom    bottom	setBottom
       int  top	 top  setTop

DESCRIPTION
       The QIntValidator class provides range checking of
       integers.

       QIntValidator provides a lower and an upper bound. It does
       not provide a fixup() function.

       See also QDoubleValidator.

MEMBER FUNCTION DOCUMENTATION
QIntValidator::QIntValidator ( QWidget * parent, const char *
       name = 0 )
       Constructs a validator object which accepts all integers.

QIntValidator::QIntValidator ( int bottom, int top, QWidget *
       parent, const char * name = 0 )
       Constructs a validator object which accepts all integers
       from bottom up to and including top.

QIntValidator::~QIntValidator ()
       Destroys the validator, freeing any storage and other
       resources used.

int QIntValidator::bottom () const
       Returns the lowest valid number according to this

Trolltech AS		   13 June 2001				1

QIntValidator(3qt)			       QIntValidator(3qt)

       validator.

       See also top() and setRange().

void QIntValidator::setBottom ( int bottom )
       Sets the validator to accept no numbers smaller than
       bottom.

       See also setRange().

void QIntValidator::setRange ( int bottom, int top ) [virtual]
       Sets the validator to accept only number from bottom up to
       an including top.

void QIntValidator::setTop ( int top )
       Sets the validator to accept no numbers bigger than top.

       See also setRange().

int QIntValidator::top () const
       Returns the highest valid number according to this
       validator.

       See also bottom() and setRange().

QValidator::State QIntValidator::validate( QString & input, int &
       ) const
       Returns Acceptable if input contains a number in the legal
       range, Intermediate if it contains another integer or is
       empty, and Invalid if input is not an integer.

SEE ALSO
       http://doc.trolltech.com/qintvalidator.html
       http://www.trolltech.com/faq/tech.html

COPYRIGHT
       Copyright 1992-2001 Trolltech AS,
       http://www.trolltech.com.  See the license file included
       in the distribution for a complete license statement.

AUTHOR
       Generated automatically from the source code.

BUGS
       If you find a bug in Qt, please report it as described in
       http://doc.trolltech.com/bughowto.html.	Good bug reports
       make our job much simpler. Thank you.

       In case of content or formattting problems with this
       manual page, please report them to qt-bugs@trolltech.com.
       Please include the name of the manual page
       (qintvalidator.3qt) and the Qt version (2.3.1).

Trolltech AS		   13 June 2001				2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net