diff --git a/harbour/ChangeLog b/harbour/ChangeLog index c8e4db94f1..23d1dc767b 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,25 @@ The license applies to all entries newer than 2009-04-28. */ +2010-09-01 18:45 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + + contrib/hbqt/qtgui/doc/en/class_qdoublevalidator.txt + + contrib/hbqt/qtgui/doc/en/class_qintvalidator.txt + + contrib/hbqt/qtgui/doc/en/class_qregexpvalidator.txt + + contrib/hbqt/qtgui/g/QDoubleValidator.cpp + + contrib/hbqt/qtgui/g/QIntValidator.cpp + + contrib/hbqt/qtgui/g/QRegExpValidator.cpp + + contrib/hbqt/qtgui/g/TQDoubleValidator.prg + + contrib/hbqt/qtgui/g/TQIntValidator.prg + + contrib/hbqt/qtgui/g/TQRegExpValidator.prg + + contrib/hbqt/qtgui/qth/QDoubleValidator.qth + + contrib/hbqt/qtgui/qth/QIntValidator.qth + + contrib/hbqt/qtgui/qth/QRegExpValidator.qth + + * contrib/hbqt/qtgui/g/filelist.hbm + * contrib/hbqt/qtgui/g/hbqtgui.h + * contrib/hbqt/utils/qtgui.qtp + + Added: more classes to support validations in QLineEdit(). + 2010-09-01 18:31 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * package/mpkg_win_nightly.bat * Requirements. diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublevalidator.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublevalidator.txt new file mode 100644 index 0000000000..c0f175b648 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qdoublevalidator.txt @@ -0,0 +1,60 @@ +/* + * $Id$ + */ + +/* $DOC$ + * $TEMPLATE$ + * Class + * $NAME$ + * QDoubleValidator() + * $CATEGORY$ + * Harbour Bindings for Qt + * $SUBCATEGORY$ + * GUI + * $EXTERNALLINK$ + * http://doc.trolltech.com/4.5/qdoublevalidator.html + * $ONELINER$ + * Creates a new QDoubleValidator object. + * $INHERITS$ + * QValidator + * $SYNTAX$ + * QDoubleValidator():new( ... ) + * QDoubleValidator():from( pPtr_OR_oObj_of_type_QDoubleValidator ) + * QDoubleValidator():configure( pPtr_OR_oObj_of_type_QDoubleValidator ) + * $ARGUMENTS$ + * + * $RETURNS$ + * An instance of the object of type QDoubleValidator + * $METHODS$ + * :bottom() -> nDouble + * :decimals() -> nInt + * :notation() -> nNotation + * :setBottom( nDouble ) -> NIL + * :setDecimals( nInt ) -> NIL + * :setNotation( nNotation ) -> NIL + * :setRange( nMinimum, nMaximum, nDecimals ) -> NIL + * :setTop( nDouble ) -> NIL + * :top() -> nDouble + * + * $DESCRIPTION$ + * + * $EXAMPLES$ + * + * $TESTS$ + * + * $STATUS$ + * R + * $COMPLIANCE$ + * Not Clipper compatible + * $PLATFORMS$ + * Windows, Linux, Mac OS X, OS/2 + * $VERSION$ + * 4.5 or upper + * $FILES$ + * Harbour source: contrib/hbqt/qtgui/TQDoubleValidator.prg + * C++ wrappers : contrib/hbqt/qtgui/QDoubleValidator.cpp + * Library : hbqtgui + * $SEEALSO$ + * QValidator + * $END$ + */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qintvalidator.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qintvalidator.txt new file mode 100644 index 0000000000..ddb42203c3 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qintvalidator.txt @@ -0,0 +1,56 @@ +/* + * $Id$ + */ + +/* $DOC$ + * $TEMPLATE$ + * Class + * $NAME$ + * QIntValidator() + * $CATEGORY$ + * Harbour Bindings for Qt + * $SUBCATEGORY$ + * GUI + * $EXTERNALLINK$ + * http://doc.trolltech.com/4.5/qintvalidator.html + * $ONELINER$ + * Creates a new QIntValidator object. + * $INHERITS$ + * QValidator + * $SYNTAX$ + * QIntValidator():new( ... ) + * QIntValidator():from( pPtr_OR_oObj_of_type_QIntValidator ) + * QIntValidator():configure( pPtr_OR_oObj_of_type_QIntValidator ) + * $ARGUMENTS$ + * + * $RETURNS$ + * An instance of the object of type QIntValidator + * $METHODS$ + * :bottom() -> nInt + * :setBottom( nInt ) -> NIL + * :setRange( nBottom, nTop ) -> NIL + * :setTop( nInt ) -> NIL + * :top() -> nInt + * + * $DESCRIPTION$ + * + * $EXAMPLES$ + * + * $TESTS$ + * + * $STATUS$ + * R + * $COMPLIANCE$ + * Not Clipper compatible + * $PLATFORMS$ + * Windows, Linux, Mac OS X, OS/2 + * $VERSION$ + * 4.5 or upper + * $FILES$ + * Harbour source: contrib/hbqt/qtgui/TQIntValidator.prg + * C++ wrappers : contrib/hbqt/qtgui/QIntValidator.cpp + * Library : hbqtgui + * $SEEALSO$ + * QValidator + * $END$ + */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qregexpvalidator.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qregexpvalidator.txt new file mode 100644 index 0000000000..e47b975f7b --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qregexpvalidator.txt @@ -0,0 +1,53 @@ +/* + * $Id$ + */ + +/* $DOC$ + * $TEMPLATE$ + * Class + * $NAME$ + * QRegExpValidator() + * $CATEGORY$ + * Harbour Bindings for Qt + * $SUBCATEGORY$ + * GUI + * $EXTERNALLINK$ + * http://doc.trolltech.com/4.5/qregexpvalidator.html + * $ONELINER$ + * Creates a new QRegExpValidator object. + * $INHERITS$ + * QValidator + * $SYNTAX$ + * QRegExpValidator():new( ... ) + * QRegExpValidator():from( pPtr_OR_oObj_of_type_QRegExpValidator ) + * QRegExpValidator():configure( pPtr_OR_oObj_of_type_QRegExpValidator ) + * $ARGUMENTS$ + * + * $RETURNS$ + * An instance of the object of type QRegExpValidator + * $METHODS$ + * :regExp() -> pQRegExp + * :setRegExp( pRx ) -> NIL + * + * $DESCRIPTION$ + * + * $EXAMPLES$ + * + * $TESTS$ + * + * $STATUS$ + * R + * $COMPLIANCE$ + * Not Clipper compatible + * $PLATFORMS$ + * Windows, Linux, Mac OS X, OS/2 + * $VERSION$ + * 4.5 or upper + * $FILES$ + * Harbour source: contrib/hbqt/qtgui/TQRegExpValidator.prg + * C++ wrappers : contrib/hbqt/qtgui/QRegExpValidator.cpp + * Library : hbqtgui + * $SEEALSO$ + * QValidator + * $END$ + */ diff --git a/harbour/contrib/hbqt/qtgui/g/QDoubleValidator.cpp b/harbour/contrib/hbqt/qtgui/g/QDoubleValidator.cpp new file mode 100644 index 0000000000..e31659f5de --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/QDoubleValidator.cpp @@ -0,0 +1,294 @@ +/* + * $Id$ + */ + +/* -------------------------------------------------------------------- */ +/* WARNING: Automatically generated source file. DO NOT EDIT! */ +/* Instead, edit corresponding .qth file, */ +/* or the generator tool itself, and run regenarate. */ +/* -------------------------------------------------------------------- */ + +/* + * Harbour Project source code: + * QT wrapper main header + * + * Copyright 2009-2010 Pritpal Bedi + * + * Copyright 2009 Marcos Antonio Gambeta + * www - http://harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ +/*----------------------------------------------------------------------*/ + +#include "hbqtcore.h" +#include "hbqtgui.h" + +/*----------------------------------------------------------------------*/ +#if QT_VERSION >= 0x040500 +/*----------------------------------------------------------------------*/ + +/* + * enum State { Invalid, Intermediate, Acceptable } + * enum Notation { StandardNotation, ScientificNotation } + */ + +#include + +#include + + +/* QDoubleValidator ( QObject * parent ) + * QDoubleValidator ( double bottom, double top, int decimals, QObject * parent ) + * ~QDoubleValidator () + */ + +typedef struct +{ + QPointer< QDoubleValidator > ph; + bool bNew; + PHBQT_GC_FUNC func; + int type; +} HBQT_GC_T_QDoubleValidator; + +HBQT_GC_FUNC( hbqt_gcRelease_QDoubleValidator ) +{ + QDoubleValidator * ph = NULL ; + HBQT_GC_T_QDoubleValidator * p = ( HBQT_GC_T_QDoubleValidator * ) Cargo; + + if( p && p->bNew && p->ph ) + { + ph = p->ph; + if( ph ) + { + const QMetaObject * m = ( ph )->metaObject(); + if( ( QString ) m->className() != ( QString ) "QObject" ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QDoubleValidator /.\\ ", (void*) ph, (void*) p->ph ) ); + delete ( p->ph ); + HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QDoubleValidator \\./ ", (void*) ph, (void*) p->ph ) ); + p->ph = NULL; + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NO__rel_QDoubleValidator ", ph ) ); + p->ph = NULL; + } + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QDoubleValidator : Object already deleted!", ph ) ); + p->ph = NULL; + } + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QDoubleValidator : Object not created with new=true", ph ) ); + p->ph = NULL; + } +} + +void * hbqt_gcAllocate_QDoubleValidator( void * pObj, bool bNew ) +{ + HBQT_GC_T_QDoubleValidator * p = ( HBQT_GC_T_QDoubleValidator * ) hb_gcAllocate( sizeof( HBQT_GC_T_QDoubleValidator ), hbqt_gcFuncs() ); + + new( & p->ph ) QPointer< QDoubleValidator >( ( QDoubleValidator * ) pObj ); + p->bNew = bNew; + p->func = hbqt_gcRelease_QDoubleValidator; + p->type = HBQT_TYPE_QDoubleValidator; + + if( bNew ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QDoubleValidator under p->pq", pObj ) ); + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QDoubleValidator", pObj ) ); + } + return p; +} + +HB_FUNC( QT_QDOUBLEVALIDATOR ) +{ + QDoubleValidator * pObj = NULL; + + if( hb_pcount() >= 3 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) ) + { + pObj = new QDoubleValidator( hb_parnd( 1 ), hb_parnd( 2 ), hb_parni( 3 ), HB_ISPOINTER( 4 ) ? hbqt_par_QObject( 4 ) : 0 ) ; + } + else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) + { + pObj = new QDoubleValidator( hbqt_par_QObject( 1 ) ) ; + } + + hb_retptrGC( hbqt_gcAllocate_QDoubleValidator( ( void * ) pObj, true ) ); +} + +/* + * double bottom () const + */ +HB_FUNC( QT_QDOUBLEVALIDATOR_BOTTOM ) +{ + QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); + if( p ) + hb_retnd( ( p )->bottom() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QDOUBLEVALIDATOR_BOTTOM FP=hb_retnd( ( p )->bottom() ); p is NULL" ) ); + } +} + +/* + * int decimals () const + */ +HB_FUNC( QT_QDOUBLEVALIDATOR_DECIMALS ) +{ + QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); + if( p ) + hb_retni( ( p )->decimals() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QDOUBLEVALIDATOR_DECIMALS FP=hb_retni( ( p )->decimals() ); p is NULL" ) ); + } +} + +/* + * Notation notation () const + */ +HB_FUNC( QT_QDOUBLEVALIDATOR_NOTATION ) +{ + QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); + if( p ) + hb_retni( ( QDoubleValidator::Notation ) ( p )->notation() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QDOUBLEVALIDATOR_NOTATION FP=hb_retni( ( QDoubleValidator::Notation ) ( p )->notation() ); p is NULL" ) ); + } +} + +/* + * void setBottom ( double ) + */ +HB_FUNC( QT_QDOUBLEVALIDATOR_SETBOTTOM ) +{ + QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); + if( p ) + ( p )->setBottom( hb_parnd( 2 ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QDOUBLEVALIDATOR_SETBOTTOM FP=( p )->setBottom( hb_parnd( 2 ) ); p is NULL" ) ); + } +} + +/* + * void setDecimals ( int ) + */ +HB_FUNC( QT_QDOUBLEVALIDATOR_SETDECIMALS ) +{ + QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); + if( p ) + ( p )->setDecimals( hb_parni( 2 ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QDOUBLEVALIDATOR_SETDECIMALS FP=( p )->setDecimals( hb_parni( 2 ) ); p is NULL" ) ); + } +} + +/* + * void setNotation ( Notation ) + */ +HB_FUNC( QT_QDOUBLEVALIDATOR_SETNOTATION ) +{ + QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); + if( p ) + ( p )->setNotation( ( QDoubleValidator::Notation ) hb_parni( 2 ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QDOUBLEVALIDATOR_SETNOTATION FP=( p )->setNotation( ( QDoubleValidator::Notation ) hb_parni( 2 ) ); p is NULL" ) ); + } +} + +/* + * virtual void setRange ( double minimum, double maximum, int decimals = 0 ) + */ +HB_FUNC( QT_QDOUBLEVALIDATOR_SETRANGE ) +{ + QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); + if( p ) + ( p )->setRange( hb_parnd( 2 ), hb_parnd( 3 ), hb_parni( 4 ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QDOUBLEVALIDATOR_SETRANGE FP=( p )->setRange( hb_parnd( 2 ), hb_parnd( 3 ), hb_parni( 4 ) ); p is NULL" ) ); + } +} + +/* + * void setTop ( double ) + */ +HB_FUNC( QT_QDOUBLEVALIDATOR_SETTOP ) +{ + QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); + if( p ) + ( p )->setTop( hb_parnd( 2 ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QDOUBLEVALIDATOR_SETTOP FP=( p )->setTop( hb_parnd( 2 ) ); p is NULL" ) ); + } +} + +/* + * double top () const + */ +HB_FUNC( QT_QDOUBLEVALIDATOR_TOP ) +{ + QDoubleValidator * p = hbqt_par_QDoubleValidator( 1 ); + if( p ) + hb_retnd( ( p )->top() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QDOUBLEVALIDATOR_TOP FP=hb_retnd( ( p )->top() ); p is NULL" ) ); + } +} + + +/*----------------------------------------------------------------------*/ +#endif /* #if QT_VERSION >= 0x040500 */ +/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtgui/g/QIntValidator.cpp b/harbour/contrib/hbqt/qtgui/g/QIntValidator.cpp new file mode 100644 index 0000000000..20f859030c --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/QIntValidator.cpp @@ -0,0 +1,237 @@ +/* + * $Id$ + */ + +/* -------------------------------------------------------------------- */ +/* WARNING: Automatically generated source file. DO NOT EDIT! */ +/* Instead, edit corresponding .qth file, */ +/* or the generator tool itself, and run regenarate. */ +/* -------------------------------------------------------------------- */ + +/* + * Harbour Project source code: + * QT wrapper main header + * + * Copyright 2009-2010 Pritpal Bedi + * + * Copyright 2009 Marcos Antonio Gambeta + * www - http://harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ +/*----------------------------------------------------------------------*/ + +#include "hbqtcore.h" +#include "hbqtgui.h" + +/*----------------------------------------------------------------------*/ +#if QT_VERSION >= 0x040500 +/*----------------------------------------------------------------------*/ + +/* + * enum State { Invalid, Intermediate, Acceptable } + */ + +#include + +#include + + +/* QIntValidator ( QObject * parent ) + * QIntValidator ( int minimum, int maximum, QObject * parent ) +* ~QIntValidator () + */ + +typedef struct +{ + QPointer< QIntValidator > ph; + bool bNew; + PHBQT_GC_FUNC func; + int type; +} HBQT_GC_T_QIntValidator; + +HBQT_GC_FUNC( hbqt_gcRelease_QIntValidator ) +{ + QIntValidator * ph = NULL ; + HBQT_GC_T_QIntValidator * p = ( HBQT_GC_T_QIntValidator * ) Cargo; + + if( p && p->bNew && p->ph ) + { + ph = p->ph; + if( ph ) + { + const QMetaObject * m = ( ph )->metaObject(); + if( ( QString ) m->className() != ( QString ) "QObject" ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QIntValidator /.\\ ", (void*) ph, (void*) p->ph ) ); + delete ( p->ph ); + HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QIntValidator \\./ ", (void*) ph, (void*) p->ph ) ); + p->ph = NULL; + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NO__rel_QIntValidator ", ph ) ); + p->ph = NULL; + } + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QIntValidator : Object already deleted!", ph ) ); + p->ph = NULL; + } + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QIntValidator : Object not created with new=true", ph ) ); + p->ph = NULL; + } +} + +void * hbqt_gcAllocate_QIntValidator( void * pObj, bool bNew ) +{ + HBQT_GC_T_QIntValidator * p = ( HBQT_GC_T_QIntValidator * ) hb_gcAllocate( sizeof( HBQT_GC_T_QIntValidator ), hbqt_gcFuncs() ); + + new( & p->ph ) QPointer< QIntValidator >( ( QIntValidator * ) pObj ); + p->bNew = bNew; + p->func = hbqt_gcRelease_QIntValidator; + p->type = HBQT_TYPE_QIntValidator; + + if( bNew ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QIntValidator under p->pq", pObj ) ); + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QIntValidator", pObj ) ); + } + return p; +} + +HB_FUNC( QT_QINTVALIDATOR ) +{ + QIntValidator * pObj = NULL; + + if( hb_pcount() == 3 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISPOINTER( 3 ) ) + { + pObj = new QIntValidator( hb_parni( 1 ), hb_parni( 2 ), hbqt_par_QObject( 3 ) ) ; + } + else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) + { + pObj = new QIntValidator( hbqt_par_QObject( 1 ) ) ; + } + + hb_retptrGC( hbqt_gcAllocate_QIntValidator( ( void * ) pObj, true ) ); +} + +/* + * int bottom () const + */ +HB_FUNC( QT_QINTVALIDATOR_BOTTOM ) +{ + QIntValidator * p = hbqt_par_QIntValidator( 1 ); + if( p ) + hb_retni( ( p )->bottom() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QINTVALIDATOR_BOTTOM FP=hb_retni( ( p )->bottom() ); p is NULL" ) ); + } +} + +/* + * void setBottom ( int ) + */ +HB_FUNC( QT_QINTVALIDATOR_SETBOTTOM ) +{ + QIntValidator * p = hbqt_par_QIntValidator( 1 ); + if( p ) + ( p )->setBottom( hb_parni( 2 ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QINTVALIDATOR_SETBOTTOM FP=( p )->setBottom( hb_parni( 2 ) ); p is NULL" ) ); + } +} + +/* + * virtual void setRange ( int bottom, int top ) + */ +HB_FUNC( QT_QINTVALIDATOR_SETRANGE ) +{ + QIntValidator * p = hbqt_par_QIntValidator( 1 ); + if( p ) + ( p )->setRange( hb_parni( 2 ), hb_parni( 3 ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QINTVALIDATOR_SETRANGE FP=( p )->setRange( hb_parni( 2 ), hb_parni( 3 ) ); p is NULL" ) ); + } +} + +/* + * void setTop ( int ) + */ +HB_FUNC( QT_QINTVALIDATOR_SETTOP ) +{ + QIntValidator * p = hbqt_par_QIntValidator( 1 ); + if( p ) + ( p )->setTop( hb_parni( 2 ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QINTVALIDATOR_SETTOP FP=( p )->setTop( hb_parni( 2 ) ); p is NULL" ) ); + } +} + +/* + * int top () const + */ +HB_FUNC( QT_QINTVALIDATOR_TOP ) +{ + QIntValidator * p = hbqt_par_QIntValidator( 1 ); + if( p ) + hb_retni( ( p )->top() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QINTVALIDATOR_TOP FP=hb_retni( ( p )->top() ); p is NULL" ) ); + } +} + + +/*----------------------------------------------------------------------*/ +#endif /* #if QT_VERSION >= 0x040500 */ +/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtgui/g/QRegExpValidator.cpp b/harbour/contrib/hbqt/qtgui/g/QRegExpValidator.cpp new file mode 100644 index 0000000000..a792b67e02 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/QRegExpValidator.cpp @@ -0,0 +1,195 @@ +/* + * $Id$ + */ + +/* -------------------------------------------------------------------- */ +/* WARNING: Automatically generated source file. DO NOT EDIT! */ +/* Instead, edit corresponding .qth file, */ +/* or the generator tool itself, and run regenarate. */ +/* -------------------------------------------------------------------- */ + +/* + * Harbour Project source code: + * QT wrapper main header + * + * Copyright 2009-2010 Pritpal Bedi + * + * Copyright 2009 Marcos Antonio Gambeta + * www - http://harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ +/*----------------------------------------------------------------------*/ + +#include "hbqtcore.h" +#include "hbqtgui.h" + +/*----------------------------------------------------------------------*/ +#if QT_VERSION >= 0x040500 +/*----------------------------------------------------------------------*/ + +/* + * enum State { Invalid, Intermediate, Acceptable } + */ + +#include + +#include + + +/* QRegExpValidator ( QObject * parent ) + * QRegExpValidator ( const QRegExp & rx, QObject * parent ) + * ~QRegExpValidator () + */ + +typedef struct +{ + QPointer< QRegExpValidator > ph; + bool bNew; + PHBQT_GC_FUNC func; + int type; +} HBQT_GC_T_QRegExpValidator; + +HBQT_GC_FUNC( hbqt_gcRelease_QRegExpValidator ) +{ + QRegExpValidator * ph = NULL ; + HBQT_GC_T_QRegExpValidator * p = ( HBQT_GC_T_QRegExpValidator * ) Cargo; + + if( p && p->bNew && p->ph ) + { + ph = p->ph; + if( ph ) + { + const QMetaObject * m = ( ph )->metaObject(); + if( ( QString ) m->className() != ( QString ) "QObject" ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QRegExpValidator /.\\ ", (void*) ph, (void*) p->ph ) ); + delete ( p->ph ); + HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QRegExpValidator \\./ ", (void*) ph, (void*) p->ph ) ); + p->ph = NULL; + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NO__rel_QRegExpValidator ", ph ) ); + p->ph = NULL; + } + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QRegExpValidator : Object already deleted!", ph ) ); + p->ph = NULL; + } + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QRegExpValidator : Object not created with new=true", ph ) ); + p->ph = NULL; + } +} + +void * hbqt_gcAllocate_QRegExpValidator( void * pObj, bool bNew ) +{ + HBQT_GC_T_QRegExpValidator * p = ( HBQT_GC_T_QRegExpValidator * ) hb_gcAllocate( sizeof( HBQT_GC_T_QRegExpValidator ), hbqt_gcFuncs() ); + + new( & p->ph ) QPointer< QRegExpValidator >( ( QRegExpValidator * ) pObj ); + p->bNew = bNew; + p->func = hbqt_gcRelease_QRegExpValidator; + p->type = HBQT_TYPE_QRegExpValidator; + + if( bNew ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QRegExpValidator under p->pq", pObj ) ); + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QRegExpValidator", pObj ) ); + } + return p; +} + +HB_FUNC( QT_QREGEXPVALIDATOR ) +{ + QRegExpValidator * pObj = NULL; + + if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) + { + pObj = new QRegExpValidator( *hbqt_par_QRegExp( 1 ), hbqt_par_QObject( 2 ) ) ; + } + else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) + { + pObj = new QRegExpValidator( hbqt_par_QObject( 1 ) ) ; + } + + hb_retptrGC( hbqt_gcAllocate_QRegExpValidator( ( void * ) pObj, true ) ); +} + +/* + * const QRegExp & regExp () const + */ +HB_FUNC( QT_QREGEXPVALIDATOR_REGEXP ) +{ + QRegExpValidator * p = hbqt_par_QRegExpValidator( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QRegExp( new QRegExp( ( p )->regExp() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QREGEXPVALIDATOR_REGEXP FP=hb_retptrGC( hbqt_gcAllocate_QRegExp( new QRegExp( ( p )->regExp() ), true ) ); p is NULL" ) ); + } +} + +/* + * void setRegExp ( const QRegExp & rx ) + */ +HB_FUNC( QT_QREGEXPVALIDATOR_SETREGEXP ) +{ + QRegExpValidator * p = hbqt_par_QRegExpValidator( 1 ); + if( p ) + ( p )->setRegExp( *hbqt_par_QRegExp( 2 ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QREGEXPVALIDATOR_SETREGEXP FP=( p )->setRegExp( *hbqt_par_QRegExp( 2 ) ); p is NULL" ) ); + } +} + + +/*----------------------------------------------------------------------*/ +#endif /* #if QT_VERSION >= 0x040500 */ +/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtgui/g/TQDoubleValidator.prg b/harbour/contrib/hbqt/qtgui/g/TQDoubleValidator.prg new file mode 100644 index 0000000000..3f2bfa1c8f --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/TQDoubleValidator.prg @@ -0,0 +1,126 @@ +/* + * $Id$ + */ + +/* -------------------------------------------------------------------- */ +/* WARNING: Automatically generated source file. DO NOT EDIT! */ +/* Instead, edit corresponding .qth file, */ +/* or the generator tool itself, and run regenarate. */ +/* -------------------------------------------------------------------- */ + +/* + * Harbour Project source code: + * QT wrapper main header + * + * Copyright 2009-2010 Pritpal Bedi + * + * Copyright 2009 Marcos Antonio Gambeta + * www - http://harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ +/*----------------------------------------------------------------------*/ + + +#include "hbclass.ch" + + +CREATE CLASS QDoubleValidator INHERIT HbQtObjectHandler, QValidator + + METHOD new( ... ) + + METHOD bottom() + METHOD decimals() + METHOD notation() + METHOD setBottom( nDouble ) + METHOD setDecimals( nInt ) + METHOD setNotation( nNotation ) + METHOD setRange( nMinimum, nMaximum, nDecimals ) + METHOD setTop( nDouble ) + METHOD top() + + ENDCLASS + + +METHOD QDoubleValidator:new( ... ) + LOCAL p + FOR EACH p IN { ... } + hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) + NEXT + ::pPtr := Qt_QDoubleValidator( ... ) + RETURN Self + + +METHOD QDoubleValidator:bottom() + RETURN Qt_QDoubleValidator_bottom( ::pPtr ) + + +METHOD QDoubleValidator:decimals() + RETURN Qt_QDoubleValidator_decimals( ::pPtr ) + + +METHOD QDoubleValidator:notation() + RETURN Qt_QDoubleValidator_notation( ::pPtr ) + + +METHOD QDoubleValidator:setBottom( nDouble ) + RETURN Qt_QDoubleValidator_setBottom( ::pPtr, nDouble ) + + +METHOD QDoubleValidator:setDecimals( nInt ) + RETURN Qt_QDoubleValidator_setDecimals( ::pPtr, nInt ) + + +METHOD QDoubleValidator:setNotation( nNotation ) + RETURN Qt_QDoubleValidator_setNotation( ::pPtr, nNotation ) + + +METHOD QDoubleValidator:setRange( nMinimum, nMaximum, nDecimals ) + RETURN Qt_QDoubleValidator_setRange( ::pPtr, nMinimum, nMaximum, nDecimals ) + + +METHOD QDoubleValidator:setTop( nDouble ) + RETURN Qt_QDoubleValidator_setTop( ::pPtr, nDouble ) + + +METHOD QDoubleValidator:top() + RETURN Qt_QDoubleValidator_top( ::pPtr ) + diff --git a/harbour/contrib/hbqt/qtgui/g/TQIntValidator.prg b/harbour/contrib/hbqt/qtgui/g/TQIntValidator.prg new file mode 100644 index 0000000000..3df4135e93 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/TQIntValidator.prg @@ -0,0 +1,106 @@ +/* + * $Id$ + */ + +/* -------------------------------------------------------------------- */ +/* WARNING: Automatically generated source file. DO NOT EDIT! */ +/* Instead, edit corresponding .qth file, */ +/* or the generator tool itself, and run regenarate. */ +/* -------------------------------------------------------------------- */ + +/* + * Harbour Project source code: + * QT wrapper main header + * + * Copyright 2009-2010 Pritpal Bedi + * + * Copyright 2009 Marcos Antonio Gambeta + * www - http://harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ +/*----------------------------------------------------------------------*/ + + +#include "hbclass.ch" + + +CREATE CLASS QIntValidator INHERIT HbQtObjectHandler, QValidator + + METHOD new( ... ) + + METHOD bottom() + METHOD setBottom( nInt ) + METHOD setRange( nBottom, nTop ) + METHOD setTop( nInt ) + METHOD top() + + ENDCLASS + + +METHOD QIntValidator:new( ... ) + LOCAL p + FOR EACH p IN { ... } + hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) + NEXT + ::pPtr := Qt_QIntValidator( ... ) + RETURN Self + + +METHOD QIntValidator:bottom() + RETURN Qt_QIntValidator_bottom( ::pPtr ) + + +METHOD QIntValidator:setBottom( nInt ) + RETURN Qt_QIntValidator_setBottom( ::pPtr, nInt ) + + +METHOD QIntValidator:setRange( nBottom, nTop ) + RETURN Qt_QIntValidator_setRange( ::pPtr, nBottom, nTop ) + + +METHOD QIntValidator:setTop( nInt ) + RETURN Qt_QIntValidator_setTop( ::pPtr, nInt ) + + +METHOD QIntValidator:top() + RETURN Qt_QIntValidator_top( ::pPtr ) + diff --git a/harbour/contrib/hbqt/qtgui/g/TQRegExpValidator.prg b/harbour/contrib/hbqt/qtgui/g/TQRegExpValidator.prg new file mode 100644 index 0000000000..242beee54b --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/TQRegExpValidator.prg @@ -0,0 +1,91 @@ +/* + * $Id$ + */ + +/* -------------------------------------------------------------------- */ +/* WARNING: Automatically generated source file. DO NOT EDIT! */ +/* Instead, edit corresponding .qth file, */ +/* or the generator tool itself, and run regenarate. */ +/* -------------------------------------------------------------------- */ + +/* + * Harbour Project source code: + * QT wrapper main header + * + * Copyright 2009-2010 Pritpal Bedi + * + * Copyright 2009 Marcos Antonio Gambeta + * www - http://harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ +/*----------------------------------------------------------------------*/ + + +#include "hbclass.ch" + + +CREATE CLASS QRegExpValidator INHERIT HbQtObjectHandler, QValidator + + METHOD new( ... ) + + METHOD regExp() + METHOD setRegExp( pRx ) + + ENDCLASS + + +METHOD QRegExpValidator:new( ... ) + LOCAL p + FOR EACH p IN { ... } + hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) + NEXT + ::pPtr := Qt_QRegExpValidator( ... ) + RETURN Self + + +METHOD QRegExpValidator:regExp() + RETURN Qt_QRegExpValidator_regExp( ::pPtr ) + + +METHOD QRegExpValidator:setRegExp( pRx ) + RETURN Qt_QRegExpValidator_setRegExp( ::pPtr, hbqt_ptr( pRx ) ) + diff --git a/harbour/contrib/hbqt/qtgui/g/filelist.hbm b/harbour/contrib/hbqt/qtgui/g/filelist.hbm index 06bdb5b1b5..0f57cc073e 100644 --- a/harbour/contrib/hbqt/qtgui/g/filelist.hbm +++ b/harbour/contrib/hbqt/qtgui/g/filelist.hbm @@ -53,6 +53,7 @@ QDialog.cpp QDirModel.cpp QDockWidget.cpp QDoubleSpinBox.cpp +QDoubleValidator.cpp QDrag.cpp QDragEnterEvent.cpp QDragLeaveEvent.cpp @@ -115,6 +116,7 @@ QImageWriter.cpp QInputDialog.cpp QInputEvent.cpp QInputMethodEvent.cpp +QIntValidator.cpp QItemDelegate.cpp QItemEditorCreatorBase.cpp QItemEditorFactory.cpp @@ -164,6 +166,7 @@ QProgressDialog.cpp QPushButton.cpp QRadialGradient.cpp QRadioButton.cpp +QRegExpValidator.cpp QRegion.cpp QResizeEvent.cpp QScrollArea.cpp @@ -310,6 +313,7 @@ TQDialog.prg TQDirModel.prg TQDockWidget.prg TQDoubleSpinBox.prg +TQDoubleValidator.prg TQDrag.prg TQDragEnterEvent.prg TQDragLeaveEvent.prg @@ -372,6 +376,7 @@ TQImageWriter.prg TQInputDialog.prg TQInputEvent.prg TQInputMethodEvent.prg +TQIntValidator.prg TQItemDelegate.prg TQItemEditorCreatorBase.prg TQItemEditorFactory.prg @@ -421,6 +426,7 @@ TQProgressDialog.prg TQPushButton.prg TQRadialGradient.prg TQRadioButton.prg +TQRegExpValidator.prg TQRegion.prg TQResizeEvent.prg TQScrollArea.prg diff --git a/harbour/contrib/hbqt/qtgui/g/hbqtgui.h b/harbour/contrib/hbqt/qtgui/g/hbqtgui.h index c5f9af5819..627bc65105 100644 --- a/harbour/contrib/hbqt/qtgui/g/hbqtgui.h +++ b/harbour/contrib/hbqt/qtgui/g/hbqtgui.h @@ -59,6 +59,7 @@ extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDialog ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDirModel ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDockWidget ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDoubleSpinBox ); +extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDoubleValidator ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDrag ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDragEnterEvent ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QDragLeaveEvent ); @@ -121,6 +122,7 @@ extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QImageWriter ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QInputDialog ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QInputEvent ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QInputMethodEvent ); +extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QIntValidator ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QItemDelegate ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QItemEditorCreatorBase ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QItemEditorFactory ); @@ -170,6 +172,7 @@ extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QProgressDialog ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QPushButton ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QRadialGradient ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QRadioButton ); +extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QRegExpValidator ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QRegion ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QResizeEvent ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QScrollArea ); @@ -316,6 +319,7 @@ extern HB_EXPORT void * hbqt_gcAllocate_QDialog( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QDirModel( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QDockWidget( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QDoubleSpinBox( void * pObj, bool bNew ); +extern HB_EXPORT void * hbqt_gcAllocate_QDoubleValidator( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QDrag( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QDragEnterEvent( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QDragLeaveEvent( void * pObj, bool bNew ); @@ -378,6 +382,7 @@ extern HB_EXPORT void * hbqt_gcAllocate_QImageWriter( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QInputDialog( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QInputEvent( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QInputMethodEvent( void * pObj, bool bNew ); +extern HB_EXPORT void * hbqt_gcAllocate_QIntValidator( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QItemDelegate( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QItemEditorCreatorBase( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QItemEditorFactory( void * pObj, bool bNew ); @@ -427,6 +432,7 @@ extern HB_EXPORT void * hbqt_gcAllocate_QProgressDialog( void * pObj, bool bNew extern HB_EXPORT void * hbqt_gcAllocate_QPushButton( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QRadialGradient( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QRadioButton( void * pObj, bool bNew ); +extern HB_EXPORT void * hbqt_gcAllocate_QRegExpValidator( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QRegion( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QResizeEvent( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QScrollArea( void * pObj, bool bNew ); @@ -575,6 +581,7 @@ HB_EXTERN_END #define hbqt_par_QDirModel( n ) ( ( QDirModel * ) hbqt_gcpointer( n ) ) #define hbqt_par_QDockWidget( n ) ( ( QDockWidget * ) hbqt_gcpointer( n ) ) #define hbqt_par_QDoubleSpinBox( n ) ( ( QDoubleSpinBox * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QDoubleValidator( n ) ( ( QDoubleValidator * ) hbqt_gcpointer( n ) ) #define hbqt_par_QDrag( n ) ( ( QDrag * ) hbqt_gcpointer( n ) ) #define hbqt_par_QDragEnterEvent( n ) ( ( QDragEnterEvent * ) hbqt_gcpointer( n ) ) #define hbqt_par_QDragLeaveEvent( n ) ( ( QDragLeaveEvent * ) hbqt_gcpointer( n ) ) @@ -637,6 +644,7 @@ HB_EXTERN_END #define hbqt_par_QInputDialog( n ) ( ( QInputDialog * ) hbqt_gcpointer( n ) ) #define hbqt_par_QInputEvent( n ) ( ( QInputEvent * ) hbqt_gcpointer( n ) ) #define hbqt_par_QInputMethodEvent( n ) ( ( QInputMethodEvent * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QIntValidator( n ) ( ( QIntValidator * ) hbqt_gcpointer( n ) ) #define hbqt_par_QItemDelegate( n ) ( ( QItemDelegate * ) hbqt_gcpointer( n ) ) #define hbqt_par_QItemEditorCreatorBase( n ) ( ( QItemEditorCreatorBase * ) hbqt_gcpointer( n ) ) #define hbqt_par_QItemEditorFactory( n ) ( ( QItemEditorFactory * ) hbqt_gcpointer( n ) ) @@ -686,6 +694,7 @@ HB_EXTERN_END #define hbqt_par_QPushButton( n ) ( ( QPushButton * ) hbqt_gcpointer( n ) ) #define hbqt_par_QRadialGradient( n ) ( ( QRadialGradient * ) hbqt_gcpointer( n ) ) #define hbqt_par_QRadioButton( n ) ( ( QRadioButton * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QRegExpValidator( n ) ( ( QRegExpValidator * ) hbqt_gcpointer( n ) ) #define hbqt_par_QRegion( n ) ( ( QRegion * ) hbqt_gcpointer( n ) ) #define hbqt_par_QResizeEvent( n ) ( ( QResizeEvent * ) hbqt_gcpointer( n ) ) #define hbqt_par_QScrollArea( n ) ( ( QScrollArea * ) hbqt_gcpointer( n ) ) @@ -834,217 +843,220 @@ HB_EXTERN_END #define HBQT_TYPE_QDirModel ( HBQT_TYPE_QTGUI_BASE + 42 ) #define HBQT_TYPE_QDockWidget ( HBQT_TYPE_QTGUI_BASE + 43 ) #define HBQT_TYPE_QDoubleSpinBox ( HBQT_TYPE_QTGUI_BASE + 44 ) -#define HBQT_TYPE_QDrag ( HBQT_TYPE_QTGUI_BASE + 45 ) -#define HBQT_TYPE_QDragEnterEvent ( HBQT_TYPE_QTGUI_BASE + 46 ) -#define HBQT_TYPE_QDragLeaveEvent ( HBQT_TYPE_QTGUI_BASE + 47 ) -#define HBQT_TYPE_QDragMoveEvent ( HBQT_TYPE_QTGUI_BASE + 48 ) -#define HBQT_TYPE_QDropEvent ( HBQT_TYPE_QTGUI_BASE + 49 ) -#define HBQT_TYPE_QErrorMessage ( HBQT_TYPE_QTGUI_BASE + 50 ) -#define HBQT_TYPE_QFileDialog ( HBQT_TYPE_QTGUI_BASE + 51 ) -#define HBQT_TYPE_QFileIconProvider ( HBQT_TYPE_QTGUI_BASE + 52 ) -#define HBQT_TYPE_QFileSystemModel ( HBQT_TYPE_QTGUI_BASE + 53 ) -#define HBQT_TYPE_QFocusEvent ( HBQT_TYPE_QTGUI_BASE + 54 ) -#define HBQT_TYPE_QFocusFrame ( HBQT_TYPE_QTGUI_BASE + 55 ) -#define HBQT_TYPE_QFont ( HBQT_TYPE_QTGUI_BASE + 56 ) -#define HBQT_TYPE_QFontComboBox ( HBQT_TYPE_QTGUI_BASE + 57 ) -#define HBQT_TYPE_QFontDatabase ( HBQT_TYPE_QTGUI_BASE + 58 ) -#define HBQT_TYPE_QFontDialog ( HBQT_TYPE_QTGUI_BASE + 59 ) -#define HBQT_TYPE_QFontInfo ( HBQT_TYPE_QTGUI_BASE + 60 ) -#define HBQT_TYPE_QFontMetrics ( HBQT_TYPE_QTGUI_BASE + 61 ) -#define HBQT_TYPE_QFontMetricsF ( HBQT_TYPE_QTGUI_BASE + 62 ) -#define HBQT_TYPE_QFormLayout ( HBQT_TYPE_QTGUI_BASE + 63 ) -#define HBQT_TYPE_QFrame ( HBQT_TYPE_QTGUI_BASE + 64 ) -#define HBQT_TYPE_QGradient ( HBQT_TYPE_QTGUI_BASE + 65 ) -#define HBQT_TYPE_QGraphicsEllipseItem ( HBQT_TYPE_QTGUI_BASE + 66 ) -#define HBQT_TYPE_QGraphicsGridLayout ( HBQT_TYPE_QTGUI_BASE + 67 ) -#define HBQT_TYPE_QGraphicsItem ( HBQT_TYPE_QTGUI_BASE + 68 ) -#define HBQT_TYPE_QGraphicsItemAnimation ( HBQT_TYPE_QTGUI_BASE + 69 ) -#define HBQT_TYPE_QGraphicsItemGroup ( HBQT_TYPE_QTGUI_BASE + 70 ) -#define HBQT_TYPE_QGraphicsLayout ( HBQT_TYPE_QTGUI_BASE + 71 ) -#define HBQT_TYPE_QGraphicsLayoutItem ( HBQT_TYPE_QTGUI_BASE + 72 ) -#define HBQT_TYPE_QGraphicsLinearLayout ( HBQT_TYPE_QTGUI_BASE + 73 ) -#define HBQT_TYPE_QGraphicsLineItem ( HBQT_TYPE_QTGUI_BASE + 74 ) -#define HBQT_TYPE_QGraphicsPathItem ( HBQT_TYPE_QTGUI_BASE + 75 ) -#define HBQT_TYPE_QGraphicsPixmapItem ( HBQT_TYPE_QTGUI_BASE + 76 ) -#define HBQT_TYPE_QGraphicsPolygonItem ( HBQT_TYPE_QTGUI_BASE + 77 ) -#define HBQT_TYPE_QGraphicsProxyWidget ( HBQT_TYPE_QTGUI_BASE + 78 ) -#define HBQT_TYPE_QGraphicsRectItem ( HBQT_TYPE_QTGUI_BASE + 79 ) -#define HBQT_TYPE_QGraphicsScene ( HBQT_TYPE_QTGUI_BASE + 80 ) -#define HBQT_TYPE_QGraphicsSceneContextMenuEvent ( HBQT_TYPE_QTGUI_BASE + 81 ) -#define HBQT_TYPE_QGraphicsSceneDragDropEvent ( HBQT_TYPE_QTGUI_BASE + 82 ) -#define HBQT_TYPE_QGraphicsSceneEvent ( HBQT_TYPE_QTGUI_BASE + 83 ) -#define HBQT_TYPE_QGraphicsSceneHelpEvent ( HBQT_TYPE_QTGUI_BASE + 84 ) -#define HBQT_TYPE_QGraphicsSceneHoverEvent ( HBQT_TYPE_QTGUI_BASE + 85 ) -#define HBQT_TYPE_QGraphicsSceneMouseEvent ( HBQT_TYPE_QTGUI_BASE + 86 ) -#define HBQT_TYPE_QGraphicsSceneMoveEvent ( HBQT_TYPE_QTGUI_BASE + 87 ) -#define HBQT_TYPE_QGraphicsSceneResizeEvent ( HBQT_TYPE_QTGUI_BASE + 88 ) -#define HBQT_TYPE_QGraphicsSceneWheelEvent ( HBQT_TYPE_QTGUI_BASE + 89 ) -#define HBQT_TYPE_QGraphicsSimpleTextItem ( HBQT_TYPE_QTGUI_BASE + 90 ) -#define HBQT_TYPE_QGraphicsTextItem ( HBQT_TYPE_QTGUI_BASE + 91 ) -#define HBQT_TYPE_QGraphicsView ( HBQT_TYPE_QTGUI_BASE + 92 ) -#define HBQT_TYPE_QGraphicsWidget ( HBQT_TYPE_QTGUI_BASE + 93 ) -#define HBQT_TYPE_QGridLayout ( HBQT_TYPE_QTGUI_BASE + 94 ) -#define HBQT_TYPE_QGroupBox ( HBQT_TYPE_QTGUI_BASE + 95 ) -#define HBQT_TYPE_QHBoxLayout ( HBQT_TYPE_QTGUI_BASE + 96 ) -#define HBQT_TYPE_QHeaderView ( HBQT_TYPE_QTGUI_BASE + 97 ) -#define HBQT_TYPE_QHelpEvent ( HBQT_TYPE_QTGUI_BASE + 98 ) -#define HBQT_TYPE_QHideEvent ( HBQT_TYPE_QTGUI_BASE + 99 ) -#define HBQT_TYPE_QIcon ( HBQT_TYPE_QTGUI_BASE + 100 ) -#define HBQT_TYPE_QImage ( HBQT_TYPE_QTGUI_BASE + 101 ) -#define HBQT_TYPE_QImageReader ( HBQT_TYPE_QTGUI_BASE + 102 ) -#define HBQT_TYPE_QImageWriter ( HBQT_TYPE_QTGUI_BASE + 103 ) -#define HBQT_TYPE_QInputDialog ( HBQT_TYPE_QTGUI_BASE + 104 ) -#define HBQT_TYPE_QInputEvent ( HBQT_TYPE_QTGUI_BASE + 105 ) -#define HBQT_TYPE_QInputMethodEvent ( HBQT_TYPE_QTGUI_BASE + 106 ) -#define HBQT_TYPE_QItemDelegate ( HBQT_TYPE_QTGUI_BASE + 107 ) -#define HBQT_TYPE_QItemEditorCreatorBase ( HBQT_TYPE_QTGUI_BASE + 108 ) -#define HBQT_TYPE_QItemEditorFactory ( HBQT_TYPE_QTGUI_BASE + 109 ) -#define HBQT_TYPE_QItemSelection ( HBQT_TYPE_QTGUI_BASE + 110 ) -#define HBQT_TYPE_QItemSelectionModel ( HBQT_TYPE_QTGUI_BASE + 111 ) -#define HBQT_TYPE_QKeyEvent ( HBQT_TYPE_QTGUI_BASE + 112 ) -#define HBQT_TYPE_QKeySequence ( HBQT_TYPE_QTGUI_BASE + 113 ) -#define HBQT_TYPE_QLabel ( HBQT_TYPE_QTGUI_BASE + 114 ) -#define HBQT_TYPE_QLayout ( HBQT_TYPE_QTGUI_BASE + 115 ) -#define HBQT_TYPE_QLayoutItem ( HBQT_TYPE_QTGUI_BASE + 116 ) -#define HBQT_TYPE_QLCDNumber ( HBQT_TYPE_QTGUI_BASE + 117 ) -#define HBQT_TYPE_QLinearGradient ( HBQT_TYPE_QTGUI_BASE + 118 ) -#define HBQT_TYPE_QLineEdit ( HBQT_TYPE_QTGUI_BASE + 119 ) -#define HBQT_TYPE_QListView ( HBQT_TYPE_QTGUI_BASE + 120 ) -#define HBQT_TYPE_QListWidget ( HBQT_TYPE_QTGUI_BASE + 121 ) -#define HBQT_TYPE_QListWidgetItem ( HBQT_TYPE_QTGUI_BASE + 122 ) -#define HBQT_TYPE_QMainWindow ( HBQT_TYPE_QTGUI_BASE + 123 ) -#define HBQT_TYPE_QMatrix ( HBQT_TYPE_QTGUI_BASE + 124 ) -#define HBQT_TYPE_QMdiArea ( HBQT_TYPE_QTGUI_BASE + 125 ) -#define HBQT_TYPE_QMdiSubWindow ( HBQT_TYPE_QTGUI_BASE + 126 ) -#define HBQT_TYPE_QMenu ( HBQT_TYPE_QTGUI_BASE + 127 ) -#define HBQT_TYPE_QMenuBar ( HBQT_TYPE_QTGUI_BASE + 128 ) -#define HBQT_TYPE_QMessageBox ( HBQT_TYPE_QTGUI_BASE + 129 ) -#define HBQT_TYPE_QMouseEvent ( HBQT_TYPE_QTGUI_BASE + 130 ) -#define HBQT_TYPE_QMoveEvent ( HBQT_TYPE_QTGUI_BASE + 131 ) -#define HBQT_TYPE_QMovie ( HBQT_TYPE_QTGUI_BASE + 132 ) -#define HBQT_TYPE_QPageSetupDialog ( HBQT_TYPE_QTGUI_BASE + 133 ) -#define HBQT_TYPE_QPaintDevice ( HBQT_TYPE_QTGUI_BASE + 134 ) -#define HBQT_TYPE_QPaintEngine ( HBQT_TYPE_QTGUI_BASE + 135 ) -#define HBQT_TYPE_QPainter ( HBQT_TYPE_QTGUI_BASE + 136 ) -#define HBQT_TYPE_QPainterPath ( HBQT_TYPE_QTGUI_BASE + 137 ) -#define HBQT_TYPE_QPaintEvent ( HBQT_TYPE_QTGUI_BASE + 138 ) -#define HBQT_TYPE_QPalette ( HBQT_TYPE_QTGUI_BASE + 139 ) -#define HBQT_TYPE_QPen ( HBQT_TYPE_QTGUI_BASE + 140 ) -#define HBQT_TYPE_QPicture ( HBQT_TYPE_QTGUI_BASE + 141 ) -#define HBQT_TYPE_QPixmap ( HBQT_TYPE_QTGUI_BASE + 142 ) -#define HBQT_TYPE_QPlainTextDocumentLayout ( HBQT_TYPE_QTGUI_BASE + 143 ) -#define HBQT_TYPE_QPlainTextEdit ( HBQT_TYPE_QTGUI_BASE + 144 ) -#define HBQT_TYPE_QPolygon ( HBQT_TYPE_QTGUI_BASE + 145 ) -#define HBQT_TYPE_QPolygonF ( HBQT_TYPE_QTGUI_BASE + 146 ) -#define HBQT_TYPE_QPrintDialog ( HBQT_TYPE_QTGUI_BASE + 147 ) -#define HBQT_TYPE_QPrintEngine ( HBQT_TYPE_QTGUI_BASE + 148 ) -#define HBQT_TYPE_QPrinter ( HBQT_TYPE_QTGUI_BASE + 149 ) -#define HBQT_TYPE_QPrintPreviewDialog ( HBQT_TYPE_QTGUI_BASE + 150 ) -#define HBQT_TYPE_QProgressBar ( HBQT_TYPE_QTGUI_BASE + 151 ) -#define HBQT_TYPE_QProgressDialog ( HBQT_TYPE_QTGUI_BASE + 152 ) -#define HBQT_TYPE_QPushButton ( HBQT_TYPE_QTGUI_BASE + 153 ) -#define HBQT_TYPE_QRadialGradient ( HBQT_TYPE_QTGUI_BASE + 154 ) -#define HBQT_TYPE_QRadioButton ( HBQT_TYPE_QTGUI_BASE + 155 ) -#define HBQT_TYPE_QRegion ( HBQT_TYPE_QTGUI_BASE + 156 ) -#define HBQT_TYPE_QResizeEvent ( HBQT_TYPE_QTGUI_BASE + 157 ) -#define HBQT_TYPE_QScrollArea ( HBQT_TYPE_QTGUI_BASE + 158 ) -#define HBQT_TYPE_QScrollBar ( HBQT_TYPE_QTGUI_BASE + 159 ) -#define HBQT_TYPE_QSessionManager ( HBQT_TYPE_QTGUI_BASE + 160 ) -#define HBQT_TYPE_QShowEvent ( HBQT_TYPE_QTGUI_BASE + 161 ) -#define HBQT_TYPE_QSizeGrip ( HBQT_TYPE_QTGUI_BASE + 162 ) -#define HBQT_TYPE_QSizePolicy ( HBQT_TYPE_QTGUI_BASE + 163 ) -#define HBQT_TYPE_QSlider ( HBQT_TYPE_QTGUI_BASE + 164 ) -#define HBQT_TYPE_QSound ( HBQT_TYPE_QTGUI_BASE + 165 ) -#define HBQT_TYPE_QSpacerItem ( HBQT_TYPE_QTGUI_BASE + 166 ) -#define HBQT_TYPE_QSpinBox ( HBQT_TYPE_QTGUI_BASE + 167 ) -#define HBQT_TYPE_QSplashScreen ( HBQT_TYPE_QTGUI_BASE + 168 ) -#define HBQT_TYPE_QSplitter ( HBQT_TYPE_QTGUI_BASE + 169 ) -#define HBQT_TYPE_QStackedWidget ( HBQT_TYPE_QTGUI_BASE + 170 ) -#define HBQT_TYPE_QStandardItem ( HBQT_TYPE_QTGUI_BASE + 171 ) -#define HBQT_TYPE_QStandardItemModel ( HBQT_TYPE_QTGUI_BASE + 172 ) -#define HBQT_TYPE_QStatusBar ( HBQT_TYPE_QTGUI_BASE + 173 ) -#define HBQT_TYPE_QStringListModel ( HBQT_TYPE_QTGUI_BASE + 174 ) -#define HBQT_TYPE_QStyle ( HBQT_TYPE_QTGUI_BASE + 175 ) -#define HBQT_TYPE_QStyledItemDelegate ( HBQT_TYPE_QTGUI_BASE + 176 ) -#define HBQT_TYPE_QStyleFactory ( HBQT_TYPE_QTGUI_BASE + 177 ) -#define HBQT_TYPE_QStyleHintReturn ( HBQT_TYPE_QTGUI_BASE + 178 ) -#define HBQT_TYPE_QStyleHintReturnMask ( HBQT_TYPE_QTGUI_BASE + 179 ) -#define HBQT_TYPE_QStyleHintReturnVariant ( HBQT_TYPE_QTGUI_BASE + 180 ) -#define HBQT_TYPE_QStyleOption ( HBQT_TYPE_QTGUI_BASE + 181 ) -#define HBQT_TYPE_QStyleOptionButton ( HBQT_TYPE_QTGUI_BASE + 182 ) -#define HBQT_TYPE_QStyleOptionComboBox ( HBQT_TYPE_QTGUI_BASE + 183 ) -#define HBQT_TYPE_QStyleOptionComplex ( HBQT_TYPE_QTGUI_BASE + 184 ) -#define HBQT_TYPE_QStyleOptionDockWidget ( HBQT_TYPE_QTGUI_BASE + 185 ) -#define HBQT_TYPE_QStyleOptionFocusRect ( HBQT_TYPE_QTGUI_BASE + 186 ) -#define HBQT_TYPE_QStyleOptionFrame ( HBQT_TYPE_QTGUI_BASE + 187 ) -#define HBQT_TYPE_QStyleOptionGraphicsItem ( HBQT_TYPE_QTGUI_BASE + 188 ) -#define HBQT_TYPE_QStyleOptionGroupBox ( HBQT_TYPE_QTGUI_BASE + 189 ) -#define HBQT_TYPE_QStyleOptionHeader ( HBQT_TYPE_QTGUI_BASE + 190 ) -#define HBQT_TYPE_QStyleOptionMenuItem ( HBQT_TYPE_QTGUI_BASE + 191 ) -#define HBQT_TYPE_QStyleOptionProgressBar ( HBQT_TYPE_QTGUI_BASE + 192 ) -#define HBQT_TYPE_QStyleOptionSizeGrip ( HBQT_TYPE_QTGUI_BASE + 193 ) -#define HBQT_TYPE_QStyleOptionSlider ( HBQT_TYPE_QTGUI_BASE + 194 ) -#define HBQT_TYPE_QStyleOptionSpinBox ( HBQT_TYPE_QTGUI_BASE + 195 ) -#define HBQT_TYPE_QStyleOptionTab ( HBQT_TYPE_QTGUI_BASE + 196 ) -#define HBQT_TYPE_QStyleOptionTabBarBase ( HBQT_TYPE_QTGUI_BASE + 197 ) -#define HBQT_TYPE_QStyleOptionTabWidgetFrame ( HBQT_TYPE_QTGUI_BASE + 198 ) -#define HBQT_TYPE_QStyleOptionTitleBar ( HBQT_TYPE_QTGUI_BASE + 199 ) -#define HBQT_TYPE_QStyleOptionToolBar ( HBQT_TYPE_QTGUI_BASE + 200 ) -#define HBQT_TYPE_QStyleOptionToolBox ( HBQT_TYPE_QTGUI_BASE + 201 ) -#define HBQT_TYPE_QStyleOptionToolButton ( HBQT_TYPE_QTGUI_BASE + 202 ) -#define HBQT_TYPE_QStyleOptionViewItem ( HBQT_TYPE_QTGUI_BASE + 203 ) -#define HBQT_TYPE_QStylePainter ( HBQT_TYPE_QTGUI_BASE + 204 ) -#define HBQT_TYPE_QSyntaxHighlighter ( HBQT_TYPE_QTGUI_BASE + 205 ) -#define HBQT_TYPE_QSystemTrayIcon ( HBQT_TYPE_QTGUI_BASE + 206 ) -#define HBQT_TYPE_QTabBar ( HBQT_TYPE_QTGUI_BASE + 207 ) -#define HBQT_TYPE_QTableView ( HBQT_TYPE_QTGUI_BASE + 208 ) -#define HBQT_TYPE_QTableWidget ( HBQT_TYPE_QTGUI_BASE + 209 ) -#define HBQT_TYPE_QTableWidgetItem ( HBQT_TYPE_QTGUI_BASE + 210 ) -#define HBQT_TYPE_QTableWidgetSelectionRange ( HBQT_TYPE_QTGUI_BASE + 211 ) -#define HBQT_TYPE_QTabWidget ( HBQT_TYPE_QTGUI_BASE + 212 ) -#define HBQT_TYPE_QTextBlock ( HBQT_TYPE_QTGUI_BASE + 213 ) -#define HBQT_TYPE_QTextBlockFormat ( HBQT_TYPE_QTGUI_BASE + 214 ) -#define HBQT_TYPE_QTextBlockGroup ( HBQT_TYPE_QTGUI_BASE + 215 ) -#define HBQT_TYPE_QTextBrowser ( HBQT_TYPE_QTGUI_BASE + 216 ) -#define HBQT_TYPE_QTextCharFormat ( HBQT_TYPE_QTGUI_BASE + 217 ) -#define HBQT_TYPE_QTextCursor ( HBQT_TYPE_QTGUI_BASE + 218 ) -#define HBQT_TYPE_QTextDocument ( HBQT_TYPE_QTGUI_BASE + 219 ) -#define HBQT_TYPE_QTextDocumentFragment ( HBQT_TYPE_QTGUI_BASE + 220 ) -#define HBQT_TYPE_QTextDocumentWriter ( HBQT_TYPE_QTGUI_BASE + 221 ) -#define HBQT_TYPE_QTextEdit ( HBQT_TYPE_QTGUI_BASE + 222 ) -#define HBQT_TYPE_QTextFormat ( HBQT_TYPE_QTGUI_BASE + 223 ) -#define HBQT_TYPE_QTextFragment ( HBQT_TYPE_QTGUI_BASE + 224 ) -#define HBQT_TYPE_QTextFrame ( HBQT_TYPE_QTGUI_BASE + 225 ) -#define HBQT_TYPE_QTextFrameFormat ( HBQT_TYPE_QTGUI_BASE + 226 ) -#define HBQT_TYPE_QTextImageFormat ( HBQT_TYPE_QTGUI_BASE + 227 ) -#define HBQT_TYPE_QTextInlineObject ( HBQT_TYPE_QTGUI_BASE + 228 ) -#define HBQT_TYPE_QTextItem ( HBQT_TYPE_QTGUI_BASE + 229 ) -#define HBQT_TYPE_QTextLayout ( HBQT_TYPE_QTGUI_BASE + 230 ) -#define HBQT_TYPE_QTextLength ( HBQT_TYPE_QTGUI_BASE + 231 ) -#define HBQT_TYPE_QTextLine ( HBQT_TYPE_QTGUI_BASE + 232 ) -#define HBQT_TYPE_QTextList ( HBQT_TYPE_QTGUI_BASE + 233 ) -#define HBQT_TYPE_QTextListFormat ( HBQT_TYPE_QTGUI_BASE + 234 ) -#define HBQT_TYPE_QTextObject ( HBQT_TYPE_QTGUI_BASE + 235 ) -#define HBQT_TYPE_QTextOption ( HBQT_TYPE_QTGUI_BASE + 236 ) -#define HBQT_TYPE_QTextTableFormat ( HBQT_TYPE_QTGUI_BASE + 237 ) -#define HBQT_TYPE_QTimeEdit ( HBQT_TYPE_QTGUI_BASE + 238 ) -#define HBQT_TYPE_QToolBar ( HBQT_TYPE_QTGUI_BASE + 239 ) -#define HBQT_TYPE_QToolBox ( HBQT_TYPE_QTGUI_BASE + 240 ) -#define HBQT_TYPE_QToolButton ( HBQT_TYPE_QTGUI_BASE + 241 ) -#define HBQT_TYPE_QTransform ( HBQT_TYPE_QTGUI_BASE + 242 ) -#define HBQT_TYPE_QTreeView ( HBQT_TYPE_QTGUI_BASE + 243 ) -#define HBQT_TYPE_QTreeWidget ( HBQT_TYPE_QTGUI_BASE + 244 ) -#define HBQT_TYPE_QTreeWidgetItem ( HBQT_TYPE_QTGUI_BASE + 245 ) -#define HBQT_TYPE_QValidator ( HBQT_TYPE_QTGUI_BASE + 246 ) -#define HBQT_TYPE_QVBoxLayout ( HBQT_TYPE_QTGUI_BASE + 247 ) -#define HBQT_TYPE_QWheelEvent ( HBQT_TYPE_QTGUI_BASE + 248 ) -#define HBQT_TYPE_QWidget ( HBQT_TYPE_QTGUI_BASE + 249 ) -#define HBQT_TYPE_QWidgetAction ( HBQT_TYPE_QTGUI_BASE + 250 ) -#define HBQT_TYPE_QWidgetItem ( HBQT_TYPE_QTGUI_BASE + 251 ) -#define HBQT_TYPE_QWindowsStyle ( HBQT_TYPE_QTGUI_BASE + 252 ) -#define HBQT_TYPE_QWindowStateChangeEvent ( HBQT_TYPE_QTGUI_BASE + 253 ) -#define HBQT_TYPE_QWizard ( HBQT_TYPE_QTGUI_BASE + 254 ) -#define HBQT_TYPE_QWizardPage ( HBQT_TYPE_QTGUI_BASE + 255 ) -#define HBQT_TYPE_QUiLoader ( HBQT_TYPE_QTGUI_BASE + 256 ) +#define HBQT_TYPE_QDoubleValidator ( HBQT_TYPE_QTGUI_BASE + 45 ) +#define HBQT_TYPE_QDrag ( HBQT_TYPE_QTGUI_BASE + 46 ) +#define HBQT_TYPE_QDragEnterEvent ( HBQT_TYPE_QTGUI_BASE + 47 ) +#define HBQT_TYPE_QDragLeaveEvent ( HBQT_TYPE_QTGUI_BASE + 48 ) +#define HBQT_TYPE_QDragMoveEvent ( HBQT_TYPE_QTGUI_BASE + 49 ) +#define HBQT_TYPE_QDropEvent ( HBQT_TYPE_QTGUI_BASE + 50 ) +#define HBQT_TYPE_QErrorMessage ( HBQT_TYPE_QTGUI_BASE + 51 ) +#define HBQT_TYPE_QFileDialog ( HBQT_TYPE_QTGUI_BASE + 52 ) +#define HBQT_TYPE_QFileIconProvider ( HBQT_TYPE_QTGUI_BASE + 53 ) +#define HBQT_TYPE_QFileSystemModel ( HBQT_TYPE_QTGUI_BASE + 54 ) +#define HBQT_TYPE_QFocusEvent ( HBQT_TYPE_QTGUI_BASE + 55 ) +#define HBQT_TYPE_QFocusFrame ( HBQT_TYPE_QTGUI_BASE + 56 ) +#define HBQT_TYPE_QFont ( HBQT_TYPE_QTGUI_BASE + 57 ) +#define HBQT_TYPE_QFontComboBox ( HBQT_TYPE_QTGUI_BASE + 58 ) +#define HBQT_TYPE_QFontDatabase ( HBQT_TYPE_QTGUI_BASE + 59 ) +#define HBQT_TYPE_QFontDialog ( HBQT_TYPE_QTGUI_BASE + 60 ) +#define HBQT_TYPE_QFontInfo ( HBQT_TYPE_QTGUI_BASE + 61 ) +#define HBQT_TYPE_QFontMetrics ( HBQT_TYPE_QTGUI_BASE + 62 ) +#define HBQT_TYPE_QFontMetricsF ( HBQT_TYPE_QTGUI_BASE + 63 ) +#define HBQT_TYPE_QFormLayout ( HBQT_TYPE_QTGUI_BASE + 64 ) +#define HBQT_TYPE_QFrame ( HBQT_TYPE_QTGUI_BASE + 65 ) +#define HBQT_TYPE_QGradient ( HBQT_TYPE_QTGUI_BASE + 66 ) +#define HBQT_TYPE_QGraphicsEllipseItem ( HBQT_TYPE_QTGUI_BASE + 67 ) +#define HBQT_TYPE_QGraphicsGridLayout ( HBQT_TYPE_QTGUI_BASE + 68 ) +#define HBQT_TYPE_QGraphicsItem ( HBQT_TYPE_QTGUI_BASE + 69 ) +#define HBQT_TYPE_QGraphicsItemAnimation ( HBQT_TYPE_QTGUI_BASE + 70 ) +#define HBQT_TYPE_QGraphicsItemGroup ( HBQT_TYPE_QTGUI_BASE + 71 ) +#define HBQT_TYPE_QGraphicsLayout ( HBQT_TYPE_QTGUI_BASE + 72 ) +#define HBQT_TYPE_QGraphicsLayoutItem ( HBQT_TYPE_QTGUI_BASE + 73 ) +#define HBQT_TYPE_QGraphicsLinearLayout ( HBQT_TYPE_QTGUI_BASE + 74 ) +#define HBQT_TYPE_QGraphicsLineItem ( HBQT_TYPE_QTGUI_BASE + 75 ) +#define HBQT_TYPE_QGraphicsPathItem ( HBQT_TYPE_QTGUI_BASE + 76 ) +#define HBQT_TYPE_QGraphicsPixmapItem ( HBQT_TYPE_QTGUI_BASE + 77 ) +#define HBQT_TYPE_QGraphicsPolygonItem ( HBQT_TYPE_QTGUI_BASE + 78 ) +#define HBQT_TYPE_QGraphicsProxyWidget ( HBQT_TYPE_QTGUI_BASE + 79 ) +#define HBQT_TYPE_QGraphicsRectItem ( HBQT_TYPE_QTGUI_BASE + 80 ) +#define HBQT_TYPE_QGraphicsScene ( HBQT_TYPE_QTGUI_BASE + 81 ) +#define HBQT_TYPE_QGraphicsSceneContextMenuEvent ( HBQT_TYPE_QTGUI_BASE + 82 ) +#define HBQT_TYPE_QGraphicsSceneDragDropEvent ( HBQT_TYPE_QTGUI_BASE + 83 ) +#define HBQT_TYPE_QGraphicsSceneEvent ( HBQT_TYPE_QTGUI_BASE + 84 ) +#define HBQT_TYPE_QGraphicsSceneHelpEvent ( HBQT_TYPE_QTGUI_BASE + 85 ) +#define HBQT_TYPE_QGraphicsSceneHoverEvent ( HBQT_TYPE_QTGUI_BASE + 86 ) +#define HBQT_TYPE_QGraphicsSceneMouseEvent ( HBQT_TYPE_QTGUI_BASE + 87 ) +#define HBQT_TYPE_QGraphicsSceneMoveEvent ( HBQT_TYPE_QTGUI_BASE + 88 ) +#define HBQT_TYPE_QGraphicsSceneResizeEvent ( HBQT_TYPE_QTGUI_BASE + 89 ) +#define HBQT_TYPE_QGraphicsSceneWheelEvent ( HBQT_TYPE_QTGUI_BASE + 90 ) +#define HBQT_TYPE_QGraphicsSimpleTextItem ( HBQT_TYPE_QTGUI_BASE + 91 ) +#define HBQT_TYPE_QGraphicsTextItem ( HBQT_TYPE_QTGUI_BASE + 92 ) +#define HBQT_TYPE_QGraphicsView ( HBQT_TYPE_QTGUI_BASE + 93 ) +#define HBQT_TYPE_QGraphicsWidget ( HBQT_TYPE_QTGUI_BASE + 94 ) +#define HBQT_TYPE_QGridLayout ( HBQT_TYPE_QTGUI_BASE + 95 ) +#define HBQT_TYPE_QGroupBox ( HBQT_TYPE_QTGUI_BASE + 96 ) +#define HBQT_TYPE_QHBoxLayout ( HBQT_TYPE_QTGUI_BASE + 97 ) +#define HBQT_TYPE_QHeaderView ( HBQT_TYPE_QTGUI_BASE + 98 ) +#define HBQT_TYPE_QHelpEvent ( HBQT_TYPE_QTGUI_BASE + 99 ) +#define HBQT_TYPE_QHideEvent ( HBQT_TYPE_QTGUI_BASE + 100 ) +#define HBQT_TYPE_QIcon ( HBQT_TYPE_QTGUI_BASE + 101 ) +#define HBQT_TYPE_QImage ( HBQT_TYPE_QTGUI_BASE + 102 ) +#define HBQT_TYPE_QImageReader ( HBQT_TYPE_QTGUI_BASE + 103 ) +#define HBQT_TYPE_QImageWriter ( HBQT_TYPE_QTGUI_BASE + 104 ) +#define HBQT_TYPE_QInputDialog ( HBQT_TYPE_QTGUI_BASE + 105 ) +#define HBQT_TYPE_QInputEvent ( HBQT_TYPE_QTGUI_BASE + 106 ) +#define HBQT_TYPE_QInputMethodEvent ( HBQT_TYPE_QTGUI_BASE + 107 ) +#define HBQT_TYPE_QIntValidator ( HBQT_TYPE_QTGUI_BASE + 108 ) +#define HBQT_TYPE_QItemDelegate ( HBQT_TYPE_QTGUI_BASE + 109 ) +#define HBQT_TYPE_QItemEditorCreatorBase ( HBQT_TYPE_QTGUI_BASE + 110 ) +#define HBQT_TYPE_QItemEditorFactory ( HBQT_TYPE_QTGUI_BASE + 111 ) +#define HBQT_TYPE_QItemSelection ( HBQT_TYPE_QTGUI_BASE + 112 ) +#define HBQT_TYPE_QItemSelectionModel ( HBQT_TYPE_QTGUI_BASE + 113 ) +#define HBQT_TYPE_QKeyEvent ( HBQT_TYPE_QTGUI_BASE + 114 ) +#define HBQT_TYPE_QKeySequence ( HBQT_TYPE_QTGUI_BASE + 115 ) +#define HBQT_TYPE_QLabel ( HBQT_TYPE_QTGUI_BASE + 116 ) +#define HBQT_TYPE_QLayout ( HBQT_TYPE_QTGUI_BASE + 117 ) +#define HBQT_TYPE_QLayoutItem ( HBQT_TYPE_QTGUI_BASE + 118 ) +#define HBQT_TYPE_QLCDNumber ( HBQT_TYPE_QTGUI_BASE + 119 ) +#define HBQT_TYPE_QLinearGradient ( HBQT_TYPE_QTGUI_BASE + 120 ) +#define HBQT_TYPE_QLineEdit ( HBQT_TYPE_QTGUI_BASE + 121 ) +#define HBQT_TYPE_QListView ( HBQT_TYPE_QTGUI_BASE + 122 ) +#define HBQT_TYPE_QListWidget ( HBQT_TYPE_QTGUI_BASE + 123 ) +#define HBQT_TYPE_QListWidgetItem ( HBQT_TYPE_QTGUI_BASE + 124 ) +#define HBQT_TYPE_QMainWindow ( HBQT_TYPE_QTGUI_BASE + 125 ) +#define HBQT_TYPE_QMatrix ( HBQT_TYPE_QTGUI_BASE + 126 ) +#define HBQT_TYPE_QMdiArea ( HBQT_TYPE_QTGUI_BASE + 127 ) +#define HBQT_TYPE_QMdiSubWindow ( HBQT_TYPE_QTGUI_BASE + 128 ) +#define HBQT_TYPE_QMenu ( HBQT_TYPE_QTGUI_BASE + 129 ) +#define HBQT_TYPE_QMenuBar ( HBQT_TYPE_QTGUI_BASE + 130 ) +#define HBQT_TYPE_QMessageBox ( HBQT_TYPE_QTGUI_BASE + 131 ) +#define HBQT_TYPE_QMouseEvent ( HBQT_TYPE_QTGUI_BASE + 132 ) +#define HBQT_TYPE_QMoveEvent ( HBQT_TYPE_QTGUI_BASE + 133 ) +#define HBQT_TYPE_QMovie ( HBQT_TYPE_QTGUI_BASE + 134 ) +#define HBQT_TYPE_QPageSetupDialog ( HBQT_TYPE_QTGUI_BASE + 135 ) +#define HBQT_TYPE_QPaintDevice ( HBQT_TYPE_QTGUI_BASE + 136 ) +#define HBQT_TYPE_QPaintEngine ( HBQT_TYPE_QTGUI_BASE + 137 ) +#define HBQT_TYPE_QPainter ( HBQT_TYPE_QTGUI_BASE + 138 ) +#define HBQT_TYPE_QPainterPath ( HBQT_TYPE_QTGUI_BASE + 139 ) +#define HBQT_TYPE_QPaintEvent ( HBQT_TYPE_QTGUI_BASE + 140 ) +#define HBQT_TYPE_QPalette ( HBQT_TYPE_QTGUI_BASE + 141 ) +#define HBQT_TYPE_QPen ( HBQT_TYPE_QTGUI_BASE + 142 ) +#define HBQT_TYPE_QPicture ( HBQT_TYPE_QTGUI_BASE + 143 ) +#define HBQT_TYPE_QPixmap ( HBQT_TYPE_QTGUI_BASE + 144 ) +#define HBQT_TYPE_QPlainTextDocumentLayout ( HBQT_TYPE_QTGUI_BASE + 145 ) +#define HBQT_TYPE_QPlainTextEdit ( HBQT_TYPE_QTGUI_BASE + 146 ) +#define HBQT_TYPE_QPolygon ( HBQT_TYPE_QTGUI_BASE + 147 ) +#define HBQT_TYPE_QPolygonF ( HBQT_TYPE_QTGUI_BASE + 148 ) +#define HBQT_TYPE_QPrintDialog ( HBQT_TYPE_QTGUI_BASE + 149 ) +#define HBQT_TYPE_QPrintEngine ( HBQT_TYPE_QTGUI_BASE + 150 ) +#define HBQT_TYPE_QPrinter ( HBQT_TYPE_QTGUI_BASE + 151 ) +#define HBQT_TYPE_QPrintPreviewDialog ( HBQT_TYPE_QTGUI_BASE + 152 ) +#define HBQT_TYPE_QProgressBar ( HBQT_TYPE_QTGUI_BASE + 153 ) +#define HBQT_TYPE_QProgressDialog ( HBQT_TYPE_QTGUI_BASE + 154 ) +#define HBQT_TYPE_QPushButton ( HBQT_TYPE_QTGUI_BASE + 155 ) +#define HBQT_TYPE_QRadialGradient ( HBQT_TYPE_QTGUI_BASE + 156 ) +#define HBQT_TYPE_QRadioButton ( HBQT_TYPE_QTGUI_BASE + 157 ) +#define HBQT_TYPE_QRegExpValidator ( HBQT_TYPE_QTGUI_BASE + 158 ) +#define HBQT_TYPE_QRegion ( HBQT_TYPE_QTGUI_BASE + 159 ) +#define HBQT_TYPE_QResizeEvent ( HBQT_TYPE_QTGUI_BASE + 160 ) +#define HBQT_TYPE_QScrollArea ( HBQT_TYPE_QTGUI_BASE + 161 ) +#define HBQT_TYPE_QScrollBar ( HBQT_TYPE_QTGUI_BASE + 162 ) +#define HBQT_TYPE_QSessionManager ( HBQT_TYPE_QTGUI_BASE + 163 ) +#define HBQT_TYPE_QShowEvent ( HBQT_TYPE_QTGUI_BASE + 164 ) +#define HBQT_TYPE_QSizeGrip ( HBQT_TYPE_QTGUI_BASE + 165 ) +#define HBQT_TYPE_QSizePolicy ( HBQT_TYPE_QTGUI_BASE + 166 ) +#define HBQT_TYPE_QSlider ( HBQT_TYPE_QTGUI_BASE + 167 ) +#define HBQT_TYPE_QSound ( HBQT_TYPE_QTGUI_BASE + 168 ) +#define HBQT_TYPE_QSpacerItem ( HBQT_TYPE_QTGUI_BASE + 169 ) +#define HBQT_TYPE_QSpinBox ( HBQT_TYPE_QTGUI_BASE + 170 ) +#define HBQT_TYPE_QSplashScreen ( HBQT_TYPE_QTGUI_BASE + 171 ) +#define HBQT_TYPE_QSplitter ( HBQT_TYPE_QTGUI_BASE + 172 ) +#define HBQT_TYPE_QStackedWidget ( HBQT_TYPE_QTGUI_BASE + 173 ) +#define HBQT_TYPE_QStandardItem ( HBQT_TYPE_QTGUI_BASE + 174 ) +#define HBQT_TYPE_QStandardItemModel ( HBQT_TYPE_QTGUI_BASE + 175 ) +#define HBQT_TYPE_QStatusBar ( HBQT_TYPE_QTGUI_BASE + 176 ) +#define HBQT_TYPE_QStringListModel ( HBQT_TYPE_QTGUI_BASE + 177 ) +#define HBQT_TYPE_QStyle ( HBQT_TYPE_QTGUI_BASE + 178 ) +#define HBQT_TYPE_QStyledItemDelegate ( HBQT_TYPE_QTGUI_BASE + 179 ) +#define HBQT_TYPE_QStyleFactory ( HBQT_TYPE_QTGUI_BASE + 180 ) +#define HBQT_TYPE_QStyleHintReturn ( HBQT_TYPE_QTGUI_BASE + 181 ) +#define HBQT_TYPE_QStyleHintReturnMask ( HBQT_TYPE_QTGUI_BASE + 182 ) +#define HBQT_TYPE_QStyleHintReturnVariant ( HBQT_TYPE_QTGUI_BASE + 183 ) +#define HBQT_TYPE_QStyleOption ( HBQT_TYPE_QTGUI_BASE + 184 ) +#define HBQT_TYPE_QStyleOptionButton ( HBQT_TYPE_QTGUI_BASE + 185 ) +#define HBQT_TYPE_QStyleOptionComboBox ( HBQT_TYPE_QTGUI_BASE + 186 ) +#define HBQT_TYPE_QStyleOptionComplex ( HBQT_TYPE_QTGUI_BASE + 187 ) +#define HBQT_TYPE_QStyleOptionDockWidget ( HBQT_TYPE_QTGUI_BASE + 188 ) +#define HBQT_TYPE_QStyleOptionFocusRect ( HBQT_TYPE_QTGUI_BASE + 189 ) +#define HBQT_TYPE_QStyleOptionFrame ( HBQT_TYPE_QTGUI_BASE + 190 ) +#define HBQT_TYPE_QStyleOptionGraphicsItem ( HBQT_TYPE_QTGUI_BASE + 191 ) +#define HBQT_TYPE_QStyleOptionGroupBox ( HBQT_TYPE_QTGUI_BASE + 192 ) +#define HBQT_TYPE_QStyleOptionHeader ( HBQT_TYPE_QTGUI_BASE + 193 ) +#define HBQT_TYPE_QStyleOptionMenuItem ( HBQT_TYPE_QTGUI_BASE + 194 ) +#define HBQT_TYPE_QStyleOptionProgressBar ( HBQT_TYPE_QTGUI_BASE + 195 ) +#define HBQT_TYPE_QStyleOptionSizeGrip ( HBQT_TYPE_QTGUI_BASE + 196 ) +#define HBQT_TYPE_QStyleOptionSlider ( HBQT_TYPE_QTGUI_BASE + 197 ) +#define HBQT_TYPE_QStyleOptionSpinBox ( HBQT_TYPE_QTGUI_BASE + 198 ) +#define HBQT_TYPE_QStyleOptionTab ( HBQT_TYPE_QTGUI_BASE + 199 ) +#define HBQT_TYPE_QStyleOptionTabBarBase ( HBQT_TYPE_QTGUI_BASE + 200 ) +#define HBQT_TYPE_QStyleOptionTabWidgetFrame ( HBQT_TYPE_QTGUI_BASE + 201 ) +#define HBQT_TYPE_QStyleOptionTitleBar ( HBQT_TYPE_QTGUI_BASE + 202 ) +#define HBQT_TYPE_QStyleOptionToolBar ( HBQT_TYPE_QTGUI_BASE + 203 ) +#define HBQT_TYPE_QStyleOptionToolBox ( HBQT_TYPE_QTGUI_BASE + 204 ) +#define HBQT_TYPE_QStyleOptionToolButton ( HBQT_TYPE_QTGUI_BASE + 205 ) +#define HBQT_TYPE_QStyleOptionViewItem ( HBQT_TYPE_QTGUI_BASE + 206 ) +#define HBQT_TYPE_QStylePainter ( HBQT_TYPE_QTGUI_BASE + 207 ) +#define HBQT_TYPE_QSyntaxHighlighter ( HBQT_TYPE_QTGUI_BASE + 208 ) +#define HBQT_TYPE_QSystemTrayIcon ( HBQT_TYPE_QTGUI_BASE + 209 ) +#define HBQT_TYPE_QTabBar ( HBQT_TYPE_QTGUI_BASE + 210 ) +#define HBQT_TYPE_QTableView ( HBQT_TYPE_QTGUI_BASE + 211 ) +#define HBQT_TYPE_QTableWidget ( HBQT_TYPE_QTGUI_BASE + 212 ) +#define HBQT_TYPE_QTableWidgetItem ( HBQT_TYPE_QTGUI_BASE + 213 ) +#define HBQT_TYPE_QTableWidgetSelectionRange ( HBQT_TYPE_QTGUI_BASE + 214 ) +#define HBQT_TYPE_QTabWidget ( HBQT_TYPE_QTGUI_BASE + 215 ) +#define HBQT_TYPE_QTextBlock ( HBQT_TYPE_QTGUI_BASE + 216 ) +#define HBQT_TYPE_QTextBlockFormat ( HBQT_TYPE_QTGUI_BASE + 217 ) +#define HBQT_TYPE_QTextBlockGroup ( HBQT_TYPE_QTGUI_BASE + 218 ) +#define HBQT_TYPE_QTextBrowser ( HBQT_TYPE_QTGUI_BASE + 219 ) +#define HBQT_TYPE_QTextCharFormat ( HBQT_TYPE_QTGUI_BASE + 220 ) +#define HBQT_TYPE_QTextCursor ( HBQT_TYPE_QTGUI_BASE + 221 ) +#define HBQT_TYPE_QTextDocument ( HBQT_TYPE_QTGUI_BASE + 222 ) +#define HBQT_TYPE_QTextDocumentFragment ( HBQT_TYPE_QTGUI_BASE + 223 ) +#define HBQT_TYPE_QTextDocumentWriter ( HBQT_TYPE_QTGUI_BASE + 224 ) +#define HBQT_TYPE_QTextEdit ( HBQT_TYPE_QTGUI_BASE + 225 ) +#define HBQT_TYPE_QTextFormat ( HBQT_TYPE_QTGUI_BASE + 226 ) +#define HBQT_TYPE_QTextFragment ( HBQT_TYPE_QTGUI_BASE + 227 ) +#define HBQT_TYPE_QTextFrame ( HBQT_TYPE_QTGUI_BASE + 228 ) +#define HBQT_TYPE_QTextFrameFormat ( HBQT_TYPE_QTGUI_BASE + 229 ) +#define HBQT_TYPE_QTextImageFormat ( HBQT_TYPE_QTGUI_BASE + 230 ) +#define HBQT_TYPE_QTextInlineObject ( HBQT_TYPE_QTGUI_BASE + 231 ) +#define HBQT_TYPE_QTextItem ( HBQT_TYPE_QTGUI_BASE + 232 ) +#define HBQT_TYPE_QTextLayout ( HBQT_TYPE_QTGUI_BASE + 233 ) +#define HBQT_TYPE_QTextLength ( HBQT_TYPE_QTGUI_BASE + 234 ) +#define HBQT_TYPE_QTextLine ( HBQT_TYPE_QTGUI_BASE + 235 ) +#define HBQT_TYPE_QTextList ( HBQT_TYPE_QTGUI_BASE + 236 ) +#define HBQT_TYPE_QTextListFormat ( HBQT_TYPE_QTGUI_BASE + 237 ) +#define HBQT_TYPE_QTextObject ( HBQT_TYPE_QTGUI_BASE + 238 ) +#define HBQT_TYPE_QTextOption ( HBQT_TYPE_QTGUI_BASE + 239 ) +#define HBQT_TYPE_QTextTableFormat ( HBQT_TYPE_QTGUI_BASE + 240 ) +#define HBQT_TYPE_QTimeEdit ( HBQT_TYPE_QTGUI_BASE + 241 ) +#define HBQT_TYPE_QToolBar ( HBQT_TYPE_QTGUI_BASE + 242 ) +#define HBQT_TYPE_QToolBox ( HBQT_TYPE_QTGUI_BASE + 243 ) +#define HBQT_TYPE_QToolButton ( HBQT_TYPE_QTGUI_BASE + 244 ) +#define HBQT_TYPE_QTransform ( HBQT_TYPE_QTGUI_BASE + 245 ) +#define HBQT_TYPE_QTreeView ( HBQT_TYPE_QTGUI_BASE + 246 ) +#define HBQT_TYPE_QTreeWidget ( HBQT_TYPE_QTGUI_BASE + 247 ) +#define HBQT_TYPE_QTreeWidgetItem ( HBQT_TYPE_QTGUI_BASE + 248 ) +#define HBQT_TYPE_QValidator ( HBQT_TYPE_QTGUI_BASE + 249 ) +#define HBQT_TYPE_QVBoxLayout ( HBQT_TYPE_QTGUI_BASE + 250 ) +#define HBQT_TYPE_QWheelEvent ( HBQT_TYPE_QTGUI_BASE + 251 ) +#define HBQT_TYPE_QWidget ( HBQT_TYPE_QTGUI_BASE + 252 ) +#define HBQT_TYPE_QWidgetAction ( HBQT_TYPE_QTGUI_BASE + 253 ) +#define HBQT_TYPE_QWidgetItem ( HBQT_TYPE_QTGUI_BASE + 254 ) +#define HBQT_TYPE_QWindowsStyle ( HBQT_TYPE_QTGUI_BASE + 255 ) +#define HBQT_TYPE_QWindowStateChangeEvent ( HBQT_TYPE_QTGUI_BASE + 256 ) +#define HBQT_TYPE_QWizard ( HBQT_TYPE_QTGUI_BASE + 257 ) +#define HBQT_TYPE_QWizardPage ( HBQT_TYPE_QTGUI_BASE + 258 ) +#define HBQT_TYPE_QUiLoader ( HBQT_TYPE_QTGUI_BASE + 259 ) #endif /* __HBQTGUI_H */ diff --git a/harbour/contrib/hbqt/qtgui/qth/QDoubleValidator.qth b/harbour/contrib/hbqt/qtgui/qth/QDoubleValidator.qth new file mode 100644 index 0000000000..add924a01e --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/qth/QDoubleValidator.qth @@ -0,0 +1,112 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT Source Generator for Harbour + * + * Copyright 2009 Pritpal Bedi + * www - http://www.harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ +/*----------------------------------------------------------------------*/ +; +; Header File to Generate QT Wrapper Sources +; + + +QObject = +Inherits = QValidator +Type = +New = +Destructor = + + + +#include + + +/* QDoubleValidator ( QObject * parent ) + * QDoubleValidator ( double bottom, double top, int decimals, QObject * parent ) + * ~QDoubleValidator () + */ +HB_FUNC( QT_QDOUBLEVALIDATOR ) +{ + if( hb_pcount() >= 3 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) ) + { + hb_retptr( new QDoubleValidator( hb_parnd( 1 ), hb_parnd( 2 ), hb_parni( 3 ), HB_ISPOINTER( 4 ) ? hbqt_par_QObject( 4 ) : 0 ) ); + } + else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) + { + hb_retptr( new QDoubleValidator( hbqt_par_QObject( 1 ) ) ); + } +} + + + +enum State { Invalid, Intermediate, Acceptable } +enum Notation { StandardNotation, ScientificNotation } + + + +double bottom () const +int decimals () const +Notation notation () const +void setBottom ( double ) +void setDecimals ( int ) +void setNotation ( Notation ) +virtual void setRange ( double minimum, double maximum, int decimals = 0 ) +void setTop ( double ) +double top () const +//virtual QValidator::State validate ( const QString & input, const int & pos ) const + + + + + + + + + + + diff --git a/harbour/contrib/hbqt/qtgui/qth/QIntValidator.qth b/harbour/contrib/hbqt/qtgui/qth/QIntValidator.qth new file mode 100644 index 0000000000..067a061f46 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/qth/QIntValidator.qth @@ -0,0 +1,107 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT Source Generator for Harbour + * + * Copyright 2009 Pritpal Bedi + * www - http://www.harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ +/*----------------------------------------------------------------------*/ +; +; Header File to Generate QT Wrapper Sources +; + + +QObject = +Inherits = QValidator +Type = +New = +Destructor = + + + +#include + + +/* QIntValidator ( QObject * parent ) + * QIntValidator ( int minimum, int maximum, QObject * parent ) +* ~QIntValidator () + */ +HB_FUNC( QT_QINTVALIDATOR ) +{ + if( hb_pcount() == 3 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISPOINTER( 3 ) ) + { + hb_retptr( new QIntValidator( hb_parni( 1 ), hb_parni( 2 ), hbqt_par_QObject( 3 ) ) ); + } + else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) + { + hb_retptr( new QIntValidator( hbqt_par_QObject( 1 ) ) ); + } +} + + + +enum State { Invalid, Intermediate, Acceptable } + + + +int bottom () const +void setBottom ( int ) +virtual void setRange ( int bottom, int top ) +void setTop ( int ) +int top () const +//virtual QValidator::State validate ( QString & input, int & pos ) const + + + + + + + + + + + diff --git a/harbour/contrib/hbqt/qtgui/qth/QRegExpValidator.qth b/harbour/contrib/hbqt/qtgui/qth/QRegExpValidator.qth new file mode 100644 index 0000000000..29dfb77e09 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/qth/QRegExpValidator.qth @@ -0,0 +1,104 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT Source Generator for Harbour + * + * Copyright 2009 Pritpal Bedi + * www - http://www.harbour-project.org + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this software; see the file COPYING. If not, write to + * the Free Software Foundation, Inc., 59 Temple Place, Suite 330, + * Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/). + * + * As a special exception, the Harbour Project gives permission for + * additional uses of the text contained in its release of Harbour. + * + * The exception is that, if you link the Harbour libraries with other + * files to produce an executable, this does not by itself cause the + * resulting executable to be covered by the GNU General Public License. + * Your use of that executable is in no way restricted on account of + * linking the Harbour library code into it. + * + * This exception does not however invalidate any other reasons why + * the executable file might be covered by the GNU General Public License. + * + * This exception applies only to the code released by the Harbour + * Project under the name Harbour. If you copy code from other + * Harbour Project or Free Software Foundation releases into a copy of + * Harbour, as the General Public License permits, the exception does + * not apply to the code that you add in this way. To avoid misleading + * anyone as to the status of such modified files, you must delete + * this exception notice from them. + * + * If you write modifications of your own for Harbour, it is your choice + * whether to permit this exception to apply to your modifications. + * If you do not wish that, delete this exception notice. + * + */ +/*----------------------------------------------------------------------*/ +; +; Header File to Generate QT Wrapper Sources +; + + +QObject = +Inherits = QValidator +Type = +New = +Destructor = + + + +#include + + +/* QRegExpValidator ( QObject * parent ) + * QRegExpValidator ( const QRegExp & rx, QObject * parent ) + * ~QRegExpValidator () + */ +HB_FUNC( QT_QREGEXPVALIDATOR ) +{ + if( hb_pcount() == 2 && HB_ISPOINTER( 1 ) && HB_ISPOINTER( 2 ) ) + { + hb_retptr( new QRegExpValidator( *hbqt_par_QRegExp( 1 ), hbqt_par_QObject( 2 ) ) ); + } + else if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) ) + { + hb_retptr( new QRegExpValidator( hbqt_par_QObject( 1 ) ) ); + } +} + + + +enum State { Invalid, Intermediate, Acceptable } + + + +const QRegExp & regExp () const +void setRegExp ( const QRegExp & rx ) +//virtual QValidator::State validate ( QString & input, int & pos ) const + + + + + + + + + + + diff --git a/harbour/contrib/hbqt/utils/qtgui.qtp b/harbour/contrib/hbqt/utils/qtgui.qtp index c7e6767860..2966dd5878 100644 --- a/harbour/contrib/hbqt/utils/qtgui.qtp +++ b/harbour/contrib/hbqt/utils/qtgui.qtp @@ -51,6 +51,7 @@ QDialog.qth QDirModel.qth QDockWidget.qth QDoubleSpinBox.qth +QDoubleValidator.qth QDrag.qth QDragEnterEvent.qth QDragLeaveEvent.qth @@ -114,6 +115,7 @@ QImageWriter.qth QInputDialog.qth QInputEvent.qth QInputMethodEvent.qth +QIntValidator.qth QItemDelegate.qth ; QItemEditorCreator.qth QItemEditorCreatorBase.qth @@ -164,6 +166,7 @@ QProgressDialog.qth QPushButton.qth QRadialGradient.qth QRadioButton.qth +QRegExpValidator.qth QRegion.qth QResizeEvent.qth QScrollArea.qth