2010-10-06 08:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
+ contrib/hbqt/qtgui/doc/en/class_qcommonstyle.txt
+ contrib/hbqt/qtgui/doc/en/class_qdateedit.txt
+ contrib/hbqt/qtgui/doc/en/class_qdragenterevent.txt
+ contrib/hbqt/qtgui/doc/en/class_qdragleaveevent.txt
+ contrib/hbqt/qtgui/doc/en/class_qhboxlayout.txt
+ contrib/hbqt/qtgui/doc/en/class_qhideevent.txt
+ contrib/hbqt/qtgui/doc/en/class_qradiobutton.txt
+ contrib/hbqt/qtgui/doc/en/class_qscrollbar.txt
+ contrib/hbqt/qtgui/doc/en/class_qshowevent.txt
+ contrib/hbqt/qtgui/doc/en/class_qsizegrip.txt
+ contrib/hbqt/qtgui/doc/en/class_qstylehintreturn.txt
+ contrib/hbqt/qtgui/doc/en/class_qstylehintreturnmask.txt
+ contrib/hbqt/qtgui/doc/en/class_qstylehintreturnvariant.txt
+ contrib/hbqt/qtgui/doc/en/class_qtextblockgroup.txt
+ contrib/hbqt/qtgui/doc/en/class_qtimeedit.txt
+ contrib/hbqt/qtgui/doc/en/class_qvboxlayout.txt
+ contrib/hbqt/qtgui/doc/en/class_qwindowsstyle.txt
+ Added: missing doc files.
+ contrib/hbqt/qtgui/qth/QSortFilterProxyModel.qth
+ Added: new class, requeted on HMG forums.
+ contrib/hbqt/qtgui/g/QSortFilterProxyModel.cpp
+ contrib/hbqt/qtgui/g/TQSortFilterProxyModel.prg
+ contrib/hbqt/qtgui/doc/en/class_qsortfilterproxymodel.txt
+ Re-generated.
* contrib/hbqt/qtgui/g/filelist.hbm
* contrib/hbqt/qtgui/g/hbqtgui.h
! Re-generated.
This commit is contained in:
@@ -16,6 +16,38 @@
|
||||
The license applies to all entries newer than 2009-04-28.
|
||||
*/
|
||||
|
||||
2010-10-06 08:47 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qcommonstyle.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qdateedit.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qdragenterevent.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qdragleaveevent.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qhboxlayout.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qhideevent.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qradiobutton.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qscrollbar.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qshowevent.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qsizegrip.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qstylehintreturn.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qstylehintreturnmask.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qstylehintreturnvariant.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qtextblockgroup.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qtimeedit.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qvboxlayout.txt
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qwindowsstyle.txt
|
||||
+ Added: missing doc files.
|
||||
|
||||
+ contrib/hbqt/qtgui/qth/QSortFilterProxyModel.qth
|
||||
+ Added: new class, requeted on HMG forums.
|
||||
|
||||
+ contrib/hbqt/qtgui/g/QSortFilterProxyModel.cpp
|
||||
+ contrib/hbqt/qtgui/g/TQSortFilterProxyModel.prg
|
||||
+ contrib/hbqt/qtgui/doc/en/class_qsortfilterproxymodel.txt
|
||||
+ Re-generated.
|
||||
|
||||
* contrib/hbqt/qtgui/g/filelist.hbm
|
||||
* contrib/hbqt/qtgui/g/hbqtgui.h
|
||||
! Re-generated.
|
||||
|
||||
2010-10-06 07:19 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
|
||||
* harbour/utils/hbrun/hbrun.prg
|
||||
! fixed typo in my last commit - Thanks to Frank Van Nuffel for
|
||||
|
||||
50
harbour/contrib/hbqt/qtgui/doc/en/class_qcommonstyle.txt
Normal file
50
harbour/contrib/hbqt/qtgui/doc/en/class_qcommonstyle.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QCommonStyle()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qcommonstyle.html
|
||||
* $ONELINER$
|
||||
* Creates a new QCommonStyle object.
|
||||
* $INHERITS$
|
||||
* QStyle
|
||||
* $SYNTAX$
|
||||
* QCommonStyle( ... )
|
||||
* QCommonStyle():from( pPtr_OR_oObj_of_type_QCommonStyle )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QCommonStyle
|
||||
* $METHODS$
|
||||
* :QCommonStyle() -> oQCommonStyle
|
||||
*
|
||||
* $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/TQCommonStyle.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QCommonStyle.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
51
harbour/contrib/hbqt/qtgui/doc/en/class_qdateedit.txt
Normal file
51
harbour/contrib/hbqt/qtgui/doc/en/class_qdateedit.txt
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QDateEdit()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qdateedit.html
|
||||
* $ONELINER$
|
||||
* Creates a new QDateEdit object.
|
||||
* $INHERITS$
|
||||
* QDateTimeEdit
|
||||
* $SYNTAX$
|
||||
* QDateEdit( ... )
|
||||
* QDateEdit():from( pPtr_OR_oObj_of_type_QDateEdit )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QDateEdit
|
||||
* $METHODS$
|
||||
* :QDateEdit( oQWidget ) -> oQDateEdit
|
||||
* :QDateEdit( oQDate, oQWidget ) -> oQDateEdit
|
||||
*
|
||||
* $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/TQDateEdit.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QDateEdit.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
50
harbour/contrib/hbqt/qtgui/doc/en/class_qdragenterevent.txt
Normal file
50
harbour/contrib/hbqt/qtgui/doc/en/class_qdragenterevent.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QDragEnterEvent()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qdragenterevent.html
|
||||
* $ONELINER$
|
||||
* Creates a new QDragEnterEvent object.
|
||||
* $INHERITS$
|
||||
* QDragMoveEvent
|
||||
* $SYNTAX$
|
||||
* QDragEnterEvent( ... )
|
||||
* QDragEnterEvent():from( pPtr_OR_oObj_of_type_QDragEnterEvent )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QDragEnterEvent
|
||||
* $METHODS$
|
||||
* :QDragEnterEvent( oQPoint, nActions, oQMimeData, nButtons, nModifiers ) -> oQDragEnterEvent
|
||||
*
|
||||
* $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/TQDragEnterEvent.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QDragEnterEvent.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
50
harbour/contrib/hbqt/qtgui/doc/en/class_qdragleaveevent.txt
Normal file
50
harbour/contrib/hbqt/qtgui/doc/en/class_qdragleaveevent.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QDragLeaveEvent()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qdragleaveevent.html
|
||||
* $ONELINER$
|
||||
* Creates a new QDragLeaveEvent object.
|
||||
* $INHERITS$
|
||||
* QEvent
|
||||
* $SYNTAX$
|
||||
* QDragLeaveEvent( ... )
|
||||
* QDragLeaveEvent():from( pPtr_OR_oObj_of_type_QDragLeaveEvent )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QDragLeaveEvent
|
||||
* $METHODS$
|
||||
* :QDragLeaveEvent() -> oQDragLeaveEvent
|
||||
*
|
||||
* $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/TQDragLeaveEvent.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QDragLeaveEvent.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
51
harbour/contrib/hbqt/qtgui/doc/en/class_qhboxlayout.txt
Normal file
51
harbour/contrib/hbqt/qtgui/doc/en/class_qhboxlayout.txt
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QHBoxLayout()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qhboxlayout.html
|
||||
* $ONELINER$
|
||||
* Creates a new QHBoxLayout object.
|
||||
* $INHERITS$
|
||||
* QBoxLayout
|
||||
* $SYNTAX$
|
||||
* QHBoxLayout( ... )
|
||||
* QHBoxLayout():from( pPtr_OR_oObj_of_type_QHBoxLayout )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QHBoxLayout
|
||||
* $METHODS$
|
||||
* :QHBoxLayout() -> oQHBoxLayout
|
||||
* :QHBoxLayout( oQWidget ) -> oQHBoxLayout
|
||||
*
|
||||
* $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/TQHBoxLayout.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QHBoxLayout.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
50
harbour/contrib/hbqt/qtgui/doc/en/class_qhideevent.txt
Normal file
50
harbour/contrib/hbqt/qtgui/doc/en/class_qhideevent.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QHideEvent()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qhideevent.html
|
||||
* $ONELINER$
|
||||
* Creates a new QHideEvent object.
|
||||
* $INHERITS$
|
||||
* QEvent
|
||||
* $SYNTAX$
|
||||
* QHideEvent( ... )
|
||||
* QHideEvent():from( pPtr_OR_oObj_of_type_QHideEvent )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QHideEvent
|
||||
* $METHODS$
|
||||
* :QHideEvent() -> oQHideEvent
|
||||
*
|
||||
* $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/TQHideEvent.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QHideEvent.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
51
harbour/contrib/hbqt/qtgui/doc/en/class_qradiobutton.txt
Normal file
51
harbour/contrib/hbqt/qtgui/doc/en/class_qradiobutton.txt
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QRadioButton()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qradiobutton.html
|
||||
* $ONELINER$
|
||||
* Creates a new QRadioButton object.
|
||||
* $INHERITS$
|
||||
* QAbstractButton
|
||||
* $SYNTAX$
|
||||
* QRadioButton( ... )
|
||||
* QRadioButton():from( pPtr_OR_oObj_of_type_QRadioButton )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QRadioButton
|
||||
* $METHODS$
|
||||
* :QRadioButton( oQWidget ) -> oQRadioButton
|
||||
* :QRadioButton( cText, oQWidget ) -> oQRadioButton
|
||||
*
|
||||
* $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/TQRadioButton.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QRadioButton.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
51
harbour/contrib/hbqt/qtgui/doc/en/class_qscrollbar.txt
Normal file
51
harbour/contrib/hbqt/qtgui/doc/en/class_qscrollbar.txt
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QScrollBar()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qscrollbar.html
|
||||
* $ONELINER$
|
||||
* Creates a new QScrollBar object.
|
||||
* $INHERITS$
|
||||
* QAbstractSlider
|
||||
* $SYNTAX$
|
||||
* QScrollBar( ... )
|
||||
* QScrollBar():from( pPtr_OR_oObj_of_type_QScrollBar )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QScrollBar
|
||||
* $METHODS$
|
||||
* :QScrollBar( oQWidget ) -> oQScrollBar
|
||||
* :QScrollBar( nOrientation, oQWidget ) -> oQScrollBar
|
||||
*
|
||||
* $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/TQScrollBar.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QScrollBar.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
50
harbour/contrib/hbqt/qtgui/doc/en/class_qshowevent.txt
Normal file
50
harbour/contrib/hbqt/qtgui/doc/en/class_qshowevent.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QShowEvent()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qshowevent.html
|
||||
* $ONELINER$
|
||||
* Creates a new QShowEvent object.
|
||||
* $INHERITS$
|
||||
* QEvent
|
||||
* $SYNTAX$
|
||||
* QShowEvent( ... )
|
||||
* QShowEvent():from( pPtr_OR_oObj_of_type_QShowEvent )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QShowEvent
|
||||
* $METHODS$
|
||||
* :QShowEvent() -> oQShowEvent
|
||||
*
|
||||
* $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/TQShowEvent.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QShowEvent.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
50
harbour/contrib/hbqt/qtgui/doc/en/class_qsizegrip.txt
Normal file
50
harbour/contrib/hbqt/qtgui/doc/en/class_qsizegrip.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QSizeGrip()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qsizegrip.html
|
||||
* $ONELINER$
|
||||
* Creates a new QSizeGrip object.
|
||||
* $INHERITS$
|
||||
* QWidget
|
||||
* $SYNTAX$
|
||||
* QSizeGrip( ... )
|
||||
* QSizeGrip():from( pPtr_OR_oObj_of_type_QSizeGrip )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QSizeGrip
|
||||
* $METHODS$
|
||||
* :QSizeGrip( oQWidget ) -> oQSizeGrip
|
||||
*
|
||||
* $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/TQSizeGrip.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QSizeGrip.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QSortFilterProxyModel()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qsortfilterproxymodel.html
|
||||
* $ONELINER$
|
||||
* Creates a new QSortFilterProxyModel object.
|
||||
* $INHERITS$
|
||||
* QAbstractProxyModel
|
||||
* $SYNTAX$
|
||||
* QSortFilterProxyModel( ... )
|
||||
* QSortFilterProxyModel():from( pPtr_OR_oObj_of_type_QSortFilterProxyModel )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QSortFilterProxyModel
|
||||
* $METHODS$
|
||||
* :dynamicSortFilter() -> lBool
|
||||
* :filterCaseSensitivity() -> nQt_CaseSensitivity
|
||||
* :filterKeyColumn() -> nInt
|
||||
* :filterRegExp() -> oQRegExp
|
||||
* :filterRole() -> nInt
|
||||
* :isSortLocaleAware() -> lBool
|
||||
* :mapFromSource( oQModelIndex ) -> oQModelIndex
|
||||
* :mapToSource( oQModelIndex ) -> oQModelIndex
|
||||
* :setDynamicSortFilter( lEnable ) -> NIL
|
||||
* :setFilterCaseSensitivity( nCs ) -> NIL
|
||||
* :setFilterKeyColumn( nColumn ) -> NIL
|
||||
* :setFilterRegExp( oQRegExp ) -> NIL
|
||||
* :setFilterRole( nRole ) -> NIL
|
||||
* :setSortCaseSensitivity( nCs ) -> NIL
|
||||
* :setSortLocaleAware( lOn ) -> NIL
|
||||
* :setSortRole( nRole ) -> NIL
|
||||
* :sortCaseSensitivity() -> nQt_CaseSensitivity
|
||||
* :sortColumn() -> nInt
|
||||
* :sortOrder() -> nQt_SortOrder
|
||||
* :sortRole() -> nInt
|
||||
* :invalidate() -> NIL
|
||||
* :setFilterFixedString( cPattern ) -> NIL
|
||||
* :setFilterRegExp( cPattern ) -> NIL
|
||||
* :setFilterWildcard( cPattern ) -> 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/TQSortFilterProxyModel.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QSortFilterProxyModel.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
50
harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturn.txt
Normal file
50
harbour/contrib/hbqt/qtgui/doc/en/class_qstylehintreturn.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QStyleHintReturn()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qstylehintreturn.html
|
||||
* $ONELINER$
|
||||
* Creates a new QStyleHintReturn object.
|
||||
* $INHERITS$
|
||||
*
|
||||
* $SYNTAX$
|
||||
* QStyleHintReturn( ... )
|
||||
* QStyleHintReturn():from( pPtr_OR_oObj_of_type_QStyleHintReturn )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QStyleHintReturn
|
||||
* $METHODS$
|
||||
* :QStyleHintReturn( nVersion, nType ) -> oQStyleHintReturn
|
||||
*
|
||||
* $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/TQStyleHintReturn.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QStyleHintReturn.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QStyleHintReturnMask()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qstylehintreturnmask.html
|
||||
* $ONELINER$
|
||||
* Creates a new QStyleHintReturnMask object.
|
||||
* $INHERITS$
|
||||
* QStyleHintReturn
|
||||
* $SYNTAX$
|
||||
* QStyleHintReturnMask( ... )
|
||||
* QStyleHintReturnMask():from( pPtr_OR_oObj_of_type_QStyleHintReturnMask )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QStyleHintReturnMask
|
||||
* $METHODS$
|
||||
* :QStyleHintReturnMask() -> oQStyleHintReturnMask
|
||||
*
|
||||
* $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/TQStyleHintReturnMask.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QStyleHintReturnMask.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QStyleHintReturnVariant()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qstylehintreturnvariant.html
|
||||
* $ONELINER$
|
||||
* Creates a new QStyleHintReturnVariant object.
|
||||
* $INHERITS$
|
||||
* QStyleHintReturn
|
||||
* $SYNTAX$
|
||||
* QStyleHintReturnVariant( ... )
|
||||
* QStyleHintReturnVariant():from( pPtr_OR_oObj_of_type_QStyleHintReturnVariant )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QStyleHintReturnVariant
|
||||
* $METHODS$
|
||||
* :QStyleHintReturnVariant() -> oQStyleHintReturnVariant
|
||||
*
|
||||
* $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/TQStyleHintReturnVariant.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QStyleHintReturnVariant.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
50
harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockgroup.txt
Normal file
50
harbour/contrib/hbqt/qtgui/doc/en/class_qtextblockgroup.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QTextBlockGroup()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qtextblockgroup.html
|
||||
* $ONELINER$
|
||||
* Creates a new QTextBlockGroup object.
|
||||
* $INHERITS$
|
||||
* QTextObject
|
||||
* $SYNTAX$
|
||||
* QTextBlockGroup( ... )
|
||||
* QTextBlockGroup():from( pPtr_OR_oObj_of_type_QTextBlockGroup )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QTextBlockGroup
|
||||
* $METHODS$
|
||||
* :QTextBlockGroup( oQTextDocument ) -> oQTextBlockGroup
|
||||
*
|
||||
* $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/TQTextBlockGroup.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QTextBlockGroup.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
51
harbour/contrib/hbqt/qtgui/doc/en/class_qtimeedit.txt
Normal file
51
harbour/contrib/hbqt/qtgui/doc/en/class_qtimeedit.txt
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QTimeEdit()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qtimeedit.html
|
||||
* $ONELINER$
|
||||
* Creates a new QTimeEdit object.
|
||||
* $INHERITS$
|
||||
* QDateTimeEdit
|
||||
* $SYNTAX$
|
||||
* QTimeEdit( ... )
|
||||
* QTimeEdit():from( pPtr_OR_oObj_of_type_QTimeEdit )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QTimeEdit
|
||||
* $METHODS$
|
||||
* :QTimeEdit( oQWidget ) -> oQTimeEdit
|
||||
* :QTimeEdit( oQTime, oQWidget ) -> oQTimeEdit
|
||||
*
|
||||
* $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/TQTimeEdit.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QTimeEdit.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
51
harbour/contrib/hbqt/qtgui/doc/en/class_qvboxlayout.txt
Normal file
51
harbour/contrib/hbqt/qtgui/doc/en/class_qvboxlayout.txt
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QVBoxLayout()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qvboxlayout.html
|
||||
* $ONELINER$
|
||||
* Creates a new QVBoxLayout object.
|
||||
* $INHERITS$
|
||||
* QBoxLayout
|
||||
* $SYNTAX$
|
||||
* QVBoxLayout( ... )
|
||||
* QVBoxLayout():from( pPtr_OR_oObj_of_type_QVBoxLayout )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QVBoxLayout
|
||||
* $METHODS$
|
||||
* :QVBoxLayout() -> oQVBoxLayout
|
||||
* :QVBoxLayout( oQWidget ) -> oQVBoxLayout
|
||||
*
|
||||
* $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/TQVBoxLayout.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QVBoxLayout.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
50
harbour/contrib/hbqt/qtgui/doc/en/class_qwindowsstyle.txt
Normal file
50
harbour/contrib/hbqt/qtgui/doc/en/class_qwindowsstyle.txt
Normal file
@@ -0,0 +1,50 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/* $DOC$
|
||||
* $TEMPLATE$
|
||||
* Class
|
||||
* $NAME$
|
||||
* QWindowsStyle()
|
||||
* $CATEGORY$
|
||||
* Harbour Bindings for Qt
|
||||
* $SUBCATEGORY$
|
||||
* GUI
|
||||
* $EXTERNALLINK$
|
||||
* http://doc.trolltech.com/4.5/qwindowsstyle.html
|
||||
* $ONELINER$
|
||||
* Creates a new QWindowsStyle object.
|
||||
* $INHERITS$
|
||||
* QCommonStyle
|
||||
* $SYNTAX$
|
||||
* QWindowsStyle( ... )
|
||||
* QWindowsStyle():from( pPtr_OR_oObj_of_type_QWindowsStyle )
|
||||
*
|
||||
* $ARGUMENTS$
|
||||
*
|
||||
* $RETURNS$
|
||||
* An instance of the object of type QWindowsStyle
|
||||
* $METHODS$
|
||||
* :QWindowsStyle() -> oQWindowsStyle
|
||||
*
|
||||
* $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/TQWindowsStyle.prg
|
||||
* C++ wrappers : contrib/hbqt/qtgui/QWindowsStyle.cpp
|
||||
* Library : hbqtgui
|
||||
* $END$
|
||||
*/
|
||||
494
harbour/contrib/hbqt/qtgui/g/QSortFilterProxyModel.cpp
Normal file
494
harbour/contrib/hbqt/qtgui/g/QSortFilterProxyModel.cpp
Normal file
@@ -0,0 +1,494 @@
|
||||
/*
|
||||
* $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 <bedipritpal@hotmail.com>
|
||||
* 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
/* C R E D I T S */
|
||||
/*----------------------------------------------------------------------*/
|
||||
/*
|
||||
* Marcos Antonio Gambeta
|
||||
* for providing first ever prototype parsing methods. Though the current
|
||||
* implementation is diametrically different then what he proposed, still
|
||||
* current code shaped on those footsteps.
|
||||
*
|
||||
* Viktor Szakats
|
||||
* for directing the project with futuristic vision;
|
||||
* for designing and maintaining a complex build system for hbQT, hbIDE;
|
||||
* for introducing many constructs on PRG and C++ levels;
|
||||
* for streamlining signal/slots and events management classes;
|
||||
*
|
||||
* Istvan Bisz
|
||||
* for introducing QPointer<> concept in the generator;
|
||||
* for testing the library on numerous accounts;
|
||||
* for showing a way how a GC pointer can be detached;
|
||||
*
|
||||
* Francesco Perillo
|
||||
* for taking keen interest in hbQT development and peeking the code;
|
||||
* for providing tips here and there to improve the code quality;
|
||||
* for hitting bulls eye to describe why few objects need GC detachment;
|
||||
*
|
||||
* Carlos Bacco
|
||||
* for implementing HBQT_TYPE_Q*Class enums;
|
||||
* for peeking into the code and suggesting optimization points;
|
||||
*
|
||||
* Przemyslaw Czerpak
|
||||
* for providing tips and trick to manipulate HVM internals to the best
|
||||
* of its use and always showing a path when we get stuck;
|
||||
* A true tradition of a MASTER...
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbqtcore.h"
|
||||
#include "hbqtgui.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
* Constructed[ 24/24 [ 100.00% ] ]
|
||||
*
|
||||
*/
|
||||
|
||||
#include <QtCore/QPointer>
|
||||
|
||||
#include <QtGui/QSortFilterProxyModel>
|
||||
|
||||
|
||||
/*
|
||||
* QSortFilterProxyModel ( QObject * parent = 0 )
|
||||
* ~QSortFilterProxyModel ()
|
||||
*/
|
||||
|
||||
typedef struct
|
||||
{
|
||||
QPointer< QSortFilterProxyModel > ph;
|
||||
bool bNew;
|
||||
PHBQT_GC_FUNC func;
|
||||
int type;
|
||||
} HBQT_GC_T_QSortFilterProxyModel;
|
||||
|
||||
HBQT_GC_FUNC( hbqt_gcRelease_QSortFilterProxyModel )
|
||||
{
|
||||
QSortFilterProxyModel * ph = NULL ;
|
||||
HBQT_GC_T_QSortFilterProxyModel * p = ( HBQT_GC_T_QSortFilterProxyModel * ) 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_QSortFilterProxyModel /.\\ ", (void*) ph, (void*) p->ph ) );
|
||||
delete ( p->ph );
|
||||
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QSortFilterProxyModel \\./ ", (void*) ph, (void*) p->ph ) );
|
||||
p->ph = NULL;
|
||||
}
|
||||
else
|
||||
{
|
||||
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NO__rel_QSortFilterProxyModel ", ph ) );
|
||||
p->ph = NULL;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QSortFilterProxyModel : Object already deleted!", ph ) );
|
||||
p->ph = NULL;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QSortFilterProxyModel : Object not created with new=true", ph ) );
|
||||
p->ph = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
void * hbqt_gcAllocate_QSortFilterProxyModel( void * pObj, bool bNew )
|
||||
{
|
||||
HBQT_GC_T_QSortFilterProxyModel * p = ( HBQT_GC_T_QSortFilterProxyModel * ) hb_gcAllocate( sizeof( HBQT_GC_T_QSortFilterProxyModel ), hbqt_gcFuncs() );
|
||||
|
||||
new( & p->ph ) QPointer< QSortFilterProxyModel >( ( QSortFilterProxyModel * ) pObj );
|
||||
p->bNew = bNew;
|
||||
p->func = hbqt_gcRelease_QSortFilterProxyModel;
|
||||
p->type = HBQT_TYPE_QSortFilterProxyModel;
|
||||
|
||||
if( bNew )
|
||||
{
|
||||
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QSortFilterProxyModel under p->pq", pObj ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QSortFilterProxyModel", pObj ) );
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL )
|
||||
{
|
||||
QSortFilterProxyModel * pObj = NULL;
|
||||
|
||||
if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
|
||||
{
|
||||
pObj = new QSortFilterProxyModel( hbqt_par_QObject( 1 ) ) ;
|
||||
}
|
||||
else
|
||||
{
|
||||
pObj = new QSortFilterProxyModel() ;
|
||||
}
|
||||
|
||||
hb_retptrGC( hbqt_gcAllocate_QSortFilterProxyModel( ( void * ) pObj, true ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool dynamicSortFilter () const
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_DYNAMICSORTFILTER )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
hb_retl( ( p )->dynamicSortFilter() );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::CaseSensitivity filterCaseSensitivity () const
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_FILTERCASESENSITIVITY )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
hb_retni( ( Qt::CaseSensitivity ) ( p )->filterCaseSensitivity() );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* int filterKeyColumn () const
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_FILTERKEYCOLUMN )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
hb_retni( ( p )->filterKeyColumn() );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* QRegExp filterRegExp () const
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_FILTERREGEXP )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
hb_retptrGC( hbqt_gcAllocate_QRegExp( new QRegExp( ( p )->filterRegExp() ), true ) );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* int filterRole () const
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_FILTERROLE )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
hb_retni( ( p )->filterRole() );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* bool isSortLocaleAware () const
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_ISSORTLOCALEAWARE )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
hb_retl( ( p )->isSortLocaleAware() );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* virtual QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_MAPFROMSOURCE )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->mapFromSource( *hbqt_par_QModelIndex( 2 ) ) ), true ) );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* virtual QModelIndex mapToSource ( const QModelIndex & proxyIndex ) const
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_MAPTOSOURCE )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
hb_retptrGC( hbqt_gcAllocate_QModelIndex( new QModelIndex( ( p )->mapToSource( *hbqt_par_QModelIndex( 2 ) ) ), true ) );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* void setDynamicSortFilter ( bool enable )
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETDYNAMICSORTFILTER )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
( p )->setDynamicSortFilter( hb_parl( 2 ) );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* void setFilterCaseSensitivity ( Qt::CaseSensitivity cs )
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERCASESENSITIVITY )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
( p )->setFilterCaseSensitivity( ( Qt::CaseSensitivity ) hb_parni( 2 ) );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* void setFilterKeyColumn ( int column )
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERKEYCOLUMN )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
( p )->setFilterKeyColumn( hb_parni( 2 ) );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* void setFilterRegExp ( const QRegExp & regExp )
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERREGEXP )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
( p )->setFilterRegExp( *hbqt_par_QRegExp( 2 ) );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* void setFilterRole ( int role )
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERROLE )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
( p )->setFilterRole( hb_parni( 2 ) );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* void setSortCaseSensitivity ( Qt::CaseSensitivity cs )
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETSORTCASESENSITIVITY )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
( p )->setSortCaseSensitivity( ( Qt::CaseSensitivity ) hb_parni( 2 ) );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* void setSortLocaleAware ( bool on )
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETSORTLOCALEAWARE )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
( p )->setSortLocaleAware( hb_parl( 2 ) );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* void setSortRole ( int role )
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETSORTROLE )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
( p )->setSortRole( hb_parni( 2 ) );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::CaseSensitivity sortCaseSensitivity () const
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SORTCASESENSITIVITY )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
hb_retni( ( Qt::CaseSensitivity ) ( p )->sortCaseSensitivity() );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* int sortColumn () const
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SORTCOLUMN )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
hb_retni( ( p )->sortColumn() );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::SortOrder sortOrder () const
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SORTORDER )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
hb_retni( ( Qt::SortOrder ) ( p )->sortOrder() );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* int sortRole () const
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SORTROLE )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
hb_retni( ( p )->sortRole() );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* void invalidate ()
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_INVALIDATE )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
( p )->invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* void setFilterFixedString ( const QString & pattern )
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERFIXEDSTRING )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
void * pText;
|
||||
( p )->setFilterFixedString( hb_parstr_utf8( 2, &pText, NULL ) );
|
||||
hb_strfree( pText );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* void setFilterRegExp ( const QString & pattern )
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERREGEXP_1 )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
void * pText;
|
||||
( p )->setFilterRegExp( hb_parstr_utf8( 2, &pText, NULL ) );
|
||||
hb_strfree( pText );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* void setFilterWildcard ( const QString & pattern )
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL_SETFILTERWILDCARD )
|
||||
{
|
||||
QSortFilterProxyModel * p = hbqt_par_QSortFilterProxyModel( 1 );
|
||||
if( p )
|
||||
{
|
||||
void * pText;
|
||||
( p )->setFilterWildcard( hb_parstr_utf8( 2, &pText, NULL ) );
|
||||
hb_strfree( pText );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
375
harbour/contrib/hbqt/qtgui/g/TQSortFilterProxyModel.prg
Normal file
375
harbour/contrib/hbqt/qtgui/g/TQSortFilterProxyModel.prg
Normal file
@@ -0,0 +1,375 @@
|
||||
/*
|
||||
* $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 <bedipritpal@hotmail.com>
|
||||
* 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
/* C R E D I T S */
|
||||
/*----------------------------------------------------------------------*/
|
||||
/*
|
||||
* Marcos Antonio Gambeta
|
||||
* for providing first ever prototype parsing methods. Though the current
|
||||
* implementation is diametrically different then what he proposed, still
|
||||
* current code shaped on those footsteps.
|
||||
*
|
||||
* Viktor Szakats
|
||||
* for directing the project with futuristic vision;
|
||||
* for designing and maintaining a complex build system for hbQT, hbIDE;
|
||||
* for introducing many constructs on PRG and C++ levels;
|
||||
* for streamlining signal/slots and events management classes;
|
||||
*
|
||||
* Istvan Bisz
|
||||
* for introducing QPointer<> concept in the generator;
|
||||
* for testing the library on numerous accounts;
|
||||
* for showing a way how a GC pointer can be detached;
|
||||
*
|
||||
* Francesco Perillo
|
||||
* for taking keen interest in hbQT development and peeking the code;
|
||||
* for providing tips here and there to improve the code quality;
|
||||
* for hitting bulls eye to describe why few objects need GC detachment;
|
||||
*
|
||||
* Carlos Bacco
|
||||
* for implementing HBQT_TYPE_Q*Class enums;
|
||||
* for peeking into the code and suggesting optimization points;
|
||||
*
|
||||
* Przemyslaw Czerpak
|
||||
* for providing tips and trick to manipulate HVM internals to the best
|
||||
* of its use and always showing a path when we get stuck;
|
||||
* A true tradition of a MASTER...
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
FUNCTION QSortFilterProxyModel( ... )
|
||||
RETURN HB_QSortFilterProxyModel():new( ... )
|
||||
|
||||
|
||||
CREATE CLASS QSortFilterProxyModel INHERIT HbQtObjectHandler, HB_QAbstractProxyModel FUNCTION HB_QSortFilterProxyModel
|
||||
|
||||
METHOD new( ... )
|
||||
|
||||
METHOD dynamicSortFilter // ( ) -> lBool
|
||||
METHOD filterCaseSensitivity // ( ) -> nQt_CaseSensitivity
|
||||
METHOD filterKeyColumn // ( ) -> nInt
|
||||
METHOD filterRegExp // ( ) -> oQRegExp
|
||||
METHOD filterRole // ( ) -> nInt
|
||||
METHOD isSortLocaleAware // ( ) -> lBool
|
||||
METHOD mapFromSource // ( oQModelIndex ) -> oQModelIndex
|
||||
METHOD mapToSource // ( oQModelIndex ) -> oQModelIndex
|
||||
METHOD setDynamicSortFilter // ( lEnable ) -> NIL
|
||||
METHOD setFilterCaseSensitivity // ( nCs ) -> NIL
|
||||
METHOD setFilterKeyColumn // ( nColumn ) -> NIL
|
||||
METHOD setFilterRegExp // ( oQRegExp ) -> NIL
|
||||
METHOD setFilterRole // ( nRole ) -> NIL
|
||||
METHOD setSortCaseSensitivity // ( nCs ) -> NIL
|
||||
METHOD setSortLocaleAware // ( lOn ) -> NIL
|
||||
METHOD setSortRole // ( nRole ) -> NIL
|
||||
METHOD sortCaseSensitivity // ( ) -> nQt_CaseSensitivity
|
||||
METHOD sortColumn // ( ) -> nInt
|
||||
METHOD sortOrder // ( ) -> nQt_SortOrder
|
||||
METHOD sortRole // ( ) -> nInt
|
||||
METHOD invalidate // ( ) -> NIL
|
||||
METHOD setFilterFixedString // ( cPattern ) -> NIL
|
||||
// ( cPattern ) -> NIL
|
||||
METHOD setFilterWildcard // ( cPattern ) -> NIL
|
||||
|
||||
ENDCLASS
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:new( ... )
|
||||
LOCAL p
|
||||
FOR EACH p IN { ... }
|
||||
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
|
||||
NEXT
|
||||
::pPtr := Qt_QSortFilterProxyModel( ... )
|
||||
RETURN Self
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:dynamicSortFilter( ... )
|
||||
SWITCH PCount()
|
||||
CASE 0
|
||||
RETURN Qt_QSortFilterProxyModel_dynamicSortFilter( ::pPtr, ... )
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:filterCaseSensitivity( ... )
|
||||
SWITCH PCount()
|
||||
CASE 0
|
||||
RETURN Qt_QSortFilterProxyModel_filterCaseSensitivity( ::pPtr, ... )
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:filterKeyColumn( ... )
|
||||
SWITCH PCount()
|
||||
CASE 0
|
||||
RETURN Qt_QSortFilterProxyModel_filterKeyColumn( ::pPtr, ... )
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:filterRegExp( ... )
|
||||
SWITCH PCount()
|
||||
CASE 0
|
||||
RETURN HB_QRegExp():from( Qt_QSortFilterProxyModel_filterRegExp( ::pPtr, ... ) )
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:filterRole( ... )
|
||||
SWITCH PCount()
|
||||
CASE 0
|
||||
RETURN Qt_QSortFilterProxyModel_filterRole( ::pPtr, ... )
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:isSortLocaleAware( ... )
|
||||
SWITCH PCount()
|
||||
CASE 0
|
||||
RETURN Qt_QSortFilterProxyModel_isSortLocaleAware( ::pPtr, ... )
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:mapFromSource( ... )
|
||||
SWITCH PCount()
|
||||
CASE 1
|
||||
DO CASE
|
||||
CASE hb_isObject( hb_pvalue( 1 ) )
|
||||
RETURN HB_QModelIndex():from( Qt_QSortFilterProxyModel_mapFromSource( ::pPtr, ... ) )
|
||||
ENDCASE
|
||||
EXIT
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:mapToSource( ... )
|
||||
SWITCH PCount()
|
||||
CASE 1
|
||||
DO CASE
|
||||
CASE hb_isObject( hb_pvalue( 1 ) )
|
||||
RETURN HB_QModelIndex():from( Qt_QSortFilterProxyModel_mapToSource( ::pPtr, ... ) )
|
||||
ENDCASE
|
||||
EXIT
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:setDynamicSortFilter( ... )
|
||||
SWITCH PCount()
|
||||
CASE 1
|
||||
DO CASE
|
||||
CASE hb_isLogical( hb_pvalue( 1 ) )
|
||||
RETURN Qt_QSortFilterProxyModel_setDynamicSortFilter( ::pPtr, ... )
|
||||
ENDCASE
|
||||
EXIT
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:setFilterCaseSensitivity( ... )
|
||||
SWITCH PCount()
|
||||
CASE 1
|
||||
DO CASE
|
||||
CASE hb_isNumeric( hb_pvalue( 1 ) )
|
||||
RETURN Qt_QSortFilterProxyModel_setFilterCaseSensitivity( ::pPtr, ... )
|
||||
ENDCASE
|
||||
EXIT
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:setFilterKeyColumn( ... )
|
||||
SWITCH PCount()
|
||||
CASE 1
|
||||
DO CASE
|
||||
CASE hb_isNumeric( hb_pvalue( 1 ) )
|
||||
RETURN Qt_QSortFilterProxyModel_setFilterKeyColumn( ::pPtr, ... )
|
||||
ENDCASE
|
||||
EXIT
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:setFilterRegExp( ... )
|
||||
SWITCH PCount()
|
||||
CASE 1
|
||||
DO CASE
|
||||
CASE hb_isChar( hb_pvalue( 1 ) )
|
||||
RETURN Qt_QSortFilterProxyModel_setFilterRegExp_1( ::pPtr, ... )
|
||||
CASE hb_isObject( hb_pvalue( 1 ) )
|
||||
RETURN Qt_QSortFilterProxyModel_setFilterRegExp( ::pPtr, ... )
|
||||
ENDCASE
|
||||
EXIT
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:setFilterRole( ... )
|
||||
SWITCH PCount()
|
||||
CASE 1
|
||||
DO CASE
|
||||
CASE hb_isNumeric( hb_pvalue( 1 ) )
|
||||
RETURN Qt_QSortFilterProxyModel_setFilterRole( ::pPtr, ... )
|
||||
ENDCASE
|
||||
EXIT
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:setSortCaseSensitivity( ... )
|
||||
SWITCH PCount()
|
||||
CASE 1
|
||||
DO CASE
|
||||
CASE hb_isNumeric( hb_pvalue( 1 ) )
|
||||
RETURN Qt_QSortFilterProxyModel_setSortCaseSensitivity( ::pPtr, ... )
|
||||
ENDCASE
|
||||
EXIT
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:setSortLocaleAware( ... )
|
||||
SWITCH PCount()
|
||||
CASE 1
|
||||
DO CASE
|
||||
CASE hb_isLogical( hb_pvalue( 1 ) )
|
||||
RETURN Qt_QSortFilterProxyModel_setSortLocaleAware( ::pPtr, ... )
|
||||
ENDCASE
|
||||
EXIT
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:setSortRole( ... )
|
||||
SWITCH PCount()
|
||||
CASE 1
|
||||
DO CASE
|
||||
CASE hb_isNumeric( hb_pvalue( 1 ) )
|
||||
RETURN Qt_QSortFilterProxyModel_setSortRole( ::pPtr, ... )
|
||||
ENDCASE
|
||||
EXIT
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:sortCaseSensitivity( ... )
|
||||
SWITCH PCount()
|
||||
CASE 0
|
||||
RETURN Qt_QSortFilterProxyModel_sortCaseSensitivity( ::pPtr, ... )
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:sortColumn( ... )
|
||||
SWITCH PCount()
|
||||
CASE 0
|
||||
RETURN Qt_QSortFilterProxyModel_sortColumn( ::pPtr, ... )
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:sortOrder( ... )
|
||||
SWITCH PCount()
|
||||
CASE 0
|
||||
RETURN Qt_QSortFilterProxyModel_sortOrder( ::pPtr, ... )
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:sortRole( ... )
|
||||
SWITCH PCount()
|
||||
CASE 0
|
||||
RETURN Qt_QSortFilterProxyModel_sortRole( ::pPtr, ... )
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:invalidate( ... )
|
||||
SWITCH PCount()
|
||||
CASE 0
|
||||
RETURN Qt_QSortFilterProxyModel_invalidate( ::pPtr, ... )
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:setFilterFixedString( ... )
|
||||
SWITCH PCount()
|
||||
CASE 1
|
||||
DO CASE
|
||||
CASE hb_isChar( hb_pvalue( 1 ) )
|
||||
RETURN Qt_QSortFilterProxyModel_setFilterFixedString( ::pPtr, ... )
|
||||
ENDCASE
|
||||
EXIT
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
|
||||
METHOD QSortFilterProxyModel:setFilterWildcard( ... )
|
||||
SWITCH PCount()
|
||||
CASE 1
|
||||
DO CASE
|
||||
CASE hb_isChar( hb_pvalue( 1 ) )
|
||||
RETURN Qt_QSortFilterProxyModel_setFilterWildcard( ::pPtr, ... )
|
||||
ENDCASE
|
||||
EXIT
|
||||
ENDSWITCH
|
||||
RETURN hbqt_error()
|
||||
|
||||
@@ -178,6 +178,7 @@ QShowEvent.cpp
|
||||
QSizeGrip.cpp
|
||||
QSizePolicy.cpp
|
||||
QSlider.cpp
|
||||
QSortFilterProxyModel.cpp
|
||||
QSound.cpp
|
||||
QSpacerItem.cpp
|
||||
QSpinBox.cpp
|
||||
@@ -440,6 +441,7 @@ TQShowEvent.prg
|
||||
TQSizeGrip.prg
|
||||
TQSizePolicy.prg
|
||||
TQSlider.prg
|
||||
TQSortFilterProxyModel.prg
|
||||
TQSound.prg
|
||||
TQSpacerItem.prg
|
||||
TQSpinBox.prg
|
||||
|
||||
@@ -184,6 +184,7 @@ extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QShowEvent );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSizeGrip );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSizePolicy );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSlider );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSortFilterProxyModel );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSound );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSpacerItem );
|
||||
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QSpinBox );
|
||||
@@ -446,6 +447,7 @@ extern HB_EXPORT void * hbqt_gcAllocate_QShowEvent( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QSizeGrip( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QSizePolicy( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QSlider( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QSortFilterProxyModel( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QSound( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QSpacerItem( void * pObj, bool bNew );
|
||||
extern HB_EXPORT void * hbqt_gcAllocate_QSpinBox( void * pObj, bool bNew );
|
||||
@@ -710,6 +712,7 @@ HB_EXTERN_END
|
||||
#define hbqt_par_QSizeGrip( n ) ( ( QSizeGrip * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QSizePolicy( n ) ( ( QSizePolicy * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QSlider( n ) ( ( QSlider * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QSortFilterProxyModel( n ) ( ( QSortFilterProxyModel * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QSound( n ) ( ( QSound * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QSpacerItem( n ) ( ( QSpacerItem * ) hbqt_gcpointer( n ) )
|
||||
#define hbqt_par_QSpinBox( n ) ( ( QSpinBox * ) hbqt_gcpointer( n ) )
|
||||
@@ -972,6 +975,7 @@ HB_EXTERN_END
|
||||
#define HBQT_TYPE_QSizeGrip 0x626D8234
|
||||
#define HBQT_TYPE_QSizePolicy 0x3CC69948
|
||||
#define HBQT_TYPE_QSlider 0x06AC376A
|
||||
#define HBQT_TYPE_QSortFilterProxyModel 0x248C7DF1
|
||||
#define HBQT_TYPE_QSound 0x9F8928F7
|
||||
#define HBQT_TYPE_QSpacerItem 0x7DF1ACDC
|
||||
#define HBQT_TYPE_QSpinBox 0xF87A2C0F
|
||||
|
||||
127
harbour/contrib/hbqt/qtgui/qth/QSortFilterProxyModel.qth
Normal file
127
harbour/contrib/hbqt/qtgui/qth/QSortFilterProxyModel.qth
Normal file
@@ -0,0 +1,127 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT Source Generator for Harbour
|
||||
*
|
||||
* Copyright 2010 Pritpal Bedi <bedipritpal@hotmail.com>
|
||||
* 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
|
||||
;
|
||||
|
||||
<CLASS>
|
||||
QObject =
|
||||
Inherits = QAbstractProxyModel
|
||||
Type =
|
||||
New =
|
||||
Destructor =
|
||||
Constructor =
|
||||
</CLASS>
|
||||
|
||||
<SUBCLASS>
|
||||
</SUBCLASS>
|
||||
|
||||
<DOC>
|
||||
</DOC>
|
||||
|
||||
<CODE>
|
||||
#include <QtGui/QSortFilterProxyModel>
|
||||
|
||||
|
||||
/*
|
||||
* QSortFilterProxyModel ( QObject * parent = 0 )
|
||||
* ~QSortFilterProxyModel ()
|
||||
*/
|
||||
HB_FUNC( QT_QSORTFILTERPROXYMODEL )
|
||||
{
|
||||
if( hb_pcount() == 1 && HB_ISPOINTER( 1 ) )
|
||||
{
|
||||
__HB_RETPTRGC__( new QSortFilterProxyModel( hbqt_par_QObject( 1 ) ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
__HB_RETPTRGC__( new QSortFilterProxyModel() );
|
||||
}
|
||||
}
|
||||
</CODE>
|
||||
|
||||
<ENUMS>
|
||||
</ENUMS>
|
||||
|
||||
<PROTOS>
|
||||
bool dynamicSortFilter () const
|
||||
Qt::CaseSensitivity filterCaseSensitivity () const
|
||||
int filterKeyColumn () const
|
||||
QRegExp filterRegExp () const
|
||||
int filterRole () const
|
||||
bool isSortLocaleAware () const
|
||||
virtual QModelIndex mapFromSource ( const QModelIndex & sourceIndex ) const
|
||||
virtual QModelIndex mapToSource ( const QModelIndex & proxyIndex ) const
|
||||
void setDynamicSortFilter ( bool enable )
|
||||
void setFilterCaseSensitivity ( Qt::CaseSensitivity cs )
|
||||
void setFilterKeyColumn ( int column )
|
||||
void setFilterRegExp ( const QRegExp & regExp )
|
||||
void setFilterRole ( int role )
|
||||
void setSortCaseSensitivity ( Qt::CaseSensitivity cs )
|
||||
void setSortLocaleAware ( bool on )
|
||||
void setSortRole ( int role )
|
||||
Qt::CaseSensitivity sortCaseSensitivity () const
|
||||
int sortColumn () const
|
||||
Qt::SortOrder sortOrder () const
|
||||
int sortRole () const
|
||||
</PROTOS>
|
||||
|
||||
<SLOTS>
|
||||
void invalidate ()
|
||||
void setFilterFixedString ( const QString & pattern )
|
||||
void setFilterRegExp ( const QString & pattern )
|
||||
void setFilterWildcard ( const QString & pattern )
|
||||
</SLOTS>
|
||||
|
||||
<SIGNALS>
|
||||
</SIGNALS>
|
||||
Reference in New Issue
Block a user