From b06b612c5b58d453e49c0c339a5daa79e1e7b9e9 Mon Sep 17 00:00:00 2001 From: Pritpal Bedi Date: Fri, 13 Aug 2010 00:47:31 +0000 Subject: [PATCH] 2010-08-12 17:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + contrib/hbqt/qtgui/qth/QGraphicsSceneContextMenuEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneHelpEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneHoverEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneMouseEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneMoveEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneResizeEvent.qth + contrib/hbqt/qtgui/qth/QGraphicsSceneWheelEvent.qth * contrib/hbqt/qtgui/g/filelist.hbm * contrib/hbqt/qtgui/g/hbqtgui.h * * contrib/hbqt/utils/qtgui.qtp * * contrib/hbqt/hbqt.ch + Added: few more classes to handle graphics scene events. + contrib/hbqt/qtgui/doc/en/class_q*.txt + contrib/hbqt/qtgui/g/Q*.cpp + contrib/hbqt/qtgui/g/TQ*.prg + Autogenerated. --- harbour/ChangeLog | 25 ++ harbour/contrib/hbqt/hbqt.ch | 5 + .../class_qgraphicsscenecontextmenuevent.txt | 56 +++ .../en/class_qgraphicsscenedragdropevent.txt | 63 +++ .../doc/en/class_qgraphicssceneevent.txt | 52 +++ .../doc/en/class_qgraphicsscenehelpevent.txt | 53 +++ .../doc/en/class_qgraphicsscenehoverevent.txt | 58 +++ .../doc/en/class_qgraphicsscenemouseevent.txt | 63 +++ .../doc/en/class_qgraphicsscenemoveevent.txt | 53 +++ .../en/class_qgraphicssceneresizeevent.txt | 53 +++ .../doc/en/class_qgraphicsscenewheelevent.txt | 58 +++ .../g/QGraphicsSceneContextMenuEvent.cpp | 201 ++++++++++ .../qtgui/g/QGraphicsSceneDragDropEvent.cpp | 300 ++++++++++++++ .../hbqt/qtgui/g/QGraphicsSceneEvent.cpp | 139 +++++++ .../hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp | 155 ++++++++ .../hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp | 225 +++++++++++ .../hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp | 295 ++++++++++++++ .../hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp | 156 ++++++++ .../qtgui/g/QGraphicsSceneResizeEvent.cpp | 155 ++++++++ .../hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp | 224 +++++++++++ .../g/TQGraphicsSceneContextMenuEvent.prg | 106 +++++ .../qtgui/g/TQGraphicsSceneDragDropEvent.prg | 141 +++++++ .../hbqt/qtgui/g/TQGraphicsSceneEvent.prg | 86 ++++ .../hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg | 91 +++++ .../qtgui/g/TQGraphicsSceneHoverEvent.prg | 116 ++++++ .../qtgui/g/TQGraphicsSceneMouseEvent.prg | 141 +++++++ .../hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg | 91 +++++ .../qtgui/g/TQGraphicsSceneResizeEvent.prg | 91 +++++ .../qtgui/g/TQGraphicsSceneWheelEvent.prg | 116 ++++++ harbour/contrib/hbqt/qtgui/g/filelist.hbm | 18 + harbour/contrib/hbqt/qtgui/g/hbqtgui.h | 370 ++++++++++-------- .../qth/QGraphicsSceneContextMenuEvent.qth | 101 +++++ .../qtgui/qth/QGraphicsSceneDragDropEvent.qth | 111 ++++++ .../hbqt/qtgui/qth/QGraphicsSceneEvent.qth | 94 +++++ .../qtgui/qth/QGraphicsSceneHelpEvent.qth | 97 +++++ .../qtgui/qth/QGraphicsSceneHoverEvent.qth | 102 +++++ .../qtgui/qth/QGraphicsSceneMouseEvent.qth | 107 +++++ .../qtgui/qth/QGraphicsSceneMoveEvent.qth | 98 +++++ .../qtgui/qth/QGraphicsSceneResizeEvent.qth | 97 +++++ .../qtgui/qth/QGraphicsSceneWheelEvent.qth | 101 +++++ harbour/contrib/hbqt/utils/qtgui.qtp | 9 + 41 files changed, 4506 insertions(+), 167 deletions(-) create mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenecontextmenuevent.txt create mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenedragdropevent.txt create mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneevent.txt create mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehelpevent.txt create mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehoverevent.txt create mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemouseevent.txt create mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemoveevent.txt create mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneresizeevent.txt create mode 100644 harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenewheelevent.txt create mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneContextMenuEvent.cpp create mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneDragDropEvent.cpp create mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneEvent.cpp create mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp create mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp create mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp create mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp create mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneResizeEvent.cpp create mode 100644 harbour/contrib/hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp create mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneContextMenuEvent.prg create mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneDragDropEvent.prg create mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneEvent.prg create mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg create mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHoverEvent.prg create mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMouseEvent.prg create mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg create mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneResizeEvent.prg create mode 100644 harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneWheelEvent.prg create mode 100644 harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneContextMenuEvent.qth create mode 100644 harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth create mode 100644 harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneEvent.qth create mode 100644 harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneHelpEvent.qth create mode 100644 harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneHoverEvent.qth create mode 100644 harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneMouseEvent.qth create mode 100644 harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneMoveEvent.qth create mode 100644 harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneResizeEvent.qth create mode 100644 harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneWheelEvent.qth diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 60adb9dee4..1c415dc485 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,31 @@ The license applies to all entries newer than 2009-04-28. */ +2010-08-12 17:40 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) + + contrib/hbqt/qtgui/qth/QGraphicsSceneContextMenuEvent.qth + + contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth + + contrib/hbqt/qtgui/qth/QGraphicsSceneEvent.qth + + contrib/hbqt/qtgui/qth/QGraphicsSceneHelpEvent.qth + + contrib/hbqt/qtgui/qth/QGraphicsSceneHoverEvent.qth + + contrib/hbqt/qtgui/qth/QGraphicsSceneMouseEvent.qth + + contrib/hbqt/qtgui/qth/QGraphicsSceneMoveEvent.qth + + contrib/hbqt/qtgui/qth/QGraphicsSceneResizeEvent.qth + + contrib/hbqt/qtgui/qth/QGraphicsSceneWheelEvent.qth + + * contrib/hbqt/qtgui/g/filelist.hbm + * contrib/hbqt/qtgui/g/hbqtgui.h + * + * contrib/hbqt/utils/qtgui.qtp + * + * contrib/hbqt/hbqt.ch + + + Added: few more classes to handle graphics scene events. + + + contrib/hbqt/qtgui/doc/en/class_q*.txt + + contrib/hbqt/qtgui/g/Q*.cpp + + contrib/hbqt/qtgui/g/TQ*.prg + + Autogenerated. + 2010-08-12 14:43 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com) * contrib/hbqt/qtgui/qth/QGraphicsEllipseItem.qth * contrib/hbqt/qtgui/qth/QGraphicsGridLayout.qth diff --git a/harbour/contrib/hbqt/hbqt.ch b/harbour/contrib/hbqt/hbqt.ch index d03bb8498d..5ecf6bcf66 100644 --- a/harbour/contrib/hbqt/hbqt.ch +++ b/harbour/contrib/hbqt/hbqt.ch @@ -2363,6 +2363,11 @@ #define QGraphicsPixmapItem_BoundingRectShape 1 #define QGraphicsPixmapItem_HeuristicMaskShape 2 + +#define QGraphicsSceneContextMenuEvent_Mouse 0 +#define QGraphicsSceneContextMenuEvent_Keyboard 1 +#define QGraphicsSceneContextMenuEvent_Other 2 + /*----------------------------------------------------------------------*/ #endif diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenecontextmenuevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenecontextmenuevent.txt new file mode 100644 index 0000000000..b788fc4c7a --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenecontextmenuevent.txt @@ -0,0 +1,56 @@ +/* + * $Id$ + */ + +/* $DOC$ + * $TEMPLATE$ + * Class + * $NAME$ + * QGraphicsSceneContextMenuEvent() + * $CATEGORY$ + * Harbour Bindings for Qt + * $SUBCATEGORY$ + * GUI + * $EXTERNALLINK$ + * http://doc.trolltech.com/4.5/qgraphicsscenecontextmenuevent.html + * $ONELINER$ + * Creates a new QGraphicsSceneContextMenuEvent object. + * $INHERITS$ + * QGraphicsSceneEvent + * $SYNTAX$ + * QGraphicsSceneContextMenuEvent():new( ... ) + * QGraphicsSceneContextMenuEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneContextMenuEvent ) + * QGraphicsSceneContextMenuEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneContextMenuEvent ) + * $ARGUMENTS$ + * + * $RETURNS$ + * An instance of the object of type QGraphicsSceneContextMenuEvent + * $METHODS$ + * :modifiers() -> nQt::KeyboardModifiers + * :pos() -> pQPointF + * :reason() -> nReason + * :scenePos() -> pQPointF + * :screenPos() -> pQPoint + * + * $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/TQGraphicsSceneContextMenuEvent.prg + * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneContextMenuEvent.cpp + * Library : hbqtgui + * $SEEALSO$ + * QGraphicsSceneEvent + * $END$ + */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenedragdropevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenedragdropevent.txt new file mode 100644 index 0000000000..5710d1dfb9 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenedragdropevent.txt @@ -0,0 +1,63 @@ +/* + * $Id$ + */ + +/* $DOC$ + * $TEMPLATE$ + * Class + * $NAME$ + * QGraphicsSceneDragDropEvent() + * $CATEGORY$ + * Harbour Bindings for Qt + * $SUBCATEGORY$ + * GUI + * $EXTERNALLINK$ + * http://doc.trolltech.com/4.5/qgraphicsscenedragdropevent.html + * $ONELINER$ + * Creates a new QGraphicsSceneDragDropEvent object. + * $INHERITS$ + * QGraphicsSceneEvent + * $SYNTAX$ + * QGraphicsSceneDragDropEvent():new( ... ) + * QGraphicsSceneDragDropEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneDragDropEvent ) + * QGraphicsSceneDragDropEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneDragDropEvent ) + * $ARGUMENTS$ + * + * $RETURNS$ + * An instance of the object of type QGraphicsSceneDragDropEvent + * $METHODS$ + * :acceptProposedAction() -> NIL + * :buttons() -> nQt::MouseButtons + * :dropAction() -> nQt::DropAction + * :mimeData() -> pQMimeData + * :modifiers() -> nQt::KeyboardModifiers + * :pos() -> pQPointF + * :possibleActions() -> nQt::DropActions + * :proposedAction() -> nQt::DropAction + * :scenePos() -> pQPointF + * :screenPos() -> pQPoint + * :setDropAction( nAction ) -> NIL + * :source() -> pQWidget + * + * $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/TQGraphicsSceneDragDropEvent.prg + * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneDragDropEvent.cpp + * Library : hbqtgui + * $SEEALSO$ + * QGraphicsSceneEvent + * $END$ + */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneevent.txt new file mode 100644 index 0000000000..419f0a8f88 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneevent.txt @@ -0,0 +1,52 @@ +/* + * $Id$ + */ + +/* $DOC$ + * $TEMPLATE$ + * Class + * $NAME$ + * QGraphicsSceneEvent() + * $CATEGORY$ + * Harbour Bindings for Qt + * $SUBCATEGORY$ + * GUI + * $EXTERNALLINK$ + * http://doc.trolltech.com/4.5/qgraphicssceneevent.html + * $ONELINER$ + * Creates a new QGraphicsSceneEvent object. + * $INHERITS$ + * QEvent + * $SYNTAX$ + * QGraphicsSceneEvent():new( ... ) + * QGraphicsSceneEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneEvent ) + * QGraphicsSceneEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneEvent ) + * $ARGUMENTS$ + * + * $RETURNS$ + * An instance of the object of type QGraphicsSceneEvent + * $METHODS$ + * :widget() -> pQWidget + * + * $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/TQGraphicsSceneEvent.prg + * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneEvent.cpp + * Library : hbqtgui + * $SEEALSO$ + * QEvent + * $END$ + */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehelpevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehelpevent.txt new file mode 100644 index 0000000000..b015660e96 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehelpevent.txt @@ -0,0 +1,53 @@ +/* + * $Id$ + */ + +/* $DOC$ + * $TEMPLATE$ + * Class + * $NAME$ + * QGraphicsSceneHelpEvent() + * $CATEGORY$ + * Harbour Bindings for Qt + * $SUBCATEGORY$ + * GUI + * $EXTERNALLINK$ + * http://doc.trolltech.com/4.5/qgraphicsscenehelpevent.html + * $ONELINER$ + * Creates a new QGraphicsSceneHelpEvent object. + * $INHERITS$ + * QGraphicsSceneEvent + * $SYNTAX$ + * QGraphicsSceneHelpEvent():new( ... ) + * QGraphicsSceneHelpEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneHelpEvent ) + * QGraphicsSceneHelpEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneHelpEvent ) + * $ARGUMENTS$ + * + * $RETURNS$ + * An instance of the object of type QGraphicsSceneHelpEvent + * $METHODS$ + * :scenePos() -> pQPointF + * :screenPos() -> pQPoint + * + * $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/TQGraphicsSceneHelpEvent.prg + * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneHelpEvent.cpp + * Library : hbqtgui + * $SEEALSO$ + * QGraphicsSceneEvent + * $END$ + */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehoverevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehoverevent.txt new file mode 100644 index 0000000000..8fa98b8a17 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenehoverevent.txt @@ -0,0 +1,58 @@ +/* + * $Id$ + */ + +/* $DOC$ + * $TEMPLATE$ + * Class + * $NAME$ + * QGraphicsSceneHoverEvent() + * $CATEGORY$ + * Harbour Bindings for Qt + * $SUBCATEGORY$ + * GUI + * $EXTERNALLINK$ + * http://doc.trolltech.com/4.5/qgraphicsscenehoverevent.html + * $ONELINER$ + * Creates a new QGraphicsSceneHoverEvent object. + * $INHERITS$ + * QGraphicsSceneEvent + * $SYNTAX$ + * QGraphicsSceneHoverEvent():new( ... ) + * QGraphicsSceneHoverEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneHoverEvent ) + * QGraphicsSceneHoverEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneHoverEvent ) + * $ARGUMENTS$ + * + * $RETURNS$ + * An instance of the object of type QGraphicsSceneHoverEvent + * $METHODS$ + * :lastPos() -> pQPointF + * :lastScenePos() -> pQPointF + * :lastScreenPos() -> pQPoint + * :modifiers() -> nQt::KeyboardModifiers + * :pos() -> pQPointF + * :scenePos() -> pQPointF + * :screenPos() -> pQPoint + * + * $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/TQGraphicsSceneHoverEvent.prg + * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneHoverEvent.cpp + * Library : hbqtgui + * $SEEALSO$ + * QGraphicsSceneEvent + * $END$ + */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemouseevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemouseevent.txt new file mode 100644 index 0000000000..91327955a0 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemouseevent.txt @@ -0,0 +1,63 @@ +/* + * $Id$ + */ + +/* $DOC$ + * $TEMPLATE$ + * Class + * $NAME$ + * QGraphicsSceneMouseEvent() + * $CATEGORY$ + * Harbour Bindings for Qt + * $SUBCATEGORY$ + * GUI + * $EXTERNALLINK$ + * http://doc.trolltech.com/4.5/qgraphicsscenemouseevent.html + * $ONELINER$ + * Creates a new QGraphicsSceneMouseEvent object. + * $INHERITS$ + * QGraphicsSceneEvent + * $SYNTAX$ + * QGraphicsSceneMouseEvent():new( ... ) + * QGraphicsSceneMouseEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneMouseEvent ) + * QGraphicsSceneMouseEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneMouseEvent ) + * $ARGUMENTS$ + * + * $RETURNS$ + * An instance of the object of type QGraphicsSceneMouseEvent + * $METHODS$ + * :button() -> nQt::MouseButton + * :buttonDownPos( nButton ) -> pQPointF + * :buttonDownScenePos( nButton ) -> pQPointF + * :buttonDownScreenPos( nButton ) -> pQPoint + * :buttons() -> nQt::MouseButtons + * :lastPos() -> pQPointF + * :lastScenePos() -> pQPointF + * :lastScreenPos() -> pQPoint + * :modifiers() -> nQt::KeyboardModifiers + * :pos() -> pQPointF + * :scenePos() -> pQPointF + * :screenPos() -> pQPoint + * + * $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/TQGraphicsSceneMouseEvent.prg + * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneMouseEvent.cpp + * Library : hbqtgui + * $SEEALSO$ + * QGraphicsSceneEvent + * $END$ + */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemoveevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemoveevent.txt new file mode 100644 index 0000000000..3b4c87e48c --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenemoveevent.txt @@ -0,0 +1,53 @@ +/* + * $Id$ + */ + +/* $DOC$ + * $TEMPLATE$ + * Class + * $NAME$ + * QGraphicsSceneMoveEvent() + * $CATEGORY$ + * Harbour Bindings for Qt + * $SUBCATEGORY$ + * GUI + * $EXTERNALLINK$ + * http://doc.trolltech.com/4.5/qgraphicsscenemoveevent.html + * $ONELINER$ + * Creates a new QGraphicsSceneMoveEvent object. + * $INHERITS$ + * QGraphicsSceneEvent + * $SYNTAX$ + * QGraphicsSceneMoveEvent():new( ... ) + * QGraphicsSceneMoveEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneMoveEvent ) + * QGraphicsSceneMoveEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneMoveEvent ) + * $ARGUMENTS$ + * + * $RETURNS$ + * An instance of the object of type QGraphicsSceneMoveEvent + * $METHODS$ + * :newPos() -> pQPointF + * :oldPos() -> pQPointF + * + * $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/TQGraphicsSceneMoveEvent.prg + * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneMoveEvent.cpp + * Library : hbqtgui + * $SEEALSO$ + * QGraphicsSceneEvent + * $END$ + */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneresizeevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneresizeevent.txt new file mode 100644 index 0000000000..b59d3a1c69 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicssceneresizeevent.txt @@ -0,0 +1,53 @@ +/* + * $Id$ + */ + +/* $DOC$ + * $TEMPLATE$ + * Class + * $NAME$ + * QGraphicsSceneResizeEvent() + * $CATEGORY$ + * Harbour Bindings for Qt + * $SUBCATEGORY$ + * GUI + * $EXTERNALLINK$ + * http://doc.trolltech.com/4.5/qgraphicssceneresizeevent.html + * $ONELINER$ + * Creates a new QGraphicsSceneResizeEvent object. + * $INHERITS$ + * QGraphicsSceneEvent + * $SYNTAX$ + * QGraphicsSceneResizeEvent():new( ... ) + * QGraphicsSceneResizeEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneResizeEvent ) + * QGraphicsSceneResizeEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneResizeEvent ) + * $ARGUMENTS$ + * + * $RETURNS$ + * An instance of the object of type QGraphicsSceneResizeEvent + * $METHODS$ + * :newSize() -> pQSizeF + * :oldSize() -> pQSizeF + * + * $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/TQGraphicsSceneResizeEvent.prg + * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneResizeEvent.cpp + * Library : hbqtgui + * $SEEALSO$ + * QGraphicsSceneEvent + * $END$ + */ diff --git a/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenewheelevent.txt b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenewheelevent.txt new file mode 100644 index 0000000000..2cfa1cbc80 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/doc/en/class_qgraphicsscenewheelevent.txt @@ -0,0 +1,58 @@ +/* + * $Id$ + */ + +/* $DOC$ + * $TEMPLATE$ + * Class + * $NAME$ + * QGraphicsSceneWheelEvent() + * $CATEGORY$ + * Harbour Bindings for Qt + * $SUBCATEGORY$ + * GUI + * $EXTERNALLINK$ + * http://doc.trolltech.com/4.5/qgraphicsscenewheelevent.html + * $ONELINER$ + * Creates a new QGraphicsSceneWheelEvent object. + * $INHERITS$ + * QGraphicsSceneEvent + * $SYNTAX$ + * QGraphicsSceneWheelEvent():new( ... ) + * QGraphicsSceneWheelEvent():from( pPtr_OR_oObj_of_type_QGraphicsSceneWheelEvent ) + * QGraphicsSceneWheelEvent():configure( pPtr_OR_oObj_of_type_QGraphicsSceneWheelEvent ) + * $ARGUMENTS$ + * + * $RETURNS$ + * An instance of the object of type QGraphicsSceneWheelEvent + * $METHODS$ + * :buttons() -> nQt::MouseButtons + * :delta() -> nInt + * :modifiers() -> nQt::KeyboardModifiers + * :orientation() -> nQt::Orientation + * :pos() -> pQPointF + * :scenePos() -> pQPointF + * :screenPos() -> pQPoint + * + * $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/TQGraphicsSceneWheelEvent.prg + * C++ wrappers : contrib/hbqt/qtgui/QGraphicsSceneWheelEvent.cpp + * Library : hbqtgui + * $SEEALSO$ + * QGraphicsSceneEvent + * $END$ + */ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneContextMenuEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneContextMenuEvent.cpp new file mode 100644 index 0000000000..29ed087399 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneContextMenuEvent.cpp @@ -0,0 +1,201 @@ +/* + * $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 Reason { Mouse, Keyboard, Other } + */ + +#include + +#include +#include +#include + + +/* + * ~QGraphicsSceneContextMenuEvent () + */ + +typedef struct +{ + QGraphicsSceneContextMenuEvent * ph; + bool bNew; + PHBQT_GC_FUNC func; + int type; +} HBQT_GC_T_QGraphicsSceneContextMenuEvent; + +HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneContextMenuEvent ) +{ + HB_SYMBOL_UNUSED( Cargo ); + HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; + + if( p && p->bNew ) + { + p->ph = NULL; + } +} + +void * hbqt_gcAllocate_QGraphicsSceneContextMenuEvent( void * pObj, bool bNew ) +{ + HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); + + p->ph = ( QGraphicsSceneContextMenuEvent * ) pObj; + p->bNew = bNew; + p->func = hbqt_gcRelease_QGraphicsSceneContextMenuEvent; + p->type = HBQT_TYPE_QGraphicsSceneContextMenuEvent; + + if( bNew ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsSceneContextMenuEvent", pObj ) ); + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsSceneContextMenuEvent", pObj ) ); + } + return p; +} + +HB_FUNC( QT_QGRAPHICSSCENECONTEXTMENUEVENT ) +{ + //hb_retptr( new QGraphicsSceneContextMenuEvent() ); +} + +/* + * Qt::KeyboardModifiers modifiers () const + */ +HB_FUNC( QT_QGRAPHICSSCENECONTEXTMENUEVENT_MODIFIERS ) +{ + QGraphicsSceneContextMenuEvent * p = hbqt_par_QGraphicsSceneContextMenuEvent( 1 ); + if( p ) + hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENECONTEXTMENUEVENT_MODIFIERS FP=hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); p is NULL" ) ); + } +} + +/* + * QPointF pos () const + */ +HB_FUNC( QT_QGRAPHICSSCENECONTEXTMENUEVENT_POS ) +{ + QGraphicsSceneContextMenuEvent * p = hbqt_par_QGraphicsSceneContextMenuEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENECONTEXTMENUEVENT_POS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); p is NULL" ) ); + } +} + +/* + * Reason reason () const + */ +HB_FUNC( QT_QGRAPHICSSCENECONTEXTMENUEVENT_REASON ) +{ + QGraphicsSceneContextMenuEvent * p = hbqt_par_QGraphicsSceneContextMenuEvent( 1 ); + if( p ) + hb_retni( ( QGraphicsSceneContextMenuEvent::Reason ) ( p )->reason() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENECONTEXTMENUEVENT_REASON FP=hb_retni( ( QGraphicsSceneContextMenuEvent::Reason ) ( p )->reason() ); p is NULL" ) ); + } +} + +/* + * QPointF scenePos () const + */ +HB_FUNC( QT_QGRAPHICSSCENECONTEXTMENUEVENT_SCENEPOS ) +{ + QGraphicsSceneContextMenuEvent * p = hbqt_par_QGraphicsSceneContextMenuEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENECONTEXTMENUEVENT_SCENEPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPoint screenPos () const + */ +HB_FUNC( QT_QGRAPHICSSCENECONTEXTMENUEVENT_SCREENPOS ) +{ + QGraphicsSceneContextMenuEvent * p = hbqt_par_QGraphicsSceneContextMenuEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENECONTEXTMENUEVENT_SCREENPOS FP=hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); p is NULL" ) ); + } +} + + +/*----------------------------------------------------------------------*/ +#endif /* #if QT_VERSION >= 0x040500 */ +/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneDragDropEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneDragDropEvent.cpp new file mode 100644 index 0000000000..13965229c9 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneDragDropEvent.cpp @@ -0,0 +1,300 @@ +/* + * $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 +/*----------------------------------------------------------------------*/ + +/* + * Constructed[ 12/13 [ 92.31% ] ] + * + * *** Unconvered Prototypes *** + * ----------------------------- + * + * } + */ + +#include + +#include +#include +#include +#include +#include + + +/* + * ~QGraphicsSceneDragDropEvent () + */ + +typedef struct +{ + QGraphicsSceneDragDropEvent * ph; + bool bNew; + PHBQT_GC_FUNC func; + int type; +} HBQT_GC_T_QGraphicsSceneDragDropEvent; + +HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneDragDropEvent ) +{ + HB_SYMBOL_UNUSED( Cargo ); + HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; + + if( p && p->bNew ) + { + p->ph = NULL; + } +} + +void * hbqt_gcAllocate_QGraphicsSceneDragDropEvent( void * pObj, bool bNew ) +{ + HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); + + p->ph = ( QGraphicsSceneDragDropEvent * ) pObj; + p->bNew = bNew; + p->func = hbqt_gcRelease_QGraphicsSceneDragDropEvent; + p->type = HBQT_TYPE_QGraphicsSceneDragDropEvent; + + if( bNew ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsSceneDragDropEvent", pObj ) ); + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsSceneDragDropEvent", pObj ) ); + } + return p; +} + +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT ) +{ + //hb_retptr( new QGraphicsSceneDragDropEvent() ); +} + +/* + * void acceptProposedAction () + */ +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_ACCEPTPROPOSEDACTION ) +{ + QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); + if( p ) + ( p )->acceptProposedAction(); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEDRAGDROPEVENT_ACCEPTPROPOSEDACTION FP=( p )->acceptProposedAction(); p is NULL" ) ); + } +} + +/* + * Qt::MouseButtons buttons () const + */ +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_BUTTONS ) +{ + QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); + if( p ) + hb_retni( ( Qt::MouseButtons ) ( p )->buttons() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEDRAGDROPEVENT_BUTTONS FP=hb_retni( ( Qt::MouseButtons ) ( p )->buttons() ); p is NULL" ) ); + } +} + +/* + * Qt::DropAction dropAction () const + */ +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_DROPACTION ) +{ + QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); + if( p ) + hb_retni( ( Qt::DropAction ) ( p )->dropAction() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEDRAGDROPEVENT_DROPACTION FP=hb_retni( ( Qt::DropAction ) ( p )->dropAction() ); p is NULL" ) ); + } +} + +/* + * const QMimeData * mimeData () const + */ +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_MIMEDATA ) +{ + hb_retptrGC( hbqt_gcAllocate_QMimeData( ( void* ) hbqt_par_QGraphicsSceneDragDropEvent( 1 )->mimeData(), false ) ); +} + +/* + * Qt::KeyboardModifiers modifiers () const + */ +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_MODIFIERS ) +{ + QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); + if( p ) + hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEDRAGDROPEVENT_MODIFIERS FP=hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); p is NULL" ) ); + } +} + +/* + * QPointF pos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_POS ) +{ + QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEDRAGDROPEVENT_POS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); p is NULL" ) ); + } +} + +/* + * Qt::DropActions possibleActions () const + */ +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_POSSIBLEACTIONS ) +{ + QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); + if( p ) + hb_retni( ( Qt::DropActions ) ( p )->possibleActions() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEDRAGDROPEVENT_POSSIBLEACTIONS FP=hb_retni( ( Qt::DropActions ) ( p )->possibleActions() ); p is NULL" ) ); + } +} + +/* + * Qt::DropAction proposedAction () const + */ +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_PROPOSEDACTION ) +{ + QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); + if( p ) + hb_retni( ( Qt::DropAction ) ( p )->proposedAction() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEDRAGDROPEVENT_PROPOSEDACTION FP=hb_retni( ( Qt::DropAction ) ( p )->proposedAction() ); p is NULL" ) ); + } +} + +/* + * QPointF scenePos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_SCENEPOS ) +{ + QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEDRAGDROPEVENT_SCENEPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPoint screenPos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_SCREENPOS ) +{ + QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEDRAGDROPEVENT_SCREENPOS FP=hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); p is NULL" ) ); + } +} + +/* + * void setDropAction ( Qt::DropAction action ) + */ +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_SETDROPACTION ) +{ + QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); + if( p ) + ( p )->setDropAction( ( Qt::DropAction ) hb_parni( 2 ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEDRAGDROPEVENT_SETDROPACTION FP=( p )->setDropAction( ( Qt::DropAction ) hb_parni( 2 ) ); p is NULL" ) ); + } +} + +/* + * QWidget * source () const + */ +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT_SOURCE ) +{ + QGraphicsSceneDragDropEvent * p = hbqt_par_QGraphicsSceneDragDropEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->source(), false ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEDRAGDROPEVENT_SOURCE FP=hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->source(), false ) ); p is NULL" ) ); + } +} + + +/*----------------------------------------------------------------------*/ +#endif /* #if QT_VERSION >= 0x040500 */ +/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneEvent.cpp new file mode 100644 index 0000000000..e0aa134112 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneEvent.cpp @@ -0,0 +1,139 @@ +/* + * $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 +/*----------------------------------------------------------------------*/ + +#include + +#include + + +/* + * ~QGraphicsSceneEvent () + */ + +typedef struct +{ + QGraphicsSceneEvent * ph; + bool bNew; + PHBQT_GC_FUNC func; + int type; +} HBQT_GC_T_QGraphicsSceneEvent; + +HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneEvent ) +{ + HB_SYMBOL_UNUSED( Cargo ); + HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; + + if( p && p->bNew ) + { + p->ph = NULL; + } +} + +void * hbqt_gcAllocate_QGraphicsSceneEvent( void * pObj, bool bNew ) +{ + HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); + + p->ph = ( QGraphicsSceneEvent * ) pObj; + p->bNew = bNew; + p->func = hbqt_gcRelease_QGraphicsSceneEvent; + p->type = HBQT_TYPE_QGraphicsSceneEvent; + + if( bNew ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsSceneEvent", pObj ) ); + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsSceneEvent", pObj ) ); + } + return p; +} + +HB_FUNC( QT_QGRAPHICSSCENEEVENT ) +{ + //hb_retptr( new QGraphicsSceneEvent() ); +} + +/* + * QWidget * widget () const + */ +HB_FUNC( QT_QGRAPHICSSCENEEVENT_WIDGET ) +{ + QGraphicsSceneEvent * p = hbqt_par_QGraphicsSceneEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget(), false ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEEVENT_WIDGET FP=hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget(), false ) ); p is NULL" ) ); + } +} + + +/*----------------------------------------------------------------------*/ +#endif /* #if QT_VERSION >= 0x040500 */ +/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp new file mode 100644 index 0000000000..c61dc6dbaf --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHelpEvent.cpp @@ -0,0 +1,155 @@ +/* + * $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 +/*----------------------------------------------------------------------*/ + +#include + +#include +#include +#include + + +/* + * ~QGraphicsSceneHelpEvent () + */ + +typedef struct +{ + QGraphicsSceneHelpEvent * ph; + bool bNew; + PHBQT_GC_FUNC func; + int type; +} HBQT_GC_T_QGraphicsSceneHelpEvent; + +HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneHelpEvent ) +{ + HB_SYMBOL_UNUSED( Cargo ); + HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; + + if( p && p->bNew ) + { + p->ph = NULL; + } +} + +void * hbqt_gcAllocate_QGraphicsSceneHelpEvent( void * pObj, bool bNew ) +{ + HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); + + p->ph = ( QGraphicsSceneHelpEvent * ) pObj; + p->bNew = bNew; + p->func = hbqt_gcRelease_QGraphicsSceneHelpEvent; + p->type = HBQT_TYPE_QGraphicsSceneHelpEvent; + + if( bNew ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsSceneHelpEvent", pObj ) ); + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsSceneHelpEvent", pObj ) ); + } + return p; +} + +HB_FUNC( QT_QGRAPHICSSCENEHELPEVENT ) +{ + //hb_retptr( new QGraphicsSceneHelpEvent() ); +} + +/* + * QPointF scenePos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEHELPEVENT_SCENEPOS ) +{ + QGraphicsSceneHelpEvent * p = hbqt_par_QGraphicsSceneHelpEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEHELPEVENT_SCENEPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPoint screenPos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEHELPEVENT_SCREENPOS ) +{ + QGraphicsSceneHelpEvent * p = hbqt_par_QGraphicsSceneHelpEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEHELPEVENT_SCREENPOS FP=hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); p is NULL" ) ); + } +} + + +/*----------------------------------------------------------------------*/ +#endif /* #if QT_VERSION >= 0x040500 */ +/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp new file mode 100644 index 0000000000..fe8aec24b2 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneHoverEvent.cpp @@ -0,0 +1,225 @@ +/* + * $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 +/*----------------------------------------------------------------------*/ + +#include + +#include +#include +#include + + +/* + * ~QGraphicsSceneHoverEvent () + */ + +typedef struct +{ + QGraphicsSceneHoverEvent * ph; + bool bNew; + PHBQT_GC_FUNC func; + int type; +} HBQT_GC_T_QGraphicsSceneHoverEvent; + +HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneHoverEvent ) +{ + HB_SYMBOL_UNUSED( Cargo ); + HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; + + if( p && p->bNew ) + { + p->ph = NULL; + } +} + +void * hbqt_gcAllocate_QGraphicsSceneHoverEvent( void * pObj, bool bNew ) +{ + HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); + + p->ph = ( QGraphicsSceneHoverEvent * ) pObj; + p->bNew = bNew; + p->func = hbqt_gcRelease_QGraphicsSceneHoverEvent; + p->type = HBQT_TYPE_QGraphicsSceneHoverEvent; + + if( bNew ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsSceneHoverEvent", pObj ) ); + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsSceneHoverEvent", pObj ) ); + } + return p; +} + +HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT ) +{ + //hb_retptr( new QGraphicsSceneHoverEvent() ); +} + +/* + * QPointF lastPos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_LASTPOS ) +{ + QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->lastPos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEHOVEREVENT_LASTPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->lastPos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPointF lastScenePos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_LASTSCENEPOS ) +{ + QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->lastScenePos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEHOVEREVENT_LASTSCENEPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->lastScenePos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPoint lastScreenPos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_LASTSCREENPOS ) +{ + QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->lastScreenPos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEHOVEREVENT_LASTSCREENPOS FP=hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->lastScreenPos() ), true ) ); p is NULL" ) ); + } +} + +/* + * Qt::KeyboardModifiers modifiers () const + */ +HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_MODIFIERS ) +{ + QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); + if( p ) + hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEHOVEREVENT_MODIFIERS FP=hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); p is NULL" ) ); + } +} + +/* + * QPointF pos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_POS ) +{ + QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEHOVEREVENT_POS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPointF scenePos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_SCENEPOS ) +{ + QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEHOVEREVENT_SCENEPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPoint screenPos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT_SCREENPOS ) +{ + QGraphicsSceneHoverEvent * p = hbqt_par_QGraphicsSceneHoverEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEHOVEREVENT_SCREENPOS FP=hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); p is NULL" ) ); + } +} + + +/*----------------------------------------------------------------------*/ +#endif /* #if QT_VERSION >= 0x040500 */ +/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp new file mode 100644 index 0000000000..b0a088c081 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMouseEvent.cpp @@ -0,0 +1,295 @@ +/* + * $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 +/*----------------------------------------------------------------------*/ + +#include + +#include +#include +#include + + +/* + * ~QGraphicsSceneMouseEvent () + */ + +typedef struct +{ + QGraphicsSceneMouseEvent * ph; + bool bNew; + PHBQT_GC_FUNC func; + int type; +} HBQT_GC_T_QGraphicsSceneMouseEvent; + +HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneMouseEvent ) +{ + HB_SYMBOL_UNUSED( Cargo ); + HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; + + if( p && p->bNew ) + { + p->ph = NULL; + } +} + +void * hbqt_gcAllocate_QGraphicsSceneMouseEvent( void * pObj, bool bNew ) +{ + HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); + + p->ph = ( QGraphicsSceneMouseEvent * ) pObj; + p->bNew = bNew; + p->func = hbqt_gcRelease_QGraphicsSceneMouseEvent; + p->type = HBQT_TYPE_QGraphicsSceneMouseEvent; + + if( bNew ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsSceneMouseEvent", pObj ) ); + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsSceneMouseEvent", pObj ) ); + } + return p; +} + +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT ) +{ + //hb_retptr( new QGraphicsSceneMouseEvent() ); +} + +/* + * Qt::MouseButton button () const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_BUTTON ) +{ + QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); + if( p ) + hb_retni( ( Qt::MouseButton ) ( p )->button() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOUSEEVENT_BUTTON FP=hb_retni( ( Qt::MouseButton ) ( p )->button() ); p is NULL" ) ); + } +} + +/* + * QPointF buttonDownPos ( Qt::MouseButton button ) const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_BUTTONDOWNPOS ) +{ + QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->buttonDownPos( ( Qt::MouseButton ) hb_parni( 2 ) ) ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOUSEEVENT_BUTTONDOWNPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->buttonDownPos( ( Qt::MouseButton ) hb_parni( 2 ) ) ), true ) ); p is NULL" ) ); + } +} + +/* + * QPointF buttonDownScenePos ( Qt::MouseButton button ) const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_BUTTONDOWNSCENEPOS ) +{ + QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->buttonDownScenePos( ( Qt::MouseButton ) hb_parni( 2 ) ) ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOUSEEVENT_BUTTONDOWNSCENEPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->buttonDownScenePos( ( Qt::MouseButton ) hb_parni( 2 ) ) ), true ) ); p is NULL" ) ); + } +} + +/* + * QPoint buttonDownScreenPos ( Qt::MouseButton button ) const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_BUTTONDOWNSCREENPOS ) +{ + QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->buttonDownScreenPos( ( Qt::MouseButton ) hb_parni( 2 ) ) ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOUSEEVENT_BUTTONDOWNSCREENPOS FP=hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->buttonDownScreenPos( ( Qt::MouseButton ) hb_parni( 2 ) ) ), true ) ); p is NULL" ) ); + } +} + +/* + * Qt::MouseButtons buttons () const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_BUTTONS ) +{ + QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); + if( p ) + hb_retni( ( Qt::MouseButtons ) ( p )->buttons() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOUSEEVENT_BUTTONS FP=hb_retni( ( Qt::MouseButtons ) ( p )->buttons() ); p is NULL" ) ); + } +} + +/* + * QPointF lastPos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_LASTPOS ) +{ + QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->lastPos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOUSEEVENT_LASTPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->lastPos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPointF lastScenePos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_LASTSCENEPOS ) +{ + QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->lastScenePos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOUSEEVENT_LASTSCENEPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->lastScenePos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPoint lastScreenPos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_LASTSCREENPOS ) +{ + QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->lastScreenPos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOUSEEVENT_LASTSCREENPOS FP=hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->lastScreenPos() ), true ) ); p is NULL" ) ); + } +} + +/* + * Qt::KeyboardModifiers modifiers () const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_MODIFIERS ) +{ + QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); + if( p ) + hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOUSEEVENT_MODIFIERS FP=hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); p is NULL" ) ); + } +} + +/* + * QPointF pos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_POS ) +{ + QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOUSEEVENT_POS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPointF scenePos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_SCENEPOS ) +{ + QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOUSEEVENT_SCENEPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPoint screenPos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT_SCREENPOS ) +{ + QGraphicsSceneMouseEvent * p = hbqt_par_QGraphicsSceneMouseEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOUSEEVENT_SCREENPOS FP=hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); p is NULL" ) ); + } +} + + +/*----------------------------------------------------------------------*/ +#endif /* #if QT_VERSION >= 0x040500 */ +/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp new file mode 100644 index 0000000000..54370175b6 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneMoveEvent.cpp @@ -0,0 +1,156 @@ +/* + * $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 +/*----------------------------------------------------------------------*/ + +#include + +#include +#include +#include + + +/* + * QGraphicsSceneMoveEvent () + * ~QGraphicsSceneMoveEvent () + */ + +typedef struct +{ + QGraphicsSceneMoveEvent * ph; + bool bNew; + PHBQT_GC_FUNC func; + int type; +} HBQT_GC_T_QGraphicsSceneMoveEvent; + +HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneMoveEvent ) +{ + HB_SYMBOL_UNUSED( Cargo ); + HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; + + if( p && p->bNew ) + { + p->ph = NULL; + } +} + +void * hbqt_gcAllocate_QGraphicsSceneMoveEvent( void * pObj, bool bNew ) +{ + HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); + + p->ph = ( QGraphicsSceneMoveEvent * ) pObj; + p->bNew = bNew; + p->func = hbqt_gcRelease_QGraphicsSceneMoveEvent; + p->type = HBQT_TYPE_QGraphicsSceneMoveEvent; + + if( bNew ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsSceneMoveEvent", pObj ) ); + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsSceneMoveEvent", pObj ) ); + } + return p; +} + +HB_FUNC( QT_QGRAPHICSSCENEMOVEEVENT ) +{ + //hb_retptr( new QGraphicsSceneMoveEvent() ); +} + +/* + * QPointF newPos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOVEEVENT_NEWPOS ) +{ + QGraphicsSceneMoveEvent * p = hbqt_par_QGraphicsSceneMoveEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->newPos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOVEEVENT_NEWPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->newPos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPointF oldPos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEMOVEEVENT_OLDPOS ) +{ + QGraphicsSceneMoveEvent * p = hbqt_par_QGraphicsSceneMoveEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->oldPos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEMOVEEVENT_OLDPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->oldPos() ), true ) ); p is NULL" ) ); + } +} + + +/*----------------------------------------------------------------------*/ +#endif /* #if QT_VERSION >= 0x040500 */ +/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneResizeEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneResizeEvent.cpp new file mode 100644 index 0000000000..f8d35f8715 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneResizeEvent.cpp @@ -0,0 +1,155 @@ +/* + * $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 +/*----------------------------------------------------------------------*/ + +#include + +#include +#include + + +/* + * QGraphicsSceneResizeEvent () + * ~QGraphicsSceneResizeEvent () + */ + +typedef struct +{ + QGraphicsSceneResizeEvent * ph; + bool bNew; + PHBQT_GC_FUNC func; + int type; +} HBQT_GC_T_QGraphicsSceneResizeEvent; + +HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneResizeEvent ) +{ + HB_SYMBOL_UNUSED( Cargo ); + HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; + + if( p && p->bNew ) + { + p->ph = NULL; + } +} + +void * hbqt_gcAllocate_QGraphicsSceneResizeEvent( void * pObj, bool bNew ) +{ + HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); + + p->ph = ( QGraphicsSceneResizeEvent * ) pObj; + p->bNew = bNew; + p->func = hbqt_gcRelease_QGraphicsSceneResizeEvent; + p->type = HBQT_TYPE_QGraphicsSceneResizeEvent; + + if( bNew ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsSceneResizeEvent", pObj ) ); + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsSceneResizeEvent", pObj ) ); + } + return p; +} + +HB_FUNC( QT_QGRAPHICSSCENERESIZEEVENT ) +{ + //hb_retptr( new QGraphicsSceneResizeEvent() ); +} + +/* + * QSizeF newSize () const + */ +HB_FUNC( QT_QGRAPHICSSCENERESIZEEVENT_NEWSIZE ) +{ + QGraphicsSceneResizeEvent * p = hbqt_par_QGraphicsSceneResizeEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->newSize() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENERESIZEEVENT_NEWSIZE FP=hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->newSize() ), true ) ); p is NULL" ) ); + } +} + +/* + * QSizeF oldSize () const + */ +HB_FUNC( QT_QGRAPHICSSCENERESIZEEVENT_OLDSIZE ) +{ + QGraphicsSceneResizeEvent * p = hbqt_par_QGraphicsSceneResizeEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->oldSize() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENERESIZEEVENT_OLDSIZE FP=hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->oldSize() ), true ) ); p is NULL" ) ); + } +} + + +/*----------------------------------------------------------------------*/ +#endif /* #if QT_VERSION >= 0x040500 */ +/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp new file mode 100644 index 0000000000..1f06ed4819 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/QGraphicsSceneWheelEvent.cpp @@ -0,0 +1,224 @@ +/* + * $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 +/*----------------------------------------------------------------------*/ + +#include + +#include +#include +#include + +/* + * ~QGraphicsSceneWheelEvent () + */ + +typedef struct +{ + QGraphicsSceneWheelEvent * ph; + bool bNew; + PHBQT_GC_FUNC func; + int type; +} HBQT_GC_T_QGraphicsSceneWheelEvent; + +HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneWheelEvent ) +{ + HB_SYMBOL_UNUSED( Cargo ); + HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo; + + if( p && p->bNew ) + { + p->ph = NULL; + } +} + +void * hbqt_gcAllocate_QGraphicsSceneWheelEvent( void * pObj, bool bNew ) +{ + HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() ); + + p->ph = ( QGraphicsSceneWheelEvent * ) pObj; + p->bNew = bNew; + p->func = hbqt_gcRelease_QGraphicsSceneWheelEvent; + p->type = HBQT_TYPE_QGraphicsSceneWheelEvent; + + if( bNew ) + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsSceneWheelEvent", pObj ) ); + } + else + { + HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsSceneWheelEvent", pObj ) ); + } + return p; +} + +HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT ) +{ + //hb_retptr( new QGraphicsSceneWheelEvent() ); +} + +/* + * Qt::MouseButtons buttons () const + */ +HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_BUTTONS ) +{ + QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); + if( p ) + hb_retni( ( Qt::MouseButtons ) ( p )->buttons() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEWHEELEVENT_BUTTONS FP=hb_retni( ( Qt::MouseButtons ) ( p )->buttons() ); p is NULL" ) ); + } +} + +/* + * int delta () const + */ +HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_DELTA ) +{ + QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); + if( p ) + hb_retni( ( p )->delta() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEWHEELEVENT_DELTA FP=hb_retni( ( p )->delta() ); p is NULL" ) ); + } +} + +/* + * Qt::KeyboardModifiers modifiers () const + */ +HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_MODIFIERS ) +{ + QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); + if( p ) + hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEWHEELEVENT_MODIFIERS FP=hb_retni( ( Qt::KeyboardModifiers ) ( p )->modifiers() ); p is NULL" ) ); + } +} + +/* + * Qt::Orientation orientation () const + */ +HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_ORIENTATION ) +{ + QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); + if( p ) + hb_retni( ( Qt::Orientation ) ( p )->orientation() ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEWHEELEVENT_ORIENTATION FP=hb_retni( ( Qt::Orientation ) ( p )->orientation() ); p is NULL" ) ); + } +} + +/* + * QPointF pos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_POS ) +{ + QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEWHEELEVENT_POS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->pos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPointF scenePos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_SCENEPOS ) +{ + QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEWHEELEVENT_SCENEPOS FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->scenePos() ), true ) ); p is NULL" ) ); + } +} + +/* + * QPoint screenPos () const + */ +HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT_SCREENPOS ) +{ + QGraphicsSceneWheelEvent * p = hbqt_par_QGraphicsSceneWheelEvent( 1 ); + if( p ) + hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); + else + { + HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSCENEWHEELEVENT_SCREENPOS FP=hb_retptrGC( hbqt_gcAllocate_QPoint( new QPoint( ( p )->screenPos() ), true ) ); p is NULL" ) ); + } +} + + +/*----------------------------------------------------------------------*/ +#endif /* #if QT_VERSION >= 0x040500 */ +/*----------------------------------------------------------------------*/ diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneContextMenuEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneContextMenuEvent.prg new file mode 100644 index 0000000000..934cc93897 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneContextMenuEvent.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 QGraphicsSceneContextMenuEvent INHERIT HbQtObjectHandler, QGraphicsSceneEvent + + METHOD new( ... ) + + METHOD modifiers() + METHOD pos() + METHOD reason() + METHOD scenePos() + METHOD screenPos() + + ENDCLASS + + +METHOD QGraphicsSceneContextMenuEvent:new( ... ) + LOCAL p + FOR EACH p IN { ... } + hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) + NEXT + ::pPtr := Qt_QGraphicsSceneContextMenuEvent( ... ) + RETURN Self + + +METHOD QGraphicsSceneContextMenuEvent:modifiers() + RETURN Qt_QGraphicsSceneContextMenuEvent_modifiers( ::pPtr ) + + +METHOD QGraphicsSceneContextMenuEvent:pos() + RETURN Qt_QGraphicsSceneContextMenuEvent_pos( ::pPtr ) + + +METHOD QGraphicsSceneContextMenuEvent:reason() + RETURN Qt_QGraphicsSceneContextMenuEvent_reason( ::pPtr ) + + +METHOD QGraphicsSceneContextMenuEvent:scenePos() + RETURN Qt_QGraphicsSceneContextMenuEvent_scenePos( ::pPtr ) + + +METHOD QGraphicsSceneContextMenuEvent:screenPos() + RETURN Qt_QGraphicsSceneContextMenuEvent_screenPos( ::pPtr ) + diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneDragDropEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneDragDropEvent.prg new file mode 100644 index 0000000000..3e93c698aa --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneDragDropEvent.prg @@ -0,0 +1,141 @@ +/* + * $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 QGraphicsSceneDragDropEvent INHERIT HbQtObjectHandler, QGraphicsSceneEvent + + METHOD new( ... ) + + METHOD acceptProposedAction() + METHOD buttons() + METHOD dropAction() + METHOD mimeData() + METHOD modifiers() + METHOD pos() + METHOD possibleActions() + METHOD proposedAction() + METHOD scenePos() + METHOD screenPos() + METHOD setDropAction( nAction ) + METHOD source() + + ENDCLASS + + +METHOD QGraphicsSceneDragDropEvent:new( ... ) + LOCAL p + FOR EACH p IN { ... } + hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) + NEXT + ::pPtr := Qt_QGraphicsSceneDragDropEvent( ... ) + RETURN Self + + +METHOD QGraphicsSceneDragDropEvent:acceptProposedAction() + RETURN Qt_QGraphicsSceneDragDropEvent_acceptProposedAction( ::pPtr ) + + +METHOD QGraphicsSceneDragDropEvent:buttons() + RETURN Qt_QGraphicsSceneDragDropEvent_buttons( ::pPtr ) + + +METHOD QGraphicsSceneDragDropEvent:dropAction() + RETURN Qt_QGraphicsSceneDragDropEvent_dropAction( ::pPtr ) + + +METHOD QGraphicsSceneDragDropEvent:mimeData() + RETURN Qt_QGraphicsSceneDragDropEvent_mimeData( ::pPtr ) + + +METHOD QGraphicsSceneDragDropEvent:modifiers() + RETURN Qt_QGraphicsSceneDragDropEvent_modifiers( ::pPtr ) + + +METHOD QGraphicsSceneDragDropEvent:pos() + RETURN Qt_QGraphicsSceneDragDropEvent_pos( ::pPtr ) + + +METHOD QGraphicsSceneDragDropEvent:possibleActions() + RETURN Qt_QGraphicsSceneDragDropEvent_possibleActions( ::pPtr ) + + +METHOD QGraphicsSceneDragDropEvent:proposedAction() + RETURN Qt_QGraphicsSceneDragDropEvent_proposedAction( ::pPtr ) + + +METHOD QGraphicsSceneDragDropEvent:scenePos() + RETURN Qt_QGraphicsSceneDragDropEvent_scenePos( ::pPtr ) + + +METHOD QGraphicsSceneDragDropEvent:screenPos() + RETURN Qt_QGraphicsSceneDragDropEvent_screenPos( ::pPtr ) + + +METHOD QGraphicsSceneDragDropEvent:setDropAction( nAction ) + RETURN Qt_QGraphicsSceneDragDropEvent_setDropAction( ::pPtr, nAction ) + + +METHOD QGraphicsSceneDragDropEvent:source() + RETURN Qt_QGraphicsSceneDragDropEvent_source( ::pPtr ) + diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneEvent.prg new file mode 100644 index 0000000000..75ba60c43b --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneEvent.prg @@ -0,0 +1,86 @@ +/* + * $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 QGraphicsSceneEvent INHERIT HbQtObjectHandler, QEvent + + METHOD new( ... ) + + METHOD widget() + + ENDCLASS + + +METHOD QGraphicsSceneEvent:new( ... ) + LOCAL p + FOR EACH p IN { ... } + hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) + NEXT + ::pPtr := Qt_QGraphicsSceneEvent( ... ) + RETURN Self + + +METHOD QGraphicsSceneEvent:widget() + RETURN Qt_QGraphicsSceneEvent_widget( ::pPtr ) + diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHelpEvent.prg new file mode 100644 index 0000000000..d1ea099b24 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHelpEvent.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 QGraphicsSceneHelpEvent INHERIT HbQtObjectHandler, QGraphicsSceneEvent + + METHOD new( ... ) + + METHOD scenePos() + METHOD screenPos() + + ENDCLASS + + +METHOD QGraphicsSceneHelpEvent:new( ... ) + LOCAL p + FOR EACH p IN { ... } + hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) + NEXT + ::pPtr := Qt_QGraphicsSceneHelpEvent( ... ) + RETURN Self + + +METHOD QGraphicsSceneHelpEvent:scenePos() + RETURN Qt_QGraphicsSceneHelpEvent_scenePos( ::pPtr ) + + +METHOD QGraphicsSceneHelpEvent:screenPos() + RETURN Qt_QGraphicsSceneHelpEvent_screenPos( ::pPtr ) + diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHoverEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHoverEvent.prg new file mode 100644 index 0000000000..7d9634aeba --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneHoverEvent.prg @@ -0,0 +1,116 @@ +/* + * $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 QGraphicsSceneHoverEvent INHERIT HbQtObjectHandler, QGraphicsSceneEvent + + METHOD new( ... ) + + METHOD lastPos() + METHOD lastScenePos() + METHOD lastScreenPos() + METHOD modifiers() + METHOD pos() + METHOD scenePos() + METHOD screenPos() + + ENDCLASS + + +METHOD QGraphicsSceneHoverEvent:new( ... ) + LOCAL p + FOR EACH p IN { ... } + hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) + NEXT + ::pPtr := Qt_QGraphicsSceneHoverEvent( ... ) + RETURN Self + + +METHOD QGraphicsSceneHoverEvent:lastPos() + RETURN Qt_QGraphicsSceneHoverEvent_lastPos( ::pPtr ) + + +METHOD QGraphicsSceneHoverEvent:lastScenePos() + RETURN Qt_QGraphicsSceneHoverEvent_lastScenePos( ::pPtr ) + + +METHOD QGraphicsSceneHoverEvent:lastScreenPos() + RETURN Qt_QGraphicsSceneHoverEvent_lastScreenPos( ::pPtr ) + + +METHOD QGraphicsSceneHoverEvent:modifiers() + RETURN Qt_QGraphicsSceneHoverEvent_modifiers( ::pPtr ) + + +METHOD QGraphicsSceneHoverEvent:pos() + RETURN Qt_QGraphicsSceneHoverEvent_pos( ::pPtr ) + + +METHOD QGraphicsSceneHoverEvent:scenePos() + RETURN Qt_QGraphicsSceneHoverEvent_scenePos( ::pPtr ) + + +METHOD QGraphicsSceneHoverEvent:screenPos() + RETURN Qt_QGraphicsSceneHoverEvent_screenPos( ::pPtr ) + diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMouseEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMouseEvent.prg new file mode 100644 index 0000000000..8fb5cb2299 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMouseEvent.prg @@ -0,0 +1,141 @@ +/* + * $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 QGraphicsSceneMouseEvent INHERIT HbQtObjectHandler, QGraphicsSceneEvent + + METHOD new( ... ) + + METHOD button() + METHOD buttonDownPos( nButton ) + METHOD buttonDownScenePos( nButton ) + METHOD buttonDownScreenPos( nButton ) + METHOD buttons() + METHOD lastPos() + METHOD lastScenePos() + METHOD lastScreenPos() + METHOD modifiers() + METHOD pos() + METHOD scenePos() + METHOD screenPos() + + ENDCLASS + + +METHOD QGraphicsSceneMouseEvent:new( ... ) + LOCAL p + FOR EACH p IN { ... } + hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) + NEXT + ::pPtr := Qt_QGraphicsSceneMouseEvent( ... ) + RETURN Self + + +METHOD QGraphicsSceneMouseEvent:button() + RETURN Qt_QGraphicsSceneMouseEvent_button( ::pPtr ) + + +METHOD QGraphicsSceneMouseEvent:buttonDownPos( nButton ) + RETURN Qt_QGraphicsSceneMouseEvent_buttonDownPos( ::pPtr, nButton ) + + +METHOD QGraphicsSceneMouseEvent:buttonDownScenePos( nButton ) + RETURN Qt_QGraphicsSceneMouseEvent_buttonDownScenePos( ::pPtr, nButton ) + + +METHOD QGraphicsSceneMouseEvent:buttonDownScreenPos( nButton ) + RETURN Qt_QGraphicsSceneMouseEvent_buttonDownScreenPos( ::pPtr, nButton ) + + +METHOD QGraphicsSceneMouseEvent:buttons() + RETURN Qt_QGraphicsSceneMouseEvent_buttons( ::pPtr ) + + +METHOD QGraphicsSceneMouseEvent:lastPos() + RETURN Qt_QGraphicsSceneMouseEvent_lastPos( ::pPtr ) + + +METHOD QGraphicsSceneMouseEvent:lastScenePos() + RETURN Qt_QGraphicsSceneMouseEvent_lastScenePos( ::pPtr ) + + +METHOD QGraphicsSceneMouseEvent:lastScreenPos() + RETURN Qt_QGraphicsSceneMouseEvent_lastScreenPos( ::pPtr ) + + +METHOD QGraphicsSceneMouseEvent:modifiers() + RETURN Qt_QGraphicsSceneMouseEvent_modifiers( ::pPtr ) + + +METHOD QGraphicsSceneMouseEvent:pos() + RETURN Qt_QGraphicsSceneMouseEvent_pos( ::pPtr ) + + +METHOD QGraphicsSceneMouseEvent:scenePos() + RETURN Qt_QGraphicsSceneMouseEvent_scenePos( ::pPtr ) + + +METHOD QGraphicsSceneMouseEvent:screenPos() + RETURN Qt_QGraphicsSceneMouseEvent_screenPos( ::pPtr ) + diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMoveEvent.prg new file mode 100644 index 0000000000..84f7c71584 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneMoveEvent.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 QGraphicsSceneMoveEvent INHERIT HbQtObjectHandler, QGraphicsSceneEvent + + METHOD new( ... ) + + METHOD newPos() + METHOD oldPos() + + ENDCLASS + + +METHOD QGraphicsSceneMoveEvent:new( ... ) + LOCAL p + FOR EACH p IN { ... } + hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) + NEXT + ::pPtr := Qt_QGraphicsSceneMoveEvent( ... ) + RETURN Self + + +METHOD QGraphicsSceneMoveEvent:newPos() + RETURN Qt_QGraphicsSceneMoveEvent_newPos( ::pPtr ) + + +METHOD QGraphicsSceneMoveEvent:oldPos() + RETURN Qt_QGraphicsSceneMoveEvent_oldPos( ::pPtr ) + diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneResizeEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneResizeEvent.prg new file mode 100644 index 0000000000..4f1d66461a --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneResizeEvent.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 QGraphicsSceneResizeEvent INHERIT HbQtObjectHandler, QGraphicsSceneEvent + + METHOD new( ... ) + + METHOD newSize() + METHOD oldSize() + + ENDCLASS + + +METHOD QGraphicsSceneResizeEvent:new( ... ) + LOCAL p + FOR EACH p IN { ... } + hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) + NEXT + ::pPtr := Qt_QGraphicsSceneResizeEvent( ... ) + RETURN Self + + +METHOD QGraphicsSceneResizeEvent:newSize() + RETURN Qt_QGraphicsSceneResizeEvent_newSize( ::pPtr ) + + +METHOD QGraphicsSceneResizeEvent:oldSize() + RETURN Qt_QGraphicsSceneResizeEvent_oldSize( ::pPtr ) + diff --git a/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneWheelEvent.prg b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneWheelEvent.prg new file mode 100644 index 0000000000..fce220fdc4 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/g/TQGraphicsSceneWheelEvent.prg @@ -0,0 +1,116 @@ +/* + * $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 QGraphicsSceneWheelEvent INHERIT HbQtObjectHandler, QGraphicsSceneEvent + + METHOD new( ... ) + + METHOD buttons() + METHOD delta() + METHOD modifiers() + METHOD orientation() + METHOD pos() + METHOD scenePos() + METHOD screenPos() + + ENDCLASS + + +METHOD QGraphicsSceneWheelEvent:new( ... ) + LOCAL p + FOR EACH p IN { ... } + hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) ) + NEXT + ::pPtr := Qt_QGraphicsSceneWheelEvent( ... ) + RETURN Self + + +METHOD QGraphicsSceneWheelEvent:buttons() + RETURN Qt_QGraphicsSceneWheelEvent_buttons( ::pPtr ) + + +METHOD QGraphicsSceneWheelEvent:delta() + RETURN Qt_QGraphicsSceneWheelEvent_delta( ::pPtr ) + + +METHOD QGraphicsSceneWheelEvent:modifiers() + RETURN Qt_QGraphicsSceneWheelEvent_modifiers( ::pPtr ) + + +METHOD QGraphicsSceneWheelEvent:orientation() + RETURN Qt_QGraphicsSceneWheelEvent_orientation( ::pPtr ) + + +METHOD QGraphicsSceneWheelEvent:pos() + RETURN Qt_QGraphicsSceneWheelEvent_pos( ::pPtr ) + + +METHOD QGraphicsSceneWheelEvent:scenePos() + RETURN Qt_QGraphicsSceneWheelEvent_scenePos( ::pPtr ) + + +METHOD QGraphicsSceneWheelEvent:screenPos() + RETURN Qt_QGraphicsSceneWheelEvent_screenPos( ::pPtr ) + diff --git a/harbour/contrib/hbqt/qtgui/g/filelist.hbm b/harbour/contrib/hbqt/qtgui/g/filelist.hbm index 5f7eddd26c..3ef6a4de8e 100644 --- a/harbour/contrib/hbqt/qtgui/g/filelist.hbm +++ b/harbour/contrib/hbqt/qtgui/g/filelist.hbm @@ -87,6 +87,15 @@ QGraphicsPolygonItem.cpp QGraphicsProxyWidget.cpp QGraphicsRectItem.cpp QGraphicsScene.cpp +QGraphicsSceneContextMenuEvent.cpp +QGraphicsSceneDragDropEvent.cpp +QGraphicsSceneEvent.cpp +QGraphicsSceneHelpEvent.cpp +QGraphicsSceneHoverEvent.cpp +QGraphicsSceneMouseEvent.cpp +QGraphicsSceneMoveEvent.cpp +QGraphicsSceneResizeEvent.cpp +QGraphicsSceneWheelEvent.cpp QGraphicsSimpleTextItem.cpp QGraphicsTextItem.cpp QGraphicsView.cpp @@ -333,6 +342,15 @@ TQGraphicsPolygonItem.prg TQGraphicsProxyWidget.prg TQGraphicsRectItem.prg TQGraphicsScene.prg +TQGraphicsSceneContextMenuEvent.prg +TQGraphicsSceneDragDropEvent.prg +TQGraphicsSceneEvent.prg +TQGraphicsSceneHelpEvent.prg +TQGraphicsSceneHoverEvent.prg +TQGraphicsSceneMouseEvent.prg +TQGraphicsSceneMoveEvent.prg +TQGraphicsSceneResizeEvent.prg +TQGraphicsSceneWheelEvent.prg TQGraphicsSimpleTextItem.prg TQGraphicsTextItem.prg TQGraphicsView.prg diff --git a/harbour/contrib/hbqt/qtgui/g/hbqtgui.h b/harbour/contrib/hbqt/qtgui/g/hbqtgui.h index cd96de0b8d..50124b8845 100644 --- a/harbour/contrib/hbqt/qtgui/g/hbqtgui.h +++ b/harbour/contrib/hbqt/qtgui/g/hbqtgui.h @@ -93,6 +93,15 @@ extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsPolygonItem ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsProxyWidget ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsRectItem ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsScene ); +extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneContextMenuEvent ); +extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneDragDropEvent ); +extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneEvent ); +extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneHelpEvent ); +extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneHoverEvent ); +extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneMouseEvent ); +extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneMoveEvent ); +extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneResizeEvent ); +extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSceneWheelEvent ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSimpleTextItem ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsTextItem ); extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsView ); @@ -339,6 +348,15 @@ extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsPolygonItem( void * pObj, bool extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsProxyWidget( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsRectItem( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsScene( void * pObj, bool bNew ); +extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneContextMenuEvent( void * pObj, bool bNew ); +extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneDragDropEvent( void * pObj, bool bNew ); +extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneEvent( void * pObj, bool bNew ); +extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneHelpEvent( void * pObj, bool bNew ); +extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneHoverEvent( void * pObj, bool bNew ); +extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneMouseEvent( void * pObj, bool bNew ); +extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneMoveEvent( void * pObj, bool bNew ); +extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneResizeEvent( void * pObj, bool bNew ); +extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSceneWheelEvent( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsSimpleTextItem( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsTextItem( void * pObj, bool bNew ); extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsView( void * pObj, bool bNew ); @@ -587,6 +605,15 @@ HB_EXTERN_END #define hbqt_par_QGraphicsProxyWidget( n ) ( ( QGraphicsProxyWidget * ) hbqt_gcpointer( n ) ) #define hbqt_par_QGraphicsRectItem( n ) ( ( QGraphicsRectItem * ) hbqt_gcpointer( n ) ) #define hbqt_par_QGraphicsScene( n ) ( ( QGraphicsScene * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QGraphicsSceneContextMenuEvent( n ) ( ( QGraphicsSceneContextMenuEvent * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QGraphicsSceneDragDropEvent( n ) ( ( QGraphicsSceneDragDropEvent * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QGraphicsSceneEvent( n ) ( ( QGraphicsSceneEvent * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QGraphicsSceneHelpEvent( n ) ( ( QGraphicsSceneHelpEvent * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QGraphicsSceneHoverEvent( n ) ( ( QGraphicsSceneHoverEvent * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QGraphicsSceneMouseEvent( n ) ( ( QGraphicsSceneMouseEvent * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QGraphicsSceneMoveEvent( n ) ( ( QGraphicsSceneMoveEvent * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QGraphicsSceneResizeEvent( n ) ( ( QGraphicsSceneResizeEvent * ) hbqt_gcpointer( n ) ) +#define hbqt_par_QGraphicsSceneWheelEvent( n ) ( ( QGraphicsSceneWheelEvent * ) hbqt_gcpointer( n ) ) #define hbqt_par_QGraphicsSimpleTextItem( n ) ( ( QGraphicsSimpleTextItem * ) hbqt_gcpointer( n ) ) #define hbqt_par_QGraphicsTextItem( n ) ( ( QGraphicsTextItem * ) hbqt_gcpointer( n ) ) #define hbqt_par_QGraphicsView( n ) ( ( QGraphicsView * ) hbqt_gcpointer( n ) ) @@ -835,172 +862,181 @@ HB_EXTERN_END #define HBQT_TYPE_QGraphicsProxyWidget ( HBQT_TYPE_QTGUI_BASE + 76 ) #define HBQT_TYPE_QGraphicsRectItem ( HBQT_TYPE_QTGUI_BASE + 77 ) #define HBQT_TYPE_QGraphicsScene ( HBQT_TYPE_QTGUI_BASE + 78 ) -#define HBQT_TYPE_QGraphicsSimpleTextItem ( HBQT_TYPE_QTGUI_BASE + 79 ) -#define HBQT_TYPE_QGraphicsTextItem ( HBQT_TYPE_QTGUI_BASE + 80 ) -#define HBQT_TYPE_QGraphicsView ( HBQT_TYPE_QTGUI_BASE + 81 ) -#define HBQT_TYPE_QGraphicsWidget ( HBQT_TYPE_QTGUI_BASE + 82 ) -#define HBQT_TYPE_QGridLayout ( HBQT_TYPE_QTGUI_BASE + 83 ) -#define HBQT_TYPE_QGroupBox ( HBQT_TYPE_QTGUI_BASE + 84 ) -#define HBQT_TYPE_QHBoxLayout ( HBQT_TYPE_QTGUI_BASE + 85 ) -#define HBQT_TYPE_QHeaderView ( HBQT_TYPE_QTGUI_BASE + 86 ) -#define HBQT_TYPE_QHelpEvent ( HBQT_TYPE_QTGUI_BASE + 87 ) -#define HBQT_TYPE_QHideEvent ( HBQT_TYPE_QTGUI_BASE + 88 ) -#define HBQT_TYPE_QIcon ( HBQT_TYPE_QTGUI_BASE + 89 ) -#define HBQT_TYPE_QImage ( HBQT_TYPE_QTGUI_BASE + 90 ) -#define HBQT_TYPE_QImageReader ( HBQT_TYPE_QTGUI_BASE + 91 ) -#define HBQT_TYPE_QImageWriter ( HBQT_TYPE_QTGUI_BASE + 92 ) -#define HBQT_TYPE_QInputDialog ( HBQT_TYPE_QTGUI_BASE + 93 ) -#define HBQT_TYPE_QInputEvent ( HBQT_TYPE_QTGUI_BASE + 94 ) -#define HBQT_TYPE_QInputMethodEvent ( HBQT_TYPE_QTGUI_BASE + 95 ) -#define HBQT_TYPE_QItemDelegate ( HBQT_TYPE_QTGUI_BASE + 96 ) -#define HBQT_TYPE_QItemEditorCreatorBase ( HBQT_TYPE_QTGUI_BASE + 97 ) -#define HBQT_TYPE_QItemEditorFactory ( HBQT_TYPE_QTGUI_BASE + 98 ) -#define HBQT_TYPE_QItemSelection ( HBQT_TYPE_QTGUI_BASE + 99 ) -#define HBQT_TYPE_QItemSelectionModel ( HBQT_TYPE_QTGUI_BASE + 100 ) -#define HBQT_TYPE_QKeyEvent ( HBQT_TYPE_QTGUI_BASE + 101 ) -#define HBQT_TYPE_QKeySequence ( HBQT_TYPE_QTGUI_BASE + 102 ) -#define HBQT_TYPE_QLabel ( HBQT_TYPE_QTGUI_BASE + 103 ) -#define HBQT_TYPE_QLayout ( HBQT_TYPE_QTGUI_BASE + 104 ) -#define HBQT_TYPE_QLayoutItem ( HBQT_TYPE_QTGUI_BASE + 105 ) -#define HBQT_TYPE_QLCDNumber ( HBQT_TYPE_QTGUI_BASE + 106 ) -#define HBQT_TYPE_QLinearGradient ( HBQT_TYPE_QTGUI_BASE + 107 ) -#define HBQT_TYPE_QLineEdit ( HBQT_TYPE_QTGUI_BASE + 108 ) -#define HBQT_TYPE_QListView ( HBQT_TYPE_QTGUI_BASE + 109 ) -#define HBQT_TYPE_QListWidget ( HBQT_TYPE_QTGUI_BASE + 110 ) -#define HBQT_TYPE_QListWidgetItem ( HBQT_TYPE_QTGUI_BASE + 111 ) -#define HBQT_TYPE_QMainWindow ( HBQT_TYPE_QTGUI_BASE + 112 ) -#define HBQT_TYPE_QMatrix ( HBQT_TYPE_QTGUI_BASE + 113 ) -#define HBQT_TYPE_QMdiArea ( HBQT_TYPE_QTGUI_BASE + 114 ) -#define HBQT_TYPE_QMdiSubWindow ( HBQT_TYPE_QTGUI_BASE + 115 ) -#define HBQT_TYPE_QMenu ( HBQT_TYPE_QTGUI_BASE + 116 ) -#define HBQT_TYPE_QMenuBar ( HBQT_TYPE_QTGUI_BASE + 117 ) -#define HBQT_TYPE_QMessageBox ( HBQT_TYPE_QTGUI_BASE + 118 ) -#define HBQT_TYPE_QMouseEvent ( HBQT_TYPE_QTGUI_BASE + 119 ) -#define HBQT_TYPE_QMoveEvent ( HBQT_TYPE_QTGUI_BASE + 120 ) -#define HBQT_TYPE_QMovie ( HBQT_TYPE_QTGUI_BASE + 121 ) -#define HBQT_TYPE_QPageSetupDialog ( HBQT_TYPE_QTGUI_BASE + 122 ) -#define HBQT_TYPE_QPaintDevice ( HBQT_TYPE_QTGUI_BASE + 123 ) -#define HBQT_TYPE_QPaintEngine ( HBQT_TYPE_QTGUI_BASE + 124 ) -#define HBQT_TYPE_QPainter ( HBQT_TYPE_QTGUI_BASE + 125 ) -#define HBQT_TYPE_QPainterPath ( HBQT_TYPE_QTGUI_BASE + 126 ) -#define HBQT_TYPE_QPaintEvent ( HBQT_TYPE_QTGUI_BASE + 127 ) -#define HBQT_TYPE_QPalette ( HBQT_TYPE_QTGUI_BASE + 128 ) -#define HBQT_TYPE_QPen ( HBQT_TYPE_QTGUI_BASE + 129 ) -#define HBQT_TYPE_QPicture ( HBQT_TYPE_QTGUI_BASE + 130 ) -#define HBQT_TYPE_QPixmap ( HBQT_TYPE_QTGUI_BASE + 131 ) -#define HBQT_TYPE_QPlainTextDocumentLayout ( HBQT_TYPE_QTGUI_BASE + 132 ) -#define HBQT_TYPE_QPlainTextEdit ( HBQT_TYPE_QTGUI_BASE + 133 ) -#define HBQT_TYPE_QPolygon ( HBQT_TYPE_QTGUI_BASE + 134 ) -#define HBQT_TYPE_QPolygonF ( HBQT_TYPE_QTGUI_BASE + 135 ) -#define HBQT_TYPE_QPrintDialog ( HBQT_TYPE_QTGUI_BASE + 136 ) -#define HBQT_TYPE_QPrintEngine ( HBQT_TYPE_QTGUI_BASE + 137 ) -#define HBQT_TYPE_QPrinter ( HBQT_TYPE_QTGUI_BASE + 138 ) -#define HBQT_TYPE_QPrintPreviewDialog ( HBQT_TYPE_QTGUI_BASE + 139 ) -#define HBQT_TYPE_QProgressBar ( HBQT_TYPE_QTGUI_BASE + 140 ) -#define HBQT_TYPE_QProgressDialog ( HBQT_TYPE_QTGUI_BASE + 141 ) -#define HBQT_TYPE_QPushButton ( HBQT_TYPE_QTGUI_BASE + 142 ) -#define HBQT_TYPE_QRadialGradient ( HBQT_TYPE_QTGUI_BASE + 143 ) -#define HBQT_TYPE_QRadioButton ( HBQT_TYPE_QTGUI_BASE + 144 ) -#define HBQT_TYPE_QRegion ( HBQT_TYPE_QTGUI_BASE + 145 ) -#define HBQT_TYPE_QResizeEvent ( HBQT_TYPE_QTGUI_BASE + 146 ) -#define HBQT_TYPE_QScrollArea ( HBQT_TYPE_QTGUI_BASE + 147 ) -#define HBQT_TYPE_QScrollBar ( HBQT_TYPE_QTGUI_BASE + 148 ) -#define HBQT_TYPE_QSessionManager ( HBQT_TYPE_QTGUI_BASE + 149 ) -#define HBQT_TYPE_QShowEvent ( HBQT_TYPE_QTGUI_BASE + 150 ) -#define HBQT_TYPE_QSizeGrip ( HBQT_TYPE_QTGUI_BASE + 151 ) -#define HBQT_TYPE_QSizePolicy ( HBQT_TYPE_QTGUI_BASE + 152 ) -#define HBQT_TYPE_QSlider ( HBQT_TYPE_QTGUI_BASE + 153 ) -#define HBQT_TYPE_QSound ( HBQT_TYPE_QTGUI_BASE + 154 ) -#define HBQT_TYPE_QSpacerItem ( HBQT_TYPE_QTGUI_BASE + 155 ) -#define HBQT_TYPE_QSpinBox ( HBQT_TYPE_QTGUI_BASE + 156 ) -#define HBQT_TYPE_QSplashScreen ( HBQT_TYPE_QTGUI_BASE + 157 ) -#define HBQT_TYPE_QSplitter ( HBQT_TYPE_QTGUI_BASE + 158 ) -#define HBQT_TYPE_QStackedWidget ( HBQT_TYPE_QTGUI_BASE + 159 ) -#define HBQT_TYPE_QStandardItem ( HBQT_TYPE_QTGUI_BASE + 160 ) -#define HBQT_TYPE_QStandardItemModel ( HBQT_TYPE_QTGUI_BASE + 161 ) -#define HBQT_TYPE_QStatusBar ( HBQT_TYPE_QTGUI_BASE + 162 ) -#define HBQT_TYPE_QStringListModel ( HBQT_TYPE_QTGUI_BASE + 163 ) -#define HBQT_TYPE_QStyle ( HBQT_TYPE_QTGUI_BASE + 164 ) -#define HBQT_TYPE_QStyledItemDelegate ( HBQT_TYPE_QTGUI_BASE + 165 ) -#define HBQT_TYPE_QStyleFactory ( HBQT_TYPE_QTGUI_BASE + 166 ) -#define HBQT_TYPE_QStyleHintReturn ( HBQT_TYPE_QTGUI_BASE + 167 ) -#define HBQT_TYPE_QStyleHintReturnMask ( HBQT_TYPE_QTGUI_BASE + 168 ) -#define HBQT_TYPE_QStyleHintReturnVariant ( HBQT_TYPE_QTGUI_BASE + 169 ) -#define HBQT_TYPE_QStyleOption ( HBQT_TYPE_QTGUI_BASE + 170 ) -#define HBQT_TYPE_QStyleOptionButton ( HBQT_TYPE_QTGUI_BASE + 171 ) -#define HBQT_TYPE_QStyleOptionComboBox ( HBQT_TYPE_QTGUI_BASE + 172 ) -#define HBQT_TYPE_QStyleOptionComplex ( HBQT_TYPE_QTGUI_BASE + 173 ) -#define HBQT_TYPE_QStyleOptionDockWidget ( HBQT_TYPE_QTGUI_BASE + 174 ) -#define HBQT_TYPE_QStyleOptionFocusRect ( HBQT_TYPE_QTGUI_BASE + 175 ) -#define HBQT_TYPE_QStyleOptionFrame ( HBQT_TYPE_QTGUI_BASE + 176 ) -#define HBQT_TYPE_QStyleOptionGraphicsItem ( HBQT_TYPE_QTGUI_BASE + 177 ) -#define HBQT_TYPE_QStyleOptionGroupBox ( HBQT_TYPE_QTGUI_BASE + 178 ) -#define HBQT_TYPE_QStyleOptionHeader ( HBQT_TYPE_QTGUI_BASE + 179 ) -#define HBQT_TYPE_QStyleOptionMenuItem ( HBQT_TYPE_QTGUI_BASE + 180 ) -#define HBQT_TYPE_QStyleOptionProgressBar ( HBQT_TYPE_QTGUI_BASE + 181 ) -#define HBQT_TYPE_QStyleOptionSizeGrip ( HBQT_TYPE_QTGUI_BASE + 182 ) -#define HBQT_TYPE_QStyleOptionSlider ( HBQT_TYPE_QTGUI_BASE + 183 ) -#define HBQT_TYPE_QStyleOptionSpinBox ( HBQT_TYPE_QTGUI_BASE + 184 ) -#define HBQT_TYPE_QStyleOptionTab ( HBQT_TYPE_QTGUI_BASE + 185 ) -#define HBQT_TYPE_QStyleOptionTabBarBase ( HBQT_TYPE_QTGUI_BASE + 186 ) -#define HBQT_TYPE_QStyleOptionTabWidgetFrame ( HBQT_TYPE_QTGUI_BASE + 187 ) -#define HBQT_TYPE_QStyleOptionTitleBar ( HBQT_TYPE_QTGUI_BASE + 188 ) -#define HBQT_TYPE_QStyleOptionToolBar ( HBQT_TYPE_QTGUI_BASE + 189 ) -#define HBQT_TYPE_QStyleOptionToolBox ( HBQT_TYPE_QTGUI_BASE + 190 ) -#define HBQT_TYPE_QStyleOptionToolButton ( HBQT_TYPE_QTGUI_BASE + 191 ) -#define HBQT_TYPE_QStyleOptionViewItem ( HBQT_TYPE_QTGUI_BASE + 192 ) -#define HBQT_TYPE_QStylePainter ( HBQT_TYPE_QTGUI_BASE + 193 ) -#define HBQT_TYPE_QSyntaxHighlighter ( HBQT_TYPE_QTGUI_BASE + 194 ) -#define HBQT_TYPE_QSystemTrayIcon ( HBQT_TYPE_QTGUI_BASE + 195 ) -#define HBQT_TYPE_QTabBar ( HBQT_TYPE_QTGUI_BASE + 196 ) -#define HBQT_TYPE_QTableView ( HBQT_TYPE_QTGUI_BASE + 197 ) -#define HBQT_TYPE_QTableWidget ( HBQT_TYPE_QTGUI_BASE + 198 ) -#define HBQT_TYPE_QTableWidgetItem ( HBQT_TYPE_QTGUI_BASE + 199 ) -#define HBQT_TYPE_QTableWidgetSelectionRange ( HBQT_TYPE_QTGUI_BASE + 200 ) -#define HBQT_TYPE_QTabWidget ( HBQT_TYPE_QTGUI_BASE + 201 ) -#define HBQT_TYPE_QTextBlock ( HBQT_TYPE_QTGUI_BASE + 202 ) -#define HBQT_TYPE_QTextBlockFormat ( HBQT_TYPE_QTGUI_BASE + 203 ) -#define HBQT_TYPE_QTextBlockGroup ( HBQT_TYPE_QTGUI_BASE + 204 ) -#define HBQT_TYPE_QTextBrowser ( HBQT_TYPE_QTGUI_BASE + 205 ) -#define HBQT_TYPE_QTextCharFormat ( HBQT_TYPE_QTGUI_BASE + 206 ) -#define HBQT_TYPE_QTextCursor ( HBQT_TYPE_QTGUI_BASE + 207 ) -#define HBQT_TYPE_QTextDocument ( HBQT_TYPE_QTGUI_BASE + 208 ) -#define HBQT_TYPE_QTextDocumentFragment ( HBQT_TYPE_QTGUI_BASE + 209 ) -#define HBQT_TYPE_QTextDocumentWriter ( HBQT_TYPE_QTGUI_BASE + 210 ) -#define HBQT_TYPE_QTextEdit ( HBQT_TYPE_QTGUI_BASE + 211 ) -#define HBQT_TYPE_QTextFormat ( HBQT_TYPE_QTGUI_BASE + 212 ) -#define HBQT_TYPE_QTextFragment ( HBQT_TYPE_QTGUI_BASE + 213 ) -#define HBQT_TYPE_QTextFrame ( HBQT_TYPE_QTGUI_BASE + 214 ) -#define HBQT_TYPE_QTextFrameFormat ( HBQT_TYPE_QTGUI_BASE + 215 ) -#define HBQT_TYPE_QTextImageFormat ( HBQT_TYPE_QTGUI_BASE + 216 ) -#define HBQT_TYPE_QTextInlineObject ( HBQT_TYPE_QTGUI_BASE + 217 ) -#define HBQT_TYPE_QTextItem ( HBQT_TYPE_QTGUI_BASE + 218 ) -#define HBQT_TYPE_QTextLayout ( HBQT_TYPE_QTGUI_BASE + 219 ) -#define HBQT_TYPE_QTextLength ( HBQT_TYPE_QTGUI_BASE + 220 ) -#define HBQT_TYPE_QTextLine ( HBQT_TYPE_QTGUI_BASE + 221 ) -#define HBQT_TYPE_QTextList ( HBQT_TYPE_QTGUI_BASE + 222 ) -#define HBQT_TYPE_QTextListFormat ( HBQT_TYPE_QTGUI_BASE + 223 ) -#define HBQT_TYPE_QTextObject ( HBQT_TYPE_QTGUI_BASE + 224 ) -#define HBQT_TYPE_QTextOption ( HBQT_TYPE_QTGUI_BASE + 225 ) -#define HBQT_TYPE_QTextTableFormat ( HBQT_TYPE_QTGUI_BASE + 226 ) -#define HBQT_TYPE_QTimeEdit ( HBQT_TYPE_QTGUI_BASE + 227 ) -#define HBQT_TYPE_QToolBar ( HBQT_TYPE_QTGUI_BASE + 228 ) -#define HBQT_TYPE_QToolBox ( HBQT_TYPE_QTGUI_BASE + 229 ) -#define HBQT_TYPE_QToolButton ( HBQT_TYPE_QTGUI_BASE + 230 ) -#define HBQT_TYPE_QTransform ( HBQT_TYPE_QTGUI_BASE + 231 ) -#define HBQT_TYPE_QTreeView ( HBQT_TYPE_QTGUI_BASE + 232 ) -#define HBQT_TYPE_QTreeWidget ( HBQT_TYPE_QTGUI_BASE + 233 ) -#define HBQT_TYPE_QTreeWidgetItem ( HBQT_TYPE_QTGUI_BASE + 234 ) -#define HBQT_TYPE_QValidator ( HBQT_TYPE_QTGUI_BASE + 235 ) -#define HBQT_TYPE_QVBoxLayout ( HBQT_TYPE_QTGUI_BASE + 236 ) -#define HBQT_TYPE_QWheelEvent ( HBQT_TYPE_QTGUI_BASE + 237 ) -#define HBQT_TYPE_QWidget ( HBQT_TYPE_QTGUI_BASE + 238 ) -#define HBQT_TYPE_QWidgetAction ( HBQT_TYPE_QTGUI_BASE + 239 ) -#define HBQT_TYPE_QWidgetItem ( HBQT_TYPE_QTGUI_BASE + 240 ) -#define HBQT_TYPE_QWindowsStyle ( HBQT_TYPE_QTGUI_BASE + 241 ) -#define HBQT_TYPE_QWindowStateChangeEvent ( HBQT_TYPE_QTGUI_BASE + 242 ) -#define HBQT_TYPE_QWizard ( HBQT_TYPE_QTGUI_BASE + 243 ) -#define HBQT_TYPE_QWizardPage ( HBQT_TYPE_QTGUI_BASE + 244 ) -#define HBQT_TYPE_QUiLoader ( HBQT_TYPE_QTGUI_BASE + 245 ) +#define HBQT_TYPE_QGraphicsSceneContextMenuEvent ( HBQT_TYPE_QTGUI_BASE + 79 ) +#define HBQT_TYPE_QGraphicsSceneDragDropEvent ( HBQT_TYPE_QTGUI_BASE + 80 ) +#define HBQT_TYPE_QGraphicsSceneEvent ( HBQT_TYPE_QTGUI_BASE + 81 ) +#define HBQT_TYPE_QGraphicsSceneHelpEvent ( HBQT_TYPE_QTGUI_BASE + 82 ) +#define HBQT_TYPE_QGraphicsSceneHoverEvent ( HBQT_TYPE_QTGUI_BASE + 83 ) +#define HBQT_TYPE_QGraphicsSceneMouseEvent ( HBQT_TYPE_QTGUI_BASE + 84 ) +#define HBQT_TYPE_QGraphicsSceneMoveEvent ( HBQT_TYPE_QTGUI_BASE + 85 ) +#define HBQT_TYPE_QGraphicsSceneResizeEvent ( HBQT_TYPE_QTGUI_BASE + 86 ) +#define HBQT_TYPE_QGraphicsSceneWheelEvent ( HBQT_TYPE_QTGUI_BASE + 87 ) +#define HBQT_TYPE_QGraphicsSimpleTextItem ( HBQT_TYPE_QTGUI_BASE + 88 ) +#define HBQT_TYPE_QGraphicsTextItem ( HBQT_TYPE_QTGUI_BASE + 89 ) +#define HBQT_TYPE_QGraphicsView ( HBQT_TYPE_QTGUI_BASE + 90 ) +#define HBQT_TYPE_QGraphicsWidget ( HBQT_TYPE_QTGUI_BASE + 91 ) +#define HBQT_TYPE_QGridLayout ( HBQT_TYPE_QTGUI_BASE + 92 ) +#define HBQT_TYPE_QGroupBox ( HBQT_TYPE_QTGUI_BASE + 93 ) +#define HBQT_TYPE_QHBoxLayout ( HBQT_TYPE_QTGUI_BASE + 94 ) +#define HBQT_TYPE_QHeaderView ( HBQT_TYPE_QTGUI_BASE + 95 ) +#define HBQT_TYPE_QHelpEvent ( HBQT_TYPE_QTGUI_BASE + 96 ) +#define HBQT_TYPE_QHideEvent ( HBQT_TYPE_QTGUI_BASE + 97 ) +#define HBQT_TYPE_QIcon ( HBQT_TYPE_QTGUI_BASE + 98 ) +#define HBQT_TYPE_QImage ( HBQT_TYPE_QTGUI_BASE + 99 ) +#define HBQT_TYPE_QImageReader ( HBQT_TYPE_QTGUI_BASE + 100 ) +#define HBQT_TYPE_QImageWriter ( HBQT_TYPE_QTGUI_BASE + 101 ) +#define HBQT_TYPE_QInputDialog ( HBQT_TYPE_QTGUI_BASE + 102 ) +#define HBQT_TYPE_QInputEvent ( HBQT_TYPE_QTGUI_BASE + 103 ) +#define HBQT_TYPE_QInputMethodEvent ( HBQT_TYPE_QTGUI_BASE + 104 ) +#define HBQT_TYPE_QItemDelegate ( HBQT_TYPE_QTGUI_BASE + 105 ) +#define HBQT_TYPE_QItemEditorCreatorBase ( HBQT_TYPE_QTGUI_BASE + 106 ) +#define HBQT_TYPE_QItemEditorFactory ( HBQT_TYPE_QTGUI_BASE + 107 ) +#define HBQT_TYPE_QItemSelection ( HBQT_TYPE_QTGUI_BASE + 108 ) +#define HBQT_TYPE_QItemSelectionModel ( HBQT_TYPE_QTGUI_BASE + 109 ) +#define HBQT_TYPE_QKeyEvent ( HBQT_TYPE_QTGUI_BASE + 110 ) +#define HBQT_TYPE_QKeySequence ( HBQT_TYPE_QTGUI_BASE + 111 ) +#define HBQT_TYPE_QLabel ( HBQT_TYPE_QTGUI_BASE + 112 ) +#define HBQT_TYPE_QLayout ( HBQT_TYPE_QTGUI_BASE + 113 ) +#define HBQT_TYPE_QLayoutItem ( HBQT_TYPE_QTGUI_BASE + 114 ) +#define HBQT_TYPE_QLCDNumber ( HBQT_TYPE_QTGUI_BASE + 115 ) +#define HBQT_TYPE_QLinearGradient ( HBQT_TYPE_QTGUI_BASE + 116 ) +#define HBQT_TYPE_QLineEdit ( HBQT_TYPE_QTGUI_BASE + 117 ) +#define HBQT_TYPE_QListView ( HBQT_TYPE_QTGUI_BASE + 118 ) +#define HBQT_TYPE_QListWidget ( HBQT_TYPE_QTGUI_BASE + 119 ) +#define HBQT_TYPE_QListWidgetItem ( HBQT_TYPE_QTGUI_BASE + 120 ) +#define HBQT_TYPE_QMainWindow ( HBQT_TYPE_QTGUI_BASE + 121 ) +#define HBQT_TYPE_QMatrix ( HBQT_TYPE_QTGUI_BASE + 122 ) +#define HBQT_TYPE_QMdiArea ( HBQT_TYPE_QTGUI_BASE + 123 ) +#define HBQT_TYPE_QMdiSubWindow ( HBQT_TYPE_QTGUI_BASE + 124 ) +#define HBQT_TYPE_QMenu ( HBQT_TYPE_QTGUI_BASE + 125 ) +#define HBQT_TYPE_QMenuBar ( HBQT_TYPE_QTGUI_BASE + 126 ) +#define HBQT_TYPE_QMessageBox ( HBQT_TYPE_QTGUI_BASE + 127 ) +#define HBQT_TYPE_QMouseEvent ( HBQT_TYPE_QTGUI_BASE + 128 ) +#define HBQT_TYPE_QMoveEvent ( HBQT_TYPE_QTGUI_BASE + 129 ) +#define HBQT_TYPE_QMovie ( HBQT_TYPE_QTGUI_BASE + 130 ) +#define HBQT_TYPE_QPageSetupDialog ( HBQT_TYPE_QTGUI_BASE + 131 ) +#define HBQT_TYPE_QPaintDevice ( HBQT_TYPE_QTGUI_BASE + 132 ) +#define HBQT_TYPE_QPaintEngine ( HBQT_TYPE_QTGUI_BASE + 133 ) +#define HBQT_TYPE_QPainter ( HBQT_TYPE_QTGUI_BASE + 134 ) +#define HBQT_TYPE_QPainterPath ( HBQT_TYPE_QTGUI_BASE + 135 ) +#define HBQT_TYPE_QPaintEvent ( HBQT_TYPE_QTGUI_BASE + 136 ) +#define HBQT_TYPE_QPalette ( HBQT_TYPE_QTGUI_BASE + 137 ) +#define HBQT_TYPE_QPen ( HBQT_TYPE_QTGUI_BASE + 138 ) +#define HBQT_TYPE_QPicture ( HBQT_TYPE_QTGUI_BASE + 139 ) +#define HBQT_TYPE_QPixmap ( HBQT_TYPE_QTGUI_BASE + 140 ) +#define HBQT_TYPE_QPlainTextDocumentLayout ( HBQT_TYPE_QTGUI_BASE + 141 ) +#define HBQT_TYPE_QPlainTextEdit ( HBQT_TYPE_QTGUI_BASE + 142 ) +#define HBQT_TYPE_QPolygon ( HBQT_TYPE_QTGUI_BASE + 143 ) +#define HBQT_TYPE_QPolygonF ( HBQT_TYPE_QTGUI_BASE + 144 ) +#define HBQT_TYPE_QPrintDialog ( HBQT_TYPE_QTGUI_BASE + 145 ) +#define HBQT_TYPE_QPrintEngine ( HBQT_TYPE_QTGUI_BASE + 146 ) +#define HBQT_TYPE_QPrinter ( HBQT_TYPE_QTGUI_BASE + 147 ) +#define HBQT_TYPE_QPrintPreviewDialog ( HBQT_TYPE_QTGUI_BASE + 148 ) +#define HBQT_TYPE_QProgressBar ( HBQT_TYPE_QTGUI_BASE + 149 ) +#define HBQT_TYPE_QProgressDialog ( HBQT_TYPE_QTGUI_BASE + 150 ) +#define HBQT_TYPE_QPushButton ( HBQT_TYPE_QTGUI_BASE + 151 ) +#define HBQT_TYPE_QRadialGradient ( HBQT_TYPE_QTGUI_BASE + 152 ) +#define HBQT_TYPE_QRadioButton ( HBQT_TYPE_QTGUI_BASE + 153 ) +#define HBQT_TYPE_QRegion ( HBQT_TYPE_QTGUI_BASE + 154 ) +#define HBQT_TYPE_QResizeEvent ( HBQT_TYPE_QTGUI_BASE + 155 ) +#define HBQT_TYPE_QScrollArea ( HBQT_TYPE_QTGUI_BASE + 156 ) +#define HBQT_TYPE_QScrollBar ( HBQT_TYPE_QTGUI_BASE + 157 ) +#define HBQT_TYPE_QSessionManager ( HBQT_TYPE_QTGUI_BASE + 158 ) +#define HBQT_TYPE_QShowEvent ( HBQT_TYPE_QTGUI_BASE + 159 ) +#define HBQT_TYPE_QSizeGrip ( HBQT_TYPE_QTGUI_BASE + 160 ) +#define HBQT_TYPE_QSizePolicy ( HBQT_TYPE_QTGUI_BASE + 161 ) +#define HBQT_TYPE_QSlider ( HBQT_TYPE_QTGUI_BASE + 162 ) +#define HBQT_TYPE_QSound ( HBQT_TYPE_QTGUI_BASE + 163 ) +#define HBQT_TYPE_QSpacerItem ( HBQT_TYPE_QTGUI_BASE + 164 ) +#define HBQT_TYPE_QSpinBox ( HBQT_TYPE_QTGUI_BASE + 165 ) +#define HBQT_TYPE_QSplashScreen ( HBQT_TYPE_QTGUI_BASE + 166 ) +#define HBQT_TYPE_QSplitter ( HBQT_TYPE_QTGUI_BASE + 167 ) +#define HBQT_TYPE_QStackedWidget ( HBQT_TYPE_QTGUI_BASE + 168 ) +#define HBQT_TYPE_QStandardItem ( HBQT_TYPE_QTGUI_BASE + 169 ) +#define HBQT_TYPE_QStandardItemModel ( HBQT_TYPE_QTGUI_BASE + 170 ) +#define HBQT_TYPE_QStatusBar ( HBQT_TYPE_QTGUI_BASE + 171 ) +#define HBQT_TYPE_QStringListModel ( HBQT_TYPE_QTGUI_BASE + 172 ) +#define HBQT_TYPE_QStyle ( HBQT_TYPE_QTGUI_BASE + 173 ) +#define HBQT_TYPE_QStyledItemDelegate ( HBQT_TYPE_QTGUI_BASE + 174 ) +#define HBQT_TYPE_QStyleFactory ( HBQT_TYPE_QTGUI_BASE + 175 ) +#define HBQT_TYPE_QStyleHintReturn ( HBQT_TYPE_QTGUI_BASE + 176 ) +#define HBQT_TYPE_QStyleHintReturnMask ( HBQT_TYPE_QTGUI_BASE + 177 ) +#define HBQT_TYPE_QStyleHintReturnVariant ( HBQT_TYPE_QTGUI_BASE + 178 ) +#define HBQT_TYPE_QStyleOption ( HBQT_TYPE_QTGUI_BASE + 179 ) +#define HBQT_TYPE_QStyleOptionButton ( HBQT_TYPE_QTGUI_BASE + 180 ) +#define HBQT_TYPE_QStyleOptionComboBox ( HBQT_TYPE_QTGUI_BASE + 181 ) +#define HBQT_TYPE_QStyleOptionComplex ( HBQT_TYPE_QTGUI_BASE + 182 ) +#define HBQT_TYPE_QStyleOptionDockWidget ( HBQT_TYPE_QTGUI_BASE + 183 ) +#define HBQT_TYPE_QStyleOptionFocusRect ( HBQT_TYPE_QTGUI_BASE + 184 ) +#define HBQT_TYPE_QStyleOptionFrame ( HBQT_TYPE_QTGUI_BASE + 185 ) +#define HBQT_TYPE_QStyleOptionGraphicsItem ( HBQT_TYPE_QTGUI_BASE + 186 ) +#define HBQT_TYPE_QStyleOptionGroupBox ( HBQT_TYPE_QTGUI_BASE + 187 ) +#define HBQT_TYPE_QStyleOptionHeader ( HBQT_TYPE_QTGUI_BASE + 188 ) +#define HBQT_TYPE_QStyleOptionMenuItem ( HBQT_TYPE_QTGUI_BASE + 189 ) +#define HBQT_TYPE_QStyleOptionProgressBar ( HBQT_TYPE_QTGUI_BASE + 190 ) +#define HBQT_TYPE_QStyleOptionSizeGrip ( HBQT_TYPE_QTGUI_BASE + 191 ) +#define HBQT_TYPE_QStyleOptionSlider ( HBQT_TYPE_QTGUI_BASE + 192 ) +#define HBQT_TYPE_QStyleOptionSpinBox ( HBQT_TYPE_QTGUI_BASE + 193 ) +#define HBQT_TYPE_QStyleOptionTab ( HBQT_TYPE_QTGUI_BASE + 194 ) +#define HBQT_TYPE_QStyleOptionTabBarBase ( HBQT_TYPE_QTGUI_BASE + 195 ) +#define HBQT_TYPE_QStyleOptionTabWidgetFrame ( HBQT_TYPE_QTGUI_BASE + 196 ) +#define HBQT_TYPE_QStyleOptionTitleBar ( HBQT_TYPE_QTGUI_BASE + 197 ) +#define HBQT_TYPE_QStyleOptionToolBar ( HBQT_TYPE_QTGUI_BASE + 198 ) +#define HBQT_TYPE_QStyleOptionToolBox ( HBQT_TYPE_QTGUI_BASE + 199 ) +#define HBQT_TYPE_QStyleOptionToolButton ( HBQT_TYPE_QTGUI_BASE + 200 ) +#define HBQT_TYPE_QStyleOptionViewItem ( HBQT_TYPE_QTGUI_BASE + 201 ) +#define HBQT_TYPE_QStylePainter ( HBQT_TYPE_QTGUI_BASE + 202 ) +#define HBQT_TYPE_QSyntaxHighlighter ( HBQT_TYPE_QTGUI_BASE + 203 ) +#define HBQT_TYPE_QSystemTrayIcon ( HBQT_TYPE_QTGUI_BASE + 204 ) +#define HBQT_TYPE_QTabBar ( HBQT_TYPE_QTGUI_BASE + 205 ) +#define HBQT_TYPE_QTableView ( HBQT_TYPE_QTGUI_BASE + 206 ) +#define HBQT_TYPE_QTableWidget ( HBQT_TYPE_QTGUI_BASE + 207 ) +#define HBQT_TYPE_QTableWidgetItem ( HBQT_TYPE_QTGUI_BASE + 208 ) +#define HBQT_TYPE_QTableWidgetSelectionRange ( HBQT_TYPE_QTGUI_BASE + 209 ) +#define HBQT_TYPE_QTabWidget ( HBQT_TYPE_QTGUI_BASE + 210 ) +#define HBQT_TYPE_QTextBlock ( HBQT_TYPE_QTGUI_BASE + 211 ) +#define HBQT_TYPE_QTextBlockFormat ( HBQT_TYPE_QTGUI_BASE + 212 ) +#define HBQT_TYPE_QTextBlockGroup ( HBQT_TYPE_QTGUI_BASE + 213 ) +#define HBQT_TYPE_QTextBrowser ( HBQT_TYPE_QTGUI_BASE + 214 ) +#define HBQT_TYPE_QTextCharFormat ( HBQT_TYPE_QTGUI_BASE + 215 ) +#define HBQT_TYPE_QTextCursor ( HBQT_TYPE_QTGUI_BASE + 216 ) +#define HBQT_TYPE_QTextDocument ( HBQT_TYPE_QTGUI_BASE + 217 ) +#define HBQT_TYPE_QTextDocumentFragment ( HBQT_TYPE_QTGUI_BASE + 218 ) +#define HBQT_TYPE_QTextDocumentWriter ( HBQT_TYPE_QTGUI_BASE + 219 ) +#define HBQT_TYPE_QTextEdit ( HBQT_TYPE_QTGUI_BASE + 220 ) +#define HBQT_TYPE_QTextFormat ( HBQT_TYPE_QTGUI_BASE + 221 ) +#define HBQT_TYPE_QTextFragment ( HBQT_TYPE_QTGUI_BASE + 222 ) +#define HBQT_TYPE_QTextFrame ( HBQT_TYPE_QTGUI_BASE + 223 ) +#define HBQT_TYPE_QTextFrameFormat ( HBQT_TYPE_QTGUI_BASE + 224 ) +#define HBQT_TYPE_QTextImageFormat ( HBQT_TYPE_QTGUI_BASE + 225 ) +#define HBQT_TYPE_QTextInlineObject ( HBQT_TYPE_QTGUI_BASE + 226 ) +#define HBQT_TYPE_QTextItem ( HBQT_TYPE_QTGUI_BASE + 227 ) +#define HBQT_TYPE_QTextLayout ( HBQT_TYPE_QTGUI_BASE + 228 ) +#define HBQT_TYPE_QTextLength ( HBQT_TYPE_QTGUI_BASE + 229 ) +#define HBQT_TYPE_QTextLine ( HBQT_TYPE_QTGUI_BASE + 230 ) +#define HBQT_TYPE_QTextList ( HBQT_TYPE_QTGUI_BASE + 231 ) +#define HBQT_TYPE_QTextListFormat ( HBQT_TYPE_QTGUI_BASE + 232 ) +#define HBQT_TYPE_QTextObject ( HBQT_TYPE_QTGUI_BASE + 233 ) +#define HBQT_TYPE_QTextOption ( HBQT_TYPE_QTGUI_BASE + 234 ) +#define HBQT_TYPE_QTextTableFormat ( HBQT_TYPE_QTGUI_BASE + 235 ) +#define HBQT_TYPE_QTimeEdit ( HBQT_TYPE_QTGUI_BASE + 236 ) +#define HBQT_TYPE_QToolBar ( HBQT_TYPE_QTGUI_BASE + 237 ) +#define HBQT_TYPE_QToolBox ( HBQT_TYPE_QTGUI_BASE + 238 ) +#define HBQT_TYPE_QToolButton ( HBQT_TYPE_QTGUI_BASE + 239 ) +#define HBQT_TYPE_QTransform ( HBQT_TYPE_QTGUI_BASE + 240 ) +#define HBQT_TYPE_QTreeView ( HBQT_TYPE_QTGUI_BASE + 241 ) +#define HBQT_TYPE_QTreeWidget ( HBQT_TYPE_QTGUI_BASE + 242 ) +#define HBQT_TYPE_QTreeWidgetItem ( HBQT_TYPE_QTGUI_BASE + 243 ) +#define HBQT_TYPE_QValidator ( HBQT_TYPE_QTGUI_BASE + 244 ) +#define HBQT_TYPE_QVBoxLayout ( HBQT_TYPE_QTGUI_BASE + 245 ) +#define HBQT_TYPE_QWheelEvent ( HBQT_TYPE_QTGUI_BASE + 246 ) +#define HBQT_TYPE_QWidget ( HBQT_TYPE_QTGUI_BASE + 247 ) +#define HBQT_TYPE_QWidgetAction ( HBQT_TYPE_QTGUI_BASE + 248 ) +#define HBQT_TYPE_QWidgetItem ( HBQT_TYPE_QTGUI_BASE + 249 ) +#define HBQT_TYPE_QWindowsStyle ( HBQT_TYPE_QTGUI_BASE + 250 ) +#define HBQT_TYPE_QWindowStateChangeEvent ( HBQT_TYPE_QTGUI_BASE + 251 ) +#define HBQT_TYPE_QWizard ( HBQT_TYPE_QTGUI_BASE + 252 ) +#define HBQT_TYPE_QWizardPage ( HBQT_TYPE_QTGUI_BASE + 253 ) +#define HBQT_TYPE_QUiLoader ( HBQT_TYPE_QTGUI_BASE + 254 ) #endif /* __HBQTGUI_H */ diff --git a/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneContextMenuEvent.qth b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneContextMenuEvent.qth new file mode 100644 index 0000000000..9ac7b4cce4 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneContextMenuEvent.qth @@ -0,0 +1,101 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT Source Generator for Harbour + * + * Copyright 2009-2010 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 = no +Inherit = QGraphicsSceneEvent +Type = +New = + + + +#include +#include +#include + + +/* + * ~QGraphicsSceneContextMenuEvent () + */ +HB_FUNC( QT_QGRAPHICSSCENECONTEXTMENUEVENT ) +{ + //hb_retptr( new QGraphicsSceneContextMenuEvent() ); +} + + + +enum Reason { Mouse, Keyboard, Other } + + + +Qt::KeyboardModifiers modifiers () const +QPointF pos () const +Reason reason () const +QPointF scenePos () const +QPoint screenPos () const + + + + + + + + + + + + + diff --git a/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth new file mode 100644 index 0000000000..2148847d02 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneDragDropEvent.qth @@ -0,0 +1,111 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT Source Generator for Harbour + * + * Copyright 2009-2010 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 = no +Inherit = QGraphicsSceneEvent +Type = +New = + + + +#include +#include +#include +#include +#include + + +/* + * ~QGraphicsSceneDragDropEvent () + */ +HB_FUNC( QT_QGRAPHICSSCENEDRAGDROPEVENT ) +{ + //hb_retptr( new QGraphicsSceneDragDropEvent() ); +} + + + + + + +void acceptProposedAction () +Qt::MouseButtons buttons () const +Qt::DropAction dropAction () const +const QMimeData * mimeData () const{ + hb_retptrGC( hbqt_gcAllocate_QMimeData( ( void* ) hbqt_par_QGraphicsSceneDragDropEvent( 1 )->mimeData(), false ) ); +} +Qt::KeyboardModifiers modifiers () const +QPointF pos () const +Qt::DropActions possibleActions () const +Qt::DropAction proposedAction () const +QPointF scenePos () const +QPoint screenPos () const +void setDropAction ( Qt::DropAction action ) +QWidget * source () const + + + + + + + + + + + + + diff --git a/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneEvent.qth b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneEvent.qth new file mode 100644 index 0000000000..0e85eba03d --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneEvent.qth @@ -0,0 +1,94 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT Source Generator for Harbour + * + * Copyright 2009-2010 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 = no +Inherit = QEvent +Type = +New = + + + +#include + + +/* + * ~QGraphicsSceneEvent () + */ +HB_FUNC( QT_QGRAPHICSSCENEEVENT ) +{ + //hb_retptr( new QGraphicsSceneEvent() ); +} + + + + + + +QWidget * widget () const + + + + + + + + + + + + + diff --git a/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneHelpEvent.qth b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneHelpEvent.qth new file mode 100644 index 0000000000..5f814b7a35 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneHelpEvent.qth @@ -0,0 +1,97 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT Source Generator for Harbour + * + * Copyright 2009-2010 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 = no +Inherit = QGraphicsSceneEvent +Type = +New = + + + +#include +#include +#include + + +/* + * ~QGraphicsSceneHelpEvent () + */ +HB_FUNC( QT_QGRAPHICSSCENEHELPEVENT ) +{ + //hb_retptr( new QGraphicsSceneHelpEvent() ); +} + + + + + + +QPointF scenePos () const +QPoint screenPos () const + + + + + + + + + + + + + diff --git a/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneHoverEvent.qth b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneHoverEvent.qth new file mode 100644 index 0000000000..8a6d78374f --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneHoverEvent.qth @@ -0,0 +1,102 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT Source Generator for Harbour + * + * Copyright 2009-2010 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 = no +Inherit = QGraphicsSceneEvent +Type = +New = + + + +#include +#include +#include + + +/* + * ~QGraphicsSceneHoverEvent () + */ +HB_FUNC( QT_QGRAPHICSSCENEHOVEREVENT ) +{ + //hb_retptr( new QGraphicsSceneHoverEvent() ); +} + + + + + + +QPointF lastPos () const +QPointF lastScenePos () const +QPoint lastScreenPos () const +Qt::KeyboardModifiers modifiers () const +QPointF pos () const +QPointF scenePos () const +QPoint screenPos () const + + + + + + + + + + + + + diff --git a/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneMouseEvent.qth b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneMouseEvent.qth new file mode 100644 index 0000000000..8fafad3ac6 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneMouseEvent.qth @@ -0,0 +1,107 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT Source Generator for Harbour + * + * Copyright 2009-2010 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 = no +Inherit = QGraphicsSceneEvent +Type = +New = + + + +#include +#include +#include + + +/* + * ~QGraphicsSceneMouseEvent () + */ +HB_FUNC( QT_QGRAPHICSSCENEMOUSEEVENT ) +{ + //hb_retptr( new QGraphicsSceneMouseEvent() ); +} + + + + + + +Qt::MouseButton button () const +QPointF buttonDownPos ( Qt::MouseButton button ) const +QPointF buttonDownScenePos ( Qt::MouseButton button ) const +QPoint buttonDownScreenPos ( Qt::MouseButton button ) const +Qt::MouseButtons buttons () const +QPointF lastPos () const +QPointF lastScenePos () const +QPoint lastScreenPos () const +Qt::KeyboardModifiers modifiers () const +QPointF pos () const +QPointF scenePos () const +QPoint screenPos () const + + + + + + + + + + + + + diff --git a/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneMoveEvent.qth b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneMoveEvent.qth new file mode 100644 index 0000000000..f2d542c0c7 --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneMoveEvent.qth @@ -0,0 +1,98 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT Source Generator for Harbour + * + * Copyright 2009-2010 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 = no +Inherit = QGraphicsSceneEvent +Type = +New = + + + +#include +#include +#include + + +/* + * QGraphicsSceneMoveEvent () + * ~QGraphicsSceneMoveEvent () + */ +HB_FUNC( QT_QGRAPHICSSCENEMOVEEVENT ) +{ + //hb_retptr( new QGraphicsSceneMoveEvent() ); +} + + + + + + +QPointF newPos () const +QPointF oldPos () const + + + + + + + + + + + + + diff --git a/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneResizeEvent.qth b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneResizeEvent.qth new file mode 100644 index 0000000000..9b3b1e17ef --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneResizeEvent.qth @@ -0,0 +1,97 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT Source Generator for Harbour + * + * Copyright 2009-2010 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 = no +Inherit = QGraphicsSceneEvent +Type = +New = + + + +#include +#include + + +/* + * QGraphicsSceneResizeEvent () + * ~QGraphicsSceneResizeEvent () + */ +HB_FUNC( QT_QGRAPHICSSCENERESIZEEVENT ) +{ + //hb_retptr( new QGraphicsSceneResizeEvent() ); +} + + + + + + +QSizeF newSize () const +QSizeF oldSize () const + + + + + + + + + + + + + diff --git a/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneWheelEvent.qth b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneWheelEvent.qth new file mode 100644 index 0000000000..f627c8439e --- /dev/null +++ b/harbour/contrib/hbqt/qtgui/qth/QGraphicsSceneWheelEvent.qth @@ -0,0 +1,101 @@ +/* + * $Id$ + */ + +/* + * Harbour Project source code: + * QT Source Generator for Harbour + * + * Copyright 2009-2010 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 = no +Inherit = QGraphicsSceneEvent +Type = +New = + + + +#include +#include +#include + +/* + * ~QGraphicsSceneWheelEvent () + */ +HB_FUNC( QT_QGRAPHICSSCENEWHEELEVENT ) +{ + //hb_retptr( new QGraphicsSceneWheelEvent() ); +} + + + + + + +Qt::MouseButtons buttons () const +int delta () const +Qt::KeyboardModifiers modifiers () const +Qt::Orientation orientation () const +QPointF pos () const +QPointF scenePos () const +QPoint screenPos () const + + + + + + + + + + + + + diff --git a/harbour/contrib/hbqt/utils/qtgui.qtp b/harbour/contrib/hbqt/utils/qtgui.qtp index 8648a9b4f7..ebe1d83e78 100644 --- a/harbour/contrib/hbqt/utils/qtgui.qtp +++ b/harbour/contrib/hbqt/utils/qtgui.qtp @@ -85,6 +85,15 @@ QGraphicsPolygonItem.qth QGraphicsProxyWidget.qth QGraphicsRectItem.qth QGraphicsScene.qth +QGraphicsSceneContextMenuEvent.qth +QGraphicsSceneDragDropEvent.qth +QGraphicsSceneEvent.qth +QGraphicsSceneHelpEvent.qth +QGraphicsSceneHoverEvent.qth +QGraphicsSceneMouseEvent.qth +QGraphicsSceneMoveEvent.qth +QGraphicsSceneResizeEvent.qth +QGraphicsSceneWheelEvent.qth QGraphicsSimpleTextItem.qth QGraphicsTextItem.qth QGraphicsView.qth