2010-08-11 18:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)

* contrib/hbqt/hbqt.ch
  *
  * contrib/hbqt/qtcore/g/filelist.hbm
  * contrib/hbqt/qtcore/g/hbqtcore.h
  * contrib/hbqt/qtcore/qth/QTimeLine.qth

  * contrib/hbqt/qtdesigner/g/hbqtdesigner.h

  * contrib/hbqt/qtgui/g/filelist.hbm
  * contrib/hbqt/qtgui/g/hbqtgui.h
  + contrib/hbqt/qtgui/qth/QAbstractGraphicsShapeItem.qth
  + contrib/hbqt/qtgui/qth/QGraphicsEllipseItem.qth
  + contrib/hbqt/qtgui/qth/QGraphicsGridLayout.qth
  + contrib/hbqt/qtgui/qth/QGraphicsItem.qth
  + contrib/hbqt/qtgui/qth/QGraphicsItemAnimation.qth
  + contrib/hbqt/qtgui/qth/QGraphicsItemGroup.qth
  + contrib/hbqt/qtgui/qth/QGraphicsLayout.qth
  + contrib/hbqt/qtgui/qth/QGraphicsLayoutItem.qth
  + contrib/hbqt/qtgui/qth/QGraphicsLinearLayout.qth
  + contrib/hbqt/qtgui/qth/QGraphicsLineItem.qth
  + contrib/hbqt/qtgui/qth/QGraphicsPathItem.qth
  + contrib/hbqt/qtgui/qth/QGraphicsPixmapItem.qth
  + contrib/hbqt/qtgui/qth/QGraphicsPolygonItem.qth
  + contrib/hbqt/qtgui/qth/QGraphicsProxyWidget.qth
  + contrib/hbqt/qtgui/qth/QGraphicsRectItem.qth
  + contrib/hbqt/qtgui/qth/QGraphicsScene.qth
  + contrib/hbqt/qtgui/qth/QGraphicsSimpleTextItem.qth
  + contrib/hbqt/qtgui/qth/QGraphicsSvgItem.qth
  + contrib/hbqt/qtgui/qth/QGraphicsTextItem.qth
  + contrib/hbqt/qtgui/qth/QGraphicsView.qth
  + contrib/hbqt/qtgui/qth/QGraphicsWidget.qth
  + contrib/hbqt/qtgui/qth/QStyleOptionGraphicsItem.qth

  * contrib/hbqt/qtwebkit/g/hbqtwebkit.h

  * contrib/hbqt/utils/qtcore.qtp
  * contrib/hbqt/utils/qtgui.qtp

    + Added: QGraphics* classes to form the basis of ideReport Designer.

  + contrib/hbqt/qtgui/doc/en/class_*
  + contrib/hbqt/qtgui/g/Q/Q*
  + contrib/hbqt/qtcore/doc/en/class_*
  + contrib/hbqt/qtcore/g/Q*
    + Regenerated.
This commit is contained in:
Pritpal Bedi
2010-08-12 01:40:44 +00:00
parent a25ebcc070
commit bcb01b4a2c
97 changed files with 20713 additions and 287 deletions

View File

@@ -16,6 +16,53 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-08-11 18:21 UTC-0800 Pritpal Bedi (bedipritpal@hotmail.com)
* contrib/hbqt/hbqt.ch
*
* contrib/hbqt/qtcore/g/filelist.hbm
* contrib/hbqt/qtcore/g/hbqtcore.h
* contrib/hbqt/qtcore/qth/QTimeLine.qth
* contrib/hbqt/qtdesigner/g/hbqtdesigner.h
* contrib/hbqt/qtgui/g/filelist.hbm
* contrib/hbqt/qtgui/g/hbqtgui.h
+ contrib/hbqt/qtgui/qth/QAbstractGraphicsShapeItem.qth
+ contrib/hbqt/qtgui/qth/QGraphicsEllipseItem.qth
+ contrib/hbqt/qtgui/qth/QGraphicsGridLayout.qth
+ contrib/hbqt/qtgui/qth/QGraphicsItem.qth
+ contrib/hbqt/qtgui/qth/QGraphicsItemAnimation.qth
+ contrib/hbqt/qtgui/qth/QGraphicsItemGroup.qth
+ contrib/hbqt/qtgui/qth/QGraphicsLayout.qth
+ contrib/hbqt/qtgui/qth/QGraphicsLayoutItem.qth
+ contrib/hbqt/qtgui/qth/QGraphicsLinearLayout.qth
+ contrib/hbqt/qtgui/qth/QGraphicsLineItem.qth
+ contrib/hbqt/qtgui/qth/QGraphicsPathItem.qth
+ contrib/hbqt/qtgui/qth/QGraphicsPixmapItem.qth
+ contrib/hbqt/qtgui/qth/QGraphicsPolygonItem.qth
+ contrib/hbqt/qtgui/qth/QGraphicsProxyWidget.qth
+ contrib/hbqt/qtgui/qth/QGraphicsRectItem.qth
+ contrib/hbqt/qtgui/qth/QGraphicsScene.qth
+ contrib/hbqt/qtgui/qth/QGraphicsSimpleTextItem.qth
+ contrib/hbqt/qtgui/qth/QGraphicsSvgItem.qth
+ contrib/hbqt/qtgui/qth/QGraphicsTextItem.qth
+ contrib/hbqt/qtgui/qth/QGraphicsView.qth
+ contrib/hbqt/qtgui/qth/QGraphicsWidget.qth
+ contrib/hbqt/qtgui/qth/QStyleOptionGraphicsItem.qth
* contrib/hbqt/qtwebkit/g/hbqtwebkit.h
* contrib/hbqt/utils/qtcore.qtp
* contrib/hbqt/utils/qtgui.qtp
+ Added: QGraphics* classes to form the basis of ideReport Designer.
+ contrib/hbqt/qtgui/doc/en/class_*
+ contrib/hbqt/qtgui/g/Q/Q*
+ contrib/hbqt/qtcore/doc/en/class_*
+ contrib/hbqt/qtcore/g/Q*
+ Regenerated.
2010-08-11 17:03 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)
* harbour/src/vm/classes.c
+ extended error messages in __CLSINSTSUPER() function to show the name

View File

@@ -2288,4 +2288,82 @@
#define HBQT_QAIM_rowCount 3001
#define HBQT_QAIM_columnCount 3002
/*----------------------------------------------------------------------*/
#define QGraphicsScene_BspTreeIndex 0
#define QGraphicsScene_NoIndex -1
#define QGraphicsScene_ItemLayer 0x1
#define QGraphicsScene_BackgroundLayer 0x2
#define QGraphicsScene_ForegroundLayer 0x4
#define QGraphicsScene_AllLayers 0xffff
#define QGraphicsView_CacheNone 0x0
#define QGraphicsView_CacheBackground 0x1
#define QGraphicsView_NoDrag 0
#define QGraphicsView_ScrollHandDrag 1
#define QGraphicsView_RubberBandDrag 2
#define QGraphicsView_DontClipPainter 0x1
#define QGraphicsView_DontSavePainterState 0x2
#define QGraphicsView_DontAdjustForAntialiasing 0x4
#define QGraphicsView_NoAnchor 0
#define QGraphicsView_AnchorViewCenter 1
#define QGraphicsView_AnchorUnderMouse 2
#define QGraphicsView_FullViewportUpdate 0
#define QGraphicsView_MinimalViewportUpdate 1
#define QGraphicsView_SmartViewportUpdate 2
#define QGraphicsView_BoundingRectViewportUpdate 4
#define QGraphicsView_NoViewportUpdate 3
#define QGraphicsItem_NoCache 0
#define QGraphicsItem_ItemCoordinateCache 1
#define QGraphicsItem_DeviceCoordinateCache 2
#define QGraphicsItem_ItemEnabledChange 3
#define QGraphicsItem_ItemEnabledHasChanged 13
#define QGraphicsItem_ItemMatrixChange 1
#define QGraphicsItem_ItemPositionChange 0
#define QGraphicsItem_ItemPositionHasChanged 9
#define QGraphicsItem_ItemTransformChange 8
#define QGraphicsItem_ItemTransformHasChanged 10
#define QGraphicsItem_ItemSelectedChange 4
#define QGraphicsItem_ItemSelectedHasChanged 14
#define QGraphicsItem_ItemVisibleChange 2
#define QGraphicsItem_ItemVisibleHasChanged 12
#define QGraphicsItem_ItemParentChange 5
#define QGraphicsItem_ItemParentHasChanged 15
#define QGraphicsItem_ItemChildAddedChange 6
#define QGraphicsItem_ItemChildRemovedChange 7
#define QGraphicsItem_ItemSceneChange 11
#define QGraphicsItem_ItemSceneHasChanged 16
#define QGraphicsItem_ItemCursorChange 17
#define QGraphicsItem_ItemCursorHasChanged 18
#define QGraphicsItem_ItemToolTipChange 19
#define QGraphicsItem_ItemToolTipHasChanged 20
#define QGraphicsItem_ItemFlagsChange 21
#define QGraphicsItem_ItemFlagsHaveChanged 22
#define QGraphicsItem_ItemZValueChange 23
#define QGraphicsItem_ItemZValueHasChanged 24
#define QGraphicsItem_ItemOpacityChange 25
#define QGraphicsItem_ItemOpacityHasChanged 26
#define QGraphicsItem_ItemIsMovable 0x1
#define QGraphicsItem_ItemIsSelectable 0x2
#define QGraphicsItem_ItemIsFocusable 0x4
#define QGraphicsItem_ItemClipsToShape 0x8
#define QGraphicsItem_ItemClipsChildrenToShape 0x10
#define QGraphicsItem_ItemIgnoresTransformations 0x20
#define QGraphicsItem_ItemIgnoresParentOpacity 0x40
#define QGraphicsItem_ItemDoesntPropagateOpacityToChildren 0x80
#define QGraphicsItem_ItemStacksBehindParent 0x100
#define QGraphicsPixmapItem_MaskShape 0
#define QGraphicsPixmapItem_BoundingRectShape 1
#define QGraphicsPixmapItem_HeuristicMaskShape 2
/*----------------------------------------------------------------------*/
#endif

View File

@@ -0,0 +1,78 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QTimeLine()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qtimeline.html
* $ONELINER$
* Creates a new QTimeLine object.
* $INHERITS$
* QObject
* $SYNTAX$
* QTimeLine():new( ... )
* QTimeLine():from( pPtr_OR_oObj_of_type_QTimeLine )
* QTimeLine():configure( pPtr_OR_oObj_of_type_QTimeLine )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QTimeLine
* $METHODS$
* :currentFrame() -> nInt
* :currentTime() -> nInt
* :currentValue() -> nQreal
* :curveShape() -> nCurveShape
* :direction() -> nDirection
* :duration() -> nInt
* :endFrame() -> nInt
* :frameForTime( nMsec ) -> nInt
* :loopCount() -> nInt
* :setCurveShape( nShape ) -> NIL
* :setDirection( nDirection ) -> NIL
* :setDuration( nDuration ) -> NIL
* :setEndFrame( nFrame ) -> NIL
* :setFrameRange( nStartFrame, nEndFrame ) -> NIL
* :setLoopCount( nCount ) -> NIL
* :setStartFrame( nFrame ) -> NIL
* :setUpdateInterval( nInterval ) -> NIL
* :startFrame() -> nInt
* :state() -> nState
* :updateInterval() -> nInt
* :valueForTime( nMsec ) -> nQreal
* :resume() -> NIL
* :setCurrentTime( nMsec ) -> NIL
* :setPaused( lPaused ) -> NIL
* :start() -> NIL
* :stop() -> NIL
* :toggleDirection() -> NIL
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtcore/TQTimeLine.prg
* C++ wrappers : contrib/hbqt/qtcore/QTimeLine.cpp
* Library : hbqtcore
* $SEEALSO$
* QObject
* $END$
*/

View File

@@ -0,0 +1,539 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
/*
* enum CurveShape { EaseInCurve, EaseOutCurve, EaseInOutCurve, LinearCurve, SineCurve, CosineCurve }
* enum Direction { Forward, Backward }
* enum State { NotRunning, Paused, Running }
*/
#include <QtCore/QPointer>
#include <QtCore/QTimeLine>
/*
* QTimeLine ( int duration = 1000, QObject * parent = 0 )
* virtual ~QTimeLine ()
*/
typedef struct
{
QPointer< QTimeLine > ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QTimeLine;
HBQT_GC_FUNC( hbqt_gcRelease_QTimeLine )
{
QTimeLine * ph = NULL ;
HBQT_GC_T_QTimeLine * p = ( HBQT_GC_T_QTimeLine * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();
if( ( QString ) m->className() != ( QString ) "QObject" )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QTimeLine /.\\ ", (void*) ph, (void*) p->ph ) );
delete ( p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QTimeLine \\./ ", (void*) ph, (void*) p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NO__rel_QTimeLine ", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QTimeLine : Object already deleted!", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QTimeLine : Object not created with new=true", ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QTimeLine( void * pObj, bool bNew )
{
HBQT_GC_T_QTimeLine * p = ( HBQT_GC_T_QTimeLine * ) hb_gcAllocate( sizeof( HBQT_GC_T_QTimeLine ), hbqt_gcFuncs() );
new( & p->ph ) QPointer< QTimeLine >( ( QTimeLine * ) pObj );
p->bNew = bNew;
p->func = hbqt_gcRelease_QTimeLine;
p->type = HBQT_TYPE_QTimeLine;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QTimeLine under p->pq", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QTimeLine", pObj ) );
}
return p;
}
HB_FUNC( QT_QTIMELINE )
{
QTimeLine * pObj = NULL;
pObj = new QTimeLine() ;
hb_retptrGC( hbqt_gcAllocate_QTimeLine( ( void * ) pObj, true ) );
}
/*
* int currentFrame () const
*/
HB_FUNC( QT_QTIMELINE_CURRENTFRAME )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
hb_retni( ( p )->currentFrame() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_CURRENTFRAME FP=hb_retni( ( p )->currentFrame() ); p is NULL" ) );
}
}
/*
* int currentTime () const
*/
HB_FUNC( QT_QTIMELINE_CURRENTTIME )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
hb_retni( ( p )->currentTime() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_CURRENTTIME FP=hb_retni( ( p )->currentTime() ); p is NULL" ) );
}
}
/*
* qreal currentValue () const
*/
HB_FUNC( QT_QTIMELINE_CURRENTVALUE )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
hb_retnd( ( p )->currentValue() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_CURRENTVALUE FP=hb_retnd( ( p )->currentValue() ); p is NULL" ) );
}
}
/*
* CurveShape curveShape () const
*/
HB_FUNC( QT_QTIMELINE_CURVESHAPE )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
hb_retni( ( QTimeLine::CurveShape ) ( p )->curveShape() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_CURVESHAPE FP=hb_retni( ( QTimeLine::CurveShape ) ( p )->curveShape() ); p is NULL" ) );
}
}
/*
* Direction direction () const
*/
HB_FUNC( QT_QTIMELINE_DIRECTION )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
hb_retni( ( QTimeLine::Direction ) ( p )->direction() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_DIRECTION FP=hb_retni( ( QTimeLine::Direction ) ( p )->direction() ); p is NULL" ) );
}
}
/*
* int duration () const
*/
HB_FUNC( QT_QTIMELINE_DURATION )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
hb_retni( ( p )->duration() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_DURATION FP=hb_retni( ( p )->duration() ); p is NULL" ) );
}
}
/*
* int endFrame () const
*/
HB_FUNC( QT_QTIMELINE_ENDFRAME )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
hb_retni( ( p )->endFrame() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_ENDFRAME FP=hb_retni( ( p )->endFrame() ); p is NULL" ) );
}
}
/*
* int frameForTime ( int msec ) const
*/
HB_FUNC( QT_QTIMELINE_FRAMEFORTIME )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
hb_retni( ( p )->frameForTime( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_FRAMEFORTIME FP=hb_retni( ( p )->frameForTime( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* int loopCount () const
*/
HB_FUNC( QT_QTIMELINE_LOOPCOUNT )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
hb_retni( ( p )->loopCount() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_LOOPCOUNT FP=hb_retni( ( p )->loopCount() ); p is NULL" ) );
}
}
/*
* void setCurveShape ( CurveShape shape )
*/
HB_FUNC( QT_QTIMELINE_SETCURVESHAPE )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->setCurveShape( ( QTimeLine::CurveShape ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_SETCURVESHAPE FP=( p )->setCurveShape( ( QTimeLine::CurveShape ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setDirection ( Direction direction )
*/
HB_FUNC( QT_QTIMELINE_SETDIRECTION )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->setDirection( ( QTimeLine::Direction ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_SETDIRECTION FP=( p )->setDirection( ( QTimeLine::Direction ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setDuration ( int duration )
*/
HB_FUNC( QT_QTIMELINE_SETDURATION )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->setDuration( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_SETDURATION FP=( p )->setDuration( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setEndFrame ( int frame )
*/
HB_FUNC( QT_QTIMELINE_SETENDFRAME )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->setEndFrame( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_SETENDFRAME FP=( p )->setEndFrame( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setFrameRange ( int startFrame, int endFrame )
*/
HB_FUNC( QT_QTIMELINE_SETFRAMERANGE )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->setFrameRange( hb_parni( 2 ), hb_parni( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_SETFRAMERANGE FP=( p )->setFrameRange( hb_parni( 2 ), hb_parni( 3 ) ); p is NULL" ) );
}
}
/*
* void setLoopCount ( int count )
*/
HB_FUNC( QT_QTIMELINE_SETLOOPCOUNT )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->setLoopCount( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_SETLOOPCOUNT FP=( p )->setLoopCount( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setStartFrame ( int frame )
*/
HB_FUNC( QT_QTIMELINE_SETSTARTFRAME )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->setStartFrame( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_SETSTARTFRAME FP=( p )->setStartFrame( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setUpdateInterval ( int interval )
*/
HB_FUNC( QT_QTIMELINE_SETUPDATEINTERVAL )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->setUpdateInterval( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_SETUPDATEINTERVAL FP=( p )->setUpdateInterval( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* int startFrame () const
*/
HB_FUNC( QT_QTIMELINE_STARTFRAME )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
hb_retni( ( p )->startFrame() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_STARTFRAME FP=hb_retni( ( p )->startFrame() ); p is NULL" ) );
}
}
/*
* State state () const
*/
HB_FUNC( QT_QTIMELINE_STATE )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
hb_retni( ( QTimeLine::State ) ( p )->state() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_STATE FP=hb_retni( ( QTimeLine::State ) ( p )->state() ); p is NULL" ) );
}
}
/*
* int updateInterval () const
*/
HB_FUNC( QT_QTIMELINE_UPDATEINTERVAL )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
hb_retni( ( p )->updateInterval() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_UPDATEINTERVAL FP=hb_retni( ( p )->updateInterval() ); p is NULL" ) );
}
}
/*
* virtual qreal valueForTime ( int msec ) const
*/
HB_FUNC( QT_QTIMELINE_VALUEFORTIME )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
hb_retnd( ( p )->valueForTime( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_VALUEFORTIME FP=hb_retnd( ( p )->valueForTime( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* void resume ()
*/
HB_FUNC( QT_QTIMELINE_RESUME )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->resume();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_RESUME FP=( p )->resume(); p is NULL" ) );
}
}
/*
* void setCurrentTime ( int msec )
*/
HB_FUNC( QT_QTIMELINE_SETCURRENTTIME )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->setCurrentTime( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_SETCURRENTTIME FP=( p )->setCurrentTime( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setPaused ( bool paused )
*/
HB_FUNC( QT_QTIMELINE_SETPAUSED )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->setPaused( hb_parl( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_SETPAUSED FP=( p )->setPaused( hb_parl( 2 ) ); p is NULL" ) );
}
}
/*
* void start ()
*/
HB_FUNC( QT_QTIMELINE_START )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->start();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_START FP=( p )->start(); p is NULL" ) );
}
}
/*
* void stop ()
*/
HB_FUNC( QT_QTIMELINE_STOP )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->stop();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_STOP FP=( p )->stop(); p is NULL" ) );
}
}
/*
* void toggleDirection ()
*/
HB_FUNC( QT_QTIMELINE_TOGGLEDIRECTION )
{
QTimeLine * p = hbqt_par_QTimeLine( 1 );
if( p )
( p )->toggleDirection();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QTIMELINE_TOGGLEDIRECTION FP=( p )->toggleDirection(); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,216 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QTimeLine INHERIT HbQtObjectHandler, QObject
METHOD new( ... )
METHOD currentFrame()
METHOD currentTime()
METHOD currentValue()
METHOD curveShape()
METHOD direction()
METHOD duration()
METHOD endFrame()
METHOD frameForTime( nMsec )
METHOD loopCount()
METHOD setCurveShape( nShape )
METHOD setDirection( nDirection )
METHOD setDuration( nDuration )
METHOD setEndFrame( nFrame )
METHOD setFrameRange( nStartFrame, nEndFrame )
METHOD setLoopCount( nCount )
METHOD setStartFrame( nFrame )
METHOD setUpdateInterval( nInterval )
METHOD startFrame()
METHOD state()
METHOD updateInterval()
METHOD valueForTime( nMsec )
METHOD resume()
METHOD setCurrentTime( nMsec )
METHOD setPaused( lPaused )
METHOD start()
METHOD stop()
METHOD toggleDirection()
ENDCLASS
METHOD QTimeLine:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QTimeLine( ... )
RETURN Self
METHOD QTimeLine:currentFrame()
RETURN Qt_QTimeLine_currentFrame( ::pPtr )
METHOD QTimeLine:currentTime()
RETURN Qt_QTimeLine_currentTime( ::pPtr )
METHOD QTimeLine:currentValue()
RETURN Qt_QTimeLine_currentValue( ::pPtr )
METHOD QTimeLine:curveShape()
RETURN Qt_QTimeLine_curveShape( ::pPtr )
METHOD QTimeLine:direction()
RETURN Qt_QTimeLine_direction( ::pPtr )
METHOD QTimeLine:duration()
RETURN Qt_QTimeLine_duration( ::pPtr )
METHOD QTimeLine:endFrame()
RETURN Qt_QTimeLine_endFrame( ::pPtr )
METHOD QTimeLine:frameForTime( nMsec )
RETURN Qt_QTimeLine_frameForTime( ::pPtr, nMsec )
METHOD QTimeLine:loopCount()
RETURN Qt_QTimeLine_loopCount( ::pPtr )
METHOD QTimeLine:setCurveShape( nShape )
RETURN Qt_QTimeLine_setCurveShape( ::pPtr, nShape )
METHOD QTimeLine:setDirection( nDirection )
RETURN Qt_QTimeLine_setDirection( ::pPtr, nDirection )
METHOD QTimeLine:setDuration( nDuration )
RETURN Qt_QTimeLine_setDuration( ::pPtr, nDuration )
METHOD QTimeLine:setEndFrame( nFrame )
RETURN Qt_QTimeLine_setEndFrame( ::pPtr, nFrame )
METHOD QTimeLine:setFrameRange( nStartFrame, nEndFrame )
RETURN Qt_QTimeLine_setFrameRange( ::pPtr, nStartFrame, nEndFrame )
METHOD QTimeLine:setLoopCount( nCount )
RETURN Qt_QTimeLine_setLoopCount( ::pPtr, nCount )
METHOD QTimeLine:setStartFrame( nFrame )
RETURN Qt_QTimeLine_setStartFrame( ::pPtr, nFrame )
METHOD QTimeLine:setUpdateInterval( nInterval )
RETURN Qt_QTimeLine_setUpdateInterval( ::pPtr, nInterval )
METHOD QTimeLine:startFrame()
RETURN Qt_QTimeLine_startFrame( ::pPtr )
METHOD QTimeLine:state()
RETURN Qt_QTimeLine_state( ::pPtr )
METHOD QTimeLine:updateInterval()
RETURN Qt_QTimeLine_updateInterval( ::pPtr )
METHOD QTimeLine:valueForTime( nMsec )
RETURN Qt_QTimeLine_valueForTime( ::pPtr, nMsec )
METHOD QTimeLine:resume()
RETURN Qt_QTimeLine_resume( ::pPtr )
METHOD QTimeLine:setCurrentTime( nMsec )
RETURN Qt_QTimeLine_setCurrentTime( ::pPtr, nMsec )
METHOD QTimeLine:setPaused( lPaused )
RETURN Qt_QTimeLine_setPaused( ::pPtr, lPaused )
METHOD QTimeLine:start()
RETURN Qt_QTimeLine_start( ::pPtr )
METHOD QTimeLine:stop()
RETURN Qt_QTimeLine_stop( ::pPtr )
METHOD QTimeLine:toggleDirection()
RETURN Qt_QTimeLine_toggleDirection( ::pPtr )

View File

@@ -56,6 +56,7 @@ QTextEncoder.cpp
QTextStream.cpp
QThread.cpp
QTime.cpp
QTimeLine.cpp
QTimer.cpp
QTranslator.cpp
QUrl.cpp
@@ -108,6 +109,7 @@ TQTextEncoder.prg
TQTextStream.prg
TQThread.prg
TQTime.prg
TQTimeLine.prg
TQTimer.prg
TQTranslator.prg
TQUrl.prg

View File

@@ -62,6 +62,7 @@ extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextEncoder );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTextStream );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QThread );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTime );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTimeLine );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTimer );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QTranslator );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QUrl );
@@ -114,6 +115,7 @@ extern HB_EXPORT void * hbqt_gcAllocate_QTextEncoder( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QTextStream( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QThread( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QTime( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QTimeLine( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QTimer( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QTranslator( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QUrl( void * pObj, bool bNew );
@@ -168,6 +170,7 @@ HB_EXTERN_END
#define hbqt_par_QTextStream( n ) ( ( QTextStream * ) hbqt_gcpointer( n ) )
#define hbqt_par_QThread( n ) ( ( QThread * ) hbqt_gcpointer( n ) )
#define hbqt_par_QTime( n ) ( ( QTime * ) hbqt_gcpointer( n ) )
#define hbqt_par_QTimeLine( n ) ( ( QTimeLine * ) hbqt_gcpointer( n ) )
#define hbqt_par_QTimer( n ) ( ( QTimer * ) hbqt_gcpointer( n ) )
#define hbqt_par_QTranslator( n ) ( ( QTranslator * ) hbqt_gcpointer( n ) )
#define hbqt_par_QUrl( n ) ( ( QUrl * ) hbqt_gcpointer( n ) )
@@ -222,9 +225,10 @@ HB_EXTERN_END
#define HBQT_TYPE_QTextStream ( HBQT_TYPE_QTCORE_BASE + 45 )
#define HBQT_TYPE_QThread ( HBQT_TYPE_QTCORE_BASE + 46 )
#define HBQT_TYPE_QTime ( HBQT_TYPE_QTCORE_BASE + 47 )
#define HBQT_TYPE_QTimer ( HBQT_TYPE_QTCORE_BASE + 48 )
#define HBQT_TYPE_QTranslator ( HBQT_TYPE_QTCORE_BASE + 49 )
#define HBQT_TYPE_QUrl ( HBQT_TYPE_QTCORE_BASE + 50 )
#define HBQT_TYPE_QVariant ( HBQT_TYPE_QTCORE_BASE + 51 )
#define HBQT_TYPE_QTimeLine ( HBQT_TYPE_QTCORE_BASE + 48 )
#define HBQT_TYPE_QTimer ( HBQT_TYPE_QTCORE_BASE + 49 )
#define HBQT_TYPE_QTranslator ( HBQT_TYPE_QTCORE_BASE + 50 )
#define HBQT_TYPE_QUrl ( HBQT_TYPE_QTCORE_BASE + 51 )
#define HBQT_TYPE_QVariant ( HBQT_TYPE_QTCORE_BASE + 52 )
#endif /* __HBQTCORE_H */

View File

@@ -0,0 +1,128 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject =
Inherit = QObject
Type =
New =
</CLASS>
<CODE>
#include <QtCore/QTimeLine>
/*
* QTimeLine ( int duration = 1000, QObject * parent = 0 )
* virtual ~QTimeLine ()
*/
HB_FUNC( QT_QTIMELINE )
{
hb_retptr( new QTimeLine() );
}
</CODE>
<ENUMS>
enum CurveShape { EaseInCurve, EaseOutCurve, EaseInOutCurve, LinearCurve, SineCurve, CosineCurve }
enum Direction { Forward, Backward }
enum State { NotRunning, Paused, Running }
</ENUMS>
<PROTOS>
int currentFrame () const
int currentTime () const
qreal currentValue () const
CurveShape curveShape () const
Direction direction () const
int duration () const
int endFrame () const
int frameForTime ( int msec ) const
int loopCount () const
void setCurveShape ( CurveShape shape )
void setDirection ( Direction direction )
void setDuration ( int duration )
void setEndFrame ( int frame )
void setFrameRange ( int startFrame, int endFrame )
void setLoopCount ( int count )
void setStartFrame ( int frame )
void setUpdateInterval ( int interval )
int startFrame () const
State state () const
int updateInterval () const
virtual qreal valueForTime ( int msec ) const
</PROTOS>
<SLOTS>
void resume ()
void setCurrentTime ( int msec )
void setPaused ( bool paused )
void start ()
void stop ()
void toggleDirection ()
</SLOTS>
<SIGNALS>
void finished ()
void frameChanged ( int frame )
void stateChanged ( QTimeLine::State newState )
void valueChanged ( qreal value )
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,55 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QAbstractGraphicsShapeItem()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qabstractgraphicsshapeitem.html
* $ONELINER$
* Creates a new QAbstractGraphicsShapeItem object.
* $INHERITS$
* QGraphicsItem
* $SYNTAX$
* QAbstractGraphicsShapeItem():new( ... )
* QAbstractGraphicsShapeItem():from( pPtr_OR_oObj_of_type_QAbstractGraphicsShapeItem )
* QAbstractGraphicsShapeItem():configure( pPtr_OR_oObj_of_type_QAbstractGraphicsShapeItem )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QAbstractGraphicsShapeItem
* $METHODS$
* :brush() -> pQBrush
* :pen() -> pQPen
* :setBrush( pBrush ) -> NIL
* :setPen( pPen ) -> NIL
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtgui/TQAbstractGraphicsShapeItem.prg
* C++ wrappers : contrib/hbqt/qtgui/QAbstractGraphicsShapeItem.cpp
* Library : hbqtgui
* $SEEALSO$
* QGraphicsItem
* $END$
*/

View File

@@ -0,0 +1,58 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsEllipseItem()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicsellipseitem.html
* $ONELINER$
* Creates a new QGraphicsEllipseItem object.
* $INHERITS$
* QAbstractGraphicsShapeItem
* $SYNTAX$
* QGraphicsEllipseItem():new( ... )
* QGraphicsEllipseItem():from( pPtr_OR_oObj_of_type_QGraphicsEllipseItem )
* QGraphicsEllipseItem():configure( pPtr_OR_oObj_of_type_QGraphicsEllipseItem )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsEllipseItem
* $METHODS$
* :rect() -> pQRectF
* :setRect( pRect ) -> NIL
* :setRect_1( nX, nY, nWidth, nHeight ) -> NIL
* :setSpanAngle( nAngle ) -> NIL
* :setStartAngle( nAngle ) -> NIL
* :spanAngle() -> nInt
* :startAngle() -> nInt
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtgui/TQGraphicsEllipseItem.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsEllipseItem.cpp
* Library : hbqtgui
* $SEEALSO$
* QAbstractGraphicsShapeItem
* $END$
*/

View File

@@ -0,0 +1,93 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsGridLayout()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicsgridlayout.html
* $ONELINER$
* Creates a new QGraphicsGridLayout object.
* $INHERITS$
* QGraphicsLayout
* $SYNTAX$
* QGraphicsGridLayout():new( ... )
* QGraphicsGridLayout():from( pPtr_OR_oObj_of_type_QGraphicsGridLayout )
* QGraphicsGridLayout():configure( pPtr_OR_oObj_of_type_QGraphicsGridLayout )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsGridLayout
* $METHODS$
* :addItem( pItem, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment ) -> NIL
* :addItem_1( pItem, nRow, nColumn, nAlignment ) -> NIL
* :alignment( pItem ) -> nQt::Alignment
* :columnAlignment( nColumn ) -> nQt::Alignment
* :columnCount() -> nInt
* :columnMaximumWidth( nColumn ) -> nQreal
* :columnMinimumWidth( nColumn ) -> nQreal
* :columnPreferredWidth( nColumn ) -> nQreal
* :columnSpacing( nColumn ) -> nQreal
* :columnStretchFactor( nColumn ) -> nInt
* :count() -> nInt
* :horizontalSpacing() -> nQreal
* :itemAt( nRow, nColumn ) -> pQGraphicsLayoutItem
* :itemAt_1( nIndex ) -> pQGraphicsLayoutItem
* :removeAt( nIndex ) -> NIL
* :rowAlignment( nRow ) -> nQt::Alignment
* :rowCount() -> nInt
* :rowMaximumHeight( nRow ) -> nQreal
* :rowMinimumHeight( nRow ) -> nQreal
* :rowPreferredHeight( nRow ) -> nQreal
* :rowSpacing( nRow ) -> nQreal
* :rowStretchFactor( nRow ) -> nInt
* :setAlignment( pItem, nAlignment ) -> NIL
* :setColumnAlignment( nColumn, nAlignment ) -> NIL
* :setColumnFixedWidth( nColumn, nWidth ) -> NIL
* :setColumnMaximumWidth( nColumn, nWidth ) -> NIL
* :setColumnMinimumWidth( nColumn, nWidth ) -> NIL
* :setColumnPreferredWidth( nColumn, nWidth ) -> NIL
* :setColumnSpacing( nColumn, nSpacing ) -> NIL
* :setColumnStretchFactor( nColumn, nStretch ) -> NIL
* :setGeometry( pRect ) -> NIL
* :setHorizontalSpacing( nSpacing ) -> NIL
* :setRowAlignment( nRow, nAlignment ) -> NIL
* :setRowFixedHeight( nRow, nHeight ) -> NIL
* :setRowMaximumHeight( nRow, nHeight ) -> NIL
* :setRowMinimumHeight( nRow, nHeight ) -> NIL
* :setRowPreferredHeight( nRow, nHeight ) -> NIL
* :setRowSpacing( nRow, nSpacing ) -> NIL
* :setRowStretchFactor( nRow, nStretch ) -> NIL
* :setSpacing( nSpacing ) -> NIL
* :setVerticalSpacing( nSpacing ) -> NIL
* :verticalSpacing() -> nQreal
*
* $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/TQGraphicsGridLayout.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsGridLayout.cpp
* Library : hbqtgui
* $SEEALSO$
* QGraphicsLayout
* $END$
*/

View File

@@ -0,0 +1,198 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsItem()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicsitem.html
* $ONELINER$
* Creates a new QGraphicsItem object.
* $INHERITS$
*
* $SYNTAX$
* QGraphicsItem():new( ... )
* QGraphicsItem():from( pPtr_OR_oObj_of_type_QGraphicsItem )
* QGraphicsItem():configure( pPtr_OR_oObj_of_type_QGraphicsItem )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsItem
* $METHODS$
* :acceptDrops() -> lBool
* :acceptHoverEvents() -> lBool
* :acceptedMouseButtons() -> nQt::MouseButtons
* :advance( nPhase ) -> NIL
* :boundingRect() -> pQRectF
* :boundingRegion( pItemToDeviceTransform ) -> pQRegion
* :boundingRegionGranularity() -> nQreal
* :cacheMode() -> nCacheMode
* :childItems() -> pQList<QGraphicsItem *>
* :childrenBoundingRect() -> pQRectF
* :clearFocus() -> NIL
* :clipPath() -> pQPainterPath
* :collidesWithItem( pOther, nMode ) -> lBool
* :collidesWithPath( pPath, nMode ) -> lBool
* :collidingItems( nMode ) -> pQList<QGraphicsItem *>
* :contains( pPoint ) -> lBool
* :cursor() -> pQCursor
* :data( nKey ) -> pQVariant
* :deviceTransform( pViewportTransform ) -> pQTransform
* :effectiveOpacity() -> nQreal
* :ensureVisible( pRect, nXmargin, nYmargin ) -> NIL
* :ensureVisible_1( nX, nY, nW, nH, nXmargin, nYmargin ) -> NIL
* :flags() -> nGraphicsItemFlags
* :grabKeyboard() -> NIL
* :grabMouse() -> NIL
* :group() -> Group
* :handlesChildEvents() -> lBool
* :hasCursor() -> lBool
* :hasFocus() -> lBool
* :hide() -> NIL
* :installSceneEventFilter( pFilterItem ) -> NIL
* :isAncestorOf( pChild ) -> lBool
* :isClipped() -> lBool
* :isEnabled() -> lBool
* :isObscured() -> lBool
* :isObscured_1( nX, nY, nW, nH ) -> lBool
* :isObscured_2( pRect ) -> lBool
* :isObscuredBy( pItem ) -> lBool
* :isSelected() -> lBool
* :isUnderMouse() -> lBool
* :isVisible() -> lBool
* :isVisibleTo( pParent ) -> lBool
* :isWidget() -> lBool
* :isWindow() -> lBool
* :itemTransform( pOther, @lOk ) -> pQTransform
* :mapFromItem( pItem, pPoint ) -> pQPointF
* :mapFromItem_1( pItem, pRect ) -> pQPolygonF
* :mapFromItem_2( pItem, pPolygon ) -> pQPolygonF
* :mapFromItem_3( pItem, pPath ) -> pQPainterPath
* :mapFromItem_4( pItem, nX, nY, nW, nH ) -> pQPolygonF
* :mapFromItem_5( pItem, nX, nY ) -> pQPointF
* :mapFromParent( pPoint ) -> pQPointF
* :mapFromParent_1( pRect ) -> pQPolygonF
* :mapFromParent_2( pPolygon ) -> pQPolygonF
* :mapFromParent_3( pPath ) -> pQPainterPath
* :mapFromParent_4( nX, nY, nW, nH ) -> pQPolygonF
* :mapFromParent_5( nX, nY ) -> pQPointF
* :mapFromScene( pPoint ) -> pQPointF
* :mapFromScene_1( pRect ) -> pQPolygonF
* :mapFromScene_2( pPolygon ) -> pQPolygonF
* :mapFromScene_3( pPath ) -> pQPainterPath
* :mapFromScene_4( nX, nY, nW, nH ) -> pQPolygonF
* :mapFromScene_5( nX, nY ) -> pQPointF
* :mapRectFromItem( pItem, pRect ) -> pQRectF
* :mapRectFromItem_1( pItem, nX, nY, nW, nH ) -> pQRectF
* :mapRectFromParent( pRect ) -> pQRectF
* :mapRectFromParent_1( nX, nY, nW, nH ) -> pQRectF
* :mapRectFromScene( pRect ) -> pQRectF
* :mapRectFromScene_1( nX, nY, nW, nH ) -> pQRectF
* :mapRectToItem( pItem, pRect ) -> pQRectF
* :mapRectToItem_1( pItem, nX, nY, nW, nH ) -> pQRectF
* :mapRectToParent( pRect ) -> pQRectF
* :mapRectToParent_1( nX, nY, nW, nH ) -> pQRectF
* :mapRectToScene( pRect ) -> pQRectF
* :mapRectToScene_1( nX, nY, nW, nH ) -> pQRectF
* :mapToItem( pItem, pPoint ) -> pQPointF
* :mapToItem_1( pItem, pRect ) -> pQPolygonF
* :mapToItem_2( pItem, pPolygon ) -> pQPolygonF
* :mapToItem_3( pItem, pPath ) -> pQPainterPath
* :mapToItem_4( pItem, nX, nY, nW, nH ) -> pQPolygonF
* :mapToItem_5( pItem, nX, nY ) -> pQPointF
* :mapToParent( pPoint ) -> pQPointF
* :mapToParent_1( pRect ) -> pQPolygonF
* :mapToParent_2( pPolygon ) -> pQPolygonF
* :mapToParent_3( pPath ) -> pQPainterPath
* :mapToParent_4( nX, nY, nW, nH ) -> pQPolygonF
* :mapToParent_5( nX, nY ) -> pQPointF
* :mapToScene( pPoint ) -> pQPointF
* :mapToScene_1( pRect ) -> pQPolygonF
* :mapToScene_2( pPolygon ) -> pQPolygonF
* :mapToScene_3( pPath ) -> pQPainterPath
* :mapToScene_4( nX, nY, nW, nH ) -> pQPolygonF
* :mapToScene_5( nX, nY ) -> pQPointF
* :moveBy( nDx, nDy ) -> NIL
* :opacity() -> nQreal
* :opaqueArea() -> pQPainterPath
* :paint( pPainter, pOption, pWidget ) -> NIL
* :parentWidget() -> pQGraphicsWidget
* :pos() -> pQPointF
* :removeSceneEventFilter( pFilterItem ) -> NIL
* :resetTransform() -> NIL
* :rotate( nAngle ) -> NIL
* :scale( nSx, nSy ) -> NIL
* :scene() -> pQGraphicsScene
* :sceneBoundingRect() -> pQRectF
* :scenePos() -> pQPointF
* :sceneTransform() -> pQTransform
* :scroll( nDx, nDy, pRect ) -> NIL
* :setAcceptDrops( lOn ) -> NIL
* :setAcceptHoverEvents( lEnabled ) -> NIL
* :setAcceptedMouseButtons( nButtons ) -> NIL
* :setBoundingRegionGranularity( nGranularity ) -> NIL
* :setCacheMode( nMode, pLogicalCacheSize ) -> NIL
* :setCursor( pCursor ) -> NIL
* :setData( nKey, pValue ) -> NIL
* :setEnabled( lEnabled ) -> NIL
* :setFlag( nFlag, lEnabled ) -> NIL
* :setFlags( nFlags ) -> NIL
* :setFocus( nFocusReason ) -> NIL
* :setGroup( pGroup ) -> NIL
* :setHandlesChildEvents( lEnabled ) -> NIL
* :setOpacity( nOpacity ) -> NIL
* :setParentItem( pParent ) -> NIL
* :setPos( pPos ) -> NIL
* :setPos_1( nX, nY ) -> NIL
* :setSelected( lSelected ) -> NIL
* :setToolTip( cToolTip ) -> NIL
* :setTransform( pMatrix, lCombine ) -> NIL
* :setVisible( lVisible ) -> NIL
* :setZValue( nZ ) -> NIL
* :shape() -> pQPainterPath
* :shear( nSh, nSv ) -> NIL
* :show() -> NIL
* :toolTip() -> cQString
* :topLevelWidget() -> pQGraphicsWidget
* :transform() -> pQTransform
* :translate( nDx, nDy ) -> NIL
* :type() -> nInt
* :ungrabKeyboard() -> NIL
* :ungrabMouse() -> NIL
* :unsetCursor() -> NIL
* :update( pRect ) -> NIL
* :update_1( nX, nY, nWidth, nHeight ) -> NIL
* :window() -> pQGraphicsWidget
* :x() -> nQreal
* :y() -> nQreal
* :zValue() -> nQreal
*
* $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/TQGraphicsItem.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsItem.cpp
* Library : hbqtgui
* $SEEALSO$
*
* $END$
*/

View File

@@ -0,0 +1,71 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsItemAnimation()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicsitemanimation.html
* $ONELINER$
* Creates a new QGraphicsItemAnimation object.
* $INHERITS$
* QObject
* $SYNTAX$
* QGraphicsItemAnimation():new( ... )
* QGraphicsItemAnimation():from( pPtr_OR_oObj_of_type_QGraphicsItemAnimation )
* QGraphicsItemAnimation():configure( pPtr_OR_oObj_of_type_QGraphicsItemAnimation )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsItemAnimation
* $METHODS$
* :clear() -> NIL
* :horizontalScaleAt( nStep ) -> nQreal
* :horizontalShearAt( nStep ) -> nQreal
* :item() -> pQGraphicsItem
* :matrixAt( nStep ) -> pQMatrix
* :posAt( nStep ) -> pQPointF
* :rotationAt( nStep ) -> nQreal
* :setItem( pItem ) -> NIL
* :setPosAt( nStep, pPoint ) -> NIL
* :setRotationAt( nStep, nAngle ) -> NIL
* :setScaleAt( nStep, nSx, nSy ) -> NIL
* :setShearAt( nStep, nSh, nSv ) -> NIL
* :setTimeLine( pTimeLine ) -> NIL
* :setTranslationAt( nStep, nDx, nDy ) -> NIL
* :timeLine() -> pQTimeLine
* :verticalScaleAt( nStep ) -> nQreal
* :verticalShearAt( nStep ) -> nQreal
* :xTranslationAt( nStep ) -> nQreal
* :yTranslationAt( nStep ) -> nQreal
* :setStep( nStep ) -> NIL
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtgui/TQGraphicsItemAnimation.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsItemAnimation.cpp
* Library : hbqtgui
* $SEEALSO$
* QObject
* $END$
*/

View File

@@ -0,0 +1,53 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsItemGroup()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicsitemgroup.html
* $ONELINER$
* Creates a new QGraphicsItemGroup object.
* $INHERITS$
* QGraphicsItem
* $SYNTAX$
* QGraphicsItemGroup():new( ... )
* QGraphicsItemGroup():from( pPtr_OR_oObj_of_type_QGraphicsItemGroup )
* QGraphicsItemGroup():configure( pPtr_OR_oObj_of_type_QGraphicsItemGroup )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsItemGroup
* $METHODS$
* :addToGroup( pItem ) -> NIL
* :removeFromGroup( pItem ) -> NIL
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtgui/TQGraphicsItemGroup.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsItemGroup.cpp
* Library : hbqtgui
* $SEEALSO$
* QGraphicsItem
* $END$
*/

View File

@@ -0,0 +1,59 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsLayout()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicslayout.html
* $ONELINER$
* Creates a new QGraphicsLayout object.
* $INHERITS$
* QGraphicsLayoutItem
* $SYNTAX$
* QGraphicsLayout():new( ... )
* QGraphicsLayout():from( pPtr_OR_oObj_of_type_QGraphicsLayout )
* QGraphicsLayout():configure( pPtr_OR_oObj_of_type_QGraphicsLayout )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsLayout
* $METHODS$
* :activate() -> NIL
* :count() -> nInt
* :invalidate() -> NIL
* :isActivated() -> lBool
* :itemAt( nI ) -> Item
* :removeAt( nIndex ) -> NIL
* :setContentsMargins( nLeft, nTop, nRight, nBottom ) -> NIL
* :widgetEvent( pE ) -> NIL
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtgui/TQGraphicsLayout.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsLayout.cpp
* Library : hbqtgui
* $SEEALSO$
* QGraphicsLayoutItem
* $END$
*/

View File

@@ -0,0 +1,85 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsLayoutItem()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicslayoutitem.html
* $ONELINER$
* Creates a new QGraphicsLayoutItem object.
* $INHERITS$
*
* $SYNTAX$
* QGraphicsLayoutItem():new( ... )
* QGraphicsLayoutItem():from( pPtr_OR_oObj_of_type_QGraphicsLayoutItem )
* QGraphicsLayoutItem():configure( pPtr_OR_oObj_of_type_QGraphicsLayoutItem )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsLayoutItem
* $METHODS$
* :contentsRect() -> pQRectF
* :effectiveSizeHint( nWhich, pConstraint ) -> pQSizeF
* :geometry() -> pQRectF
* :getContentsMargins( @nLeft, @nTop, @nRight, @nBottom ) -> NIL
* :graphicsItem() -> pQGraphicsItem
* :isLayout() -> lBool
* :maximumHeight() -> nQreal
* :maximumSize() -> pQSizeF
* :maximumWidth() -> nQreal
* :minimumHeight() -> nQreal
* :minimumSize() -> pQSizeF
* :minimumWidth() -> nQreal
* :ownedByLayout() -> lBool
* :preferredHeight() -> nQreal
* :preferredSize() -> pQSizeF
* :preferredWidth() -> nQreal
* :setGeometry( pRect ) -> NIL
* :setMaximumHeight( nHeight ) -> NIL
* :setMaximumSize( pSize ) -> NIL
* :setMaximumSize_1( nW, nH ) -> NIL
* :setMaximumWidth( nWidth ) -> NIL
* :setMinimumHeight( nHeight ) -> NIL
* :setMinimumSize( pSize ) -> NIL
* :setMinimumSize_1( nW, nH ) -> NIL
* :setMinimumWidth( nWidth ) -> NIL
* :setParentLayoutItem( pParent ) -> NIL
* :setPreferredHeight( nHeight ) -> NIL
* :setPreferredSize( pSize ) -> NIL
* :setPreferredSize_1( nW, nH ) -> NIL
* :setPreferredWidth( nWidth ) -> NIL
* :setSizePolicy( pPolicy ) -> NIL
* :setSizePolicy_1( nHPolicy, nVPolicy, nControlType ) -> NIL
* :sizePolicy() -> pQSizePolicy
* :updateGeometry() -> NIL
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtgui/TQGraphicsLayoutItem.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsLayoutItem.cpp
* Library : hbqtgui
* $SEEALSO$
*
* $END$
*/

View File

@@ -0,0 +1,67 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsLinearLayout()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicslinearlayout.html
* $ONELINER$
* Creates a new QGraphicsLinearLayout object.
* $INHERITS$
* QGraphicsLayout
* $SYNTAX$
* QGraphicsLinearLayout():new( ... )
* QGraphicsLinearLayout():from( pPtr_OR_oObj_of_type_QGraphicsLinearLayout )
* QGraphicsLinearLayout():configure( pPtr_OR_oObj_of_type_QGraphicsLinearLayout )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsLinearLayout
* $METHODS$
* :addItem( pItem ) -> NIL
* :addStretch( nStretch ) -> NIL
* :alignment( pItem ) -> nQt::Alignment
* :insertItem( nIndex, pItem ) -> NIL
* :insertStretch( nIndex, nStretch ) -> NIL
* :itemSpacing( nIndex ) -> nQreal
* :orientation() -> nQt::Orientation
* :removeAt( nIndex ) -> NIL
* :removeItem( pItem ) -> NIL
* :setAlignment( pItem, nAlignment ) -> NIL
* :setItemSpacing( nIndex, nSpacing ) -> NIL
* :setOrientation( nOrientation ) -> NIL
* :setSpacing( nSpacing ) -> NIL
* :setStretchFactor( pItem, nStretch ) -> NIL
* :spacing() -> nQreal
* :stretchFactor( pItem ) -> nInt
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtgui/TQGraphicsLinearLayout.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsLinearLayout.cpp
* Library : hbqtgui
* $SEEALSO$
* QGraphicsLayout
* $END$
*/

View File

@@ -0,0 +1,56 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsLineItem()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicslineitem.html
* $ONELINER$
* Creates a new QGraphicsLineItem object.
* $INHERITS$
* QGraphicsItem
* $SYNTAX$
* QGraphicsLineItem():new( ... )
* QGraphicsLineItem():from( pPtr_OR_oObj_of_type_QGraphicsLineItem )
* QGraphicsLineItem():configure( pPtr_OR_oObj_of_type_QGraphicsLineItem )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsLineItem
* $METHODS$
* :line() -> pQLineF
* :pen() -> pQPen
* :setLine( pLine ) -> NIL
* :setLine_1( nX1, nY1, nX2, nY2 ) -> NIL
* :setPen( pPen ) -> NIL
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtgui/TQGraphicsLineItem.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsLineItem.cpp
* Library : hbqtgui
* $SEEALSO$
* QGraphicsItem
* $END$
*/

View File

@@ -0,0 +1,53 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsPathItem()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicspathitem.html
* $ONELINER$
* Creates a new QGraphicsPathItem object.
* $INHERITS$
* QAbstractGraphicsShapeItem
* $SYNTAX$
* QGraphicsPathItem():new( ... )
* QGraphicsPathItem():from( pPtr_OR_oObj_of_type_QGraphicsPathItem )
* QGraphicsPathItem():configure( pPtr_OR_oObj_of_type_QGraphicsPathItem )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsPathItem
* $METHODS$
* :path() -> pQPainterPath
* :setPath( pPath ) -> NIL
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtgui/TQGraphicsPathItem.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsPathItem.cpp
* Library : hbqtgui
* $SEEALSO$
* QAbstractGraphicsShapeItem
* $END$
*/

View File

@@ -0,0 +1,60 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsPixmapItem()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicspixmapitem.html
* $ONELINER$
* Creates a new QGraphicsPixmapItem object.
* $INHERITS$
* QGraphicsItem
* $SYNTAX$
* QGraphicsPixmapItem():new( ... )
* QGraphicsPixmapItem():from( pPtr_OR_oObj_of_type_QGraphicsPixmapItem )
* QGraphicsPixmapItem():configure( pPtr_OR_oObj_of_type_QGraphicsPixmapItem )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsPixmapItem
* $METHODS$
* :offset() -> pQPointF
* :pixmap() -> pQPixmap
* :setOffset( pOffset ) -> NIL
* :setOffset_1( nX, nY ) -> NIL
* :setPixmap( pPixmap ) -> NIL
* :setShapeMode( nMode ) -> NIL
* :setTransformationMode( nMode ) -> NIL
* :shapeMode() -> nShapeMode
* :transformationMode() -> nQt::TransformationMode
*
* $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/TQGraphicsPixmapItem.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsPixmapItem.cpp
* Library : hbqtgui
* $SEEALSO$
* QGraphicsItem
* $END$
*/

View File

@@ -0,0 +1,55 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsPolygonItem()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicspolygonitem.html
* $ONELINER$
* Creates a new QGraphicsPolygonItem object.
* $INHERITS$
* QAbstractGraphicsShapeItem
* $SYNTAX$
* QGraphicsPolygonItem():new( ... )
* QGraphicsPolygonItem():from( pPtr_OR_oObj_of_type_QGraphicsPolygonItem )
* QGraphicsPolygonItem():configure( pPtr_OR_oObj_of_type_QGraphicsPolygonItem )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsPolygonItem
* $METHODS$
* :fillRule() -> nQt::FillRule
* :polygon() -> pQPolygonF
* :setFillRule( nRule ) -> NIL
* :setPolygon( pPolygon ) -> NIL
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtgui/TQGraphicsPolygonItem.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsPolygonItem.cpp
* Library : hbqtgui
* $SEEALSO$
* QAbstractGraphicsShapeItem
* $END$
*/

View File

@@ -0,0 +1,54 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsProxyWidget()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicsproxywidget.html
* $ONELINER$
* Creates a new QGraphicsProxyWidget object.
* $INHERITS$
* QGraphicsWidget
* $SYNTAX$
* QGraphicsProxyWidget():new( ... )
* QGraphicsProxyWidget():from( pPtr_OR_oObj_of_type_QGraphicsProxyWidget )
* QGraphicsProxyWidget():configure( pPtr_OR_oObj_of_type_QGraphicsProxyWidget )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsProxyWidget
* $METHODS$
* :setWidget( pWidget ) -> NIL
* :subWidgetRect( pWidget ) -> pQRectF
* :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/TQGraphicsProxyWidget.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsProxyWidget.cpp
* Library : hbqtgui
* $SEEALSO$
* QGraphicsWidget
* $END$
*/

View File

@@ -0,0 +1,54 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsRectItem()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicsrectitem.html
* $ONELINER$
* Creates a new QGraphicsRectItem object.
* $INHERITS$
* QAbstractGraphicsShapeItem
* $SYNTAX$
* QGraphicsRectItem():new( ... )
* QGraphicsRectItem():from( pPtr_OR_oObj_of_type_QGraphicsRectItem )
* QGraphicsRectItem():configure( pPtr_OR_oObj_of_type_QGraphicsRectItem )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsRectItem
* $METHODS$
* :rect() -> pQRectF
* :setRect( pRectangle ) -> NIL
* :setRect_1( nX, nY, nWidth, nHeight ) -> NIL
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtgui/TQGraphicsRectItem.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsRectItem.cpp
* Library : hbqtgui
* $SEEALSO$
* QAbstractGraphicsShapeItem
* $END$
*/

View File

@@ -0,0 +1,120 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsScene()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicsscene.html
* $ONELINER$
* Creates a new QGraphicsScene object.
* $INHERITS$
* QObject
* $SYNTAX$
* QGraphicsScene():new( ... )
* QGraphicsScene():from( pPtr_OR_oObj_of_type_QGraphicsScene )
* QGraphicsScene():configure( pPtr_OR_oObj_of_type_QGraphicsScene )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsScene
* $METHODS$
* :activeWindow() -> pQGraphicsWidget
* :addEllipse( pRect, pPen, pBrush ) -> pQGraphicsEllipseItem
* :addEllipse_1( nX, nY, nW, nH, pPen, pBrush ) -> pQGraphicsEllipseItem
* :addItem( pItem ) -> NIL
* :addLine( pLine, pPen ) -> pQGraphicsLineItem
* :addLine_1( nX1, nY1, nX2, nY2, pPen ) -> pQGraphicsLineItem
* :addPath( pPath, pPen, pBrush ) -> pQGraphicsPathItem
* :addPixmap( pPixmap ) -> pQGraphicsPixmapItem
* :addPolygon( pPolygon, pPen, pBrush ) -> pQGraphicsPolygonItem
* :addRect( pRect, pPen, pBrush ) -> pQGraphicsRectItem
* :addRect_1( nX, nY, nW, nH, pPen, pBrush ) -> pQGraphicsRectItem
* :addSimpleText( cText, pFont ) -> pQGraphicsSimpleTextItem
* :addText( cText, pFont ) -> pQGraphicsTextItem
* :addWidget( pWidget, nWFlags ) -> pQGraphicsProxyWidget
* :backgroundBrush() -> pQBrush
* :bspTreeDepth() -> nInt
* :clearFocus() -> NIL
* :collidingItems( pItem, nMode ) -> pQList<QGraphicsItem *>
* :destroyItemGroup( pGroup ) -> NIL
* :focusItem() -> pQGraphicsItem
* :font() -> pQFont
* :foregroundBrush() -> pQBrush
* :hasFocus() -> lBool
* :height() -> nQreal
* :invalidate( nX, nY, nW, nH, nLayers ) -> NIL
* :isSortCacheEnabled() -> lBool
* :itemAt( pPosition ) -> pQGraphicsItem
* :itemAt_1( nX, nY ) -> pQGraphicsItem
* :itemIndexMethod() -> nItemIndexMethod
* :items() -> pQList<QGraphicsItem *>
* :items_1( pPos ) -> pQList<QGraphicsItem *>
* :items_2( nX, nY, nW, nH, nMode ) -> pQList<QGraphicsItem *>
* :items_3( pRectangle, nMode ) -> pQList<QGraphicsItem *>
* :items_4( pPolygon, nMode ) -> pQList<QGraphicsItem *>
* :items_5( pPath, nMode ) -> pQList<QGraphicsItem *>
* :itemsBoundingRect() -> pQRectF
* :mouseGrabberItem() -> pQGraphicsItem
* :palette() -> pQPalette
* :removeItem( pItem ) -> NIL
* :render( pPainter, pTarget, pSource, nAspectRatioMode ) -> NIL
* :sceneRect() -> pQRectF
* :selectedItems() -> pQList<QGraphicsItem *>
* :selectionArea() -> pQPainterPath
* :setActiveWindow( pWidget ) -> NIL
* :setBackgroundBrush( pBrush ) -> NIL
* :setBspTreeDepth( nDepth ) -> NIL
* :setFocus( nFocusReason ) -> NIL
* :setFocusItem( pItem, nFocusReason ) -> NIL
* :setFont( pFont ) -> NIL
* :setForegroundBrush( pBrush ) -> NIL
* :setItemIndexMethod( nMethod ) -> NIL
* :setPalette( pPalette ) -> NIL
* :setSceneRect( pRect ) -> NIL
* :setSceneRect_1( nX, nY, nW, nH ) -> NIL
* :setSelectionArea( pPath ) -> NIL
* :setSelectionArea_1( pPath, nMode ) -> NIL
* :setSortCacheEnabled( lEnabled ) -> NIL
* :setStickyFocus( lEnabled ) -> NIL
* :setStyle( pStyle ) -> NIL
* :stickyFocus() -> lBool
* :style() -> pQStyle
* :update( nX, nY, nW, nH ) -> NIL
* :views() -> pQList<QGraphicsView *>
* :width() -> nQreal
* :advance() -> NIL
* :clear() -> NIL
* :clearSelection() -> NIL
* :invalidate_1( pRect, nLayers ) -> NIL
* :update_1( pRect ) -> NIL
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtgui/TQGraphicsScene.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsScene.cpp
* Library : hbqtgui
* $SEEALSO$
* QObject
* $END$
*/

View File

@@ -0,0 +1,55 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsSimpleTextItem()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicssimpletextitem.html
* $ONELINER$
* Creates a new QGraphicsSimpleTextItem object.
* $INHERITS$
* QAbstractGraphicsShapeItem
* $SYNTAX$
* QGraphicsSimpleTextItem():new( ... )
* QGraphicsSimpleTextItem():from( pPtr_OR_oObj_of_type_QGraphicsSimpleTextItem )
* QGraphicsSimpleTextItem():configure( pPtr_OR_oObj_of_type_QGraphicsSimpleTextItem )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsSimpleTextItem
* $METHODS$
* :font() -> pQFont
* :setFont( pFont ) -> NIL
* :setText( cText ) -> NIL
* :text() -> cQString
*
* $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/TQGraphicsSimpleTextItem.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsSimpleTextItem.cpp
* Library : hbqtgui
* $SEEALSO$
* QAbstractGraphicsShapeItem
* $END$
*/

View File

@@ -0,0 +1,72 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsTextItem()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicstextitem.html
* $ONELINER$
* Creates a new QGraphicsTextItem object.
* $INHERITS$
* QObject, QGraphicsItem
* $SYNTAX$
* QGraphicsTextItem():new( ... )
* QGraphicsTextItem():from( pPtr_OR_oObj_of_type_QGraphicsTextItem )
* QGraphicsTextItem():configure( pPtr_OR_oObj_of_type_QGraphicsTextItem )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsTextItem
* $METHODS$
* :adjustSize() -> NIL
* :defaultTextColor() -> pQColor
* :document() -> pQTextDocument
* :font() -> pQFont
* :openExternalLinks() -> lBool
* :setDefaultTextColor( pCol ) -> NIL
* :setDocument( pDocument ) -> NIL
* :setFont( pFont ) -> NIL
* :setHtml( cText ) -> NIL
* :setOpenExternalLinks( lOpen ) -> NIL
* :setPlainText( cText ) -> NIL
* :setTabChangesFocus( lB ) -> NIL
* :setTextCursor( pCursor ) -> NIL
* :setTextInteractionFlags( nFlags ) -> NIL
* :setTextWidth( nWidth ) -> NIL
* :tabChangesFocus() -> lBool
* :textCursor() -> pQTextCursor
* :textInteractionFlags() -> nQt::TextInteractionFlags
* :textWidth() -> nQreal
* :toHtml() -> cQString
* :toPlainText() -> cQString
*
* $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/TQGraphicsTextItem.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsTextItem.cpp
* Library : hbqtgui
* $SEEALSO$
* QObject, QGraphicsItem
* $END$
*/

View File

@@ -0,0 +1,127 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsView()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicsview.html
* $ONELINER$
* Creates a new QGraphicsView object.
* $INHERITS$
* QAbstractScrollArea
* $SYNTAX$
* QGraphicsView():new( ... )
* QGraphicsView():from( pPtr_OR_oObj_of_type_QGraphicsView )
* QGraphicsView():configure( pPtr_OR_oObj_of_type_QGraphicsView )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsView
* $METHODS$
* :alignment() -> nQt::Alignment
* :backgroundBrush() -> pQBrush
* :cacheMode() -> nCacheMode
* :centerOn( pPos ) -> NIL
* :centerOn_1( nX, nY ) -> NIL
* :centerOn_2( pItem ) -> NIL
* :dragMode() -> nDragMode
* :ensureVisible( pRect, nXmargin, nYmargin ) -> NIL
* :ensureVisible_1( nX, nY, nW, nH, nXmargin, nYmargin ) -> NIL
* :ensureVisible_2( pItem, nXmargin, nYmargin ) -> NIL
* :fitInView( pRect, nAspectRatioMode ) -> NIL
* :fitInView_1( nX, nY, nW, nH, nAspectRatioMode ) -> NIL
* :fitInView_2( pItem, nAspectRatioMode ) -> NIL
* :foregroundBrush() -> pQBrush
* :isInteractive() -> lBool
* :itemAt( pPos ) -> pQGraphicsItem
* :itemAt_1( nX, nY ) -> pQGraphicsItem
* :items() -> pQList<QGraphicsItem *>
* :items_1( pPos ) -> pQList<QGraphicsItem *>
* :items_2( nX, nY ) -> pQList<QGraphicsItem *>
* :items_3( nX, nY, nW, nH, nMode ) -> pQList<QGraphicsItem *>
* :items_4( pRect, nMode ) -> pQList<QGraphicsItem *>
* :items_5( pPolygon, nMode ) -> pQList<QGraphicsItem *>
* :items_6( pPath, nMode ) -> pQList<QGraphicsItem *>
* :mapFromScene( pPoint ) -> pQPoint
* :mapFromScene_1( pRect ) -> pQPolygon
* :mapFromScene_2( pPolygon ) -> pQPolygon
* :mapFromScene_3( pPath ) -> pQPainterPath
* :mapFromScene_4( nX, nY ) -> pQPoint
* :mapFromScene_5( nX, nY, nW, nH ) -> pQPolygon
* :mapToScene( pPoint ) -> pQPointF
* :mapToScene_1( pRect ) -> pQPolygonF
* :mapToScene_2( pPolygon ) -> pQPolygonF
* :mapToScene_3( pPath ) -> pQPainterPath
* :mapToScene_4( nX, nY ) -> pQPointF
* :mapToScene_5( nX, nY, nW, nH ) -> pQPolygonF
* :matrix() -> pQMatrix
* :optimizationFlags() -> nOptimizationFlags
* :render( pPainter, pTarget, pSource, nAspectRatioMode ) -> NIL
* :renderHints() -> nQPainter::RenderHints
* :resetCachedContent() -> NIL
* :resetMatrix() -> NIL
* :resetTransform() -> NIL
* :resizeAnchor() -> nViewportAnchor
* :rotate( nAngle ) -> NIL
* :rubberBandSelectionMode() -> nQt::ItemSelectionMode
* :scale( nSx, nSy ) -> NIL
* :scene() -> pQGraphicsScene
* :sceneRect() -> pQRectF
* :setAlignment( nAlignment ) -> NIL
* :setBackgroundBrush( pBrush ) -> NIL
* :setCacheMode( nMode ) -> NIL
* :setDragMode( nMode ) -> NIL
* :setForegroundBrush( pBrush ) -> NIL
* :setInteractive( lAllowed ) -> NIL
* :setMatrix( pMatrix, lCombine ) -> NIL
* :setOptimizationFlag( nFlag, lEnabled ) -> NIL
* :setOptimizationFlags( nFlags ) -> NIL
* :setRenderHint( nHint, lEnabled ) -> NIL
* :setRenderHints( nHints ) -> NIL
* :setResizeAnchor( nAnchor ) -> NIL
* :setRubberBandSelectionMode( nMode ) -> NIL
* :setScene( pScene ) -> NIL
* :setSceneRect( pRect ) -> NIL
* :setSceneRect_1( nX, nY, nW, nH ) -> NIL
* :setTransform( pMatrix, lCombine ) -> NIL
* :setTransformationAnchor( nAnchor ) -> NIL
* :setViewportUpdateMode( nMode ) -> NIL
* :shear( nSh, nSv ) -> NIL
* :transform() -> pQTransform
* :transformationAnchor() -> nViewportAnchor
* :translate( nDx, nDy ) -> NIL
* :viewportTransform() -> pQTransform
* :viewportUpdateMode() -> nViewportUpdateMode
* :invalidateScene( pRect, nLayers ) -> NIL
* :updateSceneRect( pRect ) -> NIL
*
* $DESCRIPTION$
*
* $EXAMPLES$
*
* $TESTS$
*
* $STATUS$
* R
* $COMPLIANCE$
* Not Clipper compatible
* $PLATFORMS$
* Windows, Linux, Mac OS X, OS/2
* $VERSION$
* 4.5 or upper
* $FILES$
* Harbour source: contrib/hbqt/qtgui/TQGraphicsView.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsView.cpp
* Library : hbqtgui
* $SEEALSO$
* QAbstractScrollArea
* $END$
*/

View File

@@ -0,0 +1,96 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QGraphicsWidget()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qgraphicswidget.html
* $ONELINER$
* Creates a new QGraphicsWidget object.
* $INHERITS$
* QObject, QGraphicsItem, QGraphicsLayoutItem
* $SYNTAX$
* QGraphicsWidget():new( ... )
* QGraphicsWidget():from( pPtr_OR_oObj_of_type_QGraphicsWidget )
* QGraphicsWidget():configure( pPtr_OR_oObj_of_type_QGraphicsWidget )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QGraphicsWidget
* $METHODS$
* :actions() -> pQList<QAction *>
* :addAction( pAction ) -> NIL
* :adjustSize() -> NIL
* :focusPolicy() -> nQt::FocusPolicy
* :font() -> pQFont
* :getContentsMargins( @nLeft, @nTop, @nRight, @nBottom ) -> NIL
* :getWindowFrameMargins( @nLeft, @nTop, @nRight, @nBottom ) -> NIL
* :grabShortcut( pSequence, nContext ) -> nInt
* :insertAction( pBefore, pAction ) -> NIL
* :isActiveWindow() -> lBool
* :layout() -> pQGraphicsLayout
* :layoutDirection() -> nQt::LayoutDirection
* :palette() -> pQPalette
* :rect() -> pQRectF
* :releaseShortcut( nId ) -> NIL
* :removeAction( pAction ) -> NIL
* :resize( pSize ) -> NIL
* :resize_1( nW, nH ) -> NIL
* :setAttribute( nAttribute, lOn ) -> NIL
* :setContentsMargins( nLeft, nTop, nRight, nBottom ) -> NIL
* :setFocusPolicy( nPolicy ) -> NIL
* :setFont( pFont ) -> NIL
* :setGeometry( pRect ) -> NIL
* :setGeometry_1( nX, nY, nW, nH ) -> NIL
* :setLayout( pLayout ) -> NIL
* :setLayoutDirection( nDirection ) -> NIL
* :setPalette( pPalette ) -> NIL
* :setShortcutAutoRepeat( nId, lEnabled ) -> NIL
* :setShortcutEnabled( nId, lEnabled ) -> NIL
* :setStyle( pStyle ) -> NIL
* :setWindowFlags( nWFlags ) -> NIL
* :setWindowFrameMargins( nLeft, nTop, nRight, nBottom ) -> NIL
* :setWindowTitle( cTitle ) -> NIL
* :size() -> pQSizeF
* :style() -> pQStyle
* :testAttribute( nAttribute ) -> lBool
* :unsetLayoutDirection() -> NIL
* :unsetWindowFrameMargins() -> NIL
* :windowFlags() -> nQt::WindowFlags
* :windowFrameGeometry() -> pQRectF
* :windowFrameRect() -> pQRectF
* :windowTitle() -> cQString
* :windowType() -> nQt::WindowType
* :setTabOrder( pFirst, pSecond ) -> NIL
* :close() -> lBool
*
* $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/TQGraphicsWidget.prg
* C++ wrappers : contrib/hbqt/qtgui/QGraphicsWidget.cpp
* Library : hbqtgui
* $SEEALSO$
* QObject, QGraphicsItem, QGraphicsLayoutItem
* $END$
*/

View File

@@ -0,0 +1,54 @@
/*
* $Id$
*/
/* $DOC$
* $TEMPLATE$
* Class
* $NAME$
* QStyleOptionGraphicsItem()
* $CATEGORY$
* Harbour Bindings for Qt
* $SUBCATEGORY$
* GUI
* $EXTERNALLINK$
* http://doc.trolltech.com/4.5/qstyleoptiongraphicsitem.html
* $ONELINER$
* Creates a new QStyleOptionGraphicsItem object.
* $INHERITS$
* QStyleOption
* $SYNTAX$
* QStyleOptionGraphicsItem():new( ... )
* QStyleOptionGraphicsItem():from( pPtr_OR_oObj_of_type_QStyleOptionGraphicsItem )
* QStyleOptionGraphicsItem():configure( pPtr_OR_oObj_of_type_QStyleOptionGraphicsItem )
* $ARGUMENTS$
*
* $RETURNS$
* An instance of the object of type QStyleOptionGraphicsItem
* $METHODS$
* :exposedRect() -> pQRectF
* :levelOfDetail() -> nQreal
* :matrix() -> pQMatrix
*
* $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/TQStyleOptionGraphicsItem.prg
* C++ wrappers : contrib/hbqt/qtgui/QStyleOptionGraphicsItem.cpp
* Library : hbqtgui
* $SEEALSO$
* QStyleOption
* $END$
*/

View File

@@ -0,0 +1,184 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QAbstractGraphicsShapeItem>
#include <QtGui/QBrush>
#include <QtGui/QPen>
/*
* QAbstractGraphicsShapeItem ( QGraphicsItem * parent = 0 )
* ~QAbstractGraphicsShapeItem ()
*/
typedef struct
{
QAbstractGraphicsShapeItem * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QAbstractGraphicsShapeItem;
HBQT_GC_FUNC( hbqt_gcRelease_QAbstractGraphicsShapeItem )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QAbstractGraphicsShapeItem( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QAbstractGraphicsShapeItem * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QAbstractGraphicsShapeItem;
p->type = HBQT_TYPE_QAbstractGraphicsShapeItem;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QAbstractGraphicsShapeItem", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QAbstractGraphicsShapeItem", pObj ) );
}
return p;
}
HB_FUNC( QT_QABSTRACTGRAPHICSSHAPEITEM )
{
// hb_retptr( new QAbstractGraphicsShapeItem() );
}
/*
* QBrush brush () const
*/
HB_FUNC( QT_QABSTRACTGRAPHICSSHAPEITEM_BRUSH )
{
QAbstractGraphicsShapeItem * p = hbqt_par_QAbstractGraphicsShapeItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->brush() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QABSTRACTGRAPHICSSHAPEITEM_BRUSH FP=hb_retptrGC( hbqt_gcAllocate_QBrush( new QBrush( ( p )->brush() ), true ) ); p is NULL" ) );
}
}
/*
* QPen pen () const
*/
HB_FUNC( QT_QABSTRACTGRAPHICSSHAPEITEM_PEN )
{
QAbstractGraphicsShapeItem * p = hbqt_par_QAbstractGraphicsShapeItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPen( new QPen( ( p )->pen() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QABSTRACTGRAPHICSSHAPEITEM_PEN FP=hb_retptrGC( hbqt_gcAllocate_QPen( new QPen( ( p )->pen() ), true ) ); p is NULL" ) );
}
}
/*
* void setBrush ( const QBrush & brush )
*/
HB_FUNC( QT_QABSTRACTGRAPHICSSHAPEITEM_SETBRUSH )
{
QAbstractGraphicsShapeItem * p = hbqt_par_QAbstractGraphicsShapeItem( 1 );
if( p )
( p )->setBrush( *hbqt_par_QBrush( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QABSTRACTGRAPHICSSHAPEITEM_SETBRUSH FP=( p )->setBrush( *hbqt_par_QBrush( 2 ) ); p is NULL" ) );
}
}
/*
* void setPen ( const QPen & pen )
*/
HB_FUNC( QT_QABSTRACTGRAPHICSSHAPEITEM_SETPEN )
{
QAbstractGraphicsShapeItem * p = hbqt_par_QAbstractGraphicsShapeItem( 1 );
if( p )
( p )->setPen( *hbqt_par_QPen( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QABSTRACTGRAPHICSSHAPEITEM_SETPEN FP=( p )->setPen( *hbqt_par_QPen( 2 ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,245 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsEllipseItem>
/*
* QGraphicsEllipseItem ( QGraphicsItem * parent = 0 )
* QGraphicsEllipseItem ( const QRectF & rect, QGraphicsItem * parent = 0 )
* QGraphicsEllipseItem ( qreal x, qreal y, qreal width, qreal height, QGraphicsItem * parent = 0 )
* ~QGraphicsEllipseItem ()
*/
typedef struct
{
QGraphicsEllipseItem * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsEllipseItem;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsEllipseItem )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QGraphicsEllipseItem /.\\", p->ph ) );
delete ( ( QGraphicsEllipseItem * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QGraphicsEllipseItem \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsEllipseItem : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsEllipseItem : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsEllipseItem( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QGraphicsEllipseItem * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsEllipseItem;
p->type = HBQT_TYPE_QGraphicsEllipseItem;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsEllipseItem", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsEllipseItem", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSELLIPSEITEM )
{
QGraphicsEllipseItem * pObj = NULL;
pObj = new QGraphicsEllipseItem() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsEllipseItem( ( void * ) pObj, true ) );
}
/*
* QRectF rect () const
*/
HB_FUNC( QT_QGRAPHICSELLIPSEITEM_RECT )
{
QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->rect() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSELLIPSEITEM_RECT FP=hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->rect() ), true ) ); p is NULL" ) );
}
}
/*
* void setRect ( const QRectF & rect )
*/
HB_FUNC( QT_QGRAPHICSELLIPSEITEM_SETRECT )
{
QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 );
if( p )
( p )->setRect( *hbqt_par_QRectF( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSELLIPSEITEM_SETRECT FP=( p )->setRect( *hbqt_par_QRectF( 2 ) ); p is NULL" ) );
}
}
/*
* void setRect ( qreal x, qreal y, qreal width, qreal height )
*/
HB_FUNC( QT_QGRAPHICSELLIPSEITEM_SETRECT_1 )
{
QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 );
if( p )
( p )->setRect( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSELLIPSEITEM_SETRECT_1 FP=( p )->setRect( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); p is NULL" ) );
}
}
/*
* void setSpanAngle ( int angle )
*/
HB_FUNC( QT_QGRAPHICSELLIPSEITEM_SETSPANANGLE )
{
QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 );
if( p )
( p )->setSpanAngle( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSELLIPSEITEM_SETSPANANGLE FP=( p )->setSpanAngle( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setStartAngle ( int angle )
*/
HB_FUNC( QT_QGRAPHICSELLIPSEITEM_SETSTARTANGLE )
{
QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 );
if( p )
( p )->setStartAngle( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSELLIPSEITEM_SETSTARTANGLE FP=( p )->setStartAngle( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* int spanAngle () const
*/
HB_FUNC( QT_QGRAPHICSELLIPSEITEM_SPANANGLE )
{
QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 );
if( p )
hb_retni( ( p )->spanAngle() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSELLIPSEITEM_SPANANGLE FP=hb_retni( ( p )->spanAngle() ); p is NULL" ) );
}
}
/*
* int startAngle () const
*/
HB_FUNC( QT_QGRAPHICSELLIPSEITEM_STARTANGLE )
{
QGraphicsEllipseItem * p = hbqt_par_QGraphicsEllipseItem( 1 );
if( p )
hb_retni( ( p )->startAngle() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSELLIPSEITEM_STARTANGLE FP=hb_retni( ( p )->startAngle() ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,733 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsGridLayout>
/*
* QGraphicsGridLayout ( QGraphicsLayoutItem * parent = 0 )
* virtual ~QGraphicsGridLayout ()
*/
typedef struct
{
QGraphicsGridLayout * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsGridLayout;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsGridLayout )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QGraphicsGridLayout /.\\", p->ph ) );
delete ( ( QGraphicsGridLayout * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QGraphicsGridLayout \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsGridLayout : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsGridLayout : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsGridLayout( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QGraphicsGridLayout * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsGridLayout;
p->type = HBQT_TYPE_QGraphicsGridLayout;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsGridLayout", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsGridLayout", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT )
{
QGraphicsGridLayout * pObj = NULL;
pObj = new QGraphicsGridLayout() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsGridLayout( ( void * ) pObj, true ) );
}
/*
* void addItem ( QGraphicsLayoutItem * item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ADDITEM )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->addItem( hbqt_par_QGraphicsLayoutItem( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), ( Qt::Alignment ) hb_parni( 7 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_ADDITEM FP=( p )->addItem( hbqt_par_QGraphicsLayoutItem( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ), ( Qt::Alignment ) hb_parni( 7 ) ); p is NULL" ) );
}
}
/*
* void addItem ( QGraphicsLayoutItem * item, int row, int column, Qt::Alignment alignment = 0 )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ADDITEM_1 )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->addItem( hbqt_par_QGraphicsLayoutItem( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( Qt::Alignment ) hb_parni( 5 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_ADDITEM_1 FP=( p )->addItem( hbqt_par_QGraphicsLayoutItem( 2 ), hb_parni( 3 ), hb_parni( 4 ), ( Qt::Alignment ) hb_parni( 5 ) ); p is NULL" ) );
}
}
/*
* Qt::Alignment alignment ( QGraphicsLayoutItem * item ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ALIGNMENT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retni( ( Qt::Alignment ) ( p )->alignment( hbqt_par_QGraphicsLayoutItem( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_ALIGNMENT FP=hb_retni( ( Qt::Alignment ) ( p )->alignment( hbqt_par_QGraphicsLayoutItem( 2 ) ) ); p is NULL" ) );
}
}
/*
* Qt::Alignment columnAlignment ( int column ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNALIGNMENT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retni( ( Qt::Alignment ) ( p )->columnAlignment( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_COLUMNALIGNMENT FP=hb_retni( ( Qt::Alignment ) ( p )->columnAlignment( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* int columnCount () const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNCOUNT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retni( ( p )->columnCount() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_COLUMNCOUNT FP=hb_retni( ( p )->columnCount() ); p is NULL" ) );
}
}
/*
* qreal columnMaximumWidth ( int column ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNMAXIMUMWIDTH )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retnd( ( p )->columnMaximumWidth( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_COLUMNMAXIMUMWIDTH FP=hb_retnd( ( p )->columnMaximumWidth( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* qreal columnMinimumWidth ( int column ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNMINIMUMWIDTH )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retnd( ( p )->columnMinimumWidth( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_COLUMNMINIMUMWIDTH FP=hb_retnd( ( p )->columnMinimumWidth( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* qreal columnPreferredWidth ( int column ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNPREFERREDWIDTH )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retnd( ( p )->columnPreferredWidth( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_COLUMNPREFERREDWIDTH FP=hb_retnd( ( p )->columnPreferredWidth( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* qreal columnSpacing ( int column ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNSPACING )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retnd( ( p )->columnSpacing( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_COLUMNSPACING FP=hb_retnd( ( p )->columnSpacing( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* int columnStretchFactor ( int column ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COLUMNSTRETCHFACTOR )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retni( ( p )->columnStretchFactor( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_COLUMNSTRETCHFACTOR FP=hb_retni( ( p )->columnStretchFactor( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* virtual int count () const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_COUNT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retni( ( p )->count() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_COUNT FP=hb_retni( ( p )->count() ); p is NULL" ) );
}
}
/*
* qreal horizontalSpacing () const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_HORIZONTALSPACING )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retnd( ( p )->horizontalSpacing() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_HORIZONTALSPACING FP=hb_retnd( ( p )->horizontalSpacing() ); p is NULL" ) );
}
}
/*
* QGraphicsLayoutItem * itemAt ( int row, int column ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ITEMAT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QGraphicsLayoutItem( ( p )->itemAt( hb_parni( 2 ), hb_parni( 3 ) ), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_ITEMAT FP=hb_retptrGC( hbqt_gcAllocate_QGraphicsLayoutItem( ( p )->itemAt( hb_parni( 2 ), hb_parni( 3 ) ), false ) ); p is NULL" ) );
}
}
/*
* virtual QGraphicsLayoutItem * itemAt ( int index ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ITEMAT_1 )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QGraphicsLayoutItem( ( p )->itemAt( hb_parni( 2 ) ), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_ITEMAT_1 FP=hb_retptrGC( hbqt_gcAllocate_QGraphicsLayoutItem( ( p )->itemAt( hb_parni( 2 ) ), false ) ); p is NULL" ) );
}
}
/*
* virtual void removeAt ( int index )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_REMOVEAT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->removeAt( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_REMOVEAT FP=( p )->removeAt( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* Qt::Alignment rowAlignment ( int row ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWALIGNMENT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retni( ( Qt::Alignment ) ( p )->rowAlignment( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_ROWALIGNMENT FP=hb_retni( ( Qt::Alignment ) ( p )->rowAlignment( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* int rowCount () const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWCOUNT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retni( ( p )->rowCount() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_ROWCOUNT FP=hb_retni( ( p )->rowCount() ); p is NULL" ) );
}
}
/*
* qreal rowMaximumHeight ( int row ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWMAXIMUMHEIGHT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retnd( ( p )->rowMaximumHeight( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_ROWMAXIMUMHEIGHT FP=hb_retnd( ( p )->rowMaximumHeight( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* qreal rowMinimumHeight ( int row ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWMINIMUMHEIGHT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retnd( ( p )->rowMinimumHeight( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_ROWMINIMUMHEIGHT FP=hb_retnd( ( p )->rowMinimumHeight( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* qreal rowPreferredHeight ( int row ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWPREFERREDHEIGHT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retnd( ( p )->rowPreferredHeight( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_ROWPREFERREDHEIGHT FP=hb_retnd( ( p )->rowPreferredHeight( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* qreal rowSpacing ( int row ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWSPACING )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retnd( ( p )->rowSpacing( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_ROWSPACING FP=hb_retnd( ( p )->rowSpacing( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* int rowStretchFactor ( int row ) const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_ROWSTRETCHFACTOR )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retni( ( p )->rowStretchFactor( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_ROWSTRETCHFACTOR FP=hb_retni( ( p )->rowStretchFactor( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* void setAlignment ( QGraphicsLayoutItem * item, Qt::Alignment alignment )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETALIGNMENT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setAlignment( hbqt_par_QGraphicsLayoutItem( 2 ), ( Qt::Alignment ) hb_parni( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETALIGNMENT FP=( p )->setAlignment( hbqt_par_QGraphicsLayoutItem( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ); p is NULL" ) );
}
}
/*
* void setColumnAlignment ( int column, Qt::Alignment alignment )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNALIGNMENT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setColumnAlignment( hb_parni( 2 ), ( Qt::Alignment ) hb_parni( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNALIGNMENT FP=( p )->setColumnAlignment( hb_parni( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ); p is NULL" ) );
}
}
/*
* void setColumnFixedWidth ( int column, qreal width )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNFIXEDWIDTH )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setColumnFixedWidth( hb_parni( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNFIXEDWIDTH FP=( p )->setColumnFixedWidth( hb_parni( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setColumnMaximumWidth ( int column, qreal width )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNMAXIMUMWIDTH )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setColumnMaximumWidth( hb_parni( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNMAXIMUMWIDTH FP=( p )->setColumnMaximumWidth( hb_parni( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setColumnMinimumWidth ( int column, qreal width )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNMINIMUMWIDTH )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setColumnMinimumWidth( hb_parni( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNMINIMUMWIDTH FP=( p )->setColumnMinimumWidth( hb_parni( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setColumnPreferredWidth ( int column, qreal width )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNPREFERREDWIDTH )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setColumnPreferredWidth( hb_parni( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNPREFERREDWIDTH FP=( p )->setColumnPreferredWidth( hb_parni( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setColumnSpacing ( int column, qreal spacing )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNSPACING )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setColumnSpacing( hb_parni( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNSPACING FP=( p )->setColumnSpacing( hb_parni( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setColumnStretchFactor ( int column, int stretch )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNSTRETCHFACTOR )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setColumnStretchFactor( hb_parni( 2 ), hb_parni( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETCOLUMNSTRETCHFACTOR FP=( p )->setColumnStretchFactor( hb_parni( 2 ), hb_parni( 3 ) ); p is NULL" ) );
}
}
/*
* virtual void setGeometry ( const QRectF & rect )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETGEOMETRY )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setGeometry( *hbqt_par_QRectF( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETGEOMETRY FP=( p )->setGeometry( *hbqt_par_QRectF( 2 ) ); p is NULL" ) );
}
}
/*
* void setHorizontalSpacing ( qreal spacing )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETHORIZONTALSPACING )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setHorizontalSpacing( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETHORIZONTALSPACING FP=( p )->setHorizontalSpacing( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* void setRowAlignment ( int row, Qt::Alignment alignment )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWALIGNMENT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setRowAlignment( hb_parni( 2 ), ( Qt::Alignment ) hb_parni( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETROWALIGNMENT FP=( p )->setRowAlignment( hb_parni( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ); p is NULL" ) );
}
}
/*
* void setRowFixedHeight ( int row, qreal height )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWFIXEDHEIGHT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setRowFixedHeight( hb_parni( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETROWFIXEDHEIGHT FP=( p )->setRowFixedHeight( hb_parni( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setRowMaximumHeight ( int row, qreal height )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWMAXIMUMHEIGHT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setRowMaximumHeight( hb_parni( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETROWMAXIMUMHEIGHT FP=( p )->setRowMaximumHeight( hb_parni( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setRowMinimumHeight ( int row, qreal height )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWMINIMUMHEIGHT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setRowMinimumHeight( hb_parni( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETROWMINIMUMHEIGHT FP=( p )->setRowMinimumHeight( hb_parni( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setRowPreferredHeight ( int row, qreal height )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWPREFERREDHEIGHT )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setRowPreferredHeight( hb_parni( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETROWPREFERREDHEIGHT FP=( p )->setRowPreferredHeight( hb_parni( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setRowSpacing ( int row, qreal spacing )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWSPACING )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setRowSpacing( hb_parni( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETROWSPACING FP=( p )->setRowSpacing( hb_parni( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setRowStretchFactor ( int row, int stretch )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETROWSTRETCHFACTOR )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setRowStretchFactor( hb_parni( 2 ), hb_parni( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETROWSTRETCHFACTOR FP=( p )->setRowStretchFactor( hb_parni( 2 ), hb_parni( 3 ) ); p is NULL" ) );
}
}
/*
* void setSpacing ( qreal spacing )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETSPACING )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setSpacing( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETSPACING FP=( p )->setSpacing( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* void setVerticalSpacing ( qreal spacing )
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_SETVERTICALSPACING )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
( p )->setVerticalSpacing( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_SETVERTICALSPACING FP=( p )->setVerticalSpacing( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* qreal verticalSpacing () const
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT_VERTICALSPACING )
{
QGraphicsGridLayout * p = hbqt_par_QGraphicsGridLayout( 1 );
if( p )
hb_retnd( ( p )->verticalSpacing() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSGRIDLAYOUT_VERTICALSPACING FP=hb_retnd( ( p )->verticalSpacing() ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,451 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
/*
* Constructed[ 20/25 [ 80.00% ] ]
*
* *** Unconvered Prototypes ***
* -----------------------------
*
* QList<QPair<qreal, QPointF> > posList () const
* QList<QPair<qreal, qreal> > rotationList () const
* QList<QPair<qreal, QPointF> > scaleList () const
* QList<QPair<qreal, QPointF> > shearList () const
* QList<QPair<qreal, QPointF> > translationList () const
*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsItemAnimation>
#include <QtGui/QMatrix>
#include <QtCore/QPointF>
/*
* QGraphicsItemAnimation ( QObject * parent = 0 )
* virtual ~QGraphicsItemAnimation ()
*/
typedef struct
{
QPointer< QGraphicsItemAnimation > ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsItemAnimation;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsItemAnimation )
{
QGraphicsItemAnimation * ph = NULL ;
HBQT_GC_T_QGraphicsItemAnimation * p = ( HBQT_GC_T_QGraphicsItemAnimation * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();
if( ( QString ) m->className() != ( QString ) "QObject" )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QGraphicsItemAnimation /.\\ ", (void*) ph, (void*) p->ph ) );
delete ( p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QGraphicsItemAnimation \\./ ", (void*) ph, (void*) p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NO__rel_QGraphicsItemAnimation ", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsItemAnimation : Object already deleted!", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsItemAnimation : Object not created with new=true", ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsItemAnimation( void * pObj, bool bNew )
{
HBQT_GC_T_QGraphicsItemAnimation * p = ( HBQT_GC_T_QGraphicsItemAnimation * ) hb_gcAllocate( sizeof( HBQT_GC_T_QGraphicsItemAnimation ), hbqt_gcFuncs() );
new( & p->ph ) QPointer< QGraphicsItemAnimation >( ( QGraphicsItemAnimation * ) pObj );
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsItemAnimation;
p->type = HBQT_TYPE_QGraphicsItemAnimation;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsItemAnimation under p->pq", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsItemAnimation", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSITEMANIMATION )
{
QGraphicsItemAnimation * pObj = NULL;
pObj = new QGraphicsItemAnimation() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsItemAnimation( ( void * ) pObj, true ) );
}
/*
* void clear ()
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_CLEAR )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
( p )->clear();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_CLEAR FP=( p )->clear(); p is NULL" ) );
}
}
/*
* qreal horizontalScaleAt ( qreal step ) const
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_HORIZONTALSCALEAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
hb_retnd( ( p )->horizontalScaleAt( hb_parnd( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_HORIZONTALSCALEAT FP=hb_retnd( ( p )->horizontalScaleAt( hb_parnd( 2 ) ) ); p is NULL" ) );
}
}
/*
* qreal horizontalShearAt ( qreal step ) const
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_HORIZONTALSHEARAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
hb_retnd( ( p )->horizontalShearAt( hb_parnd( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_HORIZONTALSHEARAT FP=hb_retnd( ( p )->horizontalShearAt( hb_parnd( 2 ) ) ); p is NULL" ) );
}
}
/*
* QGraphicsItem * item () const
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_ITEM )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->item(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_ITEM FP=hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->item(), false ) ); p is NULL" ) );
}
}
/*
* QMatrix matrixAt ( qreal step ) const
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_MATRIXAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->matrixAt( hb_parnd( 2 ) ) ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_MATRIXAT FP=hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( ( p )->matrixAt( hb_parnd( 2 ) ) ), true ) ); p is NULL" ) );
}
}
/*
* QPointF posAt ( qreal step ) const
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_POSAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->posAt( hb_parnd( 2 ) ) ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_POSAT FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->posAt( hb_parnd( 2 ) ) ), true ) ); p is NULL" ) );
}
}
/*
* qreal rotationAt ( qreal step ) const
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_ROTATIONAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
hb_retnd( ( p )->rotationAt( hb_parnd( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_ROTATIONAT FP=hb_retnd( ( p )->rotationAt( hb_parnd( 2 ) ) ); p is NULL" ) );
}
}
/*
* void setItem ( QGraphicsItem * item )
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETITEM )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
( p )->setItem( hbqt_par_QGraphicsItem( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_SETITEM FP=( p )->setItem( hbqt_par_QGraphicsItem( 2 ) ); p is NULL" ) );
}
}
/*
* void setPosAt ( qreal step, const QPointF & point )
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETPOSAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
( p )->setPosAt( hb_parnd( 2 ), *hbqt_par_QPointF( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_SETPOSAT FP=( p )->setPosAt( hb_parnd( 2 ), *hbqt_par_QPointF( 3 ) ); p is NULL" ) );
}
}
/*
* void setRotationAt ( qreal step, qreal angle )
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETROTATIONAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
( p )->setRotationAt( hb_parnd( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_SETROTATIONAT FP=( p )->setRotationAt( hb_parnd( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setScaleAt ( qreal step, qreal sx, qreal sy )
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETSCALEAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
( p )->setScaleAt( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_SETSCALEAT FP=( p )->setScaleAt( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); p is NULL" ) );
}
}
/*
* void setShearAt ( qreal step, qreal sh, qreal sv )
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETSHEARAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
( p )->setShearAt( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_SETSHEARAT FP=( p )->setShearAt( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); p is NULL" ) );
}
}
/*
* void setTimeLine ( QTimeLine * timeLine )
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETTIMELINE )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
( p )->setTimeLine( hbqt_par_QTimeLine( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_SETTIMELINE FP=( p )->setTimeLine( hbqt_par_QTimeLine( 2 ) ); p is NULL" ) );
}
}
/*
* void setTranslationAt ( qreal step, qreal dx, qreal dy )
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETTRANSLATIONAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
( p )->setTranslationAt( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_SETTRANSLATIONAT FP=( p )->setTranslationAt( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ) ); p is NULL" ) );
}
}
/*
* QTimeLine * timeLine () const
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_TIMELINE )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QTimeLine( ( p )->timeLine(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_TIMELINE FP=hb_retptrGC( hbqt_gcAllocate_QTimeLine( ( p )->timeLine(), false ) ); p is NULL" ) );
}
}
/*
* qreal verticalScaleAt ( qreal step ) const
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_VERTICALSCALEAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
hb_retnd( ( p )->verticalScaleAt( hb_parnd( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_VERTICALSCALEAT FP=hb_retnd( ( p )->verticalScaleAt( hb_parnd( 2 ) ) ); p is NULL" ) );
}
}
/*
* qreal verticalShearAt ( qreal step ) const
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_VERTICALSHEARAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
hb_retnd( ( p )->verticalShearAt( hb_parnd( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_VERTICALSHEARAT FP=hb_retnd( ( p )->verticalShearAt( hb_parnd( 2 ) ) ); p is NULL" ) );
}
}
/*
* qreal xTranslationAt ( qreal step ) const
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_XTRANSLATIONAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
hb_retnd( ( p )->xTranslationAt( hb_parnd( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_XTRANSLATIONAT FP=hb_retnd( ( p )->xTranslationAt( hb_parnd( 2 ) ) ); p is NULL" ) );
}
}
/*
* qreal yTranslationAt ( qreal step ) const
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_YTRANSLATIONAT )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
hb_retnd( ( p )->yTranslationAt( hb_parnd( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_YTRANSLATIONAT FP=hb_retnd( ( p )->yTranslationAt( hb_parnd( 2 ) ) ); p is NULL" ) );
}
}
/*
* void setStep ( qreal step )
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION_SETSTEP )
{
QGraphicsItemAnimation * p = hbqt_par_QGraphicsItemAnimation( 1 );
if( p )
( p )->setStep( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMANIMATION_SETSTEP FP=( p )->setStep( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,173 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsItemGroup>
/*
* QGraphicsItemGroup ( QGraphicsItem * parent = 0 )
* ~QGraphicsItemGroup ()
*/
typedef struct
{
QGraphicsItemGroup * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsItemGroup;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsItemGroup )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QGraphicsItemGroup /.\\", p->ph ) );
delete ( ( QGraphicsItemGroup * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QGraphicsItemGroup \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsItemGroup : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsItemGroup : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsItemGroup( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QGraphicsItemGroup * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsItemGroup;
p->type = HBQT_TYPE_QGraphicsItemGroup;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsItemGroup", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsItemGroup", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSITEMGROUP )
{
QGraphicsItemGroup * pObj = NULL;
pObj = new QGraphicsItemGroup() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsItemGroup( ( void * ) pObj, true ) );
}
/*
* void addToGroup ( QGraphicsItem * item )
*/
HB_FUNC( QT_QGRAPHICSITEMGROUP_ADDTOGROUP )
{
QGraphicsItemGroup * p = hbqt_par_QGraphicsItemGroup( 1 );
if( p )
( p )->addToGroup( hbqt_par_QGraphicsItem( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMGROUP_ADDTOGROUP FP=( p )->addToGroup( hbqt_par_QGraphicsItem( 2 ) ); p is NULL" ) );
}
}
/*
* void removeFromGroup ( QGraphicsItem * item )
*/
HB_FUNC( QT_QGRAPHICSITEMGROUP_REMOVEFROMGROUP )
{
QGraphicsItemGroup * p = hbqt_par_QGraphicsItemGroup( 1 );
if( p )
( p )->removeFromGroup( hbqt_par_QGraphicsItem( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSITEMGROUP_REMOVEFROMGROUP FP=( p )->removeFromGroup( hbqt_par_QGraphicsItem( 2 ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,238 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsLayout>
/*
* QGraphicsLayout ( QGraphicsLayoutItem * parent = 0 )
* ~QGraphicsLayout ()
*/
typedef struct
{
QGraphicsLayout * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsLayout;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLayout )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsLayout( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QGraphicsLayout * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsLayout;
p->type = HBQT_TYPE_QGraphicsLayout;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsLayout", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsLayout", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSLAYOUT )
{
// hb_retptr( new QGraphicsLayout() );
}
/*
* void activate ()
*/
HB_FUNC( QT_QGRAPHICSLAYOUT_ACTIVATE )
{
QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 );
if( p )
( p )->activate();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUT_ACTIVATE FP=( p )->activate(); p is NULL" ) );
}
}
/*
* virtual int count () const = 0
*/
HB_FUNC( QT_QGRAPHICSLAYOUT_COUNT )
{
QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 );
if( p )
hb_retni( ( p )->count() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUT_COUNT FP=hb_retni( ( p )->count() ); p is NULL" ) );
}
}
/*
* virtual void invalidate ()
*/
HB_FUNC( QT_QGRAPHICSLAYOUT_INVALIDATE )
{
QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 );
if( p )
( p )->invalidate();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUT_INVALIDATE FP=( p )->invalidate(); p is NULL" ) );
}
}
/*
* bool isActivated () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUT_ISACTIVATED )
{
QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 );
if( p )
hb_retl( ( p )->isActivated() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUT_ISACTIVATED FP=hb_retl( ( p )->isActivated() ); p is NULL" ) );
}
}
/*
* virtual QGraphicsLayoutItem * itemAt ( int i ) const = 0
*/
HB_FUNC( QT_QGRAPHICSLAYOUT_ITEMAT )
{
QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QGraphicsLayoutItem( ( p )->itemAt( hb_parni( 2 ) ), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUT_ITEMAT FP=hb_retptrGC( hbqt_gcAllocate_QGraphicsLayoutItem( ( p )->itemAt( hb_parni( 2 ) ), false ) ); p is NULL" ) );
}
}
/*
* virtual void removeAt ( int index ) = 0
*/
HB_FUNC( QT_QGRAPHICSLAYOUT_REMOVEAT )
{
QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 );
if( p )
( p )->removeAt( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUT_REMOVEAT FP=( p )->removeAt( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setContentsMargins ( qreal left, qreal top, qreal right, qreal bottom )
*/
HB_FUNC( QT_QGRAPHICSLAYOUT_SETCONTENTSMARGINS )
{
QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 );
if( p )
( p )->setContentsMargins( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUT_SETCONTENTSMARGINS FP=( p )->setContentsMargins( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); p is NULL" ) );
}
}
/*
* virtual void widgetEvent ( QEvent * e )
*/
HB_FUNC( QT_QGRAPHICSLAYOUT_WIDGETEVENT )
{
QGraphicsLayout * p = hbqt_par_QGraphicsLayout( 1 );
if( p )
( p )->widgetEvent( hbqt_par_QEvent( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUT_WIDGETEVENT FP=( p )->widgetEvent( hbqt_par_QEvent( 2 ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,629 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsLayoutItem>
#include <QtCore/QRectF>
#include <QtCore/QSizeF>
#include <QtCore/QPointF>
/*
* QGraphicsLayoutItem ( QGraphicsLayoutItem * parent = 0, bool isLayout = false )
* virtual ~QGraphicsLayoutItem ()
*/
typedef struct
{
QGraphicsLayoutItem * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsLayoutItem;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLayoutItem )
{
HB_SYMBOL_UNUSED( Cargo );
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsLayoutItem( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QGraphicsLayoutItem * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsLayoutItem;
p->type = HBQT_TYPE_QGraphicsLayoutItem;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsLayoutItem", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsLayoutItem", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSLAYOUTITEM )
{
// hb_retptr( new QGraphicsLayoutItem() );
}
/*
* QRectF contentsRect () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_CONTENTSRECT )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->contentsRect() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_CONTENTSRECT FP=hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->contentsRect() ), true ) ); p is NULL" ) );
}
}
/*
* QSizeF effectiveSizeHint ( Qt::SizeHint which, const QSizeF & constraint = QSizeF() ) const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_EFFECTIVESIZEHINT )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->effectiveSizeHint( ( Qt::SizeHint ) hb_parni( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QSizeF( 3 ) : QSizeF() ) ) ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_EFFECTIVESIZEHINT FP=hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->effectiveSizeHint( ( Qt::SizeHint ) hb_parni( 2 ), ( HB_ISPOINTER( 3 ) ? *hbqt_par_QSizeF( 3 ) : QSizeF() ) ) ), true ) ); p is NULL" ) );
}
}
/*
* QRectF geometry () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_GEOMETRY )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->geometry() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_GEOMETRY FP=hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->geometry() ), true ) ); p is NULL" ) );
}
}
/*
* virtual void getContentsMargins ( qreal * left, qreal * top, qreal * right, qreal * bottom ) const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_GETCONTENTSMARGINS )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
qreal qrLeft = 0;
qreal qrTop = 0;
qreal qrRight = 0;
qreal qrBottom = 0;
if( p )
( p )->getContentsMargins( &qrLeft, &qrTop, &qrRight, &qrBottom );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_GETCONTENTSMARGINS FP=( p )->getContentsMargins( &qrLeft, &qrTop, &qrRight, &qrBottom ); p is NULL" ) );
}
hb_stornd( qrLeft, 2 );
hb_stornd( qrTop, 3 );
hb_stornd( qrRight, 4 );
hb_stornd( qrBottom, 5 );
}
/*
* QGraphicsItem * graphicsItem () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_GRAPHICSITEM )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->graphicsItem(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_GRAPHICSITEM FP=hb_retptrGC( hbqt_gcAllocate_QGraphicsItem( ( p )->graphicsItem(), false ) ); p is NULL" ) );
}
}
/*
* bool isLayout () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_ISLAYOUT )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retl( ( p )->isLayout() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_ISLAYOUT FP=hb_retl( ( p )->isLayout() ); p is NULL" ) );
}
}
/*
* qreal maximumHeight () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_MAXIMUMHEIGHT )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retnd( ( p )->maximumHeight() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_MAXIMUMHEIGHT FP=hb_retnd( ( p )->maximumHeight() ); p is NULL" ) );
}
}
/*
* QSizeF maximumSize () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_MAXIMUMSIZE )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->maximumSize() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_MAXIMUMSIZE FP=hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->maximumSize() ), true ) ); p is NULL" ) );
}
}
/*
* qreal maximumWidth () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_MAXIMUMWIDTH )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retnd( ( p )->maximumWidth() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_MAXIMUMWIDTH FP=hb_retnd( ( p )->maximumWidth() ); p is NULL" ) );
}
}
/*
* qreal minimumHeight () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_MINIMUMHEIGHT )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retnd( ( p )->minimumHeight() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_MINIMUMHEIGHT FP=hb_retnd( ( p )->minimumHeight() ); p is NULL" ) );
}
}
/*
* QSizeF minimumSize () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_MINIMUMSIZE )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->minimumSize() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_MINIMUMSIZE FP=hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->minimumSize() ), true ) ); p is NULL" ) );
}
}
/*
* qreal minimumWidth () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_MINIMUMWIDTH )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retnd( ( p )->minimumWidth() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_MINIMUMWIDTH FP=hb_retnd( ( p )->minimumWidth() ); p is NULL" ) );
}
}
/*
* bool ownedByLayout () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_OWNEDBYLAYOUT )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retl( ( p )->ownedByLayout() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_OWNEDBYLAYOUT FP=hb_retl( ( p )->ownedByLayout() ); p is NULL" ) );
}
}
/*
* QGraphicsLayoutItem * parentLayoutItem () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_PARENTLAYOUTITEM )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QGraphicsLayoutItem( ( p )->parentLayoutItem(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_PARENTLAYOUTITEM FP=hb_retptrGC( hbqt_gcAllocate_QGraphicsLayoutItem( ( p )->parentLayoutItem(), false ) ); p is NULL" ) );
}
}
/*
* qreal preferredHeight () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_PREFERREDHEIGHT )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retnd( ( p )->preferredHeight() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_PREFERREDHEIGHT FP=hb_retnd( ( p )->preferredHeight() ); p is NULL" ) );
}
}
/*
* QSizeF preferredSize () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_PREFERREDSIZE )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->preferredSize() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_PREFERREDSIZE FP=hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->preferredSize() ), true ) ); p is NULL" ) );
}
}
/*
* qreal preferredWidth () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_PREFERREDWIDTH )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retnd( ( p )->preferredWidth() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_PREFERREDWIDTH FP=hb_retnd( ( p )->preferredWidth() ); p is NULL" ) );
}
}
/*
* virtual void setGeometry ( const QRectF & rect )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETGEOMETRY )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setGeometry( *hbqt_par_QRectF( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETGEOMETRY FP=( p )->setGeometry( *hbqt_par_QRectF( 2 ) ); p is NULL" ) );
}
}
/*
* void setMaximumHeight ( qreal height )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMAXIMUMHEIGHT )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setMaximumHeight( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETMAXIMUMHEIGHT FP=( p )->setMaximumHeight( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* void setMaximumSize ( const QSizeF & size )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMAXIMUMSIZE )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setMaximumSize( *hbqt_par_QSizeF( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETMAXIMUMSIZE FP=( p )->setMaximumSize( *hbqt_par_QSizeF( 2 ) ); p is NULL" ) );
}
}
/*
* void setMaximumSize ( qreal w, qreal h )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMAXIMUMSIZE_1 )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setMaximumSize( hb_parnd( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETMAXIMUMSIZE_1 FP=( p )->setMaximumSize( hb_parnd( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setMaximumWidth ( qreal width )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMAXIMUMWIDTH )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setMaximumWidth( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETMAXIMUMWIDTH FP=( p )->setMaximumWidth( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* void setMinimumHeight ( qreal height )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMINIMUMHEIGHT )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setMinimumHeight( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETMINIMUMHEIGHT FP=( p )->setMinimumHeight( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* void setMinimumSize ( const QSizeF & size )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMINIMUMSIZE )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setMinimumSize( *hbqt_par_QSizeF( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETMINIMUMSIZE FP=( p )->setMinimumSize( *hbqt_par_QSizeF( 2 ) ); p is NULL" ) );
}
}
/*
* void setMinimumSize ( qreal w, qreal h )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMINIMUMSIZE_1 )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setMinimumSize( hb_parnd( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETMINIMUMSIZE_1 FP=( p )->setMinimumSize( hb_parnd( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setMinimumWidth ( qreal width )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETMINIMUMWIDTH )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setMinimumWidth( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETMINIMUMWIDTH FP=( p )->setMinimumWidth( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* void setParentLayoutItem ( QGraphicsLayoutItem * parent )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETPARENTLAYOUTITEM )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setParentLayoutItem( hbqt_par_QGraphicsLayoutItem( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETPARENTLAYOUTITEM FP=( p )->setParentLayoutItem( hbqt_par_QGraphicsLayoutItem( 2 ) ); p is NULL" ) );
}
}
/*
* void setPreferredHeight ( qreal height )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETPREFERREDHEIGHT )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setPreferredHeight( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETPREFERREDHEIGHT FP=( p )->setPreferredHeight( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* void setPreferredSize ( const QSizeF & size )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETPREFERREDSIZE )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setPreferredSize( *hbqt_par_QSizeF( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETPREFERREDSIZE FP=( p )->setPreferredSize( *hbqt_par_QSizeF( 2 ) ); p is NULL" ) );
}
}
/*
* void setPreferredSize ( qreal w, qreal h )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETPREFERREDSIZE_1 )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setPreferredSize( hb_parnd( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETPREFERREDSIZE_1 FP=( p )->setPreferredSize( hb_parnd( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setPreferredWidth ( qreal width )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETPREFERREDWIDTH )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setPreferredWidth( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETPREFERREDWIDTH FP=( p )->setPreferredWidth( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* void setSizePolicy ( const QSizePolicy & policy )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETSIZEPOLICY )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setSizePolicy( *hbqt_par_QSizePolicy( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETSIZEPOLICY FP=( p )->setSizePolicy( *hbqt_par_QSizePolicy( 2 ) ); p is NULL" ) );
}
}
/*
* void setSizePolicy ( QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType = QSizePolicy::DefaultType )
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SETSIZEPOLICY_1 )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->setSizePolicy( ( QSizePolicy::Policy ) hb_parni( 2 ), ( QSizePolicy::Policy ) hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( QSizePolicy::ControlType ) hb_parni( 4 ) : ( QSizePolicy::ControlType ) QSizePolicy::DefaultType ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SETSIZEPOLICY_1 FP=( p )->setSizePolicy( ( QSizePolicy::Policy ) hb_parni( 2 ), ( QSizePolicy::Policy ) hb_parni( 3 ), ( HB_ISNUM( 4 ) ? ( QSizePolicy::ControlType ) hb_parni( 4 ) : ( QSizePolicy::ControlType ) QSizePolicy::DefaultType ) ); p is NULL" ) );
}
}
/*
* QSizePolicy sizePolicy () const
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_SIZEPOLICY )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QSizePolicy( new QSizePolicy( ( p )->sizePolicy() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_SIZEPOLICY FP=hb_retptrGC( hbqt_gcAllocate_QSizePolicy( new QSizePolicy( ( p )->sizePolicy() ), true ) ); p is NULL" ) );
}
}
/*
* virtual void updateGeometry ()
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM_UPDATEGEOMETRY )
{
QGraphicsLayoutItem * p = hbqt_par_QGraphicsLayoutItem( 1 );
if( p )
( p )->updateGeometry();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLAYOUTITEM_UPDATEGEOMETRY FP=( p )->updateGeometry(); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,218 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsLineItem>
#include <QtGui/QPen>
/*
* QGraphicsLineItem ( QGraphicsItem * parent = 0 )
* QGraphicsLineItem ( const QLineF & line, QGraphicsItem * parent = 0 )
* QGraphicsLineItem ( qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem * parent = 0 )
* ~QGraphicsLineItem ()
*/
typedef struct
{
QGraphicsLineItem * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsLineItem;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLineItem )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QGraphicsLineItem /.\\", p->ph ) );
delete ( ( QGraphicsLineItem * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QGraphicsLineItem \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsLineItem : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsLineItem : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsLineItem( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QGraphicsLineItem * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsLineItem;
p->type = HBQT_TYPE_QGraphicsLineItem;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsLineItem", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsLineItem", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSLINEITEM )
{
QGraphicsLineItem * pObj = NULL;
pObj = new QGraphicsLineItem() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsLineItem( ( void * ) pObj, true ) );
}
/*
* QLineF line () const
*/
HB_FUNC( QT_QGRAPHICSLINEITEM_LINE )
{
QGraphicsLineItem * p = hbqt_par_QGraphicsLineItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QLineF( new QLineF( ( p )->line() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEITEM_LINE FP=hb_retptrGC( hbqt_gcAllocate_QLineF( new QLineF( ( p )->line() ), true ) ); p is NULL" ) );
}
}
/*
* QPen pen () const
*/
HB_FUNC( QT_QGRAPHICSLINEITEM_PEN )
{
QGraphicsLineItem * p = hbqt_par_QGraphicsLineItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPen( new QPen( ( p )->pen() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEITEM_PEN FP=hb_retptrGC( hbqt_gcAllocate_QPen( new QPen( ( p )->pen() ), true ) ); p is NULL" ) );
}
}
/*
* void setLine ( const QLineF & line )
*/
HB_FUNC( QT_QGRAPHICSLINEITEM_SETLINE )
{
QGraphicsLineItem * p = hbqt_par_QGraphicsLineItem( 1 );
if( p )
( p )->setLine( *hbqt_par_QLineF( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEITEM_SETLINE FP=( p )->setLine( *hbqt_par_QLineF( 2 ) ); p is NULL" ) );
}
}
/*
* void setLine ( qreal x1, qreal y1, qreal x2, qreal y2 )
*/
HB_FUNC( QT_QGRAPHICSLINEITEM_SETLINE_1 )
{
QGraphicsLineItem * p = hbqt_par_QGraphicsLineItem( 1 );
if( p )
( p )->setLine( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEITEM_SETLINE_1 FP=( p )->setLine( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); p is NULL" ) );
}
}
/*
* void setPen ( const QPen & pen )
*/
HB_FUNC( QT_QGRAPHICSLINEITEM_SETPEN )
{
QGraphicsLineItem * p = hbqt_par_QGraphicsLineItem( 1 );
if( p )
( p )->setPen( *hbqt_par_QPen( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEITEM_SETPEN FP=( p )->setPen( *hbqt_par_QPen( 2 ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,370 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsLinearLayout>
/*
* QGraphicsLinearLayout ( QGraphicsLayoutItem * parent = 0 )
* QGraphicsLinearLayout ( Qt::Orientation orientation, QGraphicsLayoutItem * parent = 0 )
* virtual ~QGraphicsLinearLayout ()
*/
typedef struct
{
QGraphicsLinearLayout * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsLinearLayout;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLinearLayout )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QGraphicsLinearLayout /.\\", p->ph ) );
delete ( ( QGraphicsLinearLayout * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QGraphicsLinearLayout \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsLinearLayout : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsLinearLayout : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsLinearLayout( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QGraphicsLinearLayout * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsLinearLayout;
p->type = HBQT_TYPE_QGraphicsLinearLayout;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsLinearLayout", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsLinearLayout", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT )
{
QGraphicsLinearLayout * pObj = NULL;
pObj = new QGraphicsLinearLayout() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsLinearLayout( ( void * ) pObj, true ) );
}
/*
* void addItem ( QGraphicsLayoutItem * item )
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_ADDITEM )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
( p )->addItem( hbqt_par_QGraphicsLayoutItem( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_ADDITEM FP=( p )->addItem( hbqt_par_QGraphicsLayoutItem( 2 ) ); p is NULL" ) );
}
}
/*
* void addStretch ( int stretch = 1 )
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_ADDSTRETCH )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
( p )->addStretch( hb_parnidef( 2, 1 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_ADDSTRETCH FP=( p )->addStretch( hb_parnidef( 2, 1 ) ); p is NULL" ) );
}
}
/*
* Qt::Alignment alignment ( QGraphicsLayoutItem * item ) const
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_ALIGNMENT )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
hb_retni( ( Qt::Alignment ) ( p )->alignment( hbqt_par_QGraphicsLayoutItem( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_ALIGNMENT FP=hb_retni( ( Qt::Alignment ) ( p )->alignment( hbqt_par_QGraphicsLayoutItem( 2 ) ) ); p is NULL" ) );
}
}
/*
* void insertItem ( int index, QGraphicsLayoutItem * item )
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_INSERTITEM )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
( p )->insertItem( hb_parni( 2 ), hbqt_par_QGraphicsLayoutItem( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_INSERTITEM FP=( p )->insertItem( hb_parni( 2 ), hbqt_par_QGraphicsLayoutItem( 3 ) ); p is NULL" ) );
}
}
/*
* void insertStretch ( int index, int stretch = 1 )
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_INSERTSTRETCH )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
( p )->insertStretch( hb_parni( 2 ), hb_parnidef( 3, 1 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_INSERTSTRETCH FP=( p )->insertStretch( hb_parni( 2 ), hb_parnidef( 3, 1 ) ); p is NULL" ) );
}
}
/*
* qreal itemSpacing ( int index ) const
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_ITEMSPACING )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
hb_retnd( ( p )->itemSpacing( hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_ITEMSPACING FP=hb_retnd( ( p )->itemSpacing( hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* Qt::Orientation orientation () const
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_ORIENTATION )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
hb_retni( ( Qt::Orientation ) ( p )->orientation() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_ORIENTATION FP=hb_retni( ( Qt::Orientation ) ( p )->orientation() ); p is NULL" ) );
}
}
/*
* virtual void removeAt ( int index )
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_REMOVEAT )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
( p )->removeAt( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_REMOVEAT FP=( p )->removeAt( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void removeItem ( QGraphicsLayoutItem * item )
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_REMOVEITEM )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
( p )->removeItem( hbqt_par_QGraphicsLayoutItem( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_REMOVEITEM FP=( p )->removeItem( hbqt_par_QGraphicsLayoutItem( 2 ) ); p is NULL" ) );
}
}
/*
* void setAlignment ( QGraphicsLayoutItem * item, Qt::Alignment alignment )
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_SETALIGNMENT )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
( p )->setAlignment( hbqt_par_QGraphicsLayoutItem( 2 ), ( Qt::Alignment ) hb_parni( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_SETALIGNMENT FP=( p )->setAlignment( hbqt_par_QGraphicsLayoutItem( 2 ), ( Qt::Alignment ) hb_parni( 3 ) ); p is NULL" ) );
}
}
/*
* void setItemSpacing ( int index, qreal spacing )
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_SETITEMSPACING )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
( p )->setItemSpacing( hb_parni( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_SETITEMSPACING FP=( p )->setItemSpacing( hb_parni( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setOrientation ( Qt::Orientation orientation )
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_SETORIENTATION )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
( p )->setOrientation( ( Qt::Orientation ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_SETORIENTATION FP=( p )->setOrientation( ( Qt::Orientation ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setSpacing ( qreal spacing )
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_SETSPACING )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
( p )->setSpacing( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_SETSPACING FP=( p )->setSpacing( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* void setStretchFactor ( QGraphicsLayoutItem * item, int stretch )
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_SETSTRETCHFACTOR )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
( p )->setStretchFactor( hbqt_par_QGraphicsLayoutItem( 2 ), hb_parni( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_SETSTRETCHFACTOR FP=( p )->setStretchFactor( hbqt_par_QGraphicsLayoutItem( 2 ), hb_parni( 3 ) ); p is NULL" ) );
}
}
/*
* qreal spacing () const
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_SPACING )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
hb_retnd( ( p )->spacing() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_SPACING FP=hb_retnd( ( p )->spacing() ); p is NULL" ) );
}
}
/*
* int stretchFactor ( QGraphicsLayoutItem * item ) const
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT_STRETCHFACTOR )
{
QGraphicsLinearLayout * p = hbqt_par_QGraphicsLinearLayout( 1 );
if( p )
hb_retni( ( p )->stretchFactor( hbqt_par_QGraphicsLayoutItem( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSLINEARLAYOUT_STRETCHFACTOR FP=hb_retni( ( p )->stretchFactor( hbqt_par_QGraphicsLayoutItem( 2 ) ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,174 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsPathItem>
/*
* QGraphicsPathItem ( QGraphicsItem * parent = 0 )
* QGraphicsPathItem ( const QPainterPath & path, QGraphicsItem * parent = 0 )
* ~QGraphicsPathItem ()
*/
typedef struct
{
QGraphicsPathItem * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsPathItem;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsPathItem )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QGraphicsPathItem /.\\", p->ph ) );
delete ( ( QGraphicsPathItem * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QGraphicsPathItem \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsPathItem : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsPathItem : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsPathItem( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QGraphicsPathItem * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsPathItem;
p->type = HBQT_TYPE_QGraphicsPathItem;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsPathItem", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsPathItem", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSPATHITEM )
{
QGraphicsPathItem * pObj = NULL;
pObj = new QGraphicsPathItem() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsPathItem( ( void * ) pObj, true ) );
}
/*
* QPainterPath path () const
*/
HB_FUNC( QT_QGRAPHICSPATHITEM_PATH )
{
QGraphicsPathItem * p = hbqt_par_QGraphicsPathItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->path() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPATHITEM_PATH FP=hb_retptrGC( hbqt_gcAllocate_QPainterPath( new QPainterPath( ( p )->path() ), true ) ); p is NULL" ) );
}
}
/*
* void setPath ( const QPainterPath & path )
*/
HB_FUNC( QT_QGRAPHICSPATHITEM_SETPATH )
{
QGraphicsPathItem * p = hbqt_par_QGraphicsPathItem( 1 );
if( p )
( p )->setPath( *hbqt_par_QPainterPath( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPATHITEM_SETPATH FP=( p )->setPath( *hbqt_par_QPainterPath( 2 ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,276 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
/*
* enum ShapeMode { MaskShape, BoundingRectShape, HeuristicMaskShape }
*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsPixmapItem>
/*
* QGraphicsPixmapItem ( QGraphicsItem * parent = 0 )
* QGraphicsPixmapItem ( const QPixmap & pixmap, QGraphicsItem * parent = 0 )
* ~QGraphicsPixmapItem ()
*/
typedef struct
{
QGraphicsPixmapItem * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsPixmapItem;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsPixmapItem )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QGraphicsPixmapItem /.\\", p->ph ) );
delete ( ( QGraphicsPixmapItem * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QGraphicsPixmapItem \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsPixmapItem : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsPixmapItem : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsPixmapItem( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QGraphicsPixmapItem * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsPixmapItem;
p->type = HBQT_TYPE_QGraphicsPixmapItem;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsPixmapItem", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsPixmapItem", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSPIXMAPITEM )
{
QGraphicsPixmapItem * pObj = NULL;
pObj = new QGraphicsPixmapItem() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsPixmapItem( ( void * ) pObj, true ) );
}
/*
* QPointF offset () const
*/
HB_FUNC( QT_QGRAPHICSPIXMAPITEM_OFFSET )
{
QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->offset() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPIXMAPITEM_OFFSET FP=hb_retptrGC( hbqt_gcAllocate_QPointF( new QPointF( ( p )->offset() ), true ) ); p is NULL" ) );
}
}
/*
* QPixmap pixmap () const
*/
HB_FUNC( QT_QGRAPHICSPIXMAPITEM_PIXMAP )
{
QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPIXMAPITEM_PIXMAP FP=hb_retptrGC( hbqt_gcAllocate_QPixmap( new QPixmap( ( p )->pixmap() ), true ) ); p is NULL" ) );
}
}
/*
* void setOffset ( const QPointF & offset )
*/
HB_FUNC( QT_QGRAPHICSPIXMAPITEM_SETOFFSET )
{
QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 );
if( p )
( p )->setOffset( *hbqt_par_QPointF( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPIXMAPITEM_SETOFFSET FP=( p )->setOffset( *hbqt_par_QPointF( 2 ) ); p is NULL" ) );
}
}
/*
* void setOffset ( qreal x, qreal y )
*/
HB_FUNC( QT_QGRAPHICSPIXMAPITEM_SETOFFSET_1 )
{
QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 );
if( p )
( p )->setOffset( hb_parnd( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPIXMAPITEM_SETOFFSET_1 FP=( p )->setOffset( hb_parnd( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setPixmap ( const QPixmap & pixmap )
*/
HB_FUNC( QT_QGRAPHICSPIXMAPITEM_SETPIXMAP )
{
QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 );
if( p )
( p )->setPixmap( *hbqt_par_QPixmap( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPIXMAPITEM_SETPIXMAP FP=( p )->setPixmap( *hbqt_par_QPixmap( 2 ) ); p is NULL" ) );
}
}
/*
* void setShapeMode ( ShapeMode mode )
*/
HB_FUNC( QT_QGRAPHICSPIXMAPITEM_SETSHAPEMODE )
{
QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 );
if( p )
( p )->setShapeMode( ( QGraphicsPixmapItem::ShapeMode ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPIXMAPITEM_SETSHAPEMODE FP=( p )->setShapeMode( ( QGraphicsPixmapItem::ShapeMode ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setTransformationMode ( Qt::TransformationMode mode )
*/
HB_FUNC( QT_QGRAPHICSPIXMAPITEM_SETTRANSFORMATIONMODE )
{
QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 );
if( p )
( p )->setTransformationMode( ( Qt::TransformationMode ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPIXMAPITEM_SETTRANSFORMATIONMODE FP=( p )->setTransformationMode( ( Qt::TransformationMode ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* ShapeMode shapeMode () const
*/
HB_FUNC( QT_QGRAPHICSPIXMAPITEM_SHAPEMODE )
{
QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 );
if( p )
hb_retni( ( QGraphicsPixmapItem::ShapeMode ) ( p )->shapeMode() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPIXMAPITEM_SHAPEMODE FP=hb_retni( ( QGraphicsPixmapItem::ShapeMode ) ( p )->shapeMode() ); p is NULL" ) );
}
}
/*
* Qt::TransformationMode transformationMode () const
*/
HB_FUNC( QT_QGRAPHICSPIXMAPITEM_TRANSFORMATIONMODE )
{
QGraphicsPixmapItem * p = hbqt_par_QGraphicsPixmapItem( 1 );
if( p )
hb_retni( ( Qt::TransformationMode ) ( p )->transformationMode() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPIXMAPITEM_TRANSFORMATIONMODE FP=hb_retni( ( Qt::TransformationMode ) ( p )->transformationMode() ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,202 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsPolygonItem>
/*
* QGraphicsPolygonItem ( QGraphicsItem * parent = 0 )
* QGraphicsPolygonItem ( const QPolygonF & polygon, QGraphicsItem * parent = 0 )
* ~QGraphicsPolygonItem ()
*/
typedef struct
{
QGraphicsPolygonItem * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsPolygonItem;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsPolygonItem )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QGraphicsPolygonItem /.\\", p->ph ) );
delete ( ( QGraphicsPolygonItem * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QGraphicsPolygonItem \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsPolygonItem : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsPolygonItem : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsPolygonItem( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QGraphicsPolygonItem * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsPolygonItem;
p->type = HBQT_TYPE_QGraphicsPolygonItem;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsPolygonItem", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsPolygonItem", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSPOLYGONITEM )
{
QGraphicsPolygonItem * pObj = NULL;
pObj = new QGraphicsPolygonItem() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsPolygonItem( ( void * ) pObj, true ) );
}
/*
* Qt::FillRule fillRule () const
*/
HB_FUNC( QT_QGRAPHICSPOLYGONITEM_FILLRULE )
{
QGraphicsPolygonItem * p = hbqt_par_QGraphicsPolygonItem( 1 );
if( p )
hb_retni( ( Qt::FillRule ) ( p )->fillRule() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPOLYGONITEM_FILLRULE FP=hb_retni( ( Qt::FillRule ) ( p )->fillRule() ); p is NULL" ) );
}
}
/*
* QPolygonF polygon () const
*/
HB_FUNC( QT_QGRAPHICSPOLYGONITEM_POLYGON )
{
QGraphicsPolygonItem * p = hbqt_par_QGraphicsPolygonItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->polygon() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPOLYGONITEM_POLYGON FP=hb_retptrGC( hbqt_gcAllocate_QPolygonF( new QPolygonF( ( p )->polygon() ), true ) ); p is NULL" ) );
}
}
/*
* void setFillRule ( Qt::FillRule rule )
*/
HB_FUNC( QT_QGRAPHICSPOLYGONITEM_SETFILLRULE )
{
QGraphicsPolygonItem * p = hbqt_par_QGraphicsPolygonItem( 1 );
if( p )
( p )->setFillRule( ( Qt::FillRule ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPOLYGONITEM_SETFILLRULE FP=( p )->setFillRule( ( Qt::FillRule ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setPolygon ( const QPolygonF & polygon )
*/
HB_FUNC( QT_QGRAPHICSPOLYGONITEM_SETPOLYGON )
{
QGraphicsPolygonItem * p = hbqt_par_QGraphicsPolygonItem( 1 );
if( p )
( p )->setPolygon( *hbqt_par_QPolygonF( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPOLYGONITEM_SETPOLYGON FP=( p )->setPolygon( *hbqt_par_QPolygonF( 2 ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,212 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsProxyWidget>
/*
* QGraphicsProxyWidget ( QGraphicsItem * parent = 0, Qt::WindowFlags wFlags = 0 )
* ~QGraphicsProxyWidget ()
*/
typedef struct
{
QPointer< QGraphicsProxyWidget > ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsProxyWidget;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsProxyWidget )
{
QGraphicsProxyWidget * ph = NULL ;
HBQT_GC_T_QGraphicsProxyWidget * p = ( HBQT_GC_T_QGraphicsProxyWidget * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();
if( ( QString ) m->className() != ( QString ) "QObject" )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QGraphicsProxyWidget /.\\ ", (void*) ph, (void*) p->ph ) );
delete ( p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QGraphicsProxyWidget \\./ ", (void*) ph, (void*) p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NO__rel_QGraphicsProxyWidget ", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsProxyWidget : Object already deleted!", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsProxyWidget : Object not created with new=true", ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsProxyWidget( void * pObj, bool bNew )
{
HBQT_GC_T_QGraphicsProxyWidget * p = ( HBQT_GC_T_QGraphicsProxyWidget * ) hb_gcAllocate( sizeof( HBQT_GC_T_QGraphicsProxyWidget ), hbqt_gcFuncs() );
new( & p->ph ) QPointer< QGraphicsProxyWidget >( ( QGraphicsProxyWidget * ) pObj );
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsProxyWidget;
p->type = HBQT_TYPE_QGraphicsProxyWidget;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsProxyWidget under p->pq", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsProxyWidget", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSPROXYWIDGET )
{
QGraphicsProxyWidget * pObj = NULL;
pObj = new QGraphicsProxyWidget() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsProxyWidget( ( void * ) pObj, true ) );
}
/*
* QGraphicsProxyWidget * createProxyForChildWidget ( QWidget * child )
*/
HB_FUNC( QT_QGRAPHICSPROXYWIDGET_CREATEPROXYFORCHILDWIDGET )
{
QGraphicsProxyWidget * p = hbqt_par_QGraphicsProxyWidget( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QGraphicsProxyWidget( ( p )->createProxyForChildWidget( hbqt_par_QWidget( 2 ) ), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPROXYWIDGET_CREATEPROXYFORCHILDWIDGET FP=hb_retptrGC( hbqt_gcAllocate_QGraphicsProxyWidget( ( p )->createProxyForChildWidget( hbqt_par_QWidget( 2 ) ), false ) ); p is NULL" ) );
}
}
/*
* void setWidget ( QWidget * widget )
*/
HB_FUNC( QT_QGRAPHICSPROXYWIDGET_SETWIDGET )
{
QGraphicsProxyWidget * p = hbqt_par_QGraphicsProxyWidget( 1 );
if( p )
( p )->setWidget( hbqt_par_QWidget( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPROXYWIDGET_SETWIDGET FP=( p )->setWidget( hbqt_par_QWidget( 2 ) ); p is NULL" ) );
}
}
/*
* QRectF subWidgetRect ( const QWidget * widget ) const
*/
HB_FUNC( QT_QGRAPHICSPROXYWIDGET_SUBWIDGETRECT )
{
QGraphicsProxyWidget * p = hbqt_par_QGraphicsProxyWidget( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->subWidgetRect( hbqt_par_QWidget( 2 ) ) ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPROXYWIDGET_SUBWIDGETRECT FP=hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->subWidgetRect( hbqt_par_QWidget( 2 ) ) ), true ) ); p is NULL" ) );
}
}
/*
* QWidget * widget () const
*/
HB_FUNC( QT_QGRAPHICSPROXYWIDGET_WIDGET )
{
QGraphicsProxyWidget * p = hbqt_par_QGraphicsProxyWidget( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSPROXYWIDGET_WIDGET FP=hb_retptrGC( hbqt_gcAllocate_QWidget( ( p )->widget(), false ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,189 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsRectItem>
/*
* QGraphicsRectItem ( QGraphicsItem * parent = 0 )
* QGraphicsRectItem ( const QRectF & rect, QGraphicsItem * parent = 0 )
* QGraphicsRectItem ( qreal x, qreal y, qreal width, qreal height, QGraphicsItem * parent = 0 )
* ~QGraphicsRectItem ()
*/
typedef struct
{
QGraphicsRectItem * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsRectItem;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsRectItem )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QGraphicsRectItem /.\\", p->ph ) );
delete ( ( QGraphicsRectItem * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QGraphicsRectItem \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsRectItem : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsRectItem : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsRectItem( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QGraphicsRectItem * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsRectItem;
p->type = HBQT_TYPE_QGraphicsRectItem;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsRectItem", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsRectItem", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSRECTITEM )
{
QGraphicsRectItem * pObj = NULL;
pObj = new QGraphicsRectItem() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsRectItem( ( void * ) pObj, true ) );
}
/*
* QRectF rect () const
*/
HB_FUNC( QT_QGRAPHICSRECTITEM_RECT )
{
QGraphicsRectItem * p = hbqt_par_QGraphicsRectItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->rect() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSRECTITEM_RECT FP=hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->rect() ), true ) ); p is NULL" ) );
}
}
/*
* void setRect ( const QRectF & rectangle )
*/
HB_FUNC( QT_QGRAPHICSRECTITEM_SETRECT )
{
QGraphicsRectItem * p = hbqt_par_QGraphicsRectItem( 1 );
if( p )
( p )->setRect( *hbqt_par_QRectF( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSRECTITEM_SETRECT FP=( p )->setRect( *hbqt_par_QRectF( 2 ) ); p is NULL" ) );
}
}
/*
* void setRect ( qreal x, qreal y, qreal width, qreal height )
*/
HB_FUNC( QT_QGRAPHICSRECTITEM_SETRECT_1 )
{
QGraphicsRectItem * p = hbqt_par_QGraphicsRectItem( 1 );
if( p )
( p )->setRect( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSRECTITEM_SETRECT_1 FP=( p )->setRect( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,203 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsSimpleTextItem>
#include <QtGui/QFont>
/*
* QGraphicsSimpleTextItem ( QGraphicsItem * parent = 0 )
* QGraphicsSimpleTextItem ( const QString & text, QGraphicsItem * parent = 0 )
* ~QGraphicsSimpleTextItem ()
*/
typedef struct
{
QGraphicsSimpleTextItem * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsSimpleTextItem;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsSimpleTextItem )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QGraphicsSimpleTextItem /.\\", p->ph ) );
delete ( ( QGraphicsSimpleTextItem * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QGraphicsSimpleTextItem \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsSimpleTextItem : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsSimpleTextItem : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsSimpleTextItem( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QGraphicsSimpleTextItem * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsSimpleTextItem;
p->type = HBQT_TYPE_QGraphicsSimpleTextItem;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsSimpleTextItem", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsSimpleTextItem", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSSIMPLETEXTITEM )
{
QGraphicsSimpleTextItem * pObj = NULL;
pObj = new QGraphicsSimpleTextItem() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsSimpleTextItem( ( void * ) pObj, true ) );
}
/*
* QFont font () const
*/
HB_FUNC( QT_QGRAPHICSSIMPLETEXTITEM_FONT )
{
QGraphicsSimpleTextItem * p = hbqt_par_QGraphicsSimpleTextItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSIMPLETEXTITEM_FONT FP=hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); p is NULL" ) );
}
}
/*
* void setFont ( const QFont & font )
*/
HB_FUNC( QT_QGRAPHICSSIMPLETEXTITEM_SETFONT )
{
QGraphicsSimpleTextItem * p = hbqt_par_QGraphicsSimpleTextItem( 1 );
if( p )
( p )->setFont( *hbqt_par_QFont( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSIMPLETEXTITEM_SETFONT FP=( p )->setFont( *hbqt_par_QFont( 2 ) ); p is NULL" ) );
}
}
/*
* void setText ( const QString & text )
*/
HB_FUNC( QT_QGRAPHICSSIMPLETEXTITEM_SETTEXT )
{
QGraphicsSimpleTextItem * p = hbqt_par_QGraphicsSimpleTextItem( 1 );
if( p )
( p )->setText( hbqt_par_QString( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSIMPLETEXTITEM_SETTEXT FP=( p )->setText( hbqt_par_QString( 2 ) ); p is NULL" ) );
}
}
/*
* QString text () const
*/
HB_FUNC( QT_QGRAPHICSSIMPLETEXTITEM_TEXT )
{
QGraphicsSimpleTextItem * p = hbqt_par_QGraphicsSimpleTextItem( 1 );
if( p )
hb_retc( ( p )->text().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSSIMPLETEXTITEM_TEXT FP=hb_retc( ( p )->text().toAscii().data() ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,454 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsTextItem>
#include <QtGui/QFont>
#include <QtGui/QTextCursor>
#include <QtGui/QTextDocument>
/*
* QGraphicsTextItem ( QGraphicsItem * parent = 0 )
* QGraphicsTextItem ( const QString & text, QGraphicsItem * parent = 0 )
* ~QGraphicsTextItem ()
*/
typedef struct
{
QPointer< QGraphicsTextItem > ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsTextItem;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsTextItem )
{
QGraphicsTextItem * ph = NULL ;
HBQT_GC_T_QGraphicsTextItem * p = ( HBQT_GC_T_QGraphicsTextItem * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();
if( ( QString ) m->className() != ( QString ) "QObject" )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QGraphicsTextItem /.\\ ", (void*) ph, (void*) p->ph ) );
delete ( p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QGraphicsTextItem \\./ ", (void*) ph, (void*) p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NO__rel_QGraphicsTextItem ", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsTextItem : Object already deleted!", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsTextItem : Object not created with new=true", ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsTextItem( void * pObj, bool bNew )
{
HBQT_GC_T_QGraphicsTextItem * p = ( HBQT_GC_T_QGraphicsTextItem * ) hb_gcAllocate( sizeof( HBQT_GC_T_QGraphicsTextItem ), hbqt_gcFuncs() );
new( & p->ph ) QPointer< QGraphicsTextItem >( ( QGraphicsTextItem * ) pObj );
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsTextItem;
p->type = HBQT_TYPE_QGraphicsTextItem;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsTextItem under p->pq", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsTextItem", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSTEXTITEM )
{
QGraphicsTextItem * pObj = NULL;
pObj = new QGraphicsTextItem() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsTextItem( ( void * ) pObj, true ) );
}
/*
* void adjustSize ()
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_ADJUSTSIZE )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
( p )->adjustSize();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_ADJUSTSIZE FP=( p )->adjustSize(); p is NULL" ) );
}
}
/*
* QColor defaultTextColor () const
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_DEFAULTTEXTCOLOR )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->defaultTextColor() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_DEFAULTTEXTCOLOR FP=hb_retptrGC( hbqt_gcAllocate_QColor( new QColor( ( p )->defaultTextColor() ), true ) ); p is NULL" ) );
}
}
/*
* QTextDocument * document () const
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_DOCUMENT )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QTextDocument( ( p )->document(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_DOCUMENT FP=hb_retptrGC( hbqt_gcAllocate_QTextDocument( ( p )->document(), false ) ); p is NULL" ) );
}
}
/*
* QFont font () const
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_FONT )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_FONT FP=hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); p is NULL" ) );
}
}
/*
* bool openExternalLinks () const
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_OPENEXTERNALLINKS )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
hb_retl( ( p )->openExternalLinks() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_OPENEXTERNALLINKS FP=hb_retl( ( p )->openExternalLinks() ); p is NULL" ) );
}
}
/*
* void setDefaultTextColor ( const QColor & col )
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_SETDEFAULTTEXTCOLOR )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
( p )->setDefaultTextColor( *hbqt_par_QColor( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_SETDEFAULTTEXTCOLOR FP=( p )->setDefaultTextColor( *hbqt_par_QColor( 2 ) ); p is NULL" ) );
}
}
/*
* void setDocument ( QTextDocument * document )
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_SETDOCUMENT )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
( p )->setDocument( hbqt_par_QTextDocument( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_SETDOCUMENT FP=( p )->setDocument( hbqt_par_QTextDocument( 2 ) ); p is NULL" ) );
}
}
/*
* void setFont ( const QFont & font )
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_SETFONT )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
( p )->setFont( *hbqt_par_QFont( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_SETFONT FP=( p )->setFont( *hbqt_par_QFont( 2 ) ); p is NULL" ) );
}
}
/*
* void setHtml ( const QString & text )
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_SETHTML )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
( p )->setHtml( QGraphicsTextItem::tr( hb_parc( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_SETHTML FP=( p )->setHtml( QGraphicsTextItem::tr( hb_parc( 2 ) ) ); p is NULL" ) );
}
}
/*
* void setOpenExternalLinks ( bool open )
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_SETOPENEXTERNALLINKS )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
( p )->setOpenExternalLinks( hb_parl( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_SETOPENEXTERNALLINKS FP=( p )->setOpenExternalLinks( hb_parl( 2 ) ); p is NULL" ) );
}
}
/*
* void setPlainText ( const QString & text )
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_SETPLAINTEXT )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
( p )->setPlainText( QGraphicsTextItem::tr( hb_parc( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_SETPLAINTEXT FP=( p )->setPlainText( QGraphicsTextItem::tr( hb_parc( 2 ) ) ); p is NULL" ) );
}
}
/*
* void setTabChangesFocus ( bool b )
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_SETTABCHANGESFOCUS )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
( p )->setTabChangesFocus( hb_parl( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_SETTABCHANGESFOCUS FP=( p )->setTabChangesFocus( hb_parl( 2 ) ); p is NULL" ) );
}
}
/*
* void setTextCursor ( const QTextCursor & cursor )
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_SETTEXTCURSOR )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
( p )->setTextCursor( *hbqt_par_QTextCursor( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_SETTEXTCURSOR FP=( p )->setTextCursor( *hbqt_par_QTextCursor( 2 ) ); p is NULL" ) );
}
}
/*
* void setTextInteractionFlags ( Qt::TextInteractionFlags flags )
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_SETTEXTINTERACTIONFLAGS )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
( p )->setTextInteractionFlags( ( Qt::TextInteractionFlags ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_SETTEXTINTERACTIONFLAGS FP=( p )->setTextInteractionFlags( ( Qt::TextInteractionFlags ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setTextWidth ( qreal width )
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_SETTEXTWIDTH )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
( p )->setTextWidth( hb_parnd( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_SETTEXTWIDTH FP=( p )->setTextWidth( hb_parnd( 2 ) ); p is NULL" ) );
}
}
/*
* bool tabChangesFocus () const
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_TABCHANGESFOCUS )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
hb_retl( ( p )->tabChangesFocus() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_TABCHANGESFOCUS FP=hb_retl( ( p )->tabChangesFocus() ); p is NULL" ) );
}
}
/*
* QTextCursor textCursor () const
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_TEXTCURSOR )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QTextCursor( new QTextCursor( ( p )->textCursor() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_TEXTCURSOR FP=hb_retptrGC( hbqt_gcAllocate_QTextCursor( new QTextCursor( ( p )->textCursor() ), true ) ); p is NULL" ) );
}
}
/*
* Qt::TextInteractionFlags textInteractionFlags () const
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_TEXTINTERACTIONFLAGS )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
hb_retni( ( Qt::TextInteractionFlags ) ( p )->textInteractionFlags() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_TEXTINTERACTIONFLAGS FP=hb_retni( ( Qt::TextInteractionFlags ) ( p )->textInteractionFlags() ); p is NULL" ) );
}
}
/*
* qreal textWidth () const
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_TEXTWIDTH )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
hb_retnd( ( p )->textWidth() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_TEXTWIDTH FP=hb_retnd( ( p )->textWidth() ); p is NULL" ) );
}
}
/*
* QString toHtml () const
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_TOHTML )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
hb_retc( ( p )->toHtml().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_TOHTML FP=hb_retc( ( p )->toHtml().toAscii().data() ); p is NULL" ) );
}
}
/*
* QString toPlainText () const
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM_TOPLAINTEXT )
{
QGraphicsTextItem * p = hbqt_par_QGraphicsTextItem( 1 );
if( p )
hb_retc( ( p )->toPlainText().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSTEXTITEM_TOPLAINTEXT FP=hb_retc( ( p )->toPlainText().toAscii().data() ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,835 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
/*
* Constructed[ 46/50 [ 92.00% ] ]
*
* *** Unconvered Prototypes ***
* -----------------------------
*
* void addActions ( QList<QAction *> actions )
* void insertActions ( QAction * before, QList<QAction *> actions )
*
* *** Commented out protos which construct fine but do not compile ***
*
* // const QObjectList & children () const
* // virtual void paintWindowFrame ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0 )
*/
#include <QtCore/QPointer>
#include <QtGui/QGraphicsWidget>
/*
* QGraphicsWidget ( QGraphicsItem * parent = 0, Qt::WindowFlags wFlags = 0 )
* ~QGraphicsWidget ()
*/
typedef struct
{
QPointer< QGraphicsWidget > ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QGraphicsWidget;
HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsWidget )
{
QGraphicsWidget * ph = NULL ;
HBQT_GC_T_QGraphicsWidget * p = ( HBQT_GC_T_QGraphicsWidget * ) Cargo;
if( p && p->bNew && p->ph )
{
ph = p->ph;
if( ph )
{
const QMetaObject * m = ( ph )->metaObject();
if( ( QString ) m->className() != ( QString ) "QObject" )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QGraphicsWidget /.\\ ", (void*) ph, (void*) p->ph ) );
delete ( p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p %p YES_rel_QGraphicsWidget \\./ ", (void*) ph, (void*) p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NO__rel_QGraphicsWidget ", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QGraphicsWidget : Object already deleted!", ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QGraphicsWidget : Object not created with new=true", ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QGraphicsWidget( void * pObj, bool bNew )
{
HBQT_GC_T_QGraphicsWidget * p = ( HBQT_GC_T_QGraphicsWidget * ) hb_gcAllocate( sizeof( HBQT_GC_T_QGraphicsWidget ), hbqt_gcFuncs() );
new( & p->ph ) QPointer< QGraphicsWidget >( ( QGraphicsWidget * ) pObj );
p->bNew = bNew;
p->func = hbqt_gcRelease_QGraphicsWidget;
p->type = HBQT_TYPE_QGraphicsWidget;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QGraphicsWidget under p->pq", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QGraphicsWidget", pObj ) );
}
return p;
}
HB_FUNC( QT_QGRAPHICSWIDGET )
{
QGraphicsWidget * pObj = NULL;
pObj = new QGraphicsWidget() ;
hb_retptrGC( hbqt_gcAllocate_QGraphicsWidget( ( void * ) pObj, true ) );
}
/*
* QList<QAction *> actions () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_ACTIONS )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QList( new QList<QAction *>( ( p )->actions() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_ACTIONS FP=hb_retptrGC( hbqt_gcAllocate_QList( new QList<QAction *>( ( p )->actions() ), true ) ); p is NULL" ) );
}
}
/*
* void addAction ( QAction * action )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_ADDACTION )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->addAction( hbqt_par_QAction( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_ADDACTION FP=( p )->addAction( hbqt_par_QAction( 2 ) ); p is NULL" ) );
}
}
/*
* void adjustSize ()
*/
HB_FUNC( QT_QGRAPHICSWIDGET_ADJUSTSIZE )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->adjustSize();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_ADJUSTSIZE FP=( p )->adjustSize(); p is NULL" ) );
}
}
/*
* Qt::FocusPolicy focusPolicy () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_FOCUSPOLICY )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retni( ( Qt::FocusPolicy ) ( p )->focusPolicy() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_FOCUSPOLICY FP=hb_retni( ( Qt::FocusPolicy ) ( p )->focusPolicy() ); p is NULL" ) );
}
}
/*
* QGraphicsWidget * focusWidget () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_FOCUSWIDGET )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QGraphicsWidget( ( p )->focusWidget(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_FOCUSWIDGET FP=hb_retptrGC( hbqt_gcAllocate_QGraphicsWidget( ( p )->focusWidget(), false ) ); p is NULL" ) );
}
}
/*
* QFont font () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_FONT )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_FONT FP=hb_retptrGC( hbqt_gcAllocate_QFont( new QFont( ( p )->font() ), true ) ); p is NULL" ) );
}
}
/*
* virtual void getContentsMargins ( qreal * left, qreal * top, qreal * right, qreal * bottom ) const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_GETCONTENTSMARGINS )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
qreal qrLeft = 0;
qreal qrTop = 0;
qreal qrRight = 0;
qreal qrBottom = 0;
if( p )
( p )->getContentsMargins( &qrLeft, &qrTop, &qrRight, &qrBottom );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_GETCONTENTSMARGINS FP=( p )->getContentsMargins( &qrLeft, &qrTop, &qrRight, &qrBottom ); p is NULL" ) );
}
hb_stornd( qrLeft, 2 );
hb_stornd( qrTop, 3 );
hb_stornd( qrRight, 4 );
hb_stornd( qrBottom, 5 );
}
/*
* void getWindowFrameMargins ( qreal * left, qreal * top, qreal * right, qreal * bottom ) const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_GETWINDOWFRAMEMARGINS )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
qreal qrLeft = 0;
qreal qrTop = 0;
qreal qrRight = 0;
qreal qrBottom = 0;
if( p )
( p )->getWindowFrameMargins( &qrLeft, &qrTop, &qrRight, &qrBottom );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_GETWINDOWFRAMEMARGINS FP=( p )->getWindowFrameMargins( &qrLeft, &qrTop, &qrRight, &qrBottom ); p is NULL" ) );
}
hb_stornd( qrLeft, 2 );
hb_stornd( qrTop, 3 );
hb_stornd( qrRight, 4 );
hb_stornd( qrBottom, 5 );
}
/*
* int grabShortcut ( const QKeySequence & sequence, Qt::ShortcutContext context = Qt::WindowShortcut )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_GRABSHORTCUT )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retni( ( p )->grabShortcut( *hbqt_par_QKeySequence( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ShortcutContext ) hb_parni( 3 ) : ( Qt::ShortcutContext ) Qt::WindowShortcut ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_GRABSHORTCUT FP=hb_retni( ( p )->grabShortcut( *hbqt_par_QKeySequence( 2 ), ( HB_ISNUM( 3 ) ? ( Qt::ShortcutContext ) hb_parni( 3 ) : ( Qt::ShortcutContext ) Qt::WindowShortcut ) ) ); p is NULL" ) );
}
}
/*
* void insertAction ( QAction * before, QAction * action )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_INSERTACTION )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->insertAction( hbqt_par_QAction( 2 ), hbqt_par_QAction( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_INSERTACTION FP=( p )->insertAction( hbqt_par_QAction( 2 ), hbqt_par_QAction( 3 ) ); p is NULL" ) );
}
}
/*
* bool isActiveWindow () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_ISACTIVEWINDOW )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retl( ( p )->isActiveWindow() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_ISACTIVEWINDOW FP=hb_retl( ( p )->isActiveWindow() ); p is NULL" ) );
}
}
/*
* QGraphicsLayout * layout () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_LAYOUT )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QGraphicsLayout( ( p )->layout(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_LAYOUT FP=hb_retptrGC( hbqt_gcAllocate_QGraphicsLayout( ( p )->layout(), false ) ); p is NULL" ) );
}
}
/*
* Qt::LayoutDirection layoutDirection () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_LAYOUTDIRECTION )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retni( ( Qt::LayoutDirection ) ( p )->layoutDirection() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_LAYOUTDIRECTION FP=hb_retni( ( Qt::LayoutDirection ) ( p )->layoutDirection() ); p is NULL" ) );
}
}
/*
* QPalette palette () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_PALETTE )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->palette() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_PALETTE FP=hb_retptrGC( hbqt_gcAllocate_QPalette( new QPalette( ( p )->palette() ), true ) ); p is NULL" ) );
}
}
/*
* QRectF rect () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_RECT )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->rect() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_RECT FP=hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->rect() ), true ) ); p is NULL" ) );
}
}
/*
* void releaseShortcut ( int id )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_RELEASESHORTCUT )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->releaseShortcut( hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_RELEASESHORTCUT FP=( p )->releaseShortcut( hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void removeAction ( QAction * action )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_REMOVEACTION )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->removeAction( hbqt_par_QAction( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_REMOVEACTION FP=( p )->removeAction( hbqt_par_QAction( 2 ) ); p is NULL" ) );
}
}
/*
* void resize ( const QSizeF & size )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_RESIZE )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->resize( *hbqt_par_QSizeF( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_RESIZE FP=( p )->resize( *hbqt_par_QSizeF( 2 ) ); p is NULL" ) );
}
}
/*
* void resize ( qreal w, qreal h )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_RESIZE_1 )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->resize( hb_parnd( 2 ), hb_parnd( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_RESIZE_1 FP=( p )->resize( hb_parnd( 2 ), hb_parnd( 3 ) ); p is NULL" ) );
}
}
/*
* void setAttribute ( Qt::WidgetAttribute attribute, bool on = true )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETATTRIBUTE )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setAttribute( ( Qt::WidgetAttribute ) hb_parni( 2 ), hb_parl( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETATTRIBUTE FP=( p )->setAttribute( ( Qt::WidgetAttribute ) hb_parni( 2 ), hb_parl( 3 ) ); p is NULL" ) );
}
}
/*
* void setContentsMargins ( qreal left, qreal top, qreal right, qreal bottom )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETCONTENTSMARGINS )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setContentsMargins( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETCONTENTSMARGINS FP=( p )->setContentsMargins( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); p is NULL" ) );
}
}
/*
* void setFocusPolicy ( Qt::FocusPolicy policy )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETFOCUSPOLICY )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setFocusPolicy( ( Qt::FocusPolicy ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETFOCUSPOLICY FP=( p )->setFocusPolicy( ( Qt::FocusPolicy ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setFont ( const QFont & font )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETFONT )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setFont( *hbqt_par_QFont( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETFONT FP=( p )->setFont( *hbqt_par_QFont( 2 ) ); p is NULL" ) );
}
}
/*
* virtual void setGeometry ( const QRectF & rect )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETGEOMETRY )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setGeometry( *hbqt_par_QRectF( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETGEOMETRY FP=( p )->setGeometry( *hbqt_par_QRectF( 2 ) ); p is NULL" ) );
}
}
/*
* void setGeometry ( qreal x, qreal y, qreal w, qreal h )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETGEOMETRY_1 )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setGeometry( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETGEOMETRY_1 FP=( p )->setGeometry( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); p is NULL" ) );
}
}
/*
* void setLayout ( QGraphicsLayout * layout )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETLAYOUT )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setLayout( hbqt_par_QGraphicsLayout( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETLAYOUT FP=( p )->setLayout( hbqt_par_QGraphicsLayout( 2 ) ); p is NULL" ) );
}
}
/*
* void setLayoutDirection ( Qt::LayoutDirection direction )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETLAYOUTDIRECTION )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setLayoutDirection( ( Qt::LayoutDirection ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETLAYOUTDIRECTION FP=( p )->setLayoutDirection( ( Qt::LayoutDirection ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setPalette ( const QPalette & palette )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETPALETTE )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setPalette( *hbqt_par_QPalette( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETPALETTE FP=( p )->setPalette( *hbqt_par_QPalette( 2 ) ); p is NULL" ) );
}
}
/*
* void setShortcutAutoRepeat ( int id, bool enabled = true )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETSHORTCUTAUTOREPEAT )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setShortcutAutoRepeat( hb_parni( 2 ), hb_parl( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETSHORTCUTAUTOREPEAT FP=( p )->setShortcutAutoRepeat( hb_parni( 2 ), hb_parl( 3 ) ); p is NULL" ) );
}
}
/*
* void setShortcutEnabled ( int id, bool enabled = true )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETSHORTCUTENABLED )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setShortcutEnabled( hb_parni( 2 ), hb_parl( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETSHORTCUTENABLED FP=( p )->setShortcutEnabled( hb_parni( 2 ), hb_parl( 3 ) ); p is NULL" ) );
}
}
/*
* void setStyle ( QStyle * style )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETSTYLE )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setStyle( hbqt_par_QStyle( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETSTYLE FP=( p )->setStyle( hbqt_par_QStyle( 2 ) ); p is NULL" ) );
}
}
/*
* void setWindowFlags ( Qt::WindowFlags wFlags )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETWINDOWFLAGS )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setWindowFlags( ( Qt::WindowFlags ) hb_parni( 2 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETWINDOWFLAGS FP=( p )->setWindowFlags( ( Qt::WindowFlags ) hb_parni( 2 ) ); p is NULL" ) );
}
}
/*
* void setWindowFrameMargins ( qreal left, qreal top, qreal right, qreal bottom )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETWINDOWFRAMEMARGINS )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setWindowFrameMargins( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETWINDOWFRAMEMARGINS FP=( p )->setWindowFrameMargins( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) ); p is NULL" ) );
}
}
/*
* void setWindowTitle ( const QString & title )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETWINDOWTITLE )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setWindowTitle( QGraphicsWidget::tr( hb_parc( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETWINDOWTITLE FP=( p )->setWindowTitle( QGraphicsWidget::tr( hb_parc( 2 ) ) ); p is NULL" ) );
}
}
/*
* QSizeF size () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SIZE )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->size() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SIZE FP=hb_retptrGC( hbqt_gcAllocate_QSizeF( new QSizeF( ( p )->size() ), true ) ); p is NULL" ) );
}
}
/*
* QStyle * style () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_STYLE )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QStyle( ( p )->style(), false ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_STYLE FP=hb_retptrGC( hbqt_gcAllocate_QStyle( ( p )->style(), false ) ); p is NULL" ) );
}
}
/*
* bool testAttribute ( Qt::WidgetAttribute attribute ) const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_TESTATTRIBUTE )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retl( ( p )->testAttribute( ( Qt::WidgetAttribute ) hb_parni( 2 ) ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_TESTATTRIBUTE FP=hb_retl( ( p )->testAttribute( ( Qt::WidgetAttribute ) hb_parni( 2 ) ) ); p is NULL" ) );
}
}
/*
* void unsetLayoutDirection ()
*/
HB_FUNC( QT_QGRAPHICSWIDGET_UNSETLAYOUTDIRECTION )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->unsetLayoutDirection();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_UNSETLAYOUTDIRECTION FP=( p )->unsetLayoutDirection(); p is NULL" ) );
}
}
/*
* void unsetWindowFrameMargins ()
*/
HB_FUNC( QT_QGRAPHICSWIDGET_UNSETWINDOWFRAMEMARGINS )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->unsetWindowFrameMargins();
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_UNSETWINDOWFRAMEMARGINS FP=( p )->unsetWindowFrameMargins(); p is NULL" ) );
}
}
/*
* Qt::WindowFlags windowFlags () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_WINDOWFLAGS )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retni( ( Qt::WindowFlags ) ( p )->windowFlags() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_WINDOWFLAGS FP=hb_retni( ( Qt::WindowFlags ) ( p )->windowFlags() ); p is NULL" ) );
}
}
/*
* QRectF windowFrameGeometry () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_WINDOWFRAMEGEOMETRY )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->windowFrameGeometry() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_WINDOWFRAMEGEOMETRY FP=hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->windowFrameGeometry() ), true ) ); p is NULL" ) );
}
}
/*
* QRectF windowFrameRect () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_WINDOWFRAMERECT )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->windowFrameRect() ), true ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_WINDOWFRAMERECT FP=hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( ( p )->windowFrameRect() ), true ) ); p is NULL" ) );
}
}
/*
* QString windowTitle () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_WINDOWTITLE )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retc( ( p )->windowTitle().toAscii().data() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_WINDOWTITLE FP=hb_retc( ( p )->windowTitle().toAscii().data() ); p is NULL" ) );
}
}
/*
* Qt::WindowType windowType () const
*/
HB_FUNC( QT_QGRAPHICSWIDGET_WINDOWTYPE )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retni( ( Qt::WindowType ) ( p )->windowType() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_WINDOWTYPE FP=hb_retni( ( Qt::WindowType ) ( p )->windowType() ); p is NULL" ) );
}
}
/*
* void setTabOrder ( QGraphicsWidget * first, QGraphicsWidget * second )
*/
HB_FUNC( QT_QGRAPHICSWIDGET_SETTABORDER )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
( p )->setTabOrder( hbqt_par_QGraphicsWidget( 2 ), hbqt_par_QGraphicsWidget( 3 ) );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_SETTABORDER FP=( p )->setTabOrder( hbqt_par_QGraphicsWidget( 2 ), hbqt_par_QGraphicsWidget( 3 ) ); p is NULL" ) );
}
}
/*
* bool close ()
*/
HB_FUNC( QT_QGRAPHICSWIDGET_CLOSE )
{
QGraphicsWidget * p = hbqt_par_QGraphicsWidget( 1 );
if( p )
hb_retl( ( p )->close() );
else
{
HB_TRACE( HB_TR_DEBUG, ( "............................... F=QT_QGRAPHICSWIDGET_CLOSE FP=hb_retl( ( p )->close() ); p is NULL" ) );
}
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -0,0 +1,176 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbqtcore.h"
#include "hbqtgui.h"
/*----------------------------------------------------------------------*/
#if QT_VERSION >= 0x040500
/*----------------------------------------------------------------------*/
/*
* enum StyleOptionType { Type }
* enum StyleOptionVersion { Version }
*/
#include <QtCore/QPointer>
#include <QtGui/QStyleOptionGraphicsItem>
#include <QtGui/QMatrix>
#include <QtCore/QRectF>
/*
* QStyleOptionGraphicsItem ()
* QStyleOptionGraphicsItem ( const QStyleOptionGraphicsItem & other )
*/
typedef struct
{
QStyleOptionGraphicsItem * ph;
bool bNew;
PHBQT_GC_FUNC func;
int type;
} HBQT_GC_T_QStyleOptionGraphicsItem;
HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionGraphicsItem )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) Cargo;
if( p && p->bNew )
{
if( p->ph )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _rel_QStyleOptionGraphicsItem /.\\", p->ph ) );
delete ( ( QStyleOptionGraphicsItem * ) p->ph );
HB_TRACE( HB_TR_DEBUG, ( "ph=%p YES_rel_QStyleOptionGraphicsItem \\./", p->ph ) );
p->ph = NULL;
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p DEL_rel_QStyleOptionGraphicsItem : Object already deleted!", p->ph ) );
p->ph = NULL;
}
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p PTR_rel_QStyleOptionGraphicsItem : Object not created with new=true", p->ph ) );
p->ph = NULL;
}
}
void * hbqt_gcAllocate_QStyleOptionGraphicsItem( void * pObj, bool bNew )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_gcAllocate( sizeof( HBQT_GC_T ), hbqt_gcFuncs() );
p->ph = ( QStyleOptionGraphicsItem * ) pObj;
p->bNew = bNew;
p->func = hbqt_gcRelease_QStyleOptionGraphicsItem;
p->type = HBQT_TYPE_QStyleOptionGraphicsItem;
if( bNew )
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p _new_QStyleOptionGraphicsItem", pObj ) );
}
else
{
HB_TRACE( HB_TR_DEBUG, ( "ph=%p NOT_new_QStyleOptionGraphicsItem", pObj ) );
}
return p;
}
HB_FUNC( QT_QSTYLEOPTIONGRAPHICSITEM )
{
QStyleOptionGraphicsItem * pObj = NULL;
pObj = new QStyleOptionGraphicsItem() ;
hb_retptrGC( hbqt_gcAllocate_QStyleOptionGraphicsItem( ( void * ) pObj, true ) );
}
/*
* QRectF exposedRect
*/
HB_FUNC( QT_QSTYLEOPTIONGRAPHICSITEM_EXPOSEDRECT )
{
hb_retptrGC( hbqt_gcAllocate_QRectF( new QRectF( hbqt_par_QStyleOptionGraphicsItem( 1 )->exposedRect ), true ) );
}
/*
* qreal levelOfDetail
*/
HB_FUNC( QT_QSTYLEOPTIONGRAPHICSITEM_LEVELOFDETAIL )
{
hb_retnd( hbqt_par_QStyleOptionGraphicsItem( 1 )->levelOfDetail );
}
/*
* QMatrix matrix
*/
HB_FUNC( QT_QSTYLEOPTIONGRAPHICSITEM_MATRIX )
{
hb_retptrGC( hbqt_gcAllocate_QMatrix( new QMatrix( hbqt_par_QStyleOptionGraphicsItem( 1 )->matrix ), true ) );
}
/*----------------------------------------------------------------------*/
#endif /* #if QT_VERSION >= 0x040500 */
/*----------------------------------------------------------------------*/

View File

@@ -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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsEllipseItem INHERIT HbQtObjectHandler, QAbstractGraphicsShapeItem
METHOD new( ... )
METHOD rect()
METHOD setRect( pRect )
METHOD setRect_1( nX, nY, nWidth, nHeight )
METHOD setSpanAngle( nAngle )
METHOD setStartAngle( nAngle )
METHOD spanAngle()
METHOD startAngle()
ENDCLASS
METHOD QGraphicsEllipseItem:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsEllipseItem( ... )
RETURN Self
METHOD QGraphicsEllipseItem:rect()
RETURN Qt_QGraphicsEllipseItem_rect( ::pPtr )
METHOD QGraphicsEllipseItem:setRect( pRect )
RETURN Qt_QGraphicsEllipseItem_setRect( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsEllipseItem:setRect_1( nX, nY, nWidth, nHeight )
RETURN Qt_QGraphicsEllipseItem_setRect_1( ::pPtr, nX, nY, nWidth, nHeight )
METHOD QGraphicsEllipseItem:setSpanAngle( nAngle )
RETURN Qt_QGraphicsEllipseItem_setSpanAngle( ::pPtr, nAngle )
METHOD QGraphicsEllipseItem:setStartAngle( nAngle )
RETURN Qt_QGraphicsEllipseItem_setStartAngle( ::pPtr, nAngle )
METHOD QGraphicsEllipseItem:spanAngle()
RETURN Qt_QGraphicsEllipseItem_spanAngle( ::pPtr )
METHOD QGraphicsEllipseItem:startAngle()
RETURN Qt_QGraphicsEllipseItem_startAngle( ::pPtr )

View File

@@ -0,0 +1,291 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsGridLayout INHERIT HbQtObjectHandler, QGraphicsLayout
METHOD new( ... )
METHOD addItem( pItem, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment )
METHOD addItem_1( pItem, nRow, nColumn, nAlignment )
METHOD alignment( pItem )
METHOD columnAlignment( nColumn )
METHOD columnCount()
METHOD columnMaximumWidth( nColumn )
METHOD columnMinimumWidth( nColumn )
METHOD columnPreferredWidth( nColumn )
METHOD columnSpacing( nColumn )
METHOD columnStretchFactor( nColumn )
METHOD count()
METHOD horizontalSpacing()
METHOD itemAt( nRow, nColumn )
METHOD itemAt_1( nIndex )
METHOD removeAt( nIndex )
METHOD rowAlignment( nRow )
METHOD rowCount()
METHOD rowMaximumHeight( nRow )
METHOD rowMinimumHeight( nRow )
METHOD rowPreferredHeight( nRow )
METHOD rowSpacing( nRow )
METHOD rowStretchFactor( nRow )
METHOD setAlignment( pItem, nAlignment )
METHOD setColumnAlignment( nColumn, nAlignment )
METHOD setColumnFixedWidth( nColumn, nWidth )
METHOD setColumnMaximumWidth( nColumn, nWidth )
METHOD setColumnMinimumWidth( nColumn, nWidth )
METHOD setColumnPreferredWidth( nColumn, nWidth )
METHOD setColumnSpacing( nColumn, nSpacing )
METHOD setColumnStretchFactor( nColumn, nStretch )
METHOD setGeometry( pRect )
METHOD setHorizontalSpacing( nSpacing )
METHOD setRowAlignment( nRow, nAlignment )
METHOD setRowFixedHeight( nRow, nHeight )
METHOD setRowMaximumHeight( nRow, nHeight )
METHOD setRowMinimumHeight( nRow, nHeight )
METHOD setRowPreferredHeight( nRow, nHeight )
METHOD setRowSpacing( nRow, nSpacing )
METHOD setRowStretchFactor( nRow, nStretch )
METHOD setSpacing( nSpacing )
METHOD setVerticalSpacing( nSpacing )
METHOD verticalSpacing()
ENDCLASS
METHOD QGraphicsGridLayout:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsGridLayout( ... )
RETURN Self
METHOD QGraphicsGridLayout:addItem( pItem, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment )
RETURN Qt_QGraphicsGridLayout_addItem( ::pPtr, hbqt_ptr( pItem ), nRow, nColumn, nRowSpan, nColumnSpan, nAlignment )
METHOD QGraphicsGridLayout:addItem_1( pItem, nRow, nColumn, nAlignment )
RETURN Qt_QGraphicsGridLayout_addItem_1( ::pPtr, hbqt_ptr( pItem ), nRow, nColumn, nAlignment )
METHOD QGraphicsGridLayout:alignment( pItem )
RETURN Qt_QGraphicsGridLayout_alignment( ::pPtr, hbqt_ptr( pItem ) )
METHOD QGraphicsGridLayout:columnAlignment( nColumn )
RETURN Qt_QGraphicsGridLayout_columnAlignment( ::pPtr, nColumn )
METHOD QGraphicsGridLayout:columnCount()
RETURN Qt_QGraphicsGridLayout_columnCount( ::pPtr )
METHOD QGraphicsGridLayout:columnMaximumWidth( nColumn )
RETURN Qt_QGraphicsGridLayout_columnMaximumWidth( ::pPtr, nColumn )
METHOD QGraphicsGridLayout:columnMinimumWidth( nColumn )
RETURN Qt_QGraphicsGridLayout_columnMinimumWidth( ::pPtr, nColumn )
METHOD QGraphicsGridLayout:columnPreferredWidth( nColumn )
RETURN Qt_QGraphicsGridLayout_columnPreferredWidth( ::pPtr, nColumn )
METHOD QGraphicsGridLayout:columnSpacing( nColumn )
RETURN Qt_QGraphicsGridLayout_columnSpacing( ::pPtr, nColumn )
METHOD QGraphicsGridLayout:columnStretchFactor( nColumn )
RETURN Qt_QGraphicsGridLayout_columnStretchFactor( ::pPtr, nColumn )
METHOD QGraphicsGridLayout:count()
RETURN Qt_QGraphicsGridLayout_count( ::pPtr )
METHOD QGraphicsGridLayout:horizontalSpacing()
RETURN Qt_QGraphicsGridLayout_horizontalSpacing( ::pPtr )
METHOD QGraphicsGridLayout:itemAt( nRow, nColumn )
RETURN Qt_QGraphicsGridLayout_itemAt( ::pPtr, nRow, nColumn )
METHOD QGraphicsGridLayout:itemAt_1( nIndex )
RETURN Qt_QGraphicsGridLayout_itemAt_1( ::pPtr, nIndex )
METHOD QGraphicsGridLayout:removeAt( nIndex )
RETURN Qt_QGraphicsGridLayout_removeAt( ::pPtr, nIndex )
METHOD QGraphicsGridLayout:rowAlignment( nRow )
RETURN Qt_QGraphicsGridLayout_rowAlignment( ::pPtr, nRow )
METHOD QGraphicsGridLayout:rowCount()
RETURN Qt_QGraphicsGridLayout_rowCount( ::pPtr )
METHOD QGraphicsGridLayout:rowMaximumHeight( nRow )
RETURN Qt_QGraphicsGridLayout_rowMaximumHeight( ::pPtr, nRow )
METHOD QGraphicsGridLayout:rowMinimumHeight( nRow )
RETURN Qt_QGraphicsGridLayout_rowMinimumHeight( ::pPtr, nRow )
METHOD QGraphicsGridLayout:rowPreferredHeight( nRow )
RETURN Qt_QGraphicsGridLayout_rowPreferredHeight( ::pPtr, nRow )
METHOD QGraphicsGridLayout:rowSpacing( nRow )
RETURN Qt_QGraphicsGridLayout_rowSpacing( ::pPtr, nRow )
METHOD QGraphicsGridLayout:rowStretchFactor( nRow )
RETURN Qt_QGraphicsGridLayout_rowStretchFactor( ::pPtr, nRow )
METHOD QGraphicsGridLayout:setAlignment( pItem, nAlignment )
RETURN Qt_QGraphicsGridLayout_setAlignment( ::pPtr, hbqt_ptr( pItem ), nAlignment )
METHOD QGraphicsGridLayout:setColumnAlignment( nColumn, nAlignment )
RETURN Qt_QGraphicsGridLayout_setColumnAlignment( ::pPtr, nColumn, nAlignment )
METHOD QGraphicsGridLayout:setColumnFixedWidth( nColumn, nWidth )
RETURN Qt_QGraphicsGridLayout_setColumnFixedWidth( ::pPtr, nColumn, nWidth )
METHOD QGraphicsGridLayout:setColumnMaximumWidth( nColumn, nWidth )
RETURN Qt_QGraphicsGridLayout_setColumnMaximumWidth( ::pPtr, nColumn, nWidth )
METHOD QGraphicsGridLayout:setColumnMinimumWidth( nColumn, nWidth )
RETURN Qt_QGraphicsGridLayout_setColumnMinimumWidth( ::pPtr, nColumn, nWidth )
METHOD QGraphicsGridLayout:setColumnPreferredWidth( nColumn, nWidth )
RETURN Qt_QGraphicsGridLayout_setColumnPreferredWidth( ::pPtr, nColumn, nWidth )
METHOD QGraphicsGridLayout:setColumnSpacing( nColumn, nSpacing )
RETURN Qt_QGraphicsGridLayout_setColumnSpacing( ::pPtr, nColumn, nSpacing )
METHOD QGraphicsGridLayout:setColumnStretchFactor( nColumn, nStretch )
RETURN Qt_QGraphicsGridLayout_setColumnStretchFactor( ::pPtr, nColumn, nStretch )
METHOD QGraphicsGridLayout:setGeometry( pRect )
RETURN Qt_QGraphicsGridLayout_setGeometry( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsGridLayout:setHorizontalSpacing( nSpacing )
RETURN Qt_QGraphicsGridLayout_setHorizontalSpacing( ::pPtr, nSpacing )
METHOD QGraphicsGridLayout:setRowAlignment( nRow, nAlignment )
RETURN Qt_QGraphicsGridLayout_setRowAlignment( ::pPtr, nRow, nAlignment )
METHOD QGraphicsGridLayout:setRowFixedHeight( nRow, nHeight )
RETURN Qt_QGraphicsGridLayout_setRowFixedHeight( ::pPtr, nRow, nHeight )
METHOD QGraphicsGridLayout:setRowMaximumHeight( nRow, nHeight )
RETURN Qt_QGraphicsGridLayout_setRowMaximumHeight( ::pPtr, nRow, nHeight )
METHOD QGraphicsGridLayout:setRowMinimumHeight( nRow, nHeight )
RETURN Qt_QGraphicsGridLayout_setRowMinimumHeight( ::pPtr, nRow, nHeight )
METHOD QGraphicsGridLayout:setRowPreferredHeight( nRow, nHeight )
RETURN Qt_QGraphicsGridLayout_setRowPreferredHeight( ::pPtr, nRow, nHeight )
METHOD QGraphicsGridLayout:setRowSpacing( nRow, nSpacing )
RETURN Qt_QGraphicsGridLayout_setRowSpacing( ::pPtr, nRow, nSpacing )
METHOD QGraphicsGridLayout:setRowStretchFactor( nRow, nStretch )
RETURN Qt_QGraphicsGridLayout_setRowStretchFactor( ::pPtr, nRow, nStretch )
METHOD QGraphicsGridLayout:setSpacing( nSpacing )
RETURN Qt_QGraphicsGridLayout_setSpacing( ::pPtr, nSpacing )
METHOD QGraphicsGridLayout:setVerticalSpacing( nSpacing )
RETURN Qt_QGraphicsGridLayout_setVerticalSpacing( ::pPtr, nSpacing )
METHOD QGraphicsGridLayout:verticalSpacing()
RETURN Qt_QGraphicsGridLayout_verticalSpacing( ::pPtr )

View File

@@ -0,0 +1,831 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsItem INHERIT HbQtObjectHandler
METHOD new( ... )
METHOD acceptDrops()
METHOD acceptHoverEvents()
METHOD acceptedMouseButtons()
METHOD advance( nPhase )
METHOD boundingRect()
METHOD boundingRegion( pItemToDeviceTransform )
METHOD boundingRegionGranularity()
METHOD cacheMode()
METHOD childItems()
METHOD childrenBoundingRect()
METHOD clearFocus()
METHOD clipPath()
METHOD collidesWithItem( pOther, nMode )
METHOD collidesWithPath( pPath, nMode )
METHOD collidingItems( nMode )
METHOD commonAncestorItem( pOther )
METHOD contains( pPoint )
METHOD cursor()
METHOD data( nKey )
METHOD deviceTransform( pViewportTransform )
METHOD effectiveOpacity()
METHOD ensureVisible( pRect, nXmargin, nYmargin )
METHOD ensureVisible_1( nX, nY, nW, nH, nXmargin, nYmargin )
METHOD flags()
METHOD grabKeyboard()
METHOD grabMouse()
METHOD group()
METHOD handlesChildEvents()
METHOD hasCursor()
METHOD hasFocus()
METHOD hide()
METHOD installSceneEventFilter( pFilterItem )
METHOD isAncestorOf( pChild )
METHOD isClipped()
METHOD isEnabled()
METHOD isObscured()
METHOD isObscured_1( nX, nY, nW, nH )
METHOD isObscured_2( pRect )
METHOD isObscuredBy( pItem )
METHOD isSelected()
METHOD isUnderMouse()
METHOD isVisible()
METHOD isVisibleTo( pParent )
METHOD isWidget()
METHOD isWindow()
METHOD itemTransform( pOther, lOk )
METHOD mapFromItem( pItem, pPoint )
METHOD mapFromItem_1( pItem, pRect )
METHOD mapFromItem_2( pItem, pPolygon )
METHOD mapFromItem_3( pItem, pPath )
METHOD mapFromItem_4( pItem, nX, nY, nW, nH )
METHOD mapFromItem_5( pItem, nX, nY )
METHOD mapFromParent( pPoint )
METHOD mapFromParent_1( pRect )
METHOD mapFromParent_2( pPolygon )
METHOD mapFromParent_3( pPath )
METHOD mapFromParent_4( nX, nY, nW, nH )
METHOD mapFromParent_5( nX, nY )
METHOD mapFromScene( pPoint )
METHOD mapFromScene_1( pRect )
METHOD mapFromScene_2( pPolygon )
METHOD mapFromScene_3( pPath )
METHOD mapFromScene_4( nX, nY, nW, nH )
METHOD mapFromScene_5( nX, nY )
METHOD mapRectFromItem( pItem, pRect )
METHOD mapRectFromItem_1( pItem, nX, nY, nW, nH )
METHOD mapRectFromParent( pRect )
METHOD mapRectFromParent_1( nX, nY, nW, nH )
METHOD mapRectFromScene( pRect )
METHOD mapRectFromScene_1( nX, nY, nW, nH )
METHOD mapRectToItem( pItem, pRect )
METHOD mapRectToItem_1( pItem, nX, nY, nW, nH )
METHOD mapRectToParent( pRect )
METHOD mapRectToParent_1( nX, nY, nW, nH )
METHOD mapRectToScene( pRect )
METHOD mapRectToScene_1( nX, nY, nW, nH )
METHOD mapToItem( pItem, pPoint )
METHOD mapToItem_1( pItem, pRect )
METHOD mapToItem_2( pItem, pPolygon )
METHOD mapToItem_3( pItem, pPath )
METHOD mapToItem_4( pItem, nX, nY, nW, nH )
METHOD mapToItem_5( pItem, nX, nY )
METHOD mapToParent( pPoint )
METHOD mapToParent_1( pRect )
METHOD mapToParent_2( pPolygon )
METHOD mapToParent_3( pPath )
METHOD mapToParent_4( nX, nY, nW, nH )
METHOD mapToParent_5( nX, nY )
METHOD mapToScene( pPoint )
METHOD mapToScene_1( pRect )
METHOD mapToScene_2( pPolygon )
METHOD mapToScene_3( pPath )
METHOD mapToScene_4( nX, nY, nW, nH )
METHOD mapToScene_5( nX, nY )
METHOD moveBy( nDx, nDy )
METHOD opacity()
METHOD opaqueArea()
METHOD paint( pPainter, pOption, pWidget )
METHOD parentItem()
METHOD parentWidget()
METHOD pos()
METHOD removeSceneEventFilter( pFilterItem )
METHOD resetTransform()
METHOD rotate( nAngle )
METHOD scale( nSx, nSy )
METHOD scene()
METHOD sceneBoundingRect()
METHOD scenePos()
METHOD sceneTransform()
METHOD scroll( nDx, nDy, pRect )
METHOD setAcceptDrops( lOn )
METHOD setAcceptHoverEvents( lEnabled )
METHOD setAcceptedMouseButtons( nButtons )
METHOD setBoundingRegionGranularity( nGranularity )
METHOD setCacheMode( nMode, pLogicalCacheSize )
METHOD setCursor( pCursor )
METHOD setData( nKey, pValue )
METHOD setEnabled( lEnabled )
METHOD setFlag( nFlag, lEnabled )
METHOD setFlags( nFlags )
METHOD setFocus( nFocusReason )
METHOD setGroup( pGroup )
METHOD setHandlesChildEvents( lEnabled )
METHOD setOpacity( nOpacity )
METHOD setParentItem( pParent )
METHOD setPos( pPos )
METHOD setPos_1( nX, nY )
METHOD setSelected( lSelected )
METHOD setToolTip( cToolTip )
METHOD setTransform( pMatrix, lCombine )
METHOD setVisible( lVisible )
METHOD setZValue( nZ )
METHOD shape()
METHOD shear( nSh, nSv )
METHOD show()
METHOD toolTip()
METHOD topLevelItem()
METHOD topLevelWidget()
METHOD transform()
METHOD translate( nDx, nDy )
METHOD type()
METHOD ungrabKeyboard()
METHOD ungrabMouse()
METHOD unsetCursor()
METHOD update( pRect )
METHOD update_1( nX, nY, nWidth, nHeight )
METHOD window()
METHOD x()
METHOD y()
METHOD zValue()
ENDCLASS
METHOD QGraphicsItem:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsItem( ... )
RETURN Self
METHOD QGraphicsItem:acceptDrops()
RETURN Qt_QGraphicsItem_acceptDrops( ::pPtr )
METHOD QGraphicsItem:acceptHoverEvents()
RETURN Qt_QGraphicsItem_acceptHoverEvents( ::pPtr )
METHOD QGraphicsItem:acceptedMouseButtons()
RETURN Qt_QGraphicsItem_acceptedMouseButtons( ::pPtr )
METHOD QGraphicsItem:advance( nPhase )
RETURN Qt_QGraphicsItem_advance( ::pPtr, nPhase )
METHOD QGraphicsItem:boundingRect()
RETURN Qt_QGraphicsItem_boundingRect( ::pPtr )
METHOD QGraphicsItem:boundingRegion( pItemToDeviceTransform )
RETURN Qt_QGraphicsItem_boundingRegion( ::pPtr, hbqt_ptr( pItemToDeviceTransform ) )
METHOD QGraphicsItem:boundingRegionGranularity()
RETURN Qt_QGraphicsItem_boundingRegionGranularity( ::pPtr )
METHOD QGraphicsItem:cacheMode()
RETURN Qt_QGraphicsItem_cacheMode( ::pPtr )
METHOD QGraphicsItem:childItems()
RETURN Qt_QGraphicsItem_childItems( ::pPtr )
METHOD QGraphicsItem:childrenBoundingRect()
RETURN Qt_QGraphicsItem_childrenBoundingRect( ::pPtr )
METHOD QGraphicsItem:clearFocus()
RETURN Qt_QGraphicsItem_clearFocus( ::pPtr )
METHOD QGraphicsItem:clipPath()
RETURN Qt_QGraphicsItem_clipPath( ::pPtr )
METHOD QGraphicsItem:collidesWithItem( pOther, nMode )
RETURN Qt_QGraphicsItem_collidesWithItem( ::pPtr, hbqt_ptr( pOther ), nMode )
METHOD QGraphicsItem:collidesWithPath( pPath, nMode )
RETURN Qt_QGraphicsItem_collidesWithPath( ::pPtr, hbqt_ptr( pPath ), nMode )
METHOD QGraphicsItem:collidingItems( nMode )
RETURN Qt_QGraphicsItem_collidingItems( ::pPtr, nMode )
METHOD QGraphicsItem:commonAncestorItem( pOther )
RETURN Qt_QGraphicsItem_commonAncestorItem( ::pPtr, hbqt_ptr( pOther ) )
METHOD QGraphicsItem:contains( pPoint )
RETURN Qt_QGraphicsItem_contains( ::pPtr, hbqt_ptr( pPoint ) )
METHOD QGraphicsItem:cursor()
RETURN Qt_QGraphicsItem_cursor( ::pPtr )
METHOD QGraphicsItem:data( nKey )
RETURN Qt_QGraphicsItem_data( ::pPtr, nKey )
METHOD QGraphicsItem:deviceTransform( pViewportTransform )
RETURN Qt_QGraphicsItem_deviceTransform( ::pPtr, hbqt_ptr( pViewportTransform ) )
METHOD QGraphicsItem:effectiveOpacity()
RETURN Qt_QGraphicsItem_effectiveOpacity( ::pPtr )
METHOD QGraphicsItem:ensureVisible( pRect, nXmargin, nYmargin )
RETURN Qt_QGraphicsItem_ensureVisible( ::pPtr, hbqt_ptr( pRect ), nXmargin, nYmargin )
METHOD QGraphicsItem:ensureVisible_1( nX, nY, nW, nH, nXmargin, nYmargin )
RETURN Qt_QGraphicsItem_ensureVisible_1( ::pPtr, nX, nY, nW, nH, nXmargin, nYmargin )
METHOD QGraphicsItem:flags()
RETURN Qt_QGraphicsItem_flags( ::pPtr )
METHOD QGraphicsItem:grabKeyboard()
RETURN Qt_QGraphicsItem_grabKeyboard( ::pPtr )
METHOD QGraphicsItem:grabMouse()
RETURN Qt_QGraphicsItem_grabMouse( ::pPtr )
METHOD QGraphicsItem:group()
RETURN Qt_QGraphicsItem_group( ::pPtr )
METHOD QGraphicsItem:handlesChildEvents()
RETURN Qt_QGraphicsItem_handlesChildEvents( ::pPtr )
METHOD QGraphicsItem:hasCursor()
RETURN Qt_QGraphicsItem_hasCursor( ::pPtr )
METHOD QGraphicsItem:hasFocus()
RETURN Qt_QGraphicsItem_hasFocus( ::pPtr )
METHOD QGraphicsItem:hide()
RETURN Qt_QGraphicsItem_hide( ::pPtr )
METHOD QGraphicsItem:installSceneEventFilter( pFilterItem )
RETURN Qt_QGraphicsItem_installSceneEventFilter( ::pPtr, hbqt_ptr( pFilterItem ) )
METHOD QGraphicsItem:isAncestorOf( pChild )
RETURN Qt_QGraphicsItem_isAncestorOf( ::pPtr, hbqt_ptr( pChild ) )
METHOD QGraphicsItem:isClipped()
RETURN Qt_QGraphicsItem_isClipped( ::pPtr )
METHOD QGraphicsItem:isEnabled()
RETURN Qt_QGraphicsItem_isEnabled( ::pPtr )
METHOD QGraphicsItem:isObscured()
RETURN Qt_QGraphicsItem_isObscured( ::pPtr )
METHOD QGraphicsItem:isObscured_1( nX, nY, nW, nH )
RETURN Qt_QGraphicsItem_isObscured_1( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsItem:isObscured_2( pRect )
RETURN Qt_QGraphicsItem_isObscured_2( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsItem:isObscuredBy( pItem )
RETURN Qt_QGraphicsItem_isObscuredBy( ::pPtr, hbqt_ptr( pItem ) )
METHOD QGraphicsItem:isSelected()
RETURN Qt_QGraphicsItem_isSelected( ::pPtr )
METHOD QGraphicsItem:isUnderMouse()
RETURN Qt_QGraphicsItem_isUnderMouse( ::pPtr )
METHOD QGraphicsItem:isVisible()
RETURN Qt_QGraphicsItem_isVisible( ::pPtr )
METHOD QGraphicsItem:isVisibleTo( pParent )
RETURN Qt_QGraphicsItem_isVisibleTo( ::pPtr, hbqt_ptr( pParent ) )
METHOD QGraphicsItem:isWidget()
RETURN Qt_QGraphicsItem_isWidget( ::pPtr )
METHOD QGraphicsItem:isWindow()
RETURN Qt_QGraphicsItem_isWindow( ::pPtr )
METHOD QGraphicsItem:itemTransform( pOther, lOk )
RETURN Qt_QGraphicsItem_itemTransform( ::pPtr, hbqt_ptr( pOther ), lOk )
METHOD QGraphicsItem:mapFromItem( pItem, pPoint )
RETURN Qt_QGraphicsItem_mapFromItem( ::pPtr, hbqt_ptr( pItem ), hbqt_ptr( pPoint ) )
METHOD QGraphicsItem:mapFromItem_1( pItem, pRect )
RETURN Qt_QGraphicsItem_mapFromItem_1( ::pPtr, hbqt_ptr( pItem ), hbqt_ptr( pRect ) )
METHOD QGraphicsItem:mapFromItem_2( pItem, pPolygon )
RETURN Qt_QGraphicsItem_mapFromItem_2( ::pPtr, hbqt_ptr( pItem ), hbqt_ptr( pPolygon ) )
METHOD QGraphicsItem:mapFromItem_3( pItem, pPath )
RETURN Qt_QGraphicsItem_mapFromItem_3( ::pPtr, hbqt_ptr( pItem ), hbqt_ptr( pPath ) )
METHOD QGraphicsItem:mapFromItem_4( pItem, nX, nY, nW, nH )
RETURN Qt_QGraphicsItem_mapFromItem_4( ::pPtr, hbqt_ptr( pItem ), nX, nY, nW, nH )
METHOD QGraphicsItem:mapFromItem_5( pItem, nX, nY )
RETURN Qt_QGraphicsItem_mapFromItem_5( ::pPtr, hbqt_ptr( pItem ), nX, nY )
METHOD QGraphicsItem:mapFromParent( pPoint )
RETURN Qt_QGraphicsItem_mapFromParent( ::pPtr, hbqt_ptr( pPoint ) )
METHOD QGraphicsItem:mapFromParent_1( pRect )
RETURN Qt_QGraphicsItem_mapFromParent_1( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsItem:mapFromParent_2( pPolygon )
RETURN Qt_QGraphicsItem_mapFromParent_2( ::pPtr, hbqt_ptr( pPolygon ) )
METHOD QGraphicsItem:mapFromParent_3( pPath )
RETURN Qt_QGraphicsItem_mapFromParent_3( ::pPtr, hbqt_ptr( pPath ) )
METHOD QGraphicsItem:mapFromParent_4( nX, nY, nW, nH )
RETURN Qt_QGraphicsItem_mapFromParent_4( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsItem:mapFromParent_5( nX, nY )
RETURN Qt_QGraphicsItem_mapFromParent_5( ::pPtr, nX, nY )
METHOD QGraphicsItem:mapFromScene( pPoint )
RETURN Qt_QGraphicsItem_mapFromScene( ::pPtr, hbqt_ptr( pPoint ) )
METHOD QGraphicsItem:mapFromScene_1( pRect )
RETURN Qt_QGraphicsItem_mapFromScene_1( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsItem:mapFromScene_2( pPolygon )
RETURN Qt_QGraphicsItem_mapFromScene_2( ::pPtr, hbqt_ptr( pPolygon ) )
METHOD QGraphicsItem:mapFromScene_3( pPath )
RETURN Qt_QGraphicsItem_mapFromScene_3( ::pPtr, hbqt_ptr( pPath ) )
METHOD QGraphicsItem:mapFromScene_4( nX, nY, nW, nH )
RETURN Qt_QGraphicsItem_mapFromScene_4( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsItem:mapFromScene_5( nX, nY )
RETURN Qt_QGraphicsItem_mapFromScene_5( ::pPtr, nX, nY )
METHOD QGraphicsItem:mapRectFromItem( pItem, pRect )
RETURN Qt_QGraphicsItem_mapRectFromItem( ::pPtr, hbqt_ptr( pItem ), hbqt_ptr( pRect ) )
METHOD QGraphicsItem:mapRectFromItem_1( pItem, nX, nY, nW, nH )
RETURN Qt_QGraphicsItem_mapRectFromItem_1( ::pPtr, hbqt_ptr( pItem ), nX, nY, nW, nH )
METHOD QGraphicsItem:mapRectFromParent( pRect )
RETURN Qt_QGraphicsItem_mapRectFromParent( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsItem:mapRectFromParent_1( nX, nY, nW, nH )
RETURN Qt_QGraphicsItem_mapRectFromParent_1( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsItem:mapRectFromScene( pRect )
RETURN Qt_QGraphicsItem_mapRectFromScene( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsItem:mapRectFromScene_1( nX, nY, nW, nH )
RETURN Qt_QGraphicsItem_mapRectFromScene_1( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsItem:mapRectToItem( pItem, pRect )
RETURN Qt_QGraphicsItem_mapRectToItem( ::pPtr, hbqt_ptr( pItem ), hbqt_ptr( pRect ) )
METHOD QGraphicsItem:mapRectToItem_1( pItem, nX, nY, nW, nH )
RETURN Qt_QGraphicsItem_mapRectToItem_1( ::pPtr, hbqt_ptr( pItem ), nX, nY, nW, nH )
METHOD QGraphicsItem:mapRectToParent( pRect )
RETURN Qt_QGraphicsItem_mapRectToParent( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsItem:mapRectToParent_1( nX, nY, nW, nH )
RETURN Qt_QGraphicsItem_mapRectToParent_1( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsItem:mapRectToScene( pRect )
RETURN Qt_QGraphicsItem_mapRectToScene( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsItem:mapRectToScene_1( nX, nY, nW, nH )
RETURN Qt_QGraphicsItem_mapRectToScene_1( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsItem:mapToItem( pItem, pPoint )
RETURN Qt_QGraphicsItem_mapToItem( ::pPtr, hbqt_ptr( pItem ), hbqt_ptr( pPoint ) )
METHOD QGraphicsItem:mapToItem_1( pItem, pRect )
RETURN Qt_QGraphicsItem_mapToItem_1( ::pPtr, hbqt_ptr( pItem ), hbqt_ptr( pRect ) )
METHOD QGraphicsItem:mapToItem_2( pItem, pPolygon )
RETURN Qt_QGraphicsItem_mapToItem_2( ::pPtr, hbqt_ptr( pItem ), hbqt_ptr( pPolygon ) )
METHOD QGraphicsItem:mapToItem_3( pItem, pPath )
RETURN Qt_QGraphicsItem_mapToItem_3( ::pPtr, hbqt_ptr( pItem ), hbqt_ptr( pPath ) )
METHOD QGraphicsItem:mapToItem_4( pItem, nX, nY, nW, nH )
RETURN Qt_QGraphicsItem_mapToItem_4( ::pPtr, hbqt_ptr( pItem ), nX, nY, nW, nH )
METHOD QGraphicsItem:mapToItem_5( pItem, nX, nY )
RETURN Qt_QGraphicsItem_mapToItem_5( ::pPtr, hbqt_ptr( pItem ), nX, nY )
METHOD QGraphicsItem:mapToParent( pPoint )
RETURN Qt_QGraphicsItem_mapToParent( ::pPtr, hbqt_ptr( pPoint ) )
METHOD QGraphicsItem:mapToParent_1( pRect )
RETURN Qt_QGraphicsItem_mapToParent_1( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsItem:mapToParent_2( pPolygon )
RETURN Qt_QGraphicsItem_mapToParent_2( ::pPtr, hbqt_ptr( pPolygon ) )
METHOD QGraphicsItem:mapToParent_3( pPath )
RETURN Qt_QGraphicsItem_mapToParent_3( ::pPtr, hbqt_ptr( pPath ) )
METHOD QGraphicsItem:mapToParent_4( nX, nY, nW, nH )
RETURN Qt_QGraphicsItem_mapToParent_4( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsItem:mapToParent_5( nX, nY )
RETURN Qt_QGraphicsItem_mapToParent_5( ::pPtr, nX, nY )
METHOD QGraphicsItem:mapToScene( pPoint )
RETURN Qt_QGraphicsItem_mapToScene( ::pPtr, hbqt_ptr( pPoint ) )
METHOD QGraphicsItem:mapToScene_1( pRect )
RETURN Qt_QGraphicsItem_mapToScene_1( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsItem:mapToScene_2( pPolygon )
RETURN Qt_QGraphicsItem_mapToScene_2( ::pPtr, hbqt_ptr( pPolygon ) )
METHOD QGraphicsItem:mapToScene_3( pPath )
RETURN Qt_QGraphicsItem_mapToScene_3( ::pPtr, hbqt_ptr( pPath ) )
METHOD QGraphicsItem:mapToScene_4( nX, nY, nW, nH )
RETURN Qt_QGraphicsItem_mapToScene_4( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsItem:mapToScene_5( nX, nY )
RETURN Qt_QGraphicsItem_mapToScene_5( ::pPtr, nX, nY )
METHOD QGraphicsItem:moveBy( nDx, nDy )
RETURN Qt_QGraphicsItem_moveBy( ::pPtr, nDx, nDy )
METHOD QGraphicsItem:opacity()
RETURN Qt_QGraphicsItem_opacity( ::pPtr )
METHOD QGraphicsItem:opaqueArea()
RETURN Qt_QGraphicsItem_opaqueArea( ::pPtr )
METHOD QGraphicsItem:paint( pPainter, pOption, pWidget )
RETURN Qt_QGraphicsItem_paint( ::pPtr, hbqt_ptr( pPainter ), hbqt_ptr( pOption ), hbqt_ptr( pWidget ) )
METHOD QGraphicsItem:parentItem()
RETURN Qt_QGraphicsItem_parentItem( ::pPtr )
METHOD QGraphicsItem:parentWidget()
RETURN Qt_QGraphicsItem_parentWidget( ::pPtr )
METHOD QGraphicsItem:pos()
RETURN Qt_QGraphicsItem_pos( ::pPtr )
METHOD QGraphicsItem:removeSceneEventFilter( pFilterItem )
RETURN Qt_QGraphicsItem_removeSceneEventFilter( ::pPtr, hbqt_ptr( pFilterItem ) )
METHOD QGraphicsItem:resetTransform()
RETURN Qt_QGraphicsItem_resetTransform( ::pPtr )
METHOD QGraphicsItem:rotate( nAngle )
RETURN Qt_QGraphicsItem_rotate( ::pPtr, nAngle )
METHOD QGraphicsItem:scale( nSx, nSy )
RETURN Qt_QGraphicsItem_scale( ::pPtr, nSx, nSy )
METHOD QGraphicsItem:scene()
RETURN Qt_QGraphicsItem_scene( ::pPtr )
METHOD QGraphicsItem:sceneBoundingRect()
RETURN Qt_QGraphicsItem_sceneBoundingRect( ::pPtr )
METHOD QGraphicsItem:scenePos()
RETURN Qt_QGraphicsItem_scenePos( ::pPtr )
METHOD QGraphicsItem:sceneTransform()
RETURN Qt_QGraphicsItem_sceneTransform( ::pPtr )
METHOD QGraphicsItem:scroll( nDx, nDy, pRect )
RETURN Qt_QGraphicsItem_scroll( ::pPtr, nDx, nDy, hbqt_ptr( pRect ) )
METHOD QGraphicsItem:setAcceptDrops( lOn )
RETURN Qt_QGraphicsItem_setAcceptDrops( ::pPtr, lOn )
METHOD QGraphicsItem:setAcceptHoverEvents( lEnabled )
RETURN Qt_QGraphicsItem_setAcceptHoverEvents( ::pPtr, lEnabled )
METHOD QGraphicsItem:setAcceptedMouseButtons( nButtons )
RETURN Qt_QGraphicsItem_setAcceptedMouseButtons( ::pPtr, nButtons )
METHOD QGraphicsItem:setBoundingRegionGranularity( nGranularity )
RETURN Qt_QGraphicsItem_setBoundingRegionGranularity( ::pPtr, nGranularity )
METHOD QGraphicsItem:setCacheMode( nMode, pLogicalCacheSize )
RETURN Qt_QGraphicsItem_setCacheMode( ::pPtr, nMode, hbqt_ptr( pLogicalCacheSize ) )
METHOD QGraphicsItem:setCursor( pCursor )
RETURN Qt_QGraphicsItem_setCursor( ::pPtr, hbqt_ptr( pCursor ) )
METHOD QGraphicsItem:setData( nKey, pValue )
RETURN Qt_QGraphicsItem_setData( ::pPtr, nKey, hbqt_ptr( pValue ) )
METHOD QGraphicsItem:setEnabled( lEnabled )
RETURN Qt_QGraphicsItem_setEnabled( ::pPtr, lEnabled )
METHOD QGraphicsItem:setFlag( nFlag, lEnabled )
RETURN Qt_QGraphicsItem_setFlag( ::pPtr, nFlag, lEnabled )
METHOD QGraphicsItem:setFlags( nFlags )
RETURN Qt_QGraphicsItem_setFlags( ::pPtr, nFlags )
METHOD QGraphicsItem:setFocus( nFocusReason )
RETURN Qt_QGraphicsItem_setFocus( ::pPtr, nFocusReason )
METHOD QGraphicsItem:setGroup( pGroup )
RETURN Qt_QGraphicsItem_setGroup( ::pPtr, hbqt_ptr( pGroup ) )
METHOD QGraphicsItem:setHandlesChildEvents( lEnabled )
RETURN Qt_QGraphicsItem_setHandlesChildEvents( ::pPtr, lEnabled )
METHOD QGraphicsItem:setOpacity( nOpacity )
RETURN Qt_QGraphicsItem_setOpacity( ::pPtr, nOpacity )
METHOD QGraphicsItem:setParentItem( pParent )
RETURN Qt_QGraphicsItem_setParentItem( ::pPtr, hbqt_ptr( pParent ) )
METHOD QGraphicsItem:setPos( pPos )
RETURN Qt_QGraphicsItem_setPos( ::pPtr, hbqt_ptr( pPos ) )
METHOD QGraphicsItem:setPos_1( nX, nY )
RETURN Qt_QGraphicsItem_setPos_1( ::pPtr, nX, nY )
METHOD QGraphicsItem:setSelected( lSelected )
RETURN Qt_QGraphicsItem_setSelected( ::pPtr, lSelected )
METHOD QGraphicsItem:setToolTip( cToolTip )
RETURN Qt_QGraphicsItem_setToolTip( ::pPtr, cToolTip )
METHOD QGraphicsItem:setTransform( pMatrix, lCombine )
RETURN Qt_QGraphicsItem_setTransform( ::pPtr, hbqt_ptr( pMatrix ), lCombine )
METHOD QGraphicsItem:setVisible( lVisible )
RETURN Qt_QGraphicsItem_setVisible( ::pPtr, lVisible )
METHOD QGraphicsItem:setZValue( nZ )
RETURN Qt_QGraphicsItem_setZValue( ::pPtr, nZ )
METHOD QGraphicsItem:shape()
RETURN Qt_QGraphicsItem_shape( ::pPtr )
METHOD QGraphicsItem:shear( nSh, nSv )
RETURN Qt_QGraphicsItem_shear( ::pPtr, nSh, nSv )
METHOD QGraphicsItem:show()
RETURN Qt_QGraphicsItem_show( ::pPtr )
METHOD QGraphicsItem:toolTip()
RETURN Qt_QGraphicsItem_toolTip( ::pPtr )
METHOD QGraphicsItem:topLevelItem()
RETURN Qt_QGraphicsItem_topLevelItem( ::pPtr )
METHOD QGraphicsItem:topLevelWidget()
RETURN Qt_QGraphicsItem_topLevelWidget( ::pPtr )
METHOD QGraphicsItem:transform()
RETURN Qt_QGraphicsItem_transform( ::pPtr )
METHOD QGraphicsItem:translate( nDx, nDy )
RETURN Qt_QGraphicsItem_translate( ::pPtr, nDx, nDy )
METHOD QGraphicsItem:type()
RETURN Qt_QGraphicsItem_type( ::pPtr )
METHOD QGraphicsItem:ungrabKeyboard()
RETURN Qt_QGraphicsItem_ungrabKeyboard( ::pPtr )
METHOD QGraphicsItem:ungrabMouse()
RETURN Qt_QGraphicsItem_ungrabMouse( ::pPtr )
METHOD QGraphicsItem:unsetCursor()
RETURN Qt_QGraphicsItem_unsetCursor( ::pPtr )
METHOD QGraphicsItem:update( pRect )
RETURN Qt_QGraphicsItem_update( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsItem:update_1( nX, nY, nWidth, nHeight )
RETURN Qt_QGraphicsItem_update_1( ::pPtr, nX, nY, nWidth, nHeight )
METHOD QGraphicsItem:window()
RETURN Qt_QGraphicsItem_window( ::pPtr )
METHOD QGraphicsItem:x()
RETURN Qt_QGraphicsItem_x( ::pPtr )
METHOD QGraphicsItem:y()
RETURN Qt_QGraphicsItem_y( ::pPtr )
METHOD QGraphicsItem:zValue()
RETURN Qt_QGraphicsItem_zValue( ::pPtr )

View File

@@ -0,0 +1,181 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsItemAnimation INHERIT HbQtObjectHandler, QObject
METHOD new( ... )
METHOD clear()
METHOD horizontalScaleAt( nStep )
METHOD horizontalShearAt( nStep )
METHOD item()
METHOD matrixAt( nStep )
METHOD posAt( nStep )
METHOD rotationAt( nStep )
METHOD setItem( pItem )
METHOD setPosAt( nStep, pPoint )
METHOD setRotationAt( nStep, nAngle )
METHOD setScaleAt( nStep, nSx, nSy )
METHOD setShearAt( nStep, nSh, nSv )
METHOD setTimeLine( pTimeLine )
METHOD setTranslationAt( nStep, nDx, nDy )
METHOD timeLine()
METHOD verticalScaleAt( nStep )
METHOD verticalShearAt( nStep )
METHOD xTranslationAt( nStep )
METHOD yTranslationAt( nStep )
METHOD setStep( nStep )
ENDCLASS
METHOD QGraphicsItemAnimation:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsItemAnimation( ... )
RETURN Self
METHOD QGraphicsItemAnimation:clear()
RETURN Qt_QGraphicsItemAnimation_clear( ::pPtr )
METHOD QGraphicsItemAnimation:horizontalScaleAt( nStep )
RETURN Qt_QGraphicsItemAnimation_horizontalScaleAt( ::pPtr, nStep )
METHOD QGraphicsItemAnimation:horizontalShearAt( nStep )
RETURN Qt_QGraphicsItemAnimation_horizontalShearAt( ::pPtr, nStep )
METHOD QGraphicsItemAnimation:item()
RETURN Qt_QGraphicsItemAnimation_item( ::pPtr )
METHOD QGraphicsItemAnimation:matrixAt( nStep )
RETURN Qt_QGraphicsItemAnimation_matrixAt( ::pPtr, nStep )
METHOD QGraphicsItemAnimation:posAt( nStep )
RETURN Qt_QGraphicsItemAnimation_posAt( ::pPtr, nStep )
METHOD QGraphicsItemAnimation:rotationAt( nStep )
RETURN Qt_QGraphicsItemAnimation_rotationAt( ::pPtr, nStep )
METHOD QGraphicsItemAnimation:setItem( pItem )
RETURN Qt_QGraphicsItemAnimation_setItem( ::pPtr, hbqt_ptr( pItem ) )
METHOD QGraphicsItemAnimation:setPosAt( nStep, pPoint )
RETURN Qt_QGraphicsItemAnimation_setPosAt( ::pPtr, nStep, hbqt_ptr( pPoint ) )
METHOD QGraphicsItemAnimation:setRotationAt( nStep, nAngle )
RETURN Qt_QGraphicsItemAnimation_setRotationAt( ::pPtr, nStep, nAngle )
METHOD QGraphicsItemAnimation:setScaleAt( nStep, nSx, nSy )
RETURN Qt_QGraphicsItemAnimation_setScaleAt( ::pPtr, nStep, nSx, nSy )
METHOD QGraphicsItemAnimation:setShearAt( nStep, nSh, nSv )
RETURN Qt_QGraphicsItemAnimation_setShearAt( ::pPtr, nStep, nSh, nSv )
METHOD QGraphicsItemAnimation:setTimeLine( pTimeLine )
RETURN Qt_QGraphicsItemAnimation_setTimeLine( ::pPtr, hbqt_ptr( pTimeLine ) )
METHOD QGraphicsItemAnimation:setTranslationAt( nStep, nDx, nDy )
RETURN Qt_QGraphicsItemAnimation_setTranslationAt( ::pPtr, nStep, nDx, nDy )
METHOD QGraphicsItemAnimation:timeLine()
RETURN Qt_QGraphicsItemAnimation_timeLine( ::pPtr )
METHOD QGraphicsItemAnimation:verticalScaleAt( nStep )
RETURN Qt_QGraphicsItemAnimation_verticalScaleAt( ::pPtr, nStep )
METHOD QGraphicsItemAnimation:verticalShearAt( nStep )
RETURN Qt_QGraphicsItemAnimation_verticalShearAt( ::pPtr, nStep )
METHOD QGraphicsItemAnimation:xTranslationAt( nStep )
RETURN Qt_QGraphicsItemAnimation_xTranslationAt( ::pPtr, nStep )
METHOD QGraphicsItemAnimation:yTranslationAt( nStep )
RETURN Qt_QGraphicsItemAnimation_yTranslationAt( ::pPtr, nStep )
METHOD QGraphicsItemAnimation:setStep( nStep )
RETURN Qt_QGraphicsItemAnimation_setStep( ::pPtr, nStep )

View File

@@ -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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsItemGroup INHERIT HbQtObjectHandler, QGraphicsItem
METHOD new( ... )
METHOD addToGroup( pItem )
METHOD removeFromGroup( pItem )
ENDCLASS
METHOD QGraphicsItemGroup:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsItemGroup( ... )
RETURN Self
METHOD QGraphicsItemGroup:addToGroup( pItem )
RETURN Qt_QGraphicsItemGroup_addToGroup( ::pPtr, hbqt_ptr( pItem ) )
METHOD QGraphicsItemGroup:removeFromGroup( pItem )
RETURN Qt_QGraphicsItemGroup_removeFromGroup( ::pPtr, hbqt_ptr( pItem ) )

View File

@@ -0,0 +1,121 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsLayout INHERIT HbQtObjectHandler, QGraphicsLayoutItem
METHOD new( ... )
METHOD activate()
METHOD count()
METHOD invalidate()
METHOD isActivated()
METHOD itemAt( nI )
METHOD removeAt( nIndex )
METHOD setContentsMargins( nLeft, nTop, nRight, nBottom )
METHOD widgetEvent( pE )
ENDCLASS
METHOD QGraphicsLayout:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsLayout( ... )
RETURN Self
METHOD QGraphicsLayout:activate()
RETURN Qt_QGraphicsLayout_activate( ::pPtr )
METHOD QGraphicsLayout:count()
RETURN Qt_QGraphicsLayout_count( ::pPtr )
METHOD QGraphicsLayout:invalidate()
RETURN Qt_QGraphicsLayout_invalidate( ::pPtr )
METHOD QGraphicsLayout:isActivated()
RETURN Qt_QGraphicsLayout_isActivated( ::pPtr )
METHOD QGraphicsLayout:itemAt( nI )
RETURN Qt_QGraphicsLayout_itemAt( ::pPtr, nI )
METHOD QGraphicsLayout:removeAt( nIndex )
RETURN Qt_QGraphicsLayout_removeAt( ::pPtr, nIndex )
METHOD QGraphicsLayout:setContentsMargins( nLeft, nTop, nRight, nBottom )
RETURN Qt_QGraphicsLayout_setContentsMargins( ::pPtr, nLeft, nTop, nRight, nBottom )
METHOD QGraphicsLayout:widgetEvent( pE )
RETURN Qt_QGraphicsLayout_widgetEvent( ::pPtr, hbqt_ptr( pE ) )

View File

@@ -0,0 +1,256 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsLayoutItem INHERIT HbQtObjectHandler
METHOD new( ... )
METHOD contentsRect()
METHOD effectiveSizeHint( nWhich, pConstraint )
METHOD geometry()
METHOD getContentsMargins( nLeft, nTop, nRight, nBottom )
METHOD graphicsItem()
METHOD isLayout()
METHOD maximumHeight()
METHOD maximumSize()
METHOD maximumWidth()
METHOD minimumHeight()
METHOD minimumSize()
METHOD minimumWidth()
METHOD ownedByLayout()
METHOD parentLayoutItem()
METHOD preferredHeight()
METHOD preferredSize()
METHOD preferredWidth()
METHOD setGeometry( pRect )
METHOD setMaximumHeight( nHeight )
METHOD setMaximumSize( pSize )
METHOD setMaximumSize_1( nW, nH )
METHOD setMaximumWidth( nWidth )
METHOD setMinimumHeight( nHeight )
METHOD setMinimumSize( pSize )
METHOD setMinimumSize_1( nW, nH )
METHOD setMinimumWidth( nWidth )
METHOD setParentLayoutItem( pParent )
METHOD setPreferredHeight( nHeight )
METHOD setPreferredSize( pSize )
METHOD setPreferredSize_1( nW, nH )
METHOD setPreferredWidth( nWidth )
METHOD setSizePolicy( pPolicy )
METHOD setSizePolicy_1( nHPolicy, nVPolicy, nControlType )
METHOD sizePolicy()
METHOD updateGeometry()
ENDCLASS
METHOD QGraphicsLayoutItem:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsLayoutItem( ... )
RETURN Self
METHOD QGraphicsLayoutItem:contentsRect()
RETURN Qt_QGraphicsLayoutItem_contentsRect( ::pPtr )
METHOD QGraphicsLayoutItem:effectiveSizeHint( nWhich, pConstraint )
RETURN Qt_QGraphicsLayoutItem_effectiveSizeHint( ::pPtr, nWhich, hbqt_ptr( pConstraint ) )
METHOD QGraphicsLayoutItem:geometry()
RETURN Qt_QGraphicsLayoutItem_geometry( ::pPtr )
METHOD QGraphicsLayoutItem:getContentsMargins( nLeft, nTop, nRight, nBottom )
RETURN Qt_QGraphicsLayoutItem_getContentsMargins( ::pPtr, nLeft, nTop, nRight, nBottom )
METHOD QGraphicsLayoutItem:graphicsItem()
RETURN Qt_QGraphicsLayoutItem_graphicsItem( ::pPtr )
METHOD QGraphicsLayoutItem:isLayout()
RETURN Qt_QGraphicsLayoutItem_isLayout( ::pPtr )
METHOD QGraphicsLayoutItem:maximumHeight()
RETURN Qt_QGraphicsLayoutItem_maximumHeight( ::pPtr )
METHOD QGraphicsLayoutItem:maximumSize()
RETURN Qt_QGraphicsLayoutItem_maximumSize( ::pPtr )
METHOD QGraphicsLayoutItem:maximumWidth()
RETURN Qt_QGraphicsLayoutItem_maximumWidth( ::pPtr )
METHOD QGraphicsLayoutItem:minimumHeight()
RETURN Qt_QGraphicsLayoutItem_minimumHeight( ::pPtr )
METHOD QGraphicsLayoutItem:minimumSize()
RETURN Qt_QGraphicsLayoutItem_minimumSize( ::pPtr )
METHOD QGraphicsLayoutItem:minimumWidth()
RETURN Qt_QGraphicsLayoutItem_minimumWidth( ::pPtr )
METHOD QGraphicsLayoutItem:ownedByLayout()
RETURN Qt_QGraphicsLayoutItem_ownedByLayout( ::pPtr )
METHOD QGraphicsLayoutItem:parentLayoutItem()
RETURN Qt_QGraphicsLayoutItem_parentLayoutItem( ::pPtr )
METHOD QGraphicsLayoutItem:preferredHeight()
RETURN Qt_QGraphicsLayoutItem_preferredHeight( ::pPtr )
METHOD QGraphicsLayoutItem:preferredSize()
RETURN Qt_QGraphicsLayoutItem_preferredSize( ::pPtr )
METHOD QGraphicsLayoutItem:preferredWidth()
RETURN Qt_QGraphicsLayoutItem_preferredWidth( ::pPtr )
METHOD QGraphicsLayoutItem:setGeometry( pRect )
RETURN Qt_QGraphicsLayoutItem_setGeometry( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsLayoutItem:setMaximumHeight( nHeight )
RETURN Qt_QGraphicsLayoutItem_setMaximumHeight( ::pPtr, nHeight )
METHOD QGraphicsLayoutItem:setMaximumSize( pSize )
RETURN Qt_QGraphicsLayoutItem_setMaximumSize( ::pPtr, hbqt_ptr( pSize ) )
METHOD QGraphicsLayoutItem:setMaximumSize_1( nW, nH )
RETURN Qt_QGraphicsLayoutItem_setMaximumSize_1( ::pPtr, nW, nH )
METHOD QGraphicsLayoutItem:setMaximumWidth( nWidth )
RETURN Qt_QGraphicsLayoutItem_setMaximumWidth( ::pPtr, nWidth )
METHOD QGraphicsLayoutItem:setMinimumHeight( nHeight )
RETURN Qt_QGraphicsLayoutItem_setMinimumHeight( ::pPtr, nHeight )
METHOD QGraphicsLayoutItem:setMinimumSize( pSize )
RETURN Qt_QGraphicsLayoutItem_setMinimumSize( ::pPtr, hbqt_ptr( pSize ) )
METHOD QGraphicsLayoutItem:setMinimumSize_1( nW, nH )
RETURN Qt_QGraphicsLayoutItem_setMinimumSize_1( ::pPtr, nW, nH )
METHOD QGraphicsLayoutItem:setMinimumWidth( nWidth )
RETURN Qt_QGraphicsLayoutItem_setMinimumWidth( ::pPtr, nWidth )
METHOD QGraphicsLayoutItem:setParentLayoutItem( pParent )
RETURN Qt_QGraphicsLayoutItem_setParentLayoutItem( ::pPtr, hbqt_ptr( pParent ) )
METHOD QGraphicsLayoutItem:setPreferredHeight( nHeight )
RETURN Qt_QGraphicsLayoutItem_setPreferredHeight( ::pPtr, nHeight )
METHOD QGraphicsLayoutItem:setPreferredSize( pSize )
RETURN Qt_QGraphicsLayoutItem_setPreferredSize( ::pPtr, hbqt_ptr( pSize ) )
METHOD QGraphicsLayoutItem:setPreferredSize_1( nW, nH )
RETURN Qt_QGraphicsLayoutItem_setPreferredSize_1( ::pPtr, nW, nH )
METHOD QGraphicsLayoutItem:setPreferredWidth( nWidth )
RETURN Qt_QGraphicsLayoutItem_setPreferredWidth( ::pPtr, nWidth )
METHOD QGraphicsLayoutItem:setSizePolicy( pPolicy )
RETURN Qt_QGraphicsLayoutItem_setSizePolicy( ::pPtr, hbqt_ptr( pPolicy ) )
METHOD QGraphicsLayoutItem:setSizePolicy_1( nHPolicy, nVPolicy, nControlType )
RETURN Qt_QGraphicsLayoutItem_setSizePolicy_1( ::pPtr, nHPolicy, nVPolicy, nControlType )
METHOD QGraphicsLayoutItem:sizePolicy()
RETURN Qt_QGraphicsLayoutItem_sizePolicy( ::pPtr )
METHOD QGraphicsLayoutItem:updateGeometry()
RETURN Qt_QGraphicsLayoutItem_updateGeometry( ::pPtr )

View File

@@ -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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsLineItem INHERIT HbQtObjectHandler, QGraphicsItem
METHOD new( ... )
METHOD line()
METHOD pen()
METHOD setLine( pLine )
METHOD setLine_1( nX1, nY1, nX2, nY2 )
METHOD setPen( pPen )
ENDCLASS
METHOD QGraphicsLineItem:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsLineItem( ... )
RETURN Self
METHOD QGraphicsLineItem:line()
RETURN Qt_QGraphicsLineItem_line( ::pPtr )
METHOD QGraphicsLineItem:pen()
RETURN Qt_QGraphicsLineItem_pen( ::pPtr )
METHOD QGraphicsLineItem:setLine( pLine )
RETURN Qt_QGraphicsLineItem_setLine( ::pPtr, hbqt_ptr( pLine ) )
METHOD QGraphicsLineItem:setLine_1( nX1, nY1, nX2, nY2 )
RETURN Qt_QGraphicsLineItem_setLine_1( ::pPtr, nX1, nY1, nX2, nY2 )
METHOD QGraphicsLineItem:setPen( pPen )
RETURN Qt_QGraphicsLineItem_setPen( ::pPtr, hbqt_ptr( pPen ) )

View File

@@ -0,0 +1,161 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsLinearLayout INHERIT HbQtObjectHandler, QGraphicsLayout
METHOD new( ... )
METHOD addItem( pItem )
METHOD addStretch( nStretch )
METHOD alignment( pItem )
METHOD insertItem( nIndex, pItem )
METHOD insertStretch( nIndex, nStretch )
METHOD itemSpacing( nIndex )
METHOD orientation()
METHOD removeAt( nIndex )
METHOD removeItem( pItem )
METHOD setAlignment( pItem, nAlignment )
METHOD setItemSpacing( nIndex, nSpacing )
METHOD setOrientation( nOrientation )
METHOD setSpacing( nSpacing )
METHOD setStretchFactor( pItem, nStretch )
METHOD spacing()
METHOD stretchFactor( pItem )
ENDCLASS
METHOD QGraphicsLinearLayout:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsLinearLayout( ... )
RETURN Self
METHOD QGraphicsLinearLayout:addItem( pItem )
RETURN Qt_QGraphicsLinearLayout_addItem( ::pPtr, hbqt_ptr( pItem ) )
METHOD QGraphicsLinearLayout:addStretch( nStretch )
RETURN Qt_QGraphicsLinearLayout_addStretch( ::pPtr, nStretch )
METHOD QGraphicsLinearLayout:alignment( pItem )
RETURN Qt_QGraphicsLinearLayout_alignment( ::pPtr, hbqt_ptr( pItem ) )
METHOD QGraphicsLinearLayout:insertItem( nIndex, pItem )
RETURN Qt_QGraphicsLinearLayout_insertItem( ::pPtr, nIndex, hbqt_ptr( pItem ) )
METHOD QGraphicsLinearLayout:insertStretch( nIndex, nStretch )
RETURN Qt_QGraphicsLinearLayout_insertStretch( ::pPtr, nIndex, nStretch )
METHOD QGraphicsLinearLayout:itemSpacing( nIndex )
RETURN Qt_QGraphicsLinearLayout_itemSpacing( ::pPtr, nIndex )
METHOD QGraphicsLinearLayout:orientation()
RETURN Qt_QGraphicsLinearLayout_orientation( ::pPtr )
METHOD QGraphicsLinearLayout:removeAt( nIndex )
RETURN Qt_QGraphicsLinearLayout_removeAt( ::pPtr, nIndex )
METHOD QGraphicsLinearLayout:removeItem( pItem )
RETURN Qt_QGraphicsLinearLayout_removeItem( ::pPtr, hbqt_ptr( pItem ) )
METHOD QGraphicsLinearLayout:setAlignment( pItem, nAlignment )
RETURN Qt_QGraphicsLinearLayout_setAlignment( ::pPtr, hbqt_ptr( pItem ), nAlignment )
METHOD QGraphicsLinearLayout:setItemSpacing( nIndex, nSpacing )
RETURN Qt_QGraphicsLinearLayout_setItemSpacing( ::pPtr, nIndex, nSpacing )
METHOD QGraphicsLinearLayout:setOrientation( nOrientation )
RETURN Qt_QGraphicsLinearLayout_setOrientation( ::pPtr, nOrientation )
METHOD QGraphicsLinearLayout:setSpacing( nSpacing )
RETURN Qt_QGraphicsLinearLayout_setSpacing( ::pPtr, nSpacing )
METHOD QGraphicsLinearLayout:setStretchFactor( pItem, nStretch )
RETURN Qt_QGraphicsLinearLayout_setStretchFactor( ::pPtr, hbqt_ptr( pItem ), nStretch )
METHOD QGraphicsLinearLayout:spacing()
RETURN Qt_QGraphicsLinearLayout_spacing( ::pPtr )
METHOD QGraphicsLinearLayout:stretchFactor( pItem )
RETURN Qt_QGraphicsLinearLayout_stretchFactor( ::pPtr, hbqt_ptr( pItem ) )

View File

@@ -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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsPathItem INHERIT HbQtObjectHandler, QAbstractGraphicsShapeItem
METHOD new( ... )
METHOD path()
METHOD setPath( pPath )
ENDCLASS
METHOD QGraphicsPathItem:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsPathItem( ... )
RETURN Self
METHOD QGraphicsPathItem:path()
RETURN Qt_QGraphicsPathItem_path( ::pPtr )
METHOD QGraphicsPathItem:setPath( pPath )
RETURN Qt_QGraphicsPathItem_setPath( ::pPtr, hbqt_ptr( pPath ) )

View File

@@ -0,0 +1,126 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
/*
* Harbour Project source code:
* QT wrapper main header
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsPixmapItem INHERIT HbQtObjectHandler, QGraphicsItem
METHOD new( ... )
METHOD offset()
METHOD pixmap()
METHOD setOffset( pOffset )
METHOD setOffset_1( nX, nY )
METHOD setPixmap( pPixmap )
METHOD setShapeMode( nMode )
METHOD setTransformationMode( nMode )
METHOD shapeMode()
METHOD transformationMode()
ENDCLASS
METHOD QGraphicsPixmapItem:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsPixmapItem( ... )
RETURN Self
METHOD QGraphicsPixmapItem:offset()
RETURN Qt_QGraphicsPixmapItem_offset( ::pPtr )
METHOD QGraphicsPixmapItem:pixmap()
RETURN Qt_QGraphicsPixmapItem_pixmap( ::pPtr )
METHOD QGraphicsPixmapItem:setOffset( pOffset )
RETURN Qt_QGraphicsPixmapItem_setOffset( ::pPtr, hbqt_ptr( pOffset ) )
METHOD QGraphicsPixmapItem:setOffset_1( nX, nY )
RETURN Qt_QGraphicsPixmapItem_setOffset_1( ::pPtr, nX, nY )
METHOD QGraphicsPixmapItem:setPixmap( pPixmap )
RETURN Qt_QGraphicsPixmapItem_setPixmap( ::pPtr, hbqt_ptr( pPixmap ) )
METHOD QGraphicsPixmapItem:setShapeMode( nMode )
RETURN Qt_QGraphicsPixmapItem_setShapeMode( ::pPtr, nMode )
METHOD QGraphicsPixmapItem:setTransformationMode( nMode )
RETURN Qt_QGraphicsPixmapItem_setTransformationMode( ::pPtr, nMode )
METHOD QGraphicsPixmapItem:shapeMode()
RETURN Qt_QGraphicsPixmapItem_shapeMode( ::pPtr )
METHOD QGraphicsPixmapItem:transformationMode()
RETURN Qt_QGraphicsPixmapItem_transformationMode( ::pPtr )

View File

@@ -0,0 +1,101 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsPolygonItem INHERIT HbQtObjectHandler, QAbstractGraphicsShapeItem
METHOD new( ... )
METHOD fillRule()
METHOD polygon()
METHOD setFillRule( nRule )
METHOD setPolygon( pPolygon )
ENDCLASS
METHOD QGraphicsPolygonItem:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsPolygonItem( ... )
RETURN Self
METHOD QGraphicsPolygonItem:fillRule()
RETURN Qt_QGraphicsPolygonItem_fillRule( ::pPtr )
METHOD QGraphicsPolygonItem:polygon()
RETURN Qt_QGraphicsPolygonItem_polygon( ::pPtr )
METHOD QGraphicsPolygonItem:setFillRule( nRule )
RETURN Qt_QGraphicsPolygonItem_setFillRule( ::pPtr, nRule )
METHOD QGraphicsPolygonItem:setPolygon( pPolygon )
RETURN Qt_QGraphicsPolygonItem_setPolygon( ::pPtr, hbqt_ptr( pPolygon ) )

View File

@@ -0,0 +1,101 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsProxyWidget INHERIT HbQtObjectHandler, QGraphicsWidget
METHOD new( ... )
METHOD createProxyForChildWidget( pChild )
METHOD setWidget( pWidget )
METHOD subWidgetRect( pWidget )
METHOD widget()
ENDCLASS
METHOD QGraphicsProxyWidget:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsProxyWidget( ... )
RETURN Self
METHOD QGraphicsProxyWidget:createProxyForChildWidget( pChild )
RETURN Qt_QGraphicsProxyWidget_createProxyForChildWidget( ::pPtr, hbqt_ptr( pChild ) )
METHOD QGraphicsProxyWidget:setWidget( pWidget )
RETURN Qt_QGraphicsProxyWidget_setWidget( ::pPtr, hbqt_ptr( pWidget ) )
METHOD QGraphicsProxyWidget:subWidgetRect( pWidget )
RETURN Qt_QGraphicsProxyWidget_subWidgetRect( ::pPtr, hbqt_ptr( pWidget ) )
METHOD QGraphicsProxyWidget:widget()
RETURN Qt_QGraphicsProxyWidget_widget( ::pPtr )

View File

@@ -0,0 +1,96 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsRectItem INHERIT HbQtObjectHandler, QAbstractGraphicsShapeItem
METHOD new( ... )
METHOD rect()
METHOD setRect( pRectangle )
METHOD setRect_1( nX, nY, nWidth, nHeight )
ENDCLASS
METHOD QGraphicsRectItem:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsRectItem( ... )
RETURN Self
METHOD QGraphicsRectItem:rect()
RETURN Qt_QGraphicsRectItem_rect( ::pPtr )
METHOD QGraphicsRectItem:setRect( pRectangle )
RETURN Qt_QGraphicsRectItem_setRect( ::pPtr, hbqt_ptr( pRectangle ) )
METHOD QGraphicsRectItem:setRect_1( nX, nY, nWidth, nHeight )
RETURN Qt_QGraphicsRectItem_setRect_1( ::pPtr, nX, nY, nWidth, nHeight )

View File

@@ -0,0 +1,426 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsScene INHERIT HbQtObjectHandler, QObject
METHOD new( ... )
METHOD activeWindow()
METHOD addEllipse( pRect, pPen, pBrush )
METHOD addEllipse_1( nX, nY, nW, nH, pPen, pBrush )
METHOD addItem( pItem )
METHOD addLine( pLine, pPen )
METHOD addLine_1( nX1, nY1, nX2, nY2, pPen )
METHOD addPath( pPath, pPen, pBrush )
METHOD addPixmap( pPixmap )
METHOD addPolygon( pPolygon, pPen, pBrush )
METHOD addRect( pRect, pPen, pBrush )
METHOD addRect_1( nX, nY, nW, nH, pPen, pBrush )
METHOD addSimpleText( cText, pFont )
METHOD addText( cText, pFont )
METHOD addWidget( pWidget, nWFlags )
METHOD backgroundBrush()
METHOD bspTreeDepth()
METHOD clearFocus()
METHOD collidingItems( pItem, nMode )
METHOD destroyItemGroup( pGroup )
METHOD focusItem()
METHOD font()
METHOD foregroundBrush()
METHOD hasFocus()
METHOD height()
METHOD invalidate( nX, nY, nW, nH, nLayers )
METHOD isSortCacheEnabled()
METHOD itemAt( pPosition )
METHOD itemAt_1( nX, nY )
METHOD itemIndexMethod()
METHOD items()
METHOD items_1( pPos )
METHOD items_2( nX, nY, nW, nH, nMode )
METHOD items_3( pRectangle, nMode )
METHOD items_4( pPolygon, nMode )
METHOD items_5( pPath, nMode )
METHOD itemsBoundingRect()
METHOD mouseGrabberItem()
METHOD palette()
METHOD removeItem( pItem )
METHOD render( pPainter, pTarget, pSource, nAspectRatioMode )
METHOD sceneRect()
METHOD selectedItems()
METHOD selectionArea()
METHOD setActiveWindow( pWidget )
METHOD setBackgroundBrush( pBrush )
METHOD setBspTreeDepth( nDepth )
METHOD setFocus( nFocusReason )
METHOD setFocusItem( pItem, nFocusReason )
METHOD setFont( pFont )
METHOD setForegroundBrush( pBrush )
METHOD setItemIndexMethod( nMethod )
METHOD setPalette( pPalette )
METHOD setSceneRect( pRect )
METHOD setSceneRect_1( nX, nY, nW, nH )
METHOD setSelectionArea( pPath )
METHOD setSelectionArea_1( pPath, nMode )
METHOD setSortCacheEnabled( lEnabled )
METHOD setStickyFocus( lEnabled )
METHOD setStyle( pStyle )
METHOD stickyFocus()
METHOD style()
METHOD update( nX, nY, nW, nH )
METHOD views()
METHOD width()
METHOD advance()
METHOD clear()
METHOD clearSelection()
METHOD invalidate_1( pRect, nLayers )
METHOD update_1( pRect )
ENDCLASS
METHOD QGraphicsScene:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsScene( ... )
RETURN Self
METHOD QGraphicsScene:activeWindow()
RETURN Qt_QGraphicsScene_activeWindow( ::pPtr )
METHOD QGraphicsScene:addEllipse( pRect, pPen, pBrush )
RETURN Qt_QGraphicsScene_addEllipse( ::pPtr, hbqt_ptr( pRect ), hbqt_ptr( pPen ), hbqt_ptr( pBrush ) )
METHOD QGraphicsScene:addEllipse_1( nX, nY, nW, nH, pPen, pBrush )
RETURN Qt_QGraphicsScene_addEllipse_1( ::pPtr, nX, nY, nW, nH, hbqt_ptr( pPen ), hbqt_ptr( pBrush ) )
METHOD QGraphicsScene:addItem( pItem )
RETURN Qt_QGraphicsScene_addItem( ::pPtr, hbqt_ptr( pItem ) )
METHOD QGraphicsScene:addLine( pLine, pPen )
RETURN Qt_QGraphicsScene_addLine( ::pPtr, hbqt_ptr( pLine ), hbqt_ptr( pPen ) )
METHOD QGraphicsScene:addLine_1( nX1, nY1, nX2, nY2, pPen )
RETURN Qt_QGraphicsScene_addLine_1( ::pPtr, nX1, nY1, nX2, nY2, hbqt_ptr( pPen ) )
METHOD QGraphicsScene:addPath( pPath, pPen, pBrush )
RETURN Qt_QGraphicsScene_addPath( ::pPtr, hbqt_ptr( pPath ), hbqt_ptr( pPen ), hbqt_ptr( pBrush ) )
METHOD QGraphicsScene:addPixmap( pPixmap )
RETURN Qt_QGraphicsScene_addPixmap( ::pPtr, hbqt_ptr( pPixmap ) )
METHOD QGraphicsScene:addPolygon( pPolygon, pPen, pBrush )
RETURN Qt_QGraphicsScene_addPolygon( ::pPtr, hbqt_ptr( pPolygon ), hbqt_ptr( pPen ), hbqt_ptr( pBrush ) )
METHOD QGraphicsScene:addRect( pRect, pPen, pBrush )
RETURN Qt_QGraphicsScene_addRect( ::pPtr, hbqt_ptr( pRect ), hbqt_ptr( pPen ), hbqt_ptr( pBrush ) )
METHOD QGraphicsScene:addRect_1( nX, nY, nW, nH, pPen, pBrush )
RETURN Qt_QGraphicsScene_addRect_1( ::pPtr, nX, nY, nW, nH, hbqt_ptr( pPen ), hbqt_ptr( pBrush ) )
METHOD QGraphicsScene:addSimpleText( cText, pFont )
RETURN Qt_QGraphicsScene_addSimpleText( ::pPtr, cText, hbqt_ptr( pFont ) )
METHOD QGraphicsScene:addText( cText, pFont )
RETURN Qt_QGraphicsScene_addText( ::pPtr, cText, hbqt_ptr( pFont ) )
METHOD QGraphicsScene:addWidget( pWidget, nWFlags )
RETURN Qt_QGraphicsScene_addWidget( ::pPtr, hbqt_ptr( pWidget ), nWFlags )
METHOD QGraphicsScene:backgroundBrush()
RETURN Qt_QGraphicsScene_backgroundBrush( ::pPtr )
METHOD QGraphicsScene:bspTreeDepth()
RETURN Qt_QGraphicsScene_bspTreeDepth( ::pPtr )
METHOD QGraphicsScene:clearFocus()
RETURN Qt_QGraphicsScene_clearFocus( ::pPtr )
METHOD QGraphicsScene:collidingItems( pItem, nMode )
RETURN Qt_QGraphicsScene_collidingItems( ::pPtr, hbqt_ptr( pItem ), nMode )
METHOD QGraphicsScene:destroyItemGroup( pGroup )
RETURN Qt_QGraphicsScene_destroyItemGroup( ::pPtr, hbqt_ptr( pGroup ) )
METHOD QGraphicsScene:focusItem()
RETURN Qt_QGraphicsScene_focusItem( ::pPtr )
METHOD QGraphicsScene:font()
RETURN Qt_QGraphicsScene_font( ::pPtr )
METHOD QGraphicsScene:foregroundBrush()
RETURN Qt_QGraphicsScene_foregroundBrush( ::pPtr )
METHOD QGraphicsScene:hasFocus()
RETURN Qt_QGraphicsScene_hasFocus( ::pPtr )
METHOD QGraphicsScene:height()
RETURN Qt_QGraphicsScene_height( ::pPtr )
METHOD QGraphicsScene:invalidate( nX, nY, nW, nH, nLayers )
RETURN Qt_QGraphicsScene_invalidate( ::pPtr, nX, nY, nW, nH, nLayers )
METHOD QGraphicsScene:isSortCacheEnabled()
RETURN Qt_QGraphicsScene_isSortCacheEnabled( ::pPtr )
METHOD QGraphicsScene:itemAt( pPosition )
RETURN Qt_QGraphicsScene_itemAt( ::pPtr, hbqt_ptr( pPosition ) )
METHOD QGraphicsScene:itemAt_1( nX, nY )
RETURN Qt_QGraphicsScene_itemAt_1( ::pPtr, nX, nY )
METHOD QGraphicsScene:itemIndexMethod()
RETURN Qt_QGraphicsScene_itemIndexMethod( ::pPtr )
METHOD QGraphicsScene:items()
RETURN Qt_QGraphicsScene_items( ::pPtr )
METHOD QGraphicsScene:items_1( pPos )
RETURN Qt_QGraphicsScene_items_1( ::pPtr, hbqt_ptr( pPos ) )
METHOD QGraphicsScene:items_2( nX, nY, nW, nH, nMode )
RETURN Qt_QGraphicsScene_items_2( ::pPtr, nX, nY, nW, nH, nMode )
METHOD QGraphicsScene:items_3( pRectangle, nMode )
RETURN Qt_QGraphicsScene_items_3( ::pPtr, hbqt_ptr( pRectangle ), nMode )
METHOD QGraphicsScene:items_4( pPolygon, nMode )
RETURN Qt_QGraphicsScene_items_4( ::pPtr, hbqt_ptr( pPolygon ), nMode )
METHOD QGraphicsScene:items_5( pPath, nMode )
RETURN Qt_QGraphicsScene_items_5( ::pPtr, hbqt_ptr( pPath ), nMode )
METHOD QGraphicsScene:itemsBoundingRect()
RETURN Qt_QGraphicsScene_itemsBoundingRect( ::pPtr )
METHOD QGraphicsScene:mouseGrabberItem()
RETURN Qt_QGraphicsScene_mouseGrabberItem( ::pPtr )
METHOD QGraphicsScene:palette()
RETURN Qt_QGraphicsScene_palette( ::pPtr )
METHOD QGraphicsScene:removeItem( pItem )
RETURN Qt_QGraphicsScene_removeItem( ::pPtr, hbqt_ptr( pItem ) )
METHOD QGraphicsScene:render( pPainter, pTarget, pSource, nAspectRatioMode )
RETURN Qt_QGraphicsScene_render( ::pPtr, hbqt_ptr( pPainter ), hbqt_ptr( pTarget ), hbqt_ptr( pSource ), nAspectRatioMode )
METHOD QGraphicsScene:sceneRect()
RETURN Qt_QGraphicsScene_sceneRect( ::pPtr )
METHOD QGraphicsScene:selectedItems()
RETURN Qt_QGraphicsScene_selectedItems( ::pPtr )
METHOD QGraphicsScene:selectionArea()
RETURN Qt_QGraphicsScene_selectionArea( ::pPtr )
METHOD QGraphicsScene:setActiveWindow( pWidget )
RETURN Qt_QGraphicsScene_setActiveWindow( ::pPtr, hbqt_ptr( pWidget ) )
METHOD QGraphicsScene:setBackgroundBrush( pBrush )
RETURN Qt_QGraphicsScene_setBackgroundBrush( ::pPtr, hbqt_ptr( pBrush ) )
METHOD QGraphicsScene:setBspTreeDepth( nDepth )
RETURN Qt_QGraphicsScene_setBspTreeDepth( ::pPtr, nDepth )
METHOD QGraphicsScene:setFocus( nFocusReason )
RETURN Qt_QGraphicsScene_setFocus( ::pPtr, nFocusReason )
METHOD QGraphicsScene:setFocusItem( pItem, nFocusReason )
RETURN Qt_QGraphicsScene_setFocusItem( ::pPtr, hbqt_ptr( pItem ), nFocusReason )
METHOD QGraphicsScene:setFont( pFont )
RETURN Qt_QGraphicsScene_setFont( ::pPtr, hbqt_ptr( pFont ) )
METHOD QGraphicsScene:setForegroundBrush( pBrush )
RETURN Qt_QGraphicsScene_setForegroundBrush( ::pPtr, hbqt_ptr( pBrush ) )
METHOD QGraphicsScene:setItemIndexMethod( nMethod )
RETURN Qt_QGraphicsScene_setItemIndexMethod( ::pPtr, nMethod )
METHOD QGraphicsScene:setPalette( pPalette )
RETURN Qt_QGraphicsScene_setPalette( ::pPtr, hbqt_ptr( pPalette ) )
METHOD QGraphicsScene:setSceneRect( pRect )
RETURN Qt_QGraphicsScene_setSceneRect( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsScene:setSceneRect_1( nX, nY, nW, nH )
RETURN Qt_QGraphicsScene_setSceneRect_1( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsScene:setSelectionArea( pPath )
RETURN Qt_QGraphicsScene_setSelectionArea( ::pPtr, hbqt_ptr( pPath ) )
METHOD QGraphicsScene:setSelectionArea_1( pPath, nMode )
RETURN Qt_QGraphicsScene_setSelectionArea_1( ::pPtr, hbqt_ptr( pPath ), nMode )
METHOD QGraphicsScene:setSortCacheEnabled( lEnabled )
RETURN Qt_QGraphicsScene_setSortCacheEnabled( ::pPtr, lEnabled )
METHOD QGraphicsScene:setStickyFocus( lEnabled )
RETURN Qt_QGraphicsScene_setStickyFocus( ::pPtr, lEnabled )
METHOD QGraphicsScene:setStyle( pStyle )
RETURN Qt_QGraphicsScene_setStyle( ::pPtr, hbqt_ptr( pStyle ) )
METHOD QGraphicsScene:stickyFocus()
RETURN Qt_QGraphicsScene_stickyFocus( ::pPtr )
METHOD QGraphicsScene:style()
RETURN Qt_QGraphicsScene_style( ::pPtr )
METHOD QGraphicsScene:update( nX, nY, nW, nH )
RETURN Qt_QGraphicsScene_update( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsScene:views()
RETURN Qt_QGraphicsScene_views( ::pPtr )
METHOD QGraphicsScene:width()
RETURN Qt_QGraphicsScene_width( ::pPtr )
METHOD QGraphicsScene:advance()
RETURN Qt_QGraphicsScene_advance( ::pPtr )
METHOD QGraphicsScene:clear()
RETURN Qt_QGraphicsScene_clear( ::pPtr )
METHOD QGraphicsScene:clearSelection()
RETURN Qt_QGraphicsScene_clearSelection( ::pPtr )
METHOD QGraphicsScene:invalidate_1( pRect, nLayers )
RETURN Qt_QGraphicsScene_invalidate_1( ::pPtr, hbqt_ptr( pRect ), nLayers )
METHOD QGraphicsScene:update_1( pRect )
RETURN Qt_QGraphicsScene_update_1( ::pPtr, hbqt_ptr( pRect ) )

View File

@@ -0,0 +1,101 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsSimpleTextItem INHERIT HbQtObjectHandler, QAbstractGraphicsShapeItem
METHOD new( ... )
METHOD font()
METHOD setFont( pFont )
METHOD setText( cText )
METHOD text()
ENDCLASS
METHOD QGraphicsSimpleTextItem:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsSimpleTextItem( ... )
RETURN Self
METHOD QGraphicsSimpleTextItem:font()
RETURN Qt_QGraphicsSimpleTextItem_font( ::pPtr )
METHOD QGraphicsSimpleTextItem:setFont( pFont )
RETURN Qt_QGraphicsSimpleTextItem_setFont( ::pPtr, hbqt_ptr( pFont ) )
METHOD QGraphicsSimpleTextItem:setText( cText )
RETURN Qt_QGraphicsSimpleTextItem_setText( ::pPtr, cText )
METHOD QGraphicsSimpleTextItem:text()
RETURN Qt_QGraphicsSimpleTextItem_text( ::pPtr )

View File

@@ -0,0 +1,186 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsTextItem INHERIT HbQtObjectHandler, QObject, QGraphicsItem
METHOD new( ... )
METHOD adjustSize()
METHOD defaultTextColor()
METHOD document()
METHOD font()
METHOD openExternalLinks()
METHOD setDefaultTextColor( pCol )
METHOD setDocument( pDocument )
METHOD setFont( pFont )
METHOD setHtml( cText )
METHOD setOpenExternalLinks( lOpen )
METHOD setPlainText( cText )
METHOD setTabChangesFocus( lB )
METHOD setTextCursor( pCursor )
METHOD setTextInteractionFlags( nFlags )
METHOD setTextWidth( nWidth )
METHOD tabChangesFocus()
METHOD textCursor()
METHOD textInteractionFlags()
METHOD textWidth()
METHOD toHtml()
METHOD toPlainText()
ENDCLASS
METHOD QGraphicsTextItem:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsTextItem( ... )
RETURN Self
METHOD QGraphicsTextItem:adjustSize()
RETURN Qt_QGraphicsTextItem_adjustSize( ::pPtr )
METHOD QGraphicsTextItem:defaultTextColor()
RETURN Qt_QGraphicsTextItem_defaultTextColor( ::pPtr )
METHOD QGraphicsTextItem:document()
RETURN Qt_QGraphicsTextItem_document( ::pPtr )
METHOD QGraphicsTextItem:font()
RETURN Qt_QGraphicsTextItem_font( ::pPtr )
METHOD QGraphicsTextItem:openExternalLinks()
RETURN Qt_QGraphicsTextItem_openExternalLinks( ::pPtr )
METHOD QGraphicsTextItem:setDefaultTextColor( pCol )
RETURN Qt_QGraphicsTextItem_setDefaultTextColor( ::pPtr, hbqt_ptr( pCol ) )
METHOD QGraphicsTextItem:setDocument( pDocument )
RETURN Qt_QGraphicsTextItem_setDocument( ::pPtr, hbqt_ptr( pDocument ) )
METHOD QGraphicsTextItem:setFont( pFont )
RETURN Qt_QGraphicsTextItem_setFont( ::pPtr, hbqt_ptr( pFont ) )
METHOD QGraphicsTextItem:setHtml( cText )
RETURN Qt_QGraphicsTextItem_setHtml( ::pPtr, cText )
METHOD QGraphicsTextItem:setOpenExternalLinks( lOpen )
RETURN Qt_QGraphicsTextItem_setOpenExternalLinks( ::pPtr, lOpen )
METHOD QGraphicsTextItem:setPlainText( cText )
RETURN Qt_QGraphicsTextItem_setPlainText( ::pPtr, cText )
METHOD QGraphicsTextItem:setTabChangesFocus( lB )
RETURN Qt_QGraphicsTextItem_setTabChangesFocus( ::pPtr, lB )
METHOD QGraphicsTextItem:setTextCursor( pCursor )
RETURN Qt_QGraphicsTextItem_setTextCursor( ::pPtr, hbqt_ptr( pCursor ) )
METHOD QGraphicsTextItem:setTextInteractionFlags( nFlags )
RETURN Qt_QGraphicsTextItem_setTextInteractionFlags( ::pPtr, nFlags )
METHOD QGraphicsTextItem:setTextWidth( nWidth )
RETURN Qt_QGraphicsTextItem_setTextWidth( ::pPtr, nWidth )
METHOD QGraphicsTextItem:tabChangesFocus()
RETURN Qt_QGraphicsTextItem_tabChangesFocus( ::pPtr )
METHOD QGraphicsTextItem:textCursor()
RETURN Qt_QGraphicsTextItem_textCursor( ::pPtr )
METHOD QGraphicsTextItem:textInteractionFlags()
RETURN Qt_QGraphicsTextItem_textInteractionFlags( ::pPtr )
METHOD QGraphicsTextItem:textWidth()
RETURN Qt_QGraphicsTextItem_textWidth( ::pPtr )
METHOD QGraphicsTextItem:toHtml()
RETURN Qt_QGraphicsTextItem_toHtml( ::pPtr )
METHOD QGraphicsTextItem:toPlainText()
RETURN Qt_QGraphicsTextItem_toPlainText( ::pPtr )

View File

@@ -0,0 +1,461 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsView INHERIT HbQtObjectHandler, QAbstractScrollArea
METHOD new( ... )
METHOD alignment()
METHOD backgroundBrush()
METHOD cacheMode()
METHOD centerOn( pPos )
METHOD centerOn_1( nX, nY )
METHOD centerOn_2( pItem )
METHOD dragMode()
METHOD ensureVisible( pRect, nXmargin, nYmargin )
METHOD ensureVisible_1( nX, nY, nW, nH, nXmargin, nYmargin )
METHOD ensureVisible_2( pItem, nXmargin, nYmargin )
METHOD fitInView( pRect, nAspectRatioMode )
METHOD fitInView_1( nX, nY, nW, nH, nAspectRatioMode )
METHOD fitInView_2( pItem, nAspectRatioMode )
METHOD foregroundBrush()
METHOD isInteractive()
METHOD itemAt( pPos )
METHOD itemAt_1( nX, nY )
METHOD items()
METHOD items_1( pPos )
METHOD items_2( nX, nY )
METHOD items_3( nX, nY, nW, nH, nMode )
METHOD items_4( pRect, nMode )
METHOD items_5( pPolygon, nMode )
METHOD items_6( pPath, nMode )
METHOD mapFromScene( pPoint )
METHOD mapFromScene_1( pRect )
METHOD mapFromScene_2( pPolygon )
METHOD mapFromScene_3( pPath )
METHOD mapFromScene_4( nX, nY )
METHOD mapFromScene_5( nX, nY, nW, nH )
METHOD mapToScene( pPoint )
METHOD mapToScene_1( pRect )
METHOD mapToScene_2( pPolygon )
METHOD mapToScene_3( pPath )
METHOD mapToScene_4( nX, nY )
METHOD mapToScene_5( nX, nY, nW, nH )
METHOD matrix()
METHOD optimizationFlags()
METHOD render( pPainter, pTarget, pSource, nAspectRatioMode )
METHOD renderHints()
METHOD resetCachedContent()
METHOD resetMatrix()
METHOD resetTransform()
METHOD resizeAnchor()
METHOD rotate( nAngle )
METHOD rubberBandSelectionMode()
METHOD scale( nSx, nSy )
METHOD scene()
METHOD sceneRect()
METHOD setAlignment( nAlignment )
METHOD setBackgroundBrush( pBrush )
METHOD setCacheMode( nMode )
METHOD setDragMode( nMode )
METHOD setForegroundBrush( pBrush )
METHOD setInteractive( lAllowed )
METHOD setMatrix( pMatrix, lCombine )
METHOD setOptimizationFlag( nFlag, lEnabled )
METHOD setOptimizationFlags( nFlags )
METHOD setRenderHint( nHint, lEnabled )
METHOD setRenderHints( nHints )
METHOD setResizeAnchor( nAnchor )
METHOD setRubberBandSelectionMode( nMode )
METHOD setScene( pScene )
METHOD setSceneRect( pRect )
METHOD setSceneRect_1( nX, nY, nW, nH )
METHOD setTransform( pMatrix, lCombine )
METHOD setTransformationAnchor( nAnchor )
METHOD setViewportUpdateMode( nMode )
METHOD shear( nSh, nSv )
METHOD transform()
METHOD transformationAnchor()
METHOD translate( nDx, nDy )
METHOD viewportTransform()
METHOD viewportUpdateMode()
METHOD invalidateScene( pRect, nLayers )
METHOD updateSceneRect( pRect )
ENDCLASS
METHOD QGraphicsView:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsView( ... )
RETURN Self
METHOD QGraphicsView:alignment()
RETURN Qt_QGraphicsView_alignment( ::pPtr )
METHOD QGraphicsView:backgroundBrush()
RETURN Qt_QGraphicsView_backgroundBrush( ::pPtr )
METHOD QGraphicsView:cacheMode()
RETURN Qt_QGraphicsView_cacheMode( ::pPtr )
METHOD QGraphicsView:centerOn( pPos )
RETURN Qt_QGraphicsView_centerOn( ::pPtr, hbqt_ptr( pPos ) )
METHOD QGraphicsView:centerOn_1( nX, nY )
RETURN Qt_QGraphicsView_centerOn_1( ::pPtr, nX, nY )
METHOD QGraphicsView:centerOn_2( pItem )
RETURN Qt_QGraphicsView_centerOn_2( ::pPtr, hbqt_ptr( pItem ) )
METHOD QGraphicsView:dragMode()
RETURN Qt_QGraphicsView_dragMode( ::pPtr )
METHOD QGraphicsView:ensureVisible( pRect, nXmargin, nYmargin )
RETURN Qt_QGraphicsView_ensureVisible( ::pPtr, hbqt_ptr( pRect ), nXmargin, nYmargin )
METHOD QGraphicsView:ensureVisible_1( nX, nY, nW, nH, nXmargin, nYmargin )
RETURN Qt_QGraphicsView_ensureVisible_1( ::pPtr, nX, nY, nW, nH, nXmargin, nYmargin )
METHOD QGraphicsView:ensureVisible_2( pItem, nXmargin, nYmargin )
RETURN Qt_QGraphicsView_ensureVisible_2( ::pPtr, hbqt_ptr( pItem ), nXmargin, nYmargin )
METHOD QGraphicsView:fitInView( pRect, nAspectRatioMode )
RETURN Qt_QGraphicsView_fitInView( ::pPtr, hbqt_ptr( pRect ), nAspectRatioMode )
METHOD QGraphicsView:fitInView_1( nX, nY, nW, nH, nAspectRatioMode )
RETURN Qt_QGraphicsView_fitInView_1( ::pPtr, nX, nY, nW, nH, nAspectRatioMode )
METHOD QGraphicsView:fitInView_2( pItem, nAspectRatioMode )
RETURN Qt_QGraphicsView_fitInView_2( ::pPtr, hbqt_ptr( pItem ), nAspectRatioMode )
METHOD QGraphicsView:foregroundBrush()
RETURN Qt_QGraphicsView_foregroundBrush( ::pPtr )
METHOD QGraphicsView:isInteractive()
RETURN Qt_QGraphicsView_isInteractive( ::pPtr )
METHOD QGraphicsView:itemAt( pPos )
RETURN Qt_QGraphicsView_itemAt( ::pPtr, hbqt_ptr( pPos ) )
METHOD QGraphicsView:itemAt_1( nX, nY )
RETURN Qt_QGraphicsView_itemAt_1( ::pPtr, nX, nY )
METHOD QGraphicsView:items()
RETURN Qt_QGraphicsView_items( ::pPtr )
METHOD QGraphicsView:items_1( pPos )
RETURN Qt_QGraphicsView_items_1( ::pPtr, hbqt_ptr( pPos ) )
METHOD QGraphicsView:items_2( nX, nY )
RETURN Qt_QGraphicsView_items_2( ::pPtr, nX, nY )
METHOD QGraphicsView:items_3( nX, nY, nW, nH, nMode )
RETURN Qt_QGraphicsView_items_3( ::pPtr, nX, nY, nW, nH, nMode )
METHOD QGraphicsView:items_4( pRect, nMode )
RETURN Qt_QGraphicsView_items_4( ::pPtr, hbqt_ptr( pRect ), nMode )
METHOD QGraphicsView:items_5( pPolygon, nMode )
RETURN Qt_QGraphicsView_items_5( ::pPtr, hbqt_ptr( pPolygon ), nMode )
METHOD QGraphicsView:items_6( pPath, nMode )
RETURN Qt_QGraphicsView_items_6( ::pPtr, hbqt_ptr( pPath ), nMode )
METHOD QGraphicsView:mapFromScene( pPoint )
RETURN Qt_QGraphicsView_mapFromScene( ::pPtr, hbqt_ptr( pPoint ) )
METHOD QGraphicsView:mapFromScene_1( pRect )
RETURN Qt_QGraphicsView_mapFromScene_1( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsView:mapFromScene_2( pPolygon )
RETURN Qt_QGraphicsView_mapFromScene_2( ::pPtr, hbqt_ptr( pPolygon ) )
METHOD QGraphicsView:mapFromScene_3( pPath )
RETURN Qt_QGraphicsView_mapFromScene_3( ::pPtr, hbqt_ptr( pPath ) )
METHOD QGraphicsView:mapFromScene_4( nX, nY )
RETURN Qt_QGraphicsView_mapFromScene_4( ::pPtr, nX, nY )
METHOD QGraphicsView:mapFromScene_5( nX, nY, nW, nH )
RETURN Qt_QGraphicsView_mapFromScene_5( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsView:mapToScene( pPoint )
RETURN Qt_QGraphicsView_mapToScene( ::pPtr, hbqt_ptr( pPoint ) )
METHOD QGraphicsView:mapToScene_1( pRect )
RETURN Qt_QGraphicsView_mapToScene_1( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsView:mapToScene_2( pPolygon )
RETURN Qt_QGraphicsView_mapToScene_2( ::pPtr, hbqt_ptr( pPolygon ) )
METHOD QGraphicsView:mapToScene_3( pPath )
RETURN Qt_QGraphicsView_mapToScene_3( ::pPtr, hbqt_ptr( pPath ) )
METHOD QGraphicsView:mapToScene_4( nX, nY )
RETURN Qt_QGraphicsView_mapToScene_4( ::pPtr, nX, nY )
METHOD QGraphicsView:mapToScene_5( nX, nY, nW, nH )
RETURN Qt_QGraphicsView_mapToScene_5( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsView:matrix()
RETURN Qt_QGraphicsView_matrix( ::pPtr )
METHOD QGraphicsView:optimizationFlags()
RETURN Qt_QGraphicsView_optimizationFlags( ::pPtr )
METHOD QGraphicsView:render( pPainter, pTarget, pSource, nAspectRatioMode )
RETURN Qt_QGraphicsView_render( ::pPtr, hbqt_ptr( pPainter ), hbqt_ptr( pTarget ), hbqt_ptr( pSource ), nAspectRatioMode )
METHOD QGraphicsView:renderHints()
RETURN Qt_QGraphicsView_renderHints( ::pPtr )
METHOD QGraphicsView:resetCachedContent()
RETURN Qt_QGraphicsView_resetCachedContent( ::pPtr )
METHOD QGraphicsView:resetMatrix()
RETURN Qt_QGraphicsView_resetMatrix( ::pPtr )
METHOD QGraphicsView:resetTransform()
RETURN Qt_QGraphicsView_resetTransform( ::pPtr )
METHOD QGraphicsView:resizeAnchor()
RETURN Qt_QGraphicsView_resizeAnchor( ::pPtr )
METHOD QGraphicsView:rotate( nAngle )
RETURN Qt_QGraphicsView_rotate( ::pPtr, nAngle )
METHOD QGraphicsView:rubberBandSelectionMode()
RETURN Qt_QGraphicsView_rubberBandSelectionMode( ::pPtr )
METHOD QGraphicsView:scale( nSx, nSy )
RETURN Qt_QGraphicsView_scale( ::pPtr, nSx, nSy )
METHOD QGraphicsView:scene()
RETURN Qt_QGraphicsView_scene( ::pPtr )
METHOD QGraphicsView:sceneRect()
RETURN Qt_QGraphicsView_sceneRect( ::pPtr )
METHOD QGraphicsView:setAlignment( nAlignment )
RETURN Qt_QGraphicsView_setAlignment( ::pPtr, nAlignment )
METHOD QGraphicsView:setBackgroundBrush( pBrush )
RETURN Qt_QGraphicsView_setBackgroundBrush( ::pPtr, hbqt_ptr( pBrush ) )
METHOD QGraphicsView:setCacheMode( nMode )
RETURN Qt_QGraphicsView_setCacheMode( ::pPtr, nMode )
METHOD QGraphicsView:setDragMode( nMode )
RETURN Qt_QGraphicsView_setDragMode( ::pPtr, nMode )
METHOD QGraphicsView:setForegroundBrush( pBrush )
RETURN Qt_QGraphicsView_setForegroundBrush( ::pPtr, hbqt_ptr( pBrush ) )
METHOD QGraphicsView:setInteractive( lAllowed )
RETURN Qt_QGraphicsView_setInteractive( ::pPtr, lAllowed )
METHOD QGraphicsView:setMatrix( pMatrix, lCombine )
RETURN Qt_QGraphicsView_setMatrix( ::pPtr, hbqt_ptr( pMatrix ), lCombine )
METHOD QGraphicsView:setOptimizationFlag( nFlag, lEnabled )
RETURN Qt_QGraphicsView_setOptimizationFlag( ::pPtr, nFlag, lEnabled )
METHOD QGraphicsView:setOptimizationFlags( nFlags )
RETURN Qt_QGraphicsView_setOptimizationFlags( ::pPtr, nFlags )
METHOD QGraphicsView:setRenderHint( nHint, lEnabled )
RETURN Qt_QGraphicsView_setRenderHint( ::pPtr, nHint, lEnabled )
METHOD QGraphicsView:setRenderHints( nHints )
RETURN Qt_QGraphicsView_setRenderHints( ::pPtr, nHints )
METHOD QGraphicsView:setResizeAnchor( nAnchor )
RETURN Qt_QGraphicsView_setResizeAnchor( ::pPtr, nAnchor )
METHOD QGraphicsView:setRubberBandSelectionMode( nMode )
RETURN Qt_QGraphicsView_setRubberBandSelectionMode( ::pPtr, nMode )
METHOD QGraphicsView:setScene( pScene )
RETURN Qt_QGraphicsView_setScene( ::pPtr, hbqt_ptr( pScene ) )
METHOD QGraphicsView:setSceneRect( pRect )
RETURN Qt_QGraphicsView_setSceneRect( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsView:setSceneRect_1( nX, nY, nW, nH )
RETURN Qt_QGraphicsView_setSceneRect_1( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsView:setTransform( pMatrix, lCombine )
RETURN Qt_QGraphicsView_setTransform( ::pPtr, hbqt_ptr( pMatrix ), lCombine )
METHOD QGraphicsView:setTransformationAnchor( nAnchor )
RETURN Qt_QGraphicsView_setTransformationAnchor( ::pPtr, nAnchor )
METHOD QGraphicsView:setViewportUpdateMode( nMode )
RETURN Qt_QGraphicsView_setViewportUpdateMode( ::pPtr, nMode )
METHOD QGraphicsView:shear( nSh, nSv )
RETURN Qt_QGraphicsView_shear( ::pPtr, nSh, nSv )
METHOD QGraphicsView:transform()
RETURN Qt_QGraphicsView_transform( ::pPtr )
METHOD QGraphicsView:transformationAnchor()
RETURN Qt_QGraphicsView_transformationAnchor( ::pPtr )
METHOD QGraphicsView:translate( nDx, nDy )
RETURN Qt_QGraphicsView_translate( ::pPtr, nDx, nDy )
METHOD QGraphicsView:viewportTransform()
RETURN Qt_QGraphicsView_viewportTransform( ::pPtr )
METHOD QGraphicsView:viewportUpdateMode()
RETURN Qt_QGraphicsView_viewportUpdateMode( ::pPtr )
METHOD QGraphicsView:invalidateScene( pRect, nLayers )
RETURN Qt_QGraphicsView_invalidateScene( ::pPtr, hbqt_ptr( pRect ), nLayers )
METHOD QGraphicsView:updateSceneRect( pRect )
RETURN Qt_QGraphicsView_updateSceneRect( ::pPtr, hbqt_ptr( pRect ) )

View File

@@ -0,0 +1,311 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QGraphicsWidget INHERIT HbQtObjectHandler, QObject, QGraphicsItem, QGraphicsLayoutItem
METHOD new( ... )
METHOD actions()
METHOD addAction( pAction )
METHOD adjustSize()
METHOD focusPolicy()
METHOD focusWidget()
METHOD font()
METHOD getContentsMargins( nLeft, nTop, nRight, nBottom )
METHOD getWindowFrameMargins( nLeft, nTop, nRight, nBottom )
METHOD grabShortcut( pSequence, nContext )
METHOD insertAction( pBefore, pAction )
METHOD isActiveWindow()
METHOD layout()
METHOD layoutDirection()
METHOD palette()
METHOD rect()
METHOD releaseShortcut( nId )
METHOD removeAction( pAction )
METHOD resize( pSize )
METHOD resize_1( nW, nH )
METHOD setAttribute( nAttribute, lOn )
METHOD setContentsMargins( nLeft, nTop, nRight, nBottom )
METHOD setFocusPolicy( nPolicy )
METHOD setFont( pFont )
METHOD setGeometry( pRect )
METHOD setGeometry_1( nX, nY, nW, nH )
METHOD setLayout( pLayout )
METHOD setLayoutDirection( nDirection )
METHOD setPalette( pPalette )
METHOD setShortcutAutoRepeat( nId, lEnabled )
METHOD setShortcutEnabled( nId, lEnabled )
METHOD setStyle( pStyle )
METHOD setWindowFlags( nWFlags )
METHOD setWindowFrameMargins( nLeft, nTop, nRight, nBottom )
METHOD setWindowTitle( cTitle )
METHOD size()
METHOD style()
METHOD testAttribute( nAttribute )
METHOD unsetLayoutDirection()
METHOD unsetWindowFrameMargins()
METHOD windowFlags()
METHOD windowFrameGeometry()
METHOD windowFrameRect()
METHOD windowTitle()
METHOD windowType()
METHOD setTabOrder( pFirst, pSecond )
METHOD close()
ENDCLASS
METHOD QGraphicsWidget:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QGraphicsWidget( ... )
RETURN Self
METHOD QGraphicsWidget:actions()
RETURN Qt_QGraphicsWidget_actions( ::pPtr )
METHOD QGraphicsWidget:addAction( pAction )
RETURN Qt_QGraphicsWidget_addAction( ::pPtr, hbqt_ptr( pAction ) )
METHOD QGraphicsWidget:adjustSize()
RETURN Qt_QGraphicsWidget_adjustSize( ::pPtr )
METHOD QGraphicsWidget:focusPolicy()
RETURN Qt_QGraphicsWidget_focusPolicy( ::pPtr )
METHOD QGraphicsWidget:focusWidget()
RETURN Qt_QGraphicsWidget_focusWidget( ::pPtr )
METHOD QGraphicsWidget:font()
RETURN Qt_QGraphicsWidget_font( ::pPtr )
METHOD QGraphicsWidget:getContentsMargins( nLeft, nTop, nRight, nBottom )
RETURN Qt_QGraphicsWidget_getContentsMargins( ::pPtr, nLeft, nTop, nRight, nBottom )
METHOD QGraphicsWidget:getWindowFrameMargins( nLeft, nTop, nRight, nBottom )
RETURN Qt_QGraphicsWidget_getWindowFrameMargins( ::pPtr, nLeft, nTop, nRight, nBottom )
METHOD QGraphicsWidget:grabShortcut( pSequence, nContext )
RETURN Qt_QGraphicsWidget_grabShortcut( ::pPtr, hbqt_ptr( pSequence ), nContext )
METHOD QGraphicsWidget:insertAction( pBefore, pAction )
RETURN Qt_QGraphicsWidget_insertAction( ::pPtr, hbqt_ptr( pBefore ), hbqt_ptr( pAction ) )
METHOD QGraphicsWidget:isActiveWindow()
RETURN Qt_QGraphicsWidget_isActiveWindow( ::pPtr )
METHOD QGraphicsWidget:layout()
RETURN Qt_QGraphicsWidget_layout( ::pPtr )
METHOD QGraphicsWidget:layoutDirection()
RETURN Qt_QGraphicsWidget_layoutDirection( ::pPtr )
METHOD QGraphicsWidget:palette()
RETURN Qt_QGraphicsWidget_palette( ::pPtr )
METHOD QGraphicsWidget:rect()
RETURN Qt_QGraphicsWidget_rect( ::pPtr )
METHOD QGraphicsWidget:releaseShortcut( nId )
RETURN Qt_QGraphicsWidget_releaseShortcut( ::pPtr, nId )
METHOD QGraphicsWidget:removeAction( pAction )
RETURN Qt_QGraphicsWidget_removeAction( ::pPtr, hbqt_ptr( pAction ) )
METHOD QGraphicsWidget:resize( pSize )
RETURN Qt_QGraphicsWidget_resize( ::pPtr, hbqt_ptr( pSize ) )
METHOD QGraphicsWidget:resize_1( nW, nH )
RETURN Qt_QGraphicsWidget_resize_1( ::pPtr, nW, nH )
METHOD QGraphicsWidget:setAttribute( nAttribute, lOn )
RETURN Qt_QGraphicsWidget_setAttribute( ::pPtr, nAttribute, lOn )
METHOD QGraphicsWidget:setContentsMargins( nLeft, nTop, nRight, nBottom )
RETURN Qt_QGraphicsWidget_setContentsMargins( ::pPtr, nLeft, nTop, nRight, nBottom )
METHOD QGraphicsWidget:setFocusPolicy( nPolicy )
RETURN Qt_QGraphicsWidget_setFocusPolicy( ::pPtr, nPolicy )
METHOD QGraphicsWidget:setFont( pFont )
RETURN Qt_QGraphicsWidget_setFont( ::pPtr, hbqt_ptr( pFont ) )
METHOD QGraphicsWidget:setGeometry( pRect )
RETURN Qt_QGraphicsWidget_setGeometry( ::pPtr, hbqt_ptr( pRect ) )
METHOD QGraphicsWidget:setGeometry_1( nX, nY, nW, nH )
RETURN Qt_QGraphicsWidget_setGeometry_1( ::pPtr, nX, nY, nW, nH )
METHOD QGraphicsWidget:setLayout( pLayout )
RETURN Qt_QGraphicsWidget_setLayout( ::pPtr, hbqt_ptr( pLayout ) )
METHOD QGraphicsWidget:setLayoutDirection( nDirection )
RETURN Qt_QGraphicsWidget_setLayoutDirection( ::pPtr, nDirection )
METHOD QGraphicsWidget:setPalette( pPalette )
RETURN Qt_QGraphicsWidget_setPalette( ::pPtr, hbqt_ptr( pPalette ) )
METHOD QGraphicsWidget:setShortcutAutoRepeat( nId, lEnabled )
RETURN Qt_QGraphicsWidget_setShortcutAutoRepeat( ::pPtr, nId, lEnabled )
METHOD QGraphicsWidget:setShortcutEnabled( nId, lEnabled )
RETURN Qt_QGraphicsWidget_setShortcutEnabled( ::pPtr, nId, lEnabled )
METHOD QGraphicsWidget:setStyle( pStyle )
RETURN Qt_QGraphicsWidget_setStyle( ::pPtr, hbqt_ptr( pStyle ) )
METHOD QGraphicsWidget:setWindowFlags( nWFlags )
RETURN Qt_QGraphicsWidget_setWindowFlags( ::pPtr, nWFlags )
METHOD QGraphicsWidget:setWindowFrameMargins( nLeft, nTop, nRight, nBottom )
RETURN Qt_QGraphicsWidget_setWindowFrameMargins( ::pPtr, nLeft, nTop, nRight, nBottom )
METHOD QGraphicsWidget:setWindowTitle( cTitle )
RETURN Qt_QGraphicsWidget_setWindowTitle( ::pPtr, cTitle )
METHOD QGraphicsWidget:size()
RETURN Qt_QGraphicsWidget_size( ::pPtr )
METHOD QGraphicsWidget:style()
RETURN Qt_QGraphicsWidget_style( ::pPtr )
METHOD QGraphicsWidget:testAttribute( nAttribute )
RETURN Qt_QGraphicsWidget_testAttribute( ::pPtr, nAttribute )
METHOD QGraphicsWidget:unsetLayoutDirection()
RETURN Qt_QGraphicsWidget_unsetLayoutDirection( ::pPtr )
METHOD QGraphicsWidget:unsetWindowFrameMargins()
RETURN Qt_QGraphicsWidget_unsetWindowFrameMargins( ::pPtr )
METHOD QGraphicsWidget:windowFlags()
RETURN Qt_QGraphicsWidget_windowFlags( ::pPtr )
METHOD QGraphicsWidget:windowFrameGeometry()
RETURN Qt_QGraphicsWidget_windowFrameGeometry( ::pPtr )
METHOD QGraphicsWidget:windowFrameRect()
RETURN Qt_QGraphicsWidget_windowFrameRect( ::pPtr )
METHOD QGraphicsWidget:windowTitle()
RETURN Qt_QGraphicsWidget_windowTitle( ::pPtr )
METHOD QGraphicsWidget:windowType()
RETURN Qt_QGraphicsWidget_windowType( ::pPtr )
METHOD QGraphicsWidget:setTabOrder( pFirst, pSecond )
RETURN Qt_QGraphicsWidget_setTabOrder( ::pPtr, hbqt_ptr( pFirst ), hbqt_ptr( pSecond ) )
METHOD QGraphicsWidget:close()
RETURN Qt_QGraphicsWidget_close( ::pPtr )

View File

@@ -0,0 +1,96 @@
/*
* $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 <pritpal@vouchcac.com>
*
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
* www - http://harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
#include "hbclass.ch"
CREATE CLASS QStyleOptionGraphicsItem INHERIT HbQtObjectHandler, QStyleOption
METHOD new( ... )
METHOD exposedRect()
METHOD levelOfDetail()
METHOD matrix()
ENDCLASS
METHOD QStyleOptionGraphicsItem:new( ... )
LOCAL p
FOR EACH p IN { ... }
hb_pvalue( p:__enumIndex(), hbqt_ptr( p ) )
NEXT
::pPtr := Qt_QStyleOptionGraphicsItem( ... )
RETURN Self
METHOD QStyleOptionGraphicsItem:exposedRect()
RETURN Qt_QStyleOptionGraphicsItem_exposedRect( ::pPtr )
METHOD QStyleOptionGraphicsItem:levelOfDetail()
RETURN Qt_QStyleOptionGraphicsItem_levelOfDetail( ::pPtr )
METHOD QStyleOptionGraphicsItem:matrix()
RETURN Qt_QStyleOptionGraphicsItem_matrix( ::pPtr )

View File

@@ -16,6 +16,7 @@ HBQSyntaxHighlighter.cpp
HBQTableView.cpp
HBQTextBlockUserData.cpp
QAbstractButton.cpp
QAbstractGraphicsShapeItem.cpp
QAbstractItemDelegate.cpp
QAbstractItemView.cpp
QAbstractPrintDialog.cpp
@@ -71,6 +72,25 @@ QFontMetricsF.cpp
QFormLayout.cpp
QFrame.cpp
QGradient.cpp
QGraphicsEllipseItem.cpp
QGraphicsGridLayout.cpp
QGraphicsItem.cpp
QGraphicsItemAnimation.cpp
QGraphicsItemGroup.cpp
QGraphicsLayout.cpp
QGraphicsLayoutItem.cpp
QGraphicsLinearLayout.cpp
QGraphicsLineItem.cpp
QGraphicsPathItem.cpp
QGraphicsPixmapItem.cpp
QGraphicsPolygonItem.cpp
QGraphicsProxyWidget.cpp
QGraphicsRectItem.cpp
QGraphicsScene.cpp
QGraphicsSimpleTextItem.cpp
QGraphicsTextItem.cpp
QGraphicsView.cpp
QGraphicsWidget.cpp
QGridLayout.cpp
QGroupBox.cpp
QHBoxLayout.cpp
@@ -165,6 +185,7 @@ QStyleOptionComplex.cpp
QStyleOptionDockWidget.cpp
QStyleOptionFocusRect.cpp
QStyleOptionFrame.cpp
QStyleOptionGraphicsItem.cpp
QStyleOptionGroupBox.cpp
QStyleOptionHeader.cpp
QStyleOptionMenuItem.cpp
@@ -241,6 +262,7 @@ THBQSyntaxHighlighter.prg
THBQTableView.prg
THBQTextBlockUserData.prg
TQAbstractButton.prg
TQAbstractGraphicsShapeItem.prg
TQAbstractItemDelegate.prg
TQAbstractItemView.prg
TQAbstractPrintDialog.prg
@@ -296,6 +318,25 @@ TQFontMetricsF.prg
TQFormLayout.prg
TQFrame.prg
TQGradient.prg
TQGraphicsEllipseItem.prg
TQGraphicsGridLayout.prg
TQGraphicsItem.prg
TQGraphicsItemAnimation.prg
TQGraphicsItemGroup.prg
TQGraphicsLayout.prg
TQGraphicsLayoutItem.prg
TQGraphicsLinearLayout.prg
TQGraphicsLineItem.prg
TQGraphicsPathItem.prg
TQGraphicsPixmapItem.prg
TQGraphicsPolygonItem.prg
TQGraphicsProxyWidget.prg
TQGraphicsRectItem.prg
TQGraphicsScene.prg
TQGraphicsSimpleTextItem.prg
TQGraphicsTextItem.prg
TQGraphicsView.prg
TQGraphicsWidget.prg
TQGridLayout.prg
TQGroupBox.prg
TQHBoxLayout.prg
@@ -390,6 +431,7 @@ TQStyleOptionComplex.prg
TQStyleOptionDockWidget.prg
TQStyleOptionFocusRect.prg
TQStyleOptionFrame.prg
TQStyleOptionGraphicsItem.prg
TQStyleOptionGroupBox.prg
TQStyleOptionHeader.prg
TQStyleOptionMenuItem.prg

View File

@@ -22,6 +22,7 @@ extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQSyntaxHighlighter );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQTableView );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_HBQTextBlockUserData );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractButton );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractGraphicsShapeItem );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractItemDelegate );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractItemView );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QAbstractPrintDialog );
@@ -77,6 +78,25 @@ extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFontMetricsF );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFormLayout );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QFrame );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGradient );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsEllipseItem );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsGridLayout );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsItem );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsItemAnimation );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsItemGroup );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLayout );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLayoutItem );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLinearLayout );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsLineItem );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsPathItem );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsPixmapItem );
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_QGraphicsSimpleTextItem );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsTextItem );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsView );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGraphicsWidget );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGridLayout );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QGroupBox );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QHBoxLayout );
@@ -171,6 +191,7 @@ extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionComplex );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionDockWidget );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionFocusRect );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionFrame );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionGraphicsItem );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionGroupBox );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionHeader );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QStyleOptionMenuItem );
@@ -247,6 +268,7 @@ extern HB_EXPORT void * hbqt_gcAllocate_HBQSyntaxHighlighter( void * pObj, bool
extern HB_EXPORT void * hbqt_gcAllocate_HBQTableView( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_HBQTextBlockUserData( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QAbstractButton( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QAbstractGraphicsShapeItem( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QAbstractItemDelegate( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QAbstractItemView( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QAbstractPrintDialog( void * pObj, bool bNew );
@@ -302,6 +324,25 @@ extern HB_EXPORT void * hbqt_gcAllocate_QFontMetricsF( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QFormLayout( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QFrame( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGradient( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsEllipseItem( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsGridLayout( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsItem( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsItemAnimation( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsItemGroup( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsLayout( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsLayoutItem( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsLinearLayout( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsLineItem( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsPathItem( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsPixmapItem( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsPolygonItem( void * pObj, bool bNew );
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_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 );
extern HB_EXPORT void * hbqt_gcAllocate_QGraphicsWidget( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGridLayout( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QGroupBox( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QHBoxLayout( void * pObj, bool bNew );
@@ -396,6 +437,7 @@ extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionComplex( void * pObj, bool b
extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionDockWidget( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionFocusRect( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionFrame( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionGraphicsItem( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionGroupBox( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionHeader( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QStyleOptionMenuItem( void * pObj, bool bNew );
@@ -474,6 +516,7 @@ HB_EXTERN_END
#define hbqt_par_HBQTableView( n ) ( ( HBQTableView * ) hbqt_gcpointer( n ) )
#define hbqt_par_HBQTextBlockUserData( n ) ( ( HBQTextBlockUserData * ) hbqt_gcpointer( n ) )
#define hbqt_par_QAbstractButton( n ) ( ( QAbstractButton * ) hbqt_gcpointer( n ) )
#define hbqt_par_QAbstractGraphicsShapeItem( n ) ( ( QAbstractGraphicsShapeItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QAbstractItemDelegate( n ) ( ( QAbstractItemDelegate * ) hbqt_gcpointer( n ) )
#define hbqt_par_QAbstractItemView( n ) ( ( QAbstractItemView * ) hbqt_gcpointer( n ) )
#define hbqt_par_QAbstractPrintDialog( n ) ( ( QAbstractPrintDialog * ) hbqt_gcpointer( n ) )
@@ -529,6 +572,25 @@ HB_EXTERN_END
#define hbqt_par_QFormLayout( n ) ( ( QFormLayout * ) hbqt_gcpointer( n ) )
#define hbqt_par_QFrame( n ) ( ( QFrame * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGradient( n ) ( ( QGradient * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsEllipseItem( n ) ( ( QGraphicsEllipseItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsGridLayout( n ) ( ( QGraphicsGridLayout * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsItem( n ) ( ( QGraphicsItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsItemAnimation( n ) ( ( QGraphicsItemAnimation * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsItemGroup( n ) ( ( QGraphicsItemGroup * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsLayout( n ) ( ( QGraphicsLayout * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsLayoutItem( n ) ( ( QGraphicsLayoutItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsLinearLayout( n ) ( ( QGraphicsLinearLayout * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsLineItem( n ) ( ( QGraphicsLineItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsPathItem( n ) ( ( QGraphicsPathItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsPixmapItem( n ) ( ( QGraphicsPixmapItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsPolygonItem( n ) ( ( QGraphicsPolygonItem * ) hbqt_gcpointer( n ) )
#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_QGraphicsSimpleTextItem( n ) ( ( QGraphicsSimpleTextItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsTextItem( n ) ( ( QGraphicsTextItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsView( n ) ( ( QGraphicsView * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGraphicsWidget( n ) ( ( QGraphicsWidget * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGridLayout( n ) ( ( QGridLayout * ) hbqt_gcpointer( n ) )
#define hbqt_par_QGroupBox( n ) ( ( QGroupBox * ) hbqt_gcpointer( n ) )
#define hbqt_par_QHBoxLayout( n ) ( ( QHBoxLayout * ) hbqt_gcpointer( n ) )
@@ -623,6 +685,7 @@ HB_EXTERN_END
#define hbqt_par_QStyleOptionDockWidget( n ) ( ( QStyleOptionDockWidget * ) hbqt_gcpointer( n ) )
#define hbqt_par_QStyleOptionFocusRect( n ) ( ( QStyleOptionFocusRect * ) hbqt_gcpointer( n ) )
#define hbqt_par_QStyleOptionFrame( n ) ( ( QStyleOptionFrame * ) hbqt_gcpointer( n ) )
#define hbqt_par_QStyleOptionGraphicsItem( n ) ( ( QStyleOptionGraphicsItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QStyleOptionGroupBox( n ) ( ( QStyleOptionGroupBox * ) hbqt_gcpointer( n ) )
#define hbqt_par_QStyleOptionHeader( n ) ( ( QStyleOptionHeader * ) hbqt_gcpointer( n ) )
#define hbqt_par_QStyleOptionMenuItem( n ) ( ( QStyleOptionMenuItem * ) hbqt_gcpointer( n ) )
@@ -701,222 +764,243 @@ HB_EXTERN_END
#define HBQT_TYPE_HBQTableView ( HBQT_TYPE_QTGUI_BASE + 5 )
#define HBQT_TYPE_HBQTextBlockUserData ( HBQT_TYPE_QTGUI_BASE + 6 )
#define HBQT_TYPE_QAbstractButton ( HBQT_TYPE_QTGUI_BASE + 7 )
#define HBQT_TYPE_QAbstractItemDelegate ( HBQT_TYPE_QTGUI_BASE + 8 )
#define HBQT_TYPE_QAbstractItemView ( HBQT_TYPE_QTGUI_BASE + 9 )
#define HBQT_TYPE_QAbstractPrintDialog ( HBQT_TYPE_QTGUI_BASE + 10 )
#define HBQT_TYPE_QAbstractProxyModel ( HBQT_TYPE_QTGUI_BASE + 11 )
#define HBQT_TYPE_QAbstractScrollArea ( HBQT_TYPE_QTGUI_BASE + 12 )
#define HBQT_TYPE_QAbstractSlider ( HBQT_TYPE_QTGUI_BASE + 13 )
#define HBQT_TYPE_QAbstractSpinBox ( HBQT_TYPE_QTGUI_BASE + 14 )
#define HBQT_TYPE_QAbstractTextDocumentLayout ( HBQT_TYPE_QTGUI_BASE + 15 )
#define HBQT_TYPE_QAction ( HBQT_TYPE_QTGUI_BASE + 16 )
#define HBQT_TYPE_QActionGroup ( HBQT_TYPE_QTGUI_BASE + 17 )
#define HBQT_TYPE_QApplication ( HBQT_TYPE_QTGUI_BASE + 18 )
#define HBQT_TYPE_QBitmap ( HBQT_TYPE_QTGUI_BASE + 19 )
#define HBQT_TYPE_QBoxLayout ( HBQT_TYPE_QTGUI_BASE + 20 )
#define HBQT_TYPE_QBrush ( HBQT_TYPE_QTGUI_BASE + 21 )
#define HBQT_TYPE_QButtonGroup ( HBQT_TYPE_QTGUI_BASE + 22 )
#define HBQT_TYPE_QCalendarWidget ( HBQT_TYPE_QTGUI_BASE + 23 )
#define HBQT_TYPE_QCheckBox ( HBQT_TYPE_QTGUI_BASE + 24 )
#define HBQT_TYPE_QClipboard ( HBQT_TYPE_QTGUI_BASE + 25 )
#define HBQT_TYPE_QColor ( HBQT_TYPE_QTGUI_BASE + 26 )
#define HBQT_TYPE_QColorDialog ( HBQT_TYPE_QTGUI_BASE + 27 )
#define HBQT_TYPE_QComboBox ( HBQT_TYPE_QTGUI_BASE + 28 )
#define HBQT_TYPE_QCommandLinkButton ( HBQT_TYPE_QTGUI_BASE + 29 )
#define HBQT_TYPE_QCommonStyle ( HBQT_TYPE_QTGUI_BASE + 30 )
#define HBQT_TYPE_QCompleter ( HBQT_TYPE_QTGUI_BASE + 31 )
#define HBQT_TYPE_QConicalGradient ( HBQT_TYPE_QTGUI_BASE + 32 )
#define HBQT_TYPE_QContextMenuEvent ( HBQT_TYPE_QTGUI_BASE + 33 )
#define HBQT_TYPE_QCursor ( HBQT_TYPE_QTGUI_BASE + 34 )
#define HBQT_TYPE_QDateEdit ( HBQT_TYPE_QTGUI_BASE + 35 )
#define HBQT_TYPE_QDateTimeEdit ( HBQT_TYPE_QTGUI_BASE + 36 )
#define HBQT_TYPE_QDesktopWidget ( HBQT_TYPE_QTGUI_BASE + 37 )
#define HBQT_TYPE_QDial ( HBQT_TYPE_QTGUI_BASE + 38 )
#define HBQT_TYPE_QDialog ( HBQT_TYPE_QTGUI_BASE + 39 )
#define HBQT_TYPE_QDirModel ( HBQT_TYPE_QTGUI_BASE + 40 )
#define HBQT_TYPE_QDockWidget ( HBQT_TYPE_QTGUI_BASE + 41 )
#define HBQT_TYPE_QDoubleSpinBox ( HBQT_TYPE_QTGUI_BASE + 42 )
#define HBQT_TYPE_QDragEnterEvent ( HBQT_TYPE_QTGUI_BASE + 43 )
#define HBQT_TYPE_QDragLeaveEvent ( HBQT_TYPE_QTGUI_BASE + 44 )
#define HBQT_TYPE_QDragMoveEvent ( HBQT_TYPE_QTGUI_BASE + 45 )
#define HBQT_TYPE_QDropEvent ( HBQT_TYPE_QTGUI_BASE + 46 )
#define HBQT_TYPE_QErrorMessage ( HBQT_TYPE_QTGUI_BASE + 47 )
#define HBQT_TYPE_QFileDialog ( HBQT_TYPE_QTGUI_BASE + 48 )
#define HBQT_TYPE_QFileIconProvider ( HBQT_TYPE_QTGUI_BASE + 49 )
#define HBQT_TYPE_QFileSystemModel ( HBQT_TYPE_QTGUI_BASE + 50 )
#define HBQT_TYPE_QFocusEvent ( HBQT_TYPE_QTGUI_BASE + 51 )
#define HBQT_TYPE_QFocusFrame ( HBQT_TYPE_QTGUI_BASE + 52 )
#define HBQT_TYPE_QFont ( HBQT_TYPE_QTGUI_BASE + 53 )
#define HBQT_TYPE_QFontComboBox ( HBQT_TYPE_QTGUI_BASE + 54 )
#define HBQT_TYPE_QFontDatabase ( HBQT_TYPE_QTGUI_BASE + 55 )
#define HBQT_TYPE_QFontDialog ( HBQT_TYPE_QTGUI_BASE + 56 )
#define HBQT_TYPE_QFontInfo ( HBQT_TYPE_QTGUI_BASE + 57 )
#define HBQT_TYPE_QFontMetrics ( HBQT_TYPE_QTGUI_BASE + 58 )
#define HBQT_TYPE_QFontMetricsF ( HBQT_TYPE_QTGUI_BASE + 59 )
#define HBQT_TYPE_QFormLayout ( HBQT_TYPE_QTGUI_BASE + 60 )
#define HBQT_TYPE_QFrame ( HBQT_TYPE_QTGUI_BASE + 61 )
#define HBQT_TYPE_QGradient ( HBQT_TYPE_QTGUI_BASE + 62 )
#define HBQT_TYPE_QGridLayout ( HBQT_TYPE_QTGUI_BASE + 63 )
#define HBQT_TYPE_QGroupBox ( HBQT_TYPE_QTGUI_BASE + 64 )
#define HBQT_TYPE_QHBoxLayout ( HBQT_TYPE_QTGUI_BASE + 65 )
#define HBQT_TYPE_QHeaderView ( HBQT_TYPE_QTGUI_BASE + 66 )
#define HBQT_TYPE_QHelpEvent ( HBQT_TYPE_QTGUI_BASE + 67 )
#define HBQT_TYPE_QHideEvent ( HBQT_TYPE_QTGUI_BASE + 68 )
#define HBQT_TYPE_QIcon ( HBQT_TYPE_QTGUI_BASE + 69 )
#define HBQT_TYPE_QImage ( HBQT_TYPE_QTGUI_BASE + 70 )
#define HBQT_TYPE_QImageReader ( HBQT_TYPE_QTGUI_BASE + 71 )
#define HBQT_TYPE_QImageWriter ( HBQT_TYPE_QTGUI_BASE + 72 )
#define HBQT_TYPE_QInputDialog ( HBQT_TYPE_QTGUI_BASE + 73 )
#define HBQT_TYPE_QInputEvent ( HBQT_TYPE_QTGUI_BASE + 74 )
#define HBQT_TYPE_QInputMethodEvent ( HBQT_TYPE_QTGUI_BASE + 75 )
#define HBQT_TYPE_QItemDelegate ( HBQT_TYPE_QTGUI_BASE + 76 )
#define HBQT_TYPE_QItemEditorCreatorBase ( HBQT_TYPE_QTGUI_BASE + 77 )
#define HBQT_TYPE_QItemEditorFactory ( HBQT_TYPE_QTGUI_BASE + 78 )
#define HBQT_TYPE_QItemSelection ( HBQT_TYPE_QTGUI_BASE + 79 )
#define HBQT_TYPE_QItemSelectionModel ( HBQT_TYPE_QTGUI_BASE + 80 )
#define HBQT_TYPE_QKeyEvent ( HBQT_TYPE_QTGUI_BASE + 81 )
#define HBQT_TYPE_QKeySequence ( HBQT_TYPE_QTGUI_BASE + 82 )
#define HBQT_TYPE_QLabel ( HBQT_TYPE_QTGUI_BASE + 83 )
#define HBQT_TYPE_QLayout ( HBQT_TYPE_QTGUI_BASE + 84 )
#define HBQT_TYPE_QLayoutItem ( HBQT_TYPE_QTGUI_BASE + 85 )
#define HBQT_TYPE_QLCDNumber ( HBQT_TYPE_QTGUI_BASE + 86 )
#define HBQT_TYPE_QLinearGradient ( HBQT_TYPE_QTGUI_BASE + 87 )
#define HBQT_TYPE_QLineEdit ( HBQT_TYPE_QTGUI_BASE + 88 )
#define HBQT_TYPE_QListView ( HBQT_TYPE_QTGUI_BASE + 89 )
#define HBQT_TYPE_QListWidget ( HBQT_TYPE_QTGUI_BASE + 90 )
#define HBQT_TYPE_QListWidgetItem ( HBQT_TYPE_QTGUI_BASE + 91 )
#define HBQT_TYPE_QMainWindow ( HBQT_TYPE_QTGUI_BASE + 92 )
#define HBQT_TYPE_QMatrix ( HBQT_TYPE_QTGUI_BASE + 93 )
#define HBQT_TYPE_QMdiArea ( HBQT_TYPE_QTGUI_BASE + 94 )
#define HBQT_TYPE_QMdiSubWindow ( HBQT_TYPE_QTGUI_BASE + 95 )
#define HBQT_TYPE_QMenu ( HBQT_TYPE_QTGUI_BASE + 96 )
#define HBQT_TYPE_QMenuBar ( HBQT_TYPE_QTGUI_BASE + 97 )
#define HBQT_TYPE_QMessageBox ( HBQT_TYPE_QTGUI_BASE + 98 )
#define HBQT_TYPE_QMouseEvent ( HBQT_TYPE_QTGUI_BASE + 99 )
#define HBQT_TYPE_QMoveEvent ( HBQT_TYPE_QTGUI_BASE + 100 )
#define HBQT_TYPE_QMovie ( HBQT_TYPE_QTGUI_BASE + 101 )
#define HBQT_TYPE_QPageSetupDialog ( HBQT_TYPE_QTGUI_BASE + 102 )
#define HBQT_TYPE_QPaintDevice ( HBQT_TYPE_QTGUI_BASE + 103 )
#define HBQT_TYPE_QPaintEngine ( HBQT_TYPE_QTGUI_BASE + 104 )
#define HBQT_TYPE_QPainter ( HBQT_TYPE_QTGUI_BASE + 105 )
#define HBQT_TYPE_QPainterPath ( HBQT_TYPE_QTGUI_BASE + 106 )
#define HBQT_TYPE_QPaintEvent ( HBQT_TYPE_QTGUI_BASE + 107 )
#define HBQT_TYPE_QPalette ( HBQT_TYPE_QTGUI_BASE + 108 )
#define HBQT_TYPE_QPen ( HBQT_TYPE_QTGUI_BASE + 109 )
#define HBQT_TYPE_QPicture ( HBQT_TYPE_QTGUI_BASE + 110 )
#define HBQT_TYPE_QPixmap ( HBQT_TYPE_QTGUI_BASE + 111 )
#define HBQT_TYPE_QPlainTextDocumentLayout ( HBQT_TYPE_QTGUI_BASE + 112 )
#define HBQT_TYPE_QPlainTextEdit ( HBQT_TYPE_QTGUI_BASE + 113 )
#define HBQT_TYPE_QPolygon ( HBQT_TYPE_QTGUI_BASE + 114 )
#define HBQT_TYPE_QPolygonF ( HBQT_TYPE_QTGUI_BASE + 115 )
#define HBQT_TYPE_QPrintDialog ( HBQT_TYPE_QTGUI_BASE + 116 )
#define HBQT_TYPE_QPrintEngine ( HBQT_TYPE_QTGUI_BASE + 117 )
#define HBQT_TYPE_QPrinter ( HBQT_TYPE_QTGUI_BASE + 118 )
#define HBQT_TYPE_QPrintPreviewDialog ( HBQT_TYPE_QTGUI_BASE + 119 )
#define HBQT_TYPE_QProgressBar ( HBQT_TYPE_QTGUI_BASE + 120 )
#define HBQT_TYPE_QProgressDialog ( HBQT_TYPE_QTGUI_BASE + 121 )
#define HBQT_TYPE_QPushButton ( HBQT_TYPE_QTGUI_BASE + 122 )
#define HBQT_TYPE_QRadialGradient ( HBQT_TYPE_QTGUI_BASE + 123 )
#define HBQT_TYPE_QRadioButton ( HBQT_TYPE_QTGUI_BASE + 124 )
#define HBQT_TYPE_QRegion ( HBQT_TYPE_QTGUI_BASE + 125 )
#define HBQT_TYPE_QResizeEvent ( HBQT_TYPE_QTGUI_BASE + 126 )
#define HBQT_TYPE_QScrollArea ( HBQT_TYPE_QTGUI_BASE + 127 )
#define HBQT_TYPE_QScrollBar ( HBQT_TYPE_QTGUI_BASE + 128 )
#define HBQT_TYPE_QSessionManager ( HBQT_TYPE_QTGUI_BASE + 129 )
#define HBQT_TYPE_QShowEvent ( HBQT_TYPE_QTGUI_BASE + 130 )
#define HBQT_TYPE_QSizeGrip ( HBQT_TYPE_QTGUI_BASE + 131 )
#define HBQT_TYPE_QSizePolicy ( HBQT_TYPE_QTGUI_BASE + 132 )
#define HBQT_TYPE_QSlider ( HBQT_TYPE_QTGUI_BASE + 133 )
#define HBQT_TYPE_QSound ( HBQT_TYPE_QTGUI_BASE + 134 )
#define HBQT_TYPE_QSpacerItem ( HBQT_TYPE_QTGUI_BASE + 135 )
#define HBQT_TYPE_QSpinBox ( HBQT_TYPE_QTGUI_BASE + 136 )
#define HBQT_TYPE_QSplashScreen ( HBQT_TYPE_QTGUI_BASE + 137 )
#define HBQT_TYPE_QSplitter ( HBQT_TYPE_QTGUI_BASE + 138 )
#define HBQT_TYPE_QStackedWidget ( HBQT_TYPE_QTGUI_BASE + 139 )
#define HBQT_TYPE_QStandardItem ( HBQT_TYPE_QTGUI_BASE + 140 )
#define HBQT_TYPE_QStandardItemModel ( HBQT_TYPE_QTGUI_BASE + 141 )
#define HBQT_TYPE_QStatusBar ( HBQT_TYPE_QTGUI_BASE + 142 )
#define HBQT_TYPE_QStringListModel ( HBQT_TYPE_QTGUI_BASE + 143 )
#define HBQT_TYPE_QStyle ( HBQT_TYPE_QTGUI_BASE + 144 )
#define HBQT_TYPE_QStyledItemDelegate ( HBQT_TYPE_QTGUI_BASE + 145 )
#define HBQT_TYPE_QStyleFactory ( HBQT_TYPE_QTGUI_BASE + 146 )
#define HBQT_TYPE_QStyleHintReturn ( HBQT_TYPE_QTGUI_BASE + 147 )
#define HBQT_TYPE_QStyleHintReturnMask ( HBQT_TYPE_QTGUI_BASE + 148 )
#define HBQT_TYPE_QStyleHintReturnVariant ( HBQT_TYPE_QTGUI_BASE + 149 )
#define HBQT_TYPE_QStyleOption ( HBQT_TYPE_QTGUI_BASE + 150 )
#define HBQT_TYPE_QStyleOptionButton ( HBQT_TYPE_QTGUI_BASE + 151 )
#define HBQT_TYPE_QStyleOptionComboBox ( HBQT_TYPE_QTGUI_BASE + 152 )
#define HBQT_TYPE_QStyleOptionComplex ( HBQT_TYPE_QTGUI_BASE + 153 )
#define HBQT_TYPE_QStyleOptionDockWidget ( HBQT_TYPE_QTGUI_BASE + 154 )
#define HBQT_TYPE_QStyleOptionFocusRect ( HBQT_TYPE_QTGUI_BASE + 155 )
#define HBQT_TYPE_QStyleOptionFrame ( HBQT_TYPE_QTGUI_BASE + 156 )
#define HBQT_TYPE_QStyleOptionGroupBox ( HBQT_TYPE_QTGUI_BASE + 157 )
#define HBQT_TYPE_QStyleOptionHeader ( HBQT_TYPE_QTGUI_BASE + 158 )
#define HBQT_TYPE_QStyleOptionMenuItem ( HBQT_TYPE_QTGUI_BASE + 159 )
#define HBQT_TYPE_QStyleOptionProgressBar ( HBQT_TYPE_QTGUI_BASE + 160 )
#define HBQT_TYPE_QStyleOptionSizeGrip ( HBQT_TYPE_QTGUI_BASE + 161 )
#define HBQT_TYPE_QStyleOptionSlider ( HBQT_TYPE_QTGUI_BASE + 162 )
#define HBQT_TYPE_QStyleOptionSpinBox ( HBQT_TYPE_QTGUI_BASE + 163 )
#define HBQT_TYPE_QStyleOptionTab ( HBQT_TYPE_QTGUI_BASE + 164 )
#define HBQT_TYPE_QStyleOptionTabBarBase ( HBQT_TYPE_QTGUI_BASE + 165 )
#define HBQT_TYPE_QStyleOptionTabWidgetFrame ( HBQT_TYPE_QTGUI_BASE + 166 )
#define HBQT_TYPE_QStyleOptionTitleBar ( HBQT_TYPE_QTGUI_BASE + 167 )
#define HBQT_TYPE_QStyleOptionToolBar ( HBQT_TYPE_QTGUI_BASE + 168 )
#define HBQT_TYPE_QStyleOptionToolBox ( HBQT_TYPE_QTGUI_BASE + 169 )
#define HBQT_TYPE_QStyleOptionToolButton ( HBQT_TYPE_QTGUI_BASE + 170 )
#define HBQT_TYPE_QStyleOptionViewItem ( HBQT_TYPE_QTGUI_BASE + 171 )
#define HBQT_TYPE_QStylePainter ( HBQT_TYPE_QTGUI_BASE + 172 )
#define HBQT_TYPE_QSyntaxHighlighter ( HBQT_TYPE_QTGUI_BASE + 173 )
#define HBQT_TYPE_QSystemTrayIcon ( HBQT_TYPE_QTGUI_BASE + 174 )
#define HBQT_TYPE_QTabBar ( HBQT_TYPE_QTGUI_BASE + 175 )
#define HBQT_TYPE_QTableView ( HBQT_TYPE_QTGUI_BASE + 176 )
#define HBQT_TYPE_QTableWidget ( HBQT_TYPE_QTGUI_BASE + 177 )
#define HBQT_TYPE_QTableWidgetItem ( HBQT_TYPE_QTGUI_BASE + 178 )
#define HBQT_TYPE_QTableWidgetSelectionRange ( HBQT_TYPE_QTGUI_BASE + 179 )
#define HBQT_TYPE_QTabWidget ( HBQT_TYPE_QTGUI_BASE + 180 )
#define HBQT_TYPE_QTextBlock ( HBQT_TYPE_QTGUI_BASE + 181 )
#define HBQT_TYPE_QTextBlockFormat ( HBQT_TYPE_QTGUI_BASE + 182 )
#define HBQT_TYPE_QTextBlockGroup ( HBQT_TYPE_QTGUI_BASE + 183 )
#define HBQT_TYPE_QTextBrowser ( HBQT_TYPE_QTGUI_BASE + 184 )
#define HBQT_TYPE_QTextCharFormat ( HBQT_TYPE_QTGUI_BASE + 185 )
#define HBQT_TYPE_QTextCursor ( HBQT_TYPE_QTGUI_BASE + 186 )
#define HBQT_TYPE_QTextDocument ( HBQT_TYPE_QTGUI_BASE + 187 )
#define HBQT_TYPE_QTextDocumentFragment ( HBQT_TYPE_QTGUI_BASE + 188 )
#define HBQT_TYPE_QTextDocumentWriter ( HBQT_TYPE_QTGUI_BASE + 189 )
#define HBQT_TYPE_QTextEdit ( HBQT_TYPE_QTGUI_BASE + 190 )
#define HBQT_TYPE_QTextFormat ( HBQT_TYPE_QTGUI_BASE + 191 )
#define HBQT_TYPE_QTextFragment ( HBQT_TYPE_QTGUI_BASE + 192 )
#define HBQT_TYPE_QTextFrame ( HBQT_TYPE_QTGUI_BASE + 193 )
#define HBQT_TYPE_QTextFrameFormat ( HBQT_TYPE_QTGUI_BASE + 194 )
#define HBQT_TYPE_QTextImageFormat ( HBQT_TYPE_QTGUI_BASE + 195 )
#define HBQT_TYPE_QTextInlineObject ( HBQT_TYPE_QTGUI_BASE + 196 )
#define HBQT_TYPE_QTextItem ( HBQT_TYPE_QTGUI_BASE + 197 )
#define HBQT_TYPE_QTextLayout ( HBQT_TYPE_QTGUI_BASE + 198 )
#define HBQT_TYPE_QTextLength ( HBQT_TYPE_QTGUI_BASE + 199 )
#define HBQT_TYPE_QTextLine ( HBQT_TYPE_QTGUI_BASE + 200 )
#define HBQT_TYPE_QTextList ( HBQT_TYPE_QTGUI_BASE + 201 )
#define HBQT_TYPE_QTextListFormat ( HBQT_TYPE_QTGUI_BASE + 202 )
#define HBQT_TYPE_QTextObject ( HBQT_TYPE_QTGUI_BASE + 203 )
#define HBQT_TYPE_QTextOption ( HBQT_TYPE_QTGUI_BASE + 204 )
#define HBQT_TYPE_QTextTableFormat ( HBQT_TYPE_QTGUI_BASE + 205 )
#define HBQT_TYPE_QTimeEdit ( HBQT_TYPE_QTGUI_BASE + 206 )
#define HBQT_TYPE_QToolBar ( HBQT_TYPE_QTGUI_BASE + 207 )
#define HBQT_TYPE_QToolBox ( HBQT_TYPE_QTGUI_BASE + 208 )
#define HBQT_TYPE_QToolButton ( HBQT_TYPE_QTGUI_BASE + 209 )
#define HBQT_TYPE_QTransform ( HBQT_TYPE_QTGUI_BASE + 210 )
#define HBQT_TYPE_QTreeView ( HBQT_TYPE_QTGUI_BASE + 211 )
#define HBQT_TYPE_QTreeWidget ( HBQT_TYPE_QTGUI_BASE + 212 )
#define HBQT_TYPE_QTreeWidgetItem ( HBQT_TYPE_QTGUI_BASE + 213 )
#define HBQT_TYPE_QValidator ( HBQT_TYPE_QTGUI_BASE + 214 )
#define HBQT_TYPE_QVBoxLayout ( HBQT_TYPE_QTGUI_BASE + 215 )
#define HBQT_TYPE_QWheelEvent ( HBQT_TYPE_QTGUI_BASE + 216 )
#define HBQT_TYPE_QWidget ( HBQT_TYPE_QTGUI_BASE + 217 )
#define HBQT_TYPE_QWidgetAction ( HBQT_TYPE_QTGUI_BASE + 218 )
#define HBQT_TYPE_QWidgetItem ( HBQT_TYPE_QTGUI_BASE + 219 )
#define HBQT_TYPE_QWindowsStyle ( HBQT_TYPE_QTGUI_BASE + 220 )
#define HBQT_TYPE_QWindowStateChangeEvent ( HBQT_TYPE_QTGUI_BASE + 221 )
#define HBQT_TYPE_QWizard ( HBQT_TYPE_QTGUI_BASE + 222 )
#define HBQT_TYPE_QWizardPage ( HBQT_TYPE_QTGUI_BASE + 223 )
#define HBQT_TYPE_QUiLoader ( HBQT_TYPE_QTGUI_BASE + 224 )
#define HBQT_TYPE_QAbstractGraphicsShapeItem ( HBQT_TYPE_QTGUI_BASE + 8 )
#define HBQT_TYPE_QAbstractItemDelegate ( HBQT_TYPE_QTGUI_BASE + 9 )
#define HBQT_TYPE_QAbstractItemView ( HBQT_TYPE_QTGUI_BASE + 10 )
#define HBQT_TYPE_QAbstractPrintDialog ( HBQT_TYPE_QTGUI_BASE + 11 )
#define HBQT_TYPE_QAbstractProxyModel ( HBQT_TYPE_QTGUI_BASE + 12 )
#define HBQT_TYPE_QAbstractScrollArea ( HBQT_TYPE_QTGUI_BASE + 13 )
#define HBQT_TYPE_QAbstractSlider ( HBQT_TYPE_QTGUI_BASE + 14 )
#define HBQT_TYPE_QAbstractSpinBox ( HBQT_TYPE_QTGUI_BASE + 15 )
#define HBQT_TYPE_QAbstractTextDocumentLayout ( HBQT_TYPE_QTGUI_BASE + 16 )
#define HBQT_TYPE_QAction ( HBQT_TYPE_QTGUI_BASE + 17 )
#define HBQT_TYPE_QActionGroup ( HBQT_TYPE_QTGUI_BASE + 18 )
#define HBQT_TYPE_QApplication ( HBQT_TYPE_QTGUI_BASE + 19 )
#define HBQT_TYPE_QBitmap ( HBQT_TYPE_QTGUI_BASE + 20 )
#define HBQT_TYPE_QBoxLayout ( HBQT_TYPE_QTGUI_BASE + 21 )
#define HBQT_TYPE_QBrush ( HBQT_TYPE_QTGUI_BASE + 22 )
#define HBQT_TYPE_QButtonGroup ( HBQT_TYPE_QTGUI_BASE + 23 )
#define HBQT_TYPE_QCalendarWidget ( HBQT_TYPE_QTGUI_BASE + 24 )
#define HBQT_TYPE_QCheckBox ( HBQT_TYPE_QTGUI_BASE + 25 )
#define HBQT_TYPE_QClipboard ( HBQT_TYPE_QTGUI_BASE + 26 )
#define HBQT_TYPE_QColor ( HBQT_TYPE_QTGUI_BASE + 27 )
#define HBQT_TYPE_QColorDialog ( HBQT_TYPE_QTGUI_BASE + 28 )
#define HBQT_TYPE_QComboBox ( HBQT_TYPE_QTGUI_BASE + 29 )
#define HBQT_TYPE_QCommandLinkButton ( HBQT_TYPE_QTGUI_BASE + 30 )
#define HBQT_TYPE_QCommonStyle ( HBQT_TYPE_QTGUI_BASE + 31 )
#define HBQT_TYPE_QCompleter ( HBQT_TYPE_QTGUI_BASE + 32 )
#define HBQT_TYPE_QConicalGradient ( HBQT_TYPE_QTGUI_BASE + 33 )
#define HBQT_TYPE_QContextMenuEvent ( HBQT_TYPE_QTGUI_BASE + 34 )
#define HBQT_TYPE_QCursor ( HBQT_TYPE_QTGUI_BASE + 35 )
#define HBQT_TYPE_QDateEdit ( HBQT_TYPE_QTGUI_BASE + 36 )
#define HBQT_TYPE_QDateTimeEdit ( HBQT_TYPE_QTGUI_BASE + 37 )
#define HBQT_TYPE_QDesktopWidget ( HBQT_TYPE_QTGUI_BASE + 38 )
#define HBQT_TYPE_QDial ( HBQT_TYPE_QTGUI_BASE + 39 )
#define HBQT_TYPE_QDialog ( HBQT_TYPE_QTGUI_BASE + 40 )
#define HBQT_TYPE_QDirModel ( HBQT_TYPE_QTGUI_BASE + 41 )
#define HBQT_TYPE_QDockWidget ( HBQT_TYPE_QTGUI_BASE + 42 )
#define HBQT_TYPE_QDoubleSpinBox ( HBQT_TYPE_QTGUI_BASE + 43 )
#define HBQT_TYPE_QDragEnterEvent ( HBQT_TYPE_QTGUI_BASE + 44 )
#define HBQT_TYPE_QDragLeaveEvent ( HBQT_TYPE_QTGUI_BASE + 45 )
#define HBQT_TYPE_QDragMoveEvent ( HBQT_TYPE_QTGUI_BASE + 46 )
#define HBQT_TYPE_QDropEvent ( HBQT_TYPE_QTGUI_BASE + 47 )
#define HBQT_TYPE_QErrorMessage ( HBQT_TYPE_QTGUI_BASE + 48 )
#define HBQT_TYPE_QFileDialog ( HBQT_TYPE_QTGUI_BASE + 49 )
#define HBQT_TYPE_QFileIconProvider ( HBQT_TYPE_QTGUI_BASE + 50 )
#define HBQT_TYPE_QFileSystemModel ( HBQT_TYPE_QTGUI_BASE + 51 )
#define HBQT_TYPE_QFocusEvent ( HBQT_TYPE_QTGUI_BASE + 52 )
#define HBQT_TYPE_QFocusFrame ( HBQT_TYPE_QTGUI_BASE + 53 )
#define HBQT_TYPE_QFont ( HBQT_TYPE_QTGUI_BASE + 54 )
#define HBQT_TYPE_QFontComboBox ( HBQT_TYPE_QTGUI_BASE + 55 )
#define HBQT_TYPE_QFontDatabase ( HBQT_TYPE_QTGUI_BASE + 56 )
#define HBQT_TYPE_QFontDialog ( HBQT_TYPE_QTGUI_BASE + 57 )
#define HBQT_TYPE_QFontInfo ( HBQT_TYPE_QTGUI_BASE + 58 )
#define HBQT_TYPE_QFontMetrics ( HBQT_TYPE_QTGUI_BASE + 59 )
#define HBQT_TYPE_QFontMetricsF ( HBQT_TYPE_QTGUI_BASE + 60 )
#define HBQT_TYPE_QFormLayout ( HBQT_TYPE_QTGUI_BASE + 61 )
#define HBQT_TYPE_QFrame ( HBQT_TYPE_QTGUI_BASE + 62 )
#define HBQT_TYPE_QGradient ( HBQT_TYPE_QTGUI_BASE + 63 )
#define HBQT_TYPE_QGraphicsEllipseItem ( HBQT_TYPE_QTGUI_BASE + 64 )
#define HBQT_TYPE_QGraphicsGridLayout ( HBQT_TYPE_QTGUI_BASE + 65 )
#define HBQT_TYPE_QGraphicsItem ( HBQT_TYPE_QTGUI_BASE + 66 )
#define HBQT_TYPE_QGraphicsItemAnimation ( HBQT_TYPE_QTGUI_BASE + 67 )
#define HBQT_TYPE_QGraphicsItemGroup ( HBQT_TYPE_QTGUI_BASE + 68 )
#define HBQT_TYPE_QGraphicsLayout ( HBQT_TYPE_QTGUI_BASE + 69 )
#define HBQT_TYPE_QGraphicsLayoutItem ( HBQT_TYPE_QTGUI_BASE + 70 )
#define HBQT_TYPE_QGraphicsLinearLayout ( HBQT_TYPE_QTGUI_BASE + 71 )
#define HBQT_TYPE_QGraphicsLineItem ( HBQT_TYPE_QTGUI_BASE + 72 )
#define HBQT_TYPE_QGraphicsPathItem ( HBQT_TYPE_QTGUI_BASE + 73 )
#define HBQT_TYPE_QGraphicsPixmapItem ( HBQT_TYPE_QTGUI_BASE + 74 )
#define HBQT_TYPE_QGraphicsPolygonItem ( HBQT_TYPE_QTGUI_BASE + 75 )
#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 )
#endif /* __HBQTGUI_H */

View File

@@ -0,0 +1,100 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit = QGraphicsItem
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QAbstractGraphicsShapeItem>
#include <QtGui/QBrush>
#include <QtGui/QPen>
/*
* QAbstractGraphicsShapeItem ( QGraphicsItem * parent = 0 )
* ~QAbstractGraphicsShapeItem ()
*/
HB_FUNC( QT_QABSTRACTGRAPHICSSHAPEITEM )
{
// hb_retptr( new QAbstractGraphicsShapeItem() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
QBrush brush () const
QPen pen () const
void setBrush ( const QBrush & brush )
void setPen ( const QPen & pen )
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,103 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit = QAbstractGraphicsShapeItem
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsEllipseItem>
/*
* QGraphicsEllipseItem ( QGraphicsItem * parent = 0 )
* QGraphicsEllipseItem ( const QRectF & rect, QGraphicsItem * parent = 0 )
* QGraphicsEllipseItem ( qreal x, qreal y, qreal width, qreal height, QGraphicsItem * parent = 0 )
* ~QGraphicsEllipseItem ()
*/
HB_FUNC( QT_QGRAPHICSELLIPSEITEM )
{
hb_retptr( new QGraphicsEllipseItem() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
QRectF rect () const
void setRect ( const QRectF & rect )
void setRect ( qreal x, qreal y, qreal width, qreal height )
void setSpanAngle ( int angle )
void setStartAngle ( int angle )
int spanAngle () const
int startAngle () const
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,136 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit = QGraphicsLayout
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsGridLayout>
/*
* QGraphicsGridLayout ( QGraphicsLayoutItem * parent = 0 )
* virtual ~QGraphicsGridLayout ()
*/
HB_FUNC( QT_QGRAPHICSGRIDLAYOUT )
{
hb_retptr( new QGraphicsGridLayout() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
void addItem ( QGraphicsLayoutItem * item, int row, int column, int rowSpan, int columnSpan, Qt::Alignment alignment = 0 )
void addItem ( QGraphicsLayoutItem * item, int row, int column, Qt::Alignment alignment = 0 )
Qt::Alignment alignment ( QGraphicsLayoutItem * item ) const
Qt::Alignment columnAlignment ( int column ) const
int columnCount () const
qreal columnMaximumWidth ( int column ) const
qreal columnMinimumWidth ( int column ) const
qreal columnPreferredWidth ( int column ) const
qreal columnSpacing ( int column ) const
int columnStretchFactor ( int column ) const
virtual int count () const
qreal horizontalSpacing () const
QGraphicsLayoutItem * itemAt ( int row, int column ) const
virtual QGraphicsLayoutItem * itemAt ( int index ) const
virtual void removeAt ( int index )
Qt::Alignment rowAlignment ( int row ) const
int rowCount () const
qreal rowMaximumHeight ( int row ) const
qreal rowMinimumHeight ( int row ) const
qreal rowPreferredHeight ( int row ) const
qreal rowSpacing ( int row ) const
int rowStretchFactor ( int row ) const
void setAlignment ( QGraphicsLayoutItem * item, Qt::Alignment alignment )
void setColumnAlignment ( int column, Qt::Alignment alignment )
void setColumnFixedWidth ( int column, qreal width )
void setColumnMaximumWidth ( int column, qreal width )
void setColumnMinimumWidth ( int column, qreal width )
void setColumnPreferredWidth ( int column, qreal width )
void setColumnSpacing ( int column, qreal spacing )
void setColumnStretchFactor ( int column, int stretch )
virtual void setGeometry ( const QRectF & rect )
void setHorizontalSpacing ( qreal spacing )
void setRowAlignment ( int row, Qt::Alignment alignment )
void setRowFixedHeight ( int row, qreal height )
void setRowMaximumHeight ( int row, qreal height )
void setRowMinimumHeight ( int row, qreal height )
void setRowPreferredHeight ( int row, qreal height )
void setRowSpacing ( int row, qreal spacing )
void setRowStretchFactor ( int row, int stretch )
void setSpacing ( qreal spacing )
void setVerticalSpacing ( qreal spacing )
qreal verticalSpacing () const
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,249 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit =
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsItem>
#include <QtGui/QCursor>
/*
* QGraphicsItem ( QGraphicsItem * parent = 0 )
* virtual ~QGraphicsItem ()
*/
HB_FUNC( QT_QGRAPHICSITEM )
{
}
</CODE>
<ENUMS>
enum CacheMode { NoCache, ItemCoordinateCache, DeviceCoordinateCache }
enum GraphicsItemChange { ItemEnabledChange, ItemEnabledHasChanged, ItemMatrixChange, ItemPositionChange, ..., ItemOpacityHasChanged }
enum GraphicsItemFlag { ItemIsMovable, ItemIsSelectable, ItemIsFocusable, ItemClipsToShape, ..., ItemStacksBehindParent }
flags GraphicsItemFlags
</ENUMS>
<PROTOS>
bool acceptDrops () const
bool acceptHoverEvents () const
Qt::MouseButtons acceptedMouseButtons () const
virtual void advance ( int phase )
virtual QRectF boundingRect () const = 0
QRegion boundingRegion ( const QTransform & itemToDeviceTransform ) const
qreal boundingRegionGranularity () const
CacheMode cacheMode () const
QList<QGraphicsItem *> childItems () const
QRectF childrenBoundingRect () const
void clearFocus ()
QPainterPath clipPath () const
virtual bool collidesWithItem ( const QGraphicsItem * other, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const
virtual bool collidesWithPath ( const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const
QList<QGraphicsItem *> collidingItems ( Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const
QGraphicsItem * commonAncestorItem ( const QGraphicsItem * other ) const
virtual bool contains ( const QPointF & point ) const
QCursor cursor () const
QVariant data ( int key ) const
QTransform deviceTransform ( const QTransform & viewportTransform ) const
qreal effectiveOpacity () const
void ensureVisible ( const QRectF & rect = QRectF(), int xmargin = 50, int ymargin = 50 )
void ensureVisible ( qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50 )
GraphicsItemFlags flags () const
void grabKeyboard ()
void grabMouse ()
QGraphicsItemGroup * group () const
bool handlesChildEvents () const
bool hasCursor () const
bool hasFocus () const
void hide ()
void installSceneEventFilter ( QGraphicsItem * filterItem )
bool isAncestorOf ( const QGraphicsItem * child ) const
bool isClipped () const
bool isEnabled () const
bool isObscured () const
bool isObscured ( qreal x, qreal y, qreal w, qreal h ) const
bool isObscured ( const QRectF & rect ) const
virtual bool isObscuredBy ( const QGraphicsItem * item ) const
bool isSelected () const
bool isUnderMouse () const
bool isVisible () const
bool isVisibleTo ( const QGraphicsItem * parent ) const
bool isWidget () const
bool isWindow () const
QTransform itemTransform ( const QGraphicsItem * other, bool * ok = 0 ) const
QPointF mapFromItem ( const QGraphicsItem * item, const QPointF & point ) const
QPolygonF mapFromItem ( const QGraphicsItem * item, const QRectF & rect ) const
QPolygonF mapFromItem ( const QGraphicsItem * item, const QPolygonF & polygon ) const
QPainterPath mapFromItem ( const QGraphicsItem * item, const QPainterPath & path ) const
QPolygonF mapFromItem ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) const
QPointF mapFromItem ( const QGraphicsItem * item, qreal x, qreal y ) const
QPointF mapFromParent ( const QPointF & point ) const
QPolygonF mapFromParent ( const QRectF & rect ) const
QPolygonF mapFromParent ( const QPolygonF & polygon ) const
QPainterPath mapFromParent ( const QPainterPath & path ) const
QPolygonF mapFromParent ( qreal x, qreal y, qreal w, qreal h ) const
QPointF mapFromParent ( qreal x, qreal y ) const
QPointF mapFromScene ( const QPointF & point ) const
QPolygonF mapFromScene ( const QRectF & rect ) const
QPolygonF mapFromScene ( const QPolygonF & polygon ) const
QPainterPath mapFromScene ( const QPainterPath & path ) const
QPolygonF mapFromScene ( qreal x, qreal y, qreal w, qreal h ) const
QPointF mapFromScene ( qreal x, qreal y ) const
QRectF mapRectFromItem ( const QGraphicsItem * item, const QRectF & rect ) const
QRectF mapRectFromItem ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) const
QRectF mapRectFromParent ( const QRectF & rect ) const
QRectF mapRectFromParent ( qreal x, qreal y, qreal w, qreal h ) const
QRectF mapRectFromScene ( const QRectF & rect ) const
QRectF mapRectFromScene ( qreal x, qreal y, qreal w, qreal h ) const
QRectF mapRectToItem ( const QGraphicsItem * item, const QRectF & rect ) const
QRectF mapRectToItem ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) const
QRectF mapRectToParent ( const QRectF & rect ) const
QRectF mapRectToParent ( qreal x, qreal y, qreal w, qreal h ) const
QRectF mapRectToScene ( const QRectF & rect ) const
QRectF mapRectToScene ( qreal x, qreal y, qreal w, qreal h ) const
QPointF mapToItem ( const QGraphicsItem * item, const QPointF & point ) const
QPolygonF mapToItem ( const QGraphicsItem * item, const QRectF & rect ) const
QPolygonF mapToItem ( const QGraphicsItem * item, const QPolygonF & polygon ) const
QPainterPath mapToItem ( const QGraphicsItem * item, const QPainterPath & path ) const
QPolygonF mapToItem ( const QGraphicsItem * item, qreal x, qreal y, qreal w, qreal h ) const
QPointF mapToItem ( const QGraphicsItem * item, qreal x, qreal y ) const
QPointF mapToParent ( const QPointF & point ) const
QPolygonF mapToParent ( const QRectF & rect ) const
QPolygonF mapToParent ( const QPolygonF & polygon ) const
QPainterPath mapToParent ( const QPainterPath & path ) const
QPolygonF mapToParent ( qreal x, qreal y, qreal w, qreal h ) const
QPointF mapToParent ( qreal x, qreal y ) const
QPointF mapToScene ( const QPointF & point ) const
QPolygonF mapToScene ( const QRectF & rect ) const
QPolygonF mapToScene ( const QPolygonF & polygon ) const
QPainterPath mapToScene ( const QPainterPath & path ) const
QPolygonF mapToScene ( qreal x, qreal y, qreal w, qreal h ) const
QPointF mapToScene ( qreal x, qreal y ) const
void moveBy ( qreal dx, qreal dy )
qreal opacity () const
virtual QPainterPath opaqueArea () const
virtual void paint ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0 ) = 0
QGraphicsItem * parentItem () const
QGraphicsWidget * parentWidget () const
QPointF pos () const
void removeSceneEventFilter ( QGraphicsItem * filterItem )
void resetTransform ()
void rotate ( qreal angle )
void scale ( qreal sx, qreal sy )
QGraphicsScene * scene () const
QRectF sceneBoundingRect () const
QPointF scenePos () const
QTransform sceneTransform () const
void scroll ( qreal dx, qreal dy, const QRectF & rect = QRectF() )
void setAcceptDrops ( bool on )
void setAcceptHoverEvents ( bool enabled )
void setAcceptedMouseButtons ( Qt::MouseButtons buttons )
void setBoundingRegionGranularity ( qreal granularity )
void setCacheMode ( CacheMode mode, const QSize & logicalCacheSize = QSize() )
void setCursor ( const QCursor & cursor )
void setData ( int key, const QVariant & value )
void setEnabled ( bool enabled )
void setFlag ( GraphicsItemFlag flag, bool enabled = true )
void setFlags ( GraphicsItemFlags flags )
void setFocus ( Qt::FocusReason focusReason = Qt::OtherFocusReason )
void setGroup ( QGraphicsItemGroup * group )
void setHandlesChildEvents ( bool enabled )
void setOpacity ( qreal opacity )
void setParentItem ( QGraphicsItem * parent )
void setPos ( const QPointF & pos )
void setPos ( qreal x, qreal y )
void setSelected ( bool selected )
void setToolTip ( const QString & toolTip )
void setTransform ( const QTransform & matrix, bool combine = false )
void setVisible ( bool visible )
void setZValue ( qreal z )
virtual QPainterPath shape () const
void shear ( qreal sh, qreal sv )
void show ()
QString toolTip () const
QGraphicsItem * topLevelItem () const
QGraphicsWidget * topLevelWidget () const
QTransform transform () const
void translate ( qreal dx, qreal dy )
virtual int type () const
void ungrabKeyboard ()
void ungrabMouse ()
void unsetCursor ()
void update ( const QRectF & rect = QRectF() )
void update ( qreal x, qreal y, qreal width, qreal height )
QGraphicsWidget * window () const
qreal x () const
qreal y () const
qreal zValue () const
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,121 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject =
Inherit = QObject
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsItemAnimation>
#include <QtGui/QMatrix>
#include <QtCore/QPointF>
/*
* QGraphicsItemAnimation ( QObject * parent = 0 )
* virtual ~QGraphicsItemAnimation ()
*/
HB_FUNC( QT_QGRAPHICSITEMANIMATION )
{
hb_retptr( new QGraphicsItemAnimation() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
void clear ()
qreal horizontalScaleAt ( qreal step ) const
qreal horizontalShearAt ( qreal step ) const
QGraphicsItem * item () const
QMatrix matrixAt ( qreal step ) const
QPointF posAt ( qreal step ) const
QList<QPair<qreal, QPointF> > posList () const
qreal rotationAt ( qreal step ) const
QList<QPair<qreal, qreal> > rotationList () const
QList<QPair<qreal, QPointF> > scaleList () const
void setItem ( QGraphicsItem * item )
void setPosAt ( qreal step, const QPointF & point )
void setRotationAt ( qreal step, qreal angle )
void setScaleAt ( qreal step, qreal sx, qreal sy )
void setShearAt ( qreal step, qreal sh, qreal sv )
void setTimeLine ( QTimeLine * timeLine )
void setTranslationAt ( qreal step, qreal dx, qreal dy )
QList<QPair<qreal, QPointF> > shearList () const
QTimeLine * timeLine () const
QList<QPair<qreal, QPointF> > translationList () const
qreal verticalScaleAt ( qreal step ) const
qreal verticalShearAt ( qreal step ) const
qreal xTranslationAt ( qreal step ) const
qreal yTranslationAt ( qreal step ) const
</PROTOS>
<SLOTS>
void setStep ( qreal step )
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,96 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit = QGraphicsItem
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsItemGroup>
/*
* QGraphicsItemGroup ( QGraphicsItem * parent = 0 )
* ~QGraphicsItemGroup ()
*/
HB_FUNC( QT_QGRAPHICSITEMGROUP )
{
hb_retptr( new QGraphicsItemGroup() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
void addToGroup ( QGraphicsItem * item )
void removeFromGroup ( QGraphicsItem * item )
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,102 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit = QGraphicsLayoutItem
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsLayout>
/*
* QGraphicsLayout ( QGraphicsLayoutItem * parent = 0 )
* ~QGraphicsLayout ()
*/
HB_FUNC( QT_QGRAPHICSLAYOUT )
{
// hb_retptr( new QGraphicsLayout() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
void activate ()
virtual int count () const = 0
virtual void invalidate ()
bool isActivated () const
virtual QGraphicsLayoutItem * itemAt ( int i ) const = 0
virtual void removeAt ( int index ) = 0
void setContentsMargins ( qreal left, qreal top, qreal right, qreal bottom )
virtual void widgetEvent ( QEvent * e )
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,132 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit =
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsLayoutItem>
#include <QtCore/QRectF>
#include <QtCore/QSizeF>
#include <QtCore/QPointF>
/*
* QGraphicsLayoutItem ( QGraphicsLayoutItem * parent = 0, bool isLayout = false )
* virtual ~QGraphicsLayoutItem ()
*/
HB_FUNC( QT_QGRAPHICSLAYOUTITEM )
{
// hb_retptr( new QGraphicsLayoutItem() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
QRectF contentsRect () const
QSizeF effectiveSizeHint ( Qt::SizeHint which, const QSizeF & constraint = QSizeF() ) const
QRectF geometry () const
virtual void getContentsMargins ( qreal * left, qreal * top, qreal * right, qreal * bottom ) const
QGraphicsItem * graphicsItem () const
bool isLayout () const
qreal maximumHeight () const
QSizeF maximumSize () const
qreal maximumWidth () const
qreal minimumHeight () const
QSizeF minimumSize () const
qreal minimumWidth () const
bool ownedByLayout () const
QGraphicsLayoutItem * parentLayoutItem () const
qreal preferredHeight () const
QSizeF preferredSize () const
qreal preferredWidth () const
virtual void setGeometry ( const QRectF & rect )
void setMaximumHeight ( qreal height )
void setMaximumSize ( const QSizeF & size )
void setMaximumSize ( qreal w, qreal h )
void setMaximumWidth ( qreal width )
void setMinimumHeight ( qreal height )
void setMinimumSize ( const QSizeF & size )
void setMinimumSize ( qreal w, qreal h )
void setMinimumWidth ( qreal width )
void setParentLayoutItem ( QGraphicsLayoutItem * parent )
void setPreferredHeight ( qreal height )
void setPreferredSize ( const QSizeF & size )
void setPreferredSize ( qreal w, qreal h )
void setPreferredWidth ( qreal width )
void setSizePolicy ( const QSizePolicy & policy )
void setSizePolicy ( QSizePolicy::Policy hPolicy, QSizePolicy::Policy vPolicy, QSizePolicy::ControlType controlType = QSizePolicy::DefaultType )
QSizePolicy sizePolicy () const
virtual void updateGeometry ()
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,102 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit = QGraphicsItem
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsLineItem>
#include <QtGui/QPen>
/*
* QGraphicsLineItem ( QGraphicsItem * parent = 0 )
* QGraphicsLineItem ( const QLineF & line, QGraphicsItem * parent = 0 )
* QGraphicsLineItem ( qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem * parent = 0 )
* ~QGraphicsLineItem ()
*/
HB_FUNC( QT_QGRAPHICSLINEITEM )
{
hb_retptr( new QGraphicsLineItem() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
QLineF line () const
QPen pen () const
void setLine ( const QLineF & line )
void setLine ( qreal x1, qreal y1, qreal x2, qreal y2 )
void setPen ( const QPen & pen )
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,111 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit = QGraphicsLayout
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsLinearLayout>
/*
* QGraphicsLinearLayout ( QGraphicsLayoutItem * parent = 0 )
* QGraphicsLinearLayout ( Qt::Orientation orientation, QGraphicsLayoutItem * parent = 0 )
* virtual ~QGraphicsLinearLayout ()
*/
HB_FUNC( QT_QGRAPHICSLINEARLAYOUT )
{
hb_retptr( new QGraphicsLinearLayout() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
void addItem ( QGraphicsLayoutItem * item )
void addStretch ( int stretch = 1 )
Qt::Alignment alignment ( QGraphicsLayoutItem * item ) const
void insertItem ( int index, QGraphicsLayoutItem * item )
void insertStretch ( int index, int stretch = 1 )
qreal itemSpacing ( int index ) const
Qt::Orientation orientation () const
virtual void removeAt ( int index )
void removeItem ( QGraphicsLayoutItem * item )
void setAlignment ( QGraphicsLayoutItem * item, Qt::Alignment alignment )
void setItemSpacing ( int index, qreal spacing )
void setOrientation ( Qt::Orientation orientation )
void setSpacing ( qreal spacing )
void setStretchFactor ( QGraphicsLayoutItem * item, int stretch )
qreal spacing () const
int stretchFactor ( QGraphicsLayoutItem * item ) const
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,97 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit = QAbstractGraphicsShapeItem
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsPathItem>
/*
* QGraphicsPathItem ( QGraphicsItem * parent = 0 )
* QGraphicsPathItem ( const QPainterPath & path, QGraphicsItem * parent = 0 )
* ~QGraphicsPathItem ()
*/
HB_FUNC( QT_QGRAPHICSPATHITEM )
{
hb_retptr( new QGraphicsPathItem() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
QPainterPath path () const
void setPath ( const QPainterPath & path )
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,105 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit = QGraphicsItem
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsPixmapItem>
/*
* QGraphicsPixmapItem ( QGraphicsItem * parent = 0 )
* QGraphicsPixmapItem ( const QPixmap & pixmap, QGraphicsItem * parent = 0 )
* ~QGraphicsPixmapItem ()
*/
HB_FUNC( QT_QGRAPHICSPIXMAPITEM )
{
hb_retptr( new QGraphicsPixmapItem() );
}
</CODE>
<ENUMS>
enum ShapeMode { MaskShape, BoundingRectShape, HeuristicMaskShape }
</ENUMS>
<PROTOS>
QPointF offset () const
QPixmap pixmap () const
void setOffset ( const QPointF & offset )
void setOffset ( qreal x, qreal y )
void setPixmap ( const QPixmap & pixmap )
void setShapeMode ( ShapeMode mode )
void setTransformationMode ( Qt::TransformationMode mode )
ShapeMode shapeMode () const
Qt::TransformationMode transformationMode () const
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,99 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit = QAbstractGraphicsShapeItem
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsPolygonItem>
/*
* QGraphicsPolygonItem ( QGraphicsItem * parent = 0 )
* QGraphicsPolygonItem ( const QPolygonF & polygon, QGraphicsItem * parent = 0 )
* ~QGraphicsPolygonItem ()
*/
HB_FUNC( QT_QGRAPHICSPOLYGONITEM )
{
hb_retptr( new QGraphicsPolygonItem() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
Qt::FillRule fillRule () const
QPolygonF polygon () const
void setFillRule ( Qt::FillRule rule )
void setPolygon ( const QPolygonF & polygon )
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,98 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject =
Inherit = QGraphicsWidget
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsProxyWidget>
/*
* QGraphicsProxyWidget ( QGraphicsItem * parent = 0, Qt::WindowFlags wFlags = 0 )
* ~QGraphicsProxyWidget ()
*/
HB_FUNC( QT_QGRAPHICSPROXYWIDGET )
{
hb_retptr( new QGraphicsProxyWidget() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
QGraphicsProxyWidget * createProxyForChildWidget ( QWidget * child )
void setWidget ( QWidget * widget )
QRectF subWidgetRect ( const QWidget * widget ) const
QWidget * widget () const
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,99 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit = QAbstractGraphicsShapeItem
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsRectItem>
/*
* QGraphicsRectItem ( QGraphicsItem * parent = 0 )
* QGraphicsRectItem ( const QRectF & rect, QGraphicsItem * parent = 0 )
* QGraphicsRectItem ( qreal x, qreal y, qreal width, qreal height, QGraphicsItem * parent = 0 )
* ~QGraphicsRectItem ()
*/
HB_FUNC( QT_QGRAPHICSRECTITEM )
{
hb_retptr( new QGraphicsRectItem() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
QRectF rect () const
void setRect ( const QRectF & rectangle )
void setRect ( qreal x, qreal y, qreal width, qreal height )
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,196 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = yes
Inherit = QObject
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsScene>
#include <QtGui/QPalette>
/*
* QGraphicsScene ( QObject * parent = 0 )
* QGraphicsScene ( const QRectF & sceneRect, QObject * parent = 0 )
* QGraphicsScene ( qreal x, qreal y, qreal width, qreal height, QObject * parent = 0 )
* virtual ~QGraphicsScene ()
*/
HB_FUNC( QT_QGRAPHICSSCENE )
{
if( hb_pcount() >= 4 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) && HB_ISNUM( 4 ) )
{
hb_retptr( new QGraphicsScene( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), ( HB_ISPOINTER( 5 ) ? hbqt_par_QObject( 5 ) : 0 ) ) );
}
else if( hb_pcount() >= 1 && HB_ISPOINTER( 1 ) )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 );
if( p->type == HBQT_TYPE_QObject )
{
hb_retptr( new QGraphicsScene( hbqt_par_QObject( 1 ) ) );
}
else if( p->type == HBQT_TYPE_QRectF )
{
hb_retptr( new QGraphicsScene( *hbqt_par_QRectF( 1 ), ( HB_ISPOINTER( 2 ) ? hbqt_par_QObject( 2 ) : 0 ) ) );
}
else
{
hb_retptr( new QGraphicsScene() );
}
}
else
{
hb_retptr( new QGraphicsScene() );
}
}
</CODE>
<ENUMS>
enum ItemIndexMethod { BspTreeIndex, NoIndex }
enum SceneLayer { ItemLayer, BackgroundLayer, ForegroundLayer, AllLayers }
flags SceneLayers
</ENUMS>
<PROTOS>
QGraphicsWidget * activeWindow () const
QGraphicsEllipseItem * addEllipse ( const QRectF & rect, const QPen & pen = QPen(), const QBrush & brush = QBrush() )
QGraphicsEllipseItem * addEllipse ( qreal x, qreal y, qreal w, qreal h, const QPen & pen = QPen(), const QBrush & brush = QBrush() )
void addItem ( QGraphicsItem * item )
QGraphicsLineItem * addLine ( const QLineF & line, const QPen & pen = QPen() )
QGraphicsLineItem * addLine ( qreal x1, qreal y1, qreal x2, qreal y2, const QPen & pen = QPen() )
QGraphicsPathItem * addPath ( const QPainterPath & path, const QPen & pen = QPen(), const QBrush & brush = QBrush() )
QGraphicsPixmapItem * addPixmap ( const QPixmap & pixmap )
QGraphicsPolygonItem * addPolygon ( const QPolygonF & polygon, const QPen & pen = QPen(), const QBrush & brush = QBrush() )
QGraphicsRectItem * addRect ( const QRectF & rect, const QPen & pen = QPen(), const QBrush & brush = QBrush() )
QGraphicsRectItem * addRect ( qreal x, qreal y, qreal w, qreal h, const QPen & pen = QPen(), const QBrush & brush = QBrush() )
QGraphicsSimpleTextItem * addSimpleText ( const QString & text, const QFont & font = QFont() )
QGraphicsTextItem * addText ( const QString & text, const QFont & font = QFont() )
QGraphicsProxyWidget * addWidget ( QWidget * widget, Qt::WindowFlags wFlags = 0 )
QBrush backgroundBrush () const
int bspTreeDepth () const
void clearFocus ()
QList<QGraphicsItem *> collidingItems ( const QGraphicsItem * item, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const
QGraphicsItemGroup * createItemGroup ( const QList<QGraphicsItem *> & items )
void destroyItemGroup ( QGraphicsItemGroup * group )
QGraphicsItem * focusItem () const
QFont font () const
QBrush foregroundBrush () const
bool hasFocus () const
qreal height () const
// virtual QVariant inputMethodQuery ( Qt::InputMethodQuery query ) const
void invalidate ( qreal x, qreal y, qreal w, qreal h, SceneLayers layers = AllLayers )
bool isSortCacheEnabled () const
QGraphicsItem * itemAt ( const QPointF & position ) const
QGraphicsItem * itemAt ( qreal x, qreal y ) const
ItemIndexMethod itemIndexMethod () const
QList<QGraphicsItem *> items () const
QList<QGraphicsItem *> items ( const QPointF & pos ) const
QList<QGraphicsItem *> items ( qreal x, qreal y, qreal w, qreal h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const
QList<QGraphicsItem *> items ( const QRectF & rectangle, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const
QList<QGraphicsItem *> items ( const QPolygonF & polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const
QList<QGraphicsItem *> items ( const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const
QRectF itemsBoundingRect () const
QGraphicsItem * mouseGrabberItem () const
QPalette palette () const
void removeItem ( QGraphicsItem * item )
void render ( QPainter * painter, const QRectF & target = QRectF(), const QRectF & source = QRectF(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio )
QRectF sceneRect () const
QList<QGraphicsItem *> selectedItems () const
QPainterPath selectionArea () const
void setActiveWindow ( QGraphicsWidget * widget )
void setBackgroundBrush ( const QBrush & brush )
void setBspTreeDepth ( int depth )
void setFocus ( Qt::FocusReason focusReason = Qt::OtherFocusReason )
void setFocusItem ( QGraphicsItem * item, Qt::FocusReason focusReason = Qt::OtherFocusReason )
void setFont ( const QFont & font )
void setForegroundBrush ( const QBrush & brush )
void setItemIndexMethod ( ItemIndexMethod method )
void setPalette ( const QPalette & palette )
void setSceneRect ( const QRectF & rect )
void setSceneRect ( qreal x, qreal y, qreal w, qreal h )
void setSelectionArea ( const QPainterPath & path )
void setSelectionArea ( const QPainterPath & path, Qt::ItemSelectionMode mode )
void setSortCacheEnabled ( bool enabled )
void setStickyFocus ( bool enabled )
void setStyle ( QStyle * style )
bool stickyFocus () const
QStyle * style () const
void update ( qreal x, qreal y, qreal w, qreal h )
QList<QGraphicsView *> views () const
qreal width () const
</PROTOS>
<SLOTS>
void advance ()
void clear ()
void clearSelection ()
void invalidate ( const QRectF & rect = QRectF(), SceneLayers layers = AllLayers )
void update ( const QRectF & rect = QRectF() )
</SLOTS>
<SIGNALS>
void changed ( const QList<QRectF> & region )
void sceneRectChanged ( const QRectF & rect )
void selectionChanged ()
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,100 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit = QAbstractGraphicsShapeItem
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsSimpleTextItem>
#include <QtGui/QFont>
/*
* QGraphicsSimpleTextItem ( QGraphicsItem * parent = 0 )
* QGraphicsSimpleTextItem ( const QString & text, QGraphicsItem * parent = 0 )
* ~QGraphicsSimpleTextItem ()
*/
HB_FUNC( QT_QGRAPHICSSIMPLETEXTITEM )
{
hb_retptr( new QGraphicsSimpleTextItem() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
QFont font () const
void setFont ( const QFont & font )
void setText ( const QString & text )
QString text () const
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,101 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject =
Inherit = QObject, QGraphicsItem
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsSvgItem>
/*
* QGraphicsSvgItem ( QGraphicsItem * parent = 0 )
* QGraphicsSvgItem ( const QString & fileName, QGraphicsItem * parent = 0 )
*/
HB_FUNC( QT_QGRAPHICSSVGITEM )
{
hb_retptr( new QGraphicsSvgItem() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
virtual QRectF boundingRect () const
QString elementId () const
QSize maximumCacheSize () const
QSvgRenderer * renderer () const
void setElementId ( const QString & id )
void setMaximumCacheSize ( const QSize & size )
void setSharedRenderer ( QSvgRenderer * renderer )
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,121 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject =
Inherit = QObject, QGraphicsItem
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsTextItem>
#include <QtGui/QFont>
#include <QtGui/QTextCursor>
#include <QtGui/QTextDocument>
/*
* QGraphicsTextItem ( QGraphicsItem * parent = 0 )
* QGraphicsTextItem ( const QString & text, QGraphicsItem * parent = 0 )
* ~QGraphicsTextItem ()
*/
HB_FUNC( QT_QGRAPHICSTEXTITEM )
{
hb_retptr( new QGraphicsTextItem() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
void adjustSize ()
QColor defaultTextColor () const
QTextDocument * document () const
QFont font () const
bool openExternalLinks () const
void setDefaultTextColor ( const QColor & col )
void setDocument ( QTextDocument * document )
void setFont ( const QFont & font )
void setHtml ( const QString & text )
void setOpenExternalLinks ( bool open )
void setPlainText ( const QString & text )
void setTabChangesFocus ( bool b )
void setTextCursor ( const QTextCursor & cursor )
void setTextInteractionFlags ( Qt::TextInteractionFlags flags )
void setTextWidth ( qreal width )
bool tabChangesFocus () const
QTextCursor textCursor () const
Qt::TextInteractionFlags textInteractionFlags () const
qreal textWidth () const
QString toHtml () const
QString toPlainText () const
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
void linkActivated ( const QString & link )
void linkHovered ( const QString & link )
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,198 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject =
Inherit = QAbstractScrollArea
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsView>
/*
* QGraphicsView ( QWidget * parent = 0 )
* QGraphicsView ( QGraphicsScene * scene, QWidget * parent = 0 )
* ~QGraphicsView ()
*/
HB_FUNC( QT_QGRAPHICSVIEW )
{
if( hb_pcount() >= 1 )
{
HBQT_GC_T * p = ( HBQT_GC_T * ) hb_parptrGC( hbqt_gcFuncs(), 1 );
if( p->type == HBQT_TYPE_QWidget )
{
hb_retptr( new QGraphicsView( hbqt_par_QWidget( 1 ) ) );
}
else if( p->type == HBQT_TYPE_QGraphicsScene )
{
hb_retptr( new QGraphicsView( hbqt_par_QGraphicsScene( 1 ), ( HB_ISPOINTER( 2 ) ? hbqt_par_QWidget( 2 ) : 0 ) ) );
}
else
{
hb_retptr( new QGraphicsView() );
}
}
else
{
hb_retptr( new QGraphicsView() );
}
}
</CODE>
<ENUMS>
flags CacheMode
enum CacheModeFlag { CacheNone, CacheBackground }
enum DragMode { NoDrag, ScrollHandDrag, RubberBandDrag }
flags OptimizationFlags
enum OptimizationFlag { DontClipPainter, DontSavePainterState, DontAdjustForAntialiasing }
enum ViewportAnchor { NoAnchor, AnchorViewCenter, AnchorUnderMouse }
enum ViewportUpdateMode { FullViewportUpdate, MinimalViewportUpdate, SmartViewportUpdate, BoundingRectViewportUpdate, NoViewportUpdate }
</ENUMS>
<PROTOS>
Qt::Alignment alignment () const
QBrush backgroundBrush () const
CacheMode cacheMode () const
void centerOn ( const QPointF & pos )
void centerOn ( qreal x, qreal y )
void centerOn ( const QGraphicsItem * item )
DragMode dragMode () const
void ensureVisible ( const QRectF & rect, int xmargin = 50, int ymargin = 50 )
void ensureVisible ( qreal x, qreal y, qreal w, qreal h, int xmargin = 50, int ymargin = 50 )
void ensureVisible ( const QGraphicsItem * item, int xmargin = 50, int ymargin = 50 )
void fitInView ( const QRectF & rect, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio )
void fitInView ( qreal x, qreal y, qreal w, qreal h, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio )
void fitInView ( const QGraphicsItem * item, Qt::AspectRatioMode aspectRatioMode = Qt::IgnoreAspectRatio )
QBrush foregroundBrush () const
bool isInteractive () const
QGraphicsItem * itemAt ( const QPoint & pos ) const
QGraphicsItem * itemAt ( int x, int y ) const
QList<QGraphicsItem *> items () const
QList<QGraphicsItem *> items ( const QPoint & pos ) const
QList<QGraphicsItem *> items ( int x, int y ) const
QList<QGraphicsItem *> items ( int x, int y, int w, int h, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const
QList<QGraphicsItem *> items ( const QRect & rect, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const
QList<QGraphicsItem *> items ( const QPolygon & polygon, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const
QList<QGraphicsItem *> items ( const QPainterPath & path, Qt::ItemSelectionMode mode = Qt::IntersectsItemShape ) const
QPoint mapFromScene ( const QPointF & point ) const
QPolygon mapFromScene ( const QRectF & rect ) const
QPolygon mapFromScene ( const QPolygonF & polygon ) const
QPainterPath mapFromScene ( const QPainterPath & path ) const
QPoint mapFromScene ( qreal x, qreal y ) const
QPolygon mapFromScene ( qreal x, qreal y, qreal w, qreal h ) const
QPointF mapToScene ( const QPoint & point ) const
QPolygonF mapToScene ( const QRect & rect ) const
QPolygonF mapToScene ( const QPolygon & polygon ) const
QPainterPath mapToScene ( const QPainterPath & path ) const
QPointF mapToScene ( int x, int y ) const
QPolygonF mapToScene ( int x, int y, int w, int h ) const
QMatrix matrix () const
OptimizationFlags optimizationFlags () const
void render ( QPainter * painter, const QRectF & target = QRectF(), const QRect & source = QRect(), Qt::AspectRatioMode aspectRatioMode = Qt::KeepAspectRatio )
QPainter::RenderHints renderHints () const
void resetCachedContent ()
void resetMatrix ()
void resetTransform ()
ViewportAnchor resizeAnchor () const
void rotate ( qreal angle )
Qt::ItemSelectionMode rubberBandSelectionMode () const
void scale ( qreal sx, qreal sy )
QGraphicsScene * scene () const
QRectF sceneRect () const
void setAlignment ( Qt::Alignment alignment )
void setBackgroundBrush ( const QBrush & brush )
void setCacheMode ( CacheMode mode )
void setDragMode ( DragMode mode )
void setForegroundBrush ( const QBrush & brush )
void setInteractive ( bool allowed )
void setMatrix ( const QMatrix & matrix, bool combine = false )
void setOptimizationFlag ( OptimizationFlag flag, bool enabled = true )
void setOptimizationFlags ( OptimizationFlags flags )
void setRenderHint ( QPainter::RenderHint hint, bool enabled = true )
void setRenderHints ( QPainter::RenderHints hints )
void setResizeAnchor ( ViewportAnchor anchor )
void setRubberBandSelectionMode ( Qt::ItemSelectionMode mode )
void setScene ( QGraphicsScene * scene )
void setSceneRect ( const QRectF & rect )
void setSceneRect ( qreal x, qreal y, qreal w, qreal h )
void setTransform ( const QTransform & matrix, bool combine = false )
void setTransformationAnchor ( ViewportAnchor anchor )
void setViewportUpdateMode ( ViewportUpdateMode mode )
void shear ( qreal sh, qreal sv )
QTransform transform () const
ViewportAnchor transformationAnchor () const
void translate ( qreal dx, qreal dy )
QTransform viewportTransform () const
ViewportUpdateMode viewportUpdateMode () const
</PROTOS>
<SLOTS>
void invalidateScene ( const QRectF & rect = QRectF(), QGraphicsScene::SceneLayers layers = QGraphicsScene::AllLayers )
void updateScene ( const QList<QRectF> & rects )
void updateSceneRect ( const QRectF & rect )
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,145 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <pritpal@vouchcac.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject =
Inherit = QObject, QGraphicsItem, QGraphicsLayoutItem
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QGraphicsWidget>
/*
* QGraphicsWidget ( QGraphicsItem * parent = 0, Qt::WindowFlags wFlags = 0 )
* ~QGraphicsWidget ()
*/
HB_FUNC( QT_QGRAPHICSWIDGET )
{
hb_retptr( new QGraphicsWidget() );
}
</CODE>
<ENUMS>
</ENUMS>
<PROTOS>
QList<QAction *> actions () const
void addAction ( QAction * action )
void addActions ( QList<QAction *> actions )
void adjustSize ()
// const QObjectList & children () const
Qt::FocusPolicy focusPolicy () const
QGraphicsWidget * focusWidget () const
QFont font () const
virtual void getContentsMargins ( qreal * left, qreal * top, qreal * right, qreal * bottom ) const
void getWindowFrameMargins ( qreal * left, qreal * top, qreal * right, qreal * bottom ) const
int grabShortcut ( const QKeySequence & sequence, Qt::ShortcutContext context = Qt::WindowShortcut )
void insertAction ( QAction * before, QAction * action )
void insertActions ( QAction * before, QList<QAction *> actions )
bool isActiveWindow () const
QGraphicsLayout * layout () const
Qt::LayoutDirection layoutDirection () const
// virtual void paintWindowFrame ( QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget = 0 )
QPalette palette () const
QRectF rect () const
void releaseShortcut ( int id )
void removeAction ( QAction * action )
void resize ( const QSizeF & size )
void resize ( qreal w, qreal h )
void setAttribute ( Qt::WidgetAttribute attribute, bool on = true )
void setContentsMargins ( qreal left, qreal top, qreal right, qreal bottom )
void setFocusPolicy ( Qt::FocusPolicy policy )
void setFont ( const QFont & font )
virtual void setGeometry ( const QRectF & rect )
void setGeometry ( qreal x, qreal y, qreal w, qreal h )
void setLayout ( QGraphicsLayout * layout )
void setLayoutDirection ( Qt::LayoutDirection direction )
void setPalette ( const QPalette & palette )
void setShortcutAutoRepeat ( int id, bool enabled = true )
void setShortcutEnabled ( int id, bool enabled = true )
void setStyle ( QStyle * style )
void setWindowFlags ( Qt::WindowFlags wFlags )
void setWindowFrameMargins ( qreal left, qreal top, qreal right, qreal bottom )
void setWindowTitle ( const QString & title )
QSizeF size () const
QStyle * style () const
bool testAttribute ( Qt::WidgetAttribute attribute ) const
void unsetLayoutDirection ()
void unsetWindowFrameMargins ()
Qt::WindowFlags windowFlags () const
QRectF windowFrameGeometry () const
QRectF windowFrameRect () const
QString windowTitle () const
Qt::WindowType windowType () const
void setTabOrder ( QGraphicsWidget * first, QGraphicsWidget * second )
</PROTOS>
<SLOTS>
bool close ()
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
</VARIABLES>

View File

@@ -0,0 +1,101 @@
/*
* $Id$
*/
/*
* Harbour Project source code:
* QT Source Generator for Harbour
*
* Copyright 2009-2010 Pritpal Bedi <bedipritpal@hotmail.com>
* www - http://www.harbour-project.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
* Boston, MA 02111-1307 USA (or visit the web site http://www.gnu.org/).
*
* As a special exception, the Harbour Project gives permission for
* additional uses of the text contained in its release of Harbour.
*
* The exception is that, if you link the Harbour libraries with other
* files to produce an executable, this does not by itself cause the
* resulting executable to be covered by the GNU General Public License.
* Your use of that executable is in no way restricted on account of
* linking the Harbour library code into it.
*
* This exception does not however invalidate any other reasons why
* the executable file might be covered by the GNU General Public License.
*
* This exception applies only to the code released by the Harbour
* Project under the name Harbour. If you copy code from other
* Harbour Project or Free Software Foundation releases into a copy of
* Harbour, as the General Public License permits, the exception does
* not apply to the code that you add in this way. To avoid misleading
* anyone as to the status of such modified files, you must delete
* this exception notice from them.
*
* If you write modifications of your own for Harbour, it is your choice
* whether to permit this exception to apply to your modifications.
* If you do not wish that, delete this exception notice.
*
*/
/*----------------------------------------------------------------------*/
;
; Header File to Generate QT Wrapper Sources
;
<CLASS>
QObject = no
Inherit = QStyleOption
Type =
New =
</CLASS>
<CODE>
#include <QtGui/QStyleOptionGraphicsItem>
#include <QtGui/QMatrix>
#include <QtCore/QRectF>
/*
* QStyleOptionGraphicsItem ()
* QStyleOptionGraphicsItem ( const QStyleOptionGraphicsItem & other )
*/
HB_FUNC( QT_QSTYLEOPTIONGRAPHICSITEM )
{
hb_retptr( new QStyleOptionGraphicsItem() );
}
</CODE>
<ENUMS>
enum StyleOptionType { Type }
enum StyleOptionVersion { Version }
</ENUMS>
<PROTOS>
</PROTOS>
<SLOTS>
</SLOTS>
<SIGNALS>
</SIGNALS>
<VARIABLES>
QRectF exposedRect
qreal levelOfDetail
QMatrix matrix
</VARIABLES>

View File

@@ -1,66 +1,66 @@
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
#ifndef __HBQTWEBKIT_H
#define __HBQTWEBKIT_H
#include "hbqt.h"
HB_EXTERN_BEGIN
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebFrame );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHistory );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHistoryInterface );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHistoryItem );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHitTestResult );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebPage );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebPluginFactory );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebSecurityOrigin );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebSettings );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebView );
extern HB_EXPORT void * hbqt_gcAllocate_QWebFrame( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebHistory( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebHistoryInterface( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebHistoryItem( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebHitTestResult( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebPage( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebPluginFactory( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebSecurityOrigin( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebSettings( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebView( void * pObj, bool bNew );
HB_EXTERN_END
#define hbqt_par_QWebFrame( n ) ( ( QWebFrame * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHistory( n ) ( ( QWebHistory * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHistoryInterface( n ) ( ( QWebHistoryInterface * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHistoryItem( n ) ( ( QWebHistoryItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHitTestResult( n ) ( ( QWebHitTestResult * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebPage( n ) ( ( QWebPage * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebPluginFactory( n ) ( ( QWebPluginFactory * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebSecurityOrigin( n ) ( ( QWebSecurityOrigin * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebSettings( n ) ( ( QWebSettings * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebView( n ) ( ( QWebView * ) hbqt_gcpointer( n ) )
#define HBQT_TYPE_QTWEBKIT_BASE 60000
#define HBQT_TYPE_QWebFrame ( HBQT_TYPE_QTWEBKIT_BASE + 1 )
#define HBQT_TYPE_QWebHistory ( HBQT_TYPE_QTWEBKIT_BASE + 2 )
#define HBQT_TYPE_QWebHistoryInterface ( HBQT_TYPE_QTWEBKIT_BASE + 3 )
#define HBQT_TYPE_QWebHistoryItem ( HBQT_TYPE_QTWEBKIT_BASE + 4 )
#define HBQT_TYPE_QWebHitTestResult ( HBQT_TYPE_QTWEBKIT_BASE + 5 )
#define HBQT_TYPE_QWebPage ( HBQT_TYPE_QTWEBKIT_BASE + 6 )
#define HBQT_TYPE_QWebPluginFactory ( HBQT_TYPE_QTWEBKIT_BASE + 7 )
#define HBQT_TYPE_QWebSecurityOrigin ( HBQT_TYPE_QTWEBKIT_BASE + 8 )
#define HBQT_TYPE_QWebSettings ( HBQT_TYPE_QTWEBKIT_BASE + 9 )
#define HBQT_TYPE_QWebView ( HBQT_TYPE_QTWEBKIT_BASE + 10 )
#endif /* __HBQTWEBKIT_H */
/*
* $Id$
*/
/* -------------------------------------------------------------------- */
/* WARNING: Automatically generated source file. DO NOT EDIT! */
/* Instead, edit corresponding .qth file, */
/* or the generator tool itself, and run regenarate. */
/* -------------------------------------------------------------------- */
#ifndef __HBQTWEBKIT_H
#define __HBQTWEBKIT_H
#include "hbqt.h"
HB_EXTERN_BEGIN
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebFrame );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHistory );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHistoryInterface );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHistoryItem );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebHitTestResult );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebPage );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebPluginFactory );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebSecurityOrigin );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebSettings );
extern HB_EXPORT HBQT_GC_FUNC( hbqt_gcRelease_QWebView );
extern HB_EXPORT void * hbqt_gcAllocate_QWebFrame( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebHistory( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebHistoryInterface( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebHistoryItem( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebHitTestResult( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebPage( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebPluginFactory( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebSecurityOrigin( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebSettings( void * pObj, bool bNew );
extern HB_EXPORT void * hbqt_gcAllocate_QWebView( void * pObj, bool bNew );
HB_EXTERN_END
#define hbqt_par_QWebFrame( n ) ( ( QWebFrame * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHistory( n ) ( ( QWebHistory * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHistoryInterface( n ) ( ( QWebHistoryInterface * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHistoryItem( n ) ( ( QWebHistoryItem * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebHitTestResult( n ) ( ( QWebHitTestResult * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebPage( n ) ( ( QWebPage * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebPluginFactory( n ) ( ( QWebPluginFactory * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebSecurityOrigin( n ) ( ( QWebSecurityOrigin * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebSettings( n ) ( ( QWebSettings * ) hbqt_gcpointer( n ) )
#define hbqt_par_QWebView( n ) ( ( QWebView * ) hbqt_gcpointer( n ) )
#define HBQT_TYPE_QTWEBKIT_BASE 60000
#define HBQT_TYPE_QWebFrame ( HBQT_TYPE_QTWEBKIT_BASE + 1 )
#define HBQT_TYPE_QWebHistory ( HBQT_TYPE_QTWEBKIT_BASE + 2 )
#define HBQT_TYPE_QWebHistoryInterface ( HBQT_TYPE_QTWEBKIT_BASE + 3 )
#define HBQT_TYPE_QWebHistoryItem ( HBQT_TYPE_QTWEBKIT_BASE + 4 )
#define HBQT_TYPE_QWebHitTestResult ( HBQT_TYPE_QTWEBKIT_BASE + 5 )
#define HBQT_TYPE_QWebPage ( HBQT_TYPE_QTWEBKIT_BASE + 6 )
#define HBQT_TYPE_QWebPluginFactory ( HBQT_TYPE_QTWEBKIT_BASE + 7 )
#define HBQT_TYPE_QWebSecurityOrigin ( HBQT_TYPE_QTWEBKIT_BASE + 8 )
#define HBQT_TYPE_QWebSettings ( HBQT_TYPE_QTWEBKIT_BASE + 9 )
#define HBQT_TYPE_QWebView ( HBQT_TYPE_QTWEBKIT_BASE + 10 )
#endif /* __HBQTWEBKIT_H */

View File

@@ -55,6 +55,7 @@ QTextEncoder.qth
QTextStream.qth
QThread.qth
QTime.qth
QTimeLine.qth
QTimer.qth
QTranslator.qth
QUrl.qth

View File

@@ -14,6 +14,7 @@ HBQTableView.qth
HBQTextBlockUserData.qth
QAbstractButton.qth
QAbstractGraphicsShapeItem.qth
QAbstractItemDelegate.qth
QAbstractItemView.qth
QAbstractPrintDialog.qth
@@ -69,6 +70,25 @@ QFontMetricsF.qth
QFormLayout.qth
QFrame.qth
QGradient.qth
QGraphicsEllipseItem.qth
QGraphicsGridLayout.qth
QGraphicsItem.qth
QGraphicsItemAnimation.qth
QGraphicsItemGroup.qth
QGraphicsLayout.qth
QGraphicsLayoutItem.qth
QGraphicsLinearLayout.qth
QGraphicsLineItem.qth
QGraphicsPathItem.qth
QGraphicsPixmapItem.qth
QGraphicsPolygonItem.qth
QGraphicsProxyWidget.qth
QGraphicsRectItem.qth
QGraphicsScene.qth
QGraphicsSimpleTextItem.qth
QGraphicsTextItem.qth
QGraphicsView.qth
QGraphicsWidget.qth
QGridLayout.qth
QGroupBox.qth
QHBoxLayout.qth
@@ -165,6 +185,7 @@ QStyleOptionComplex.qth
QStyleOptionDockWidget.qth
QStyleOptionFocusRect.qth
QStyleOptionFrame.qth
QStyleOptionGraphicsItem.qth
QStyleOptionGroupBox.qth
QStyleOptionHeader.qth
QStyleOptionMenuItem.qth
@@ -234,3 +255,7 @@ QWizard.qth
QWizardPage.qth
QUiLoader.qth