+ contrib/hbqt/qtdeclarative
+ contrib/hbqt/qtdeclarative/doc
+ contrib/hbqt/qtdeclarative/doc/en
+ contrib/hbqt/qtdeclarative/hbqt_init.cpp
+ contrib/hbqt/qtdeclarative/hbqtdeclarative.ch
+ contrib/hbqt/qtdeclarative/hbqtdeclarative.hbc
+ contrib/hbqt/qtdeclarative/hbqtdeclarative.hbm
+ contrib/hbqt/qtdeclarative/hbqtdeclarative.hbp
+ contrib/hbqt/qtdeclarative/hbqtdeclarative.hbx
+ contrib/hbqt/qtdeclarative/hbqtdeclaratives.hbp
+ contrib/hbqt/qtdeclarative/qth
+ contrib/hbqt/qtdeclarative/qth/filelist.hbm
+ contrib/hbqt/qtdeclarative/qth/QDeclarativeComponent.qth
+ contrib/hbqt/qtdeclarative/qth/QDeclarativeContext.qth
+ contrib/hbqt/qtdeclarative/qth/QDeclarativeEngine.qth
+ contrib/hbqt/qtdeclarative/qth/QDeclarativeError.qth
+ contrib/hbqt/qtdeclarative/qth/QDeclarativeExpression.qth
+ contrib/hbqt/qtdeclarative/qth/QDeclarativeImageProvider.qth
+ contrib/hbqt/qtdeclarative/qth/QDeclarativeItem.qth
+ contrib/hbqt/qtdeclarative/qth/QDeclarativeListReference.qth
+ contrib/hbqt/qtdeclarative/qth/QDeclarativeParserStatus.qth
+ contrib/hbqt/qtdeclarative/qth/QDeclarativeProperty.qth
+ contrib/hbqt/qtdeclarative/qth/QDeclarativePropertyMap.qth
+ contrib/hbqt/qtdeclarative/qth/QDeclarativePropertyValueSource.qth
+ contrib/hbqt/qtdeclarative/qth/QDeclarativeScriptString.qth
+ contrib/hbqt/qtdeclarative/qth/QDeclarativeView.qth
+ Added: Qt's QtDeclrative module specifc classes.
* contrib/hbqt/qtgui/qth/filelist.hbm
- Removed: QDeclrative*.qth classes.
- contrib/hbqt/qtgui/qth/QDeclarativeComponent.qth
- contrib/hbqt/qtgui/qth/QDeclarativeContext.qth
- contrib/hbqt/qtgui/qth/QDeclarativeEngine.qth
- contrib/hbqt/qtgui/qth/QDeclarativeError.qth
- contrib/hbqt/qtgui/qth/QDeclarativeExpression.qth
- contrib/hbqt/qtgui/qth/QDeclarativeImageProvider.qth
- contrib/hbqt/qtgui/qth/QDeclarativeItem.qth
- contrib/hbqt/qtgui/qth/QDeclarativeListReference.qth
- contrib/hbqt/qtgui/qth/QDeclarativeParserStatus.qth
- contrib/hbqt/qtgui/qth/QDeclarativeProperty.qth
- contrib/hbqt/qtgui/qth/QDeclarativePropertyMap.qth
- contrib/hbqt/qtgui/qth/QDeclarativePropertyValueSource.qth
- contrib/hbqt/qtgui/qth/QDeclarativeScriptString.qth
- contrib/hbqt/qtgui/qth/QDeclarativeView.qth
- Moved: QDeclarative module specific files in
<qtdeclarative> folder. This effectively in line with
Harbour's quest TO maintain modularity.
84 lines
1.8 KiB
Plaintext
84 lines
1.8 KiB
Plaintext
/*
|
|
* $Id$
|
|
*/
|
|
|
|
/*
|
|
* Harbour Qt wrapper generator control file
|
|
*
|
|
* Copyright 2009-2012 Pritpal Bedi <bedipritpal@hotmail.com>
|
|
* www - http://www.harbour-project.org
|
|
*
|
|
* See COPYING for licensing terms.
|
|
*/
|
|
|
|
<CLASS>
|
|
QObject = Yes
|
|
Inherit = QGraphicsView
|
|
Type =
|
|
New =
|
|
Version = 0x040700
|
|
</CLASS>
|
|
|
|
<CODE>
|
|
#include <QtDeclarative/QDeclarativeView>
|
|
#include <QtDeclarative/QDeclarativeError>
|
|
|
|
|
|
/*
|
|
* QDeclarativeView ( QWidget * parent = 0 )
|
|
* QDeclarativeView ( const QUrl & source, QWidget * parent = 0 )
|
|
* ~QDeclarativeView ()
|
|
*/
|
|
HB_FUNC( QT_QDECLARATIVEVIEW )
|
|
{
|
|
if( hb_pcount() == 2 && hbqt_par_isDerivedFrom( 1, "QURL" ) && hbqt_par_isDerivedFrom( 2, "QWIDGET" ) )
|
|
{
|
|
__HB_RETPTRGC__( new QDeclarativeView( *hbqt_par_QUrl( 1 ), hbqt_par_QWidget( 2 ) ) );
|
|
}
|
|
else if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QURL" ) )
|
|
{
|
|
__HB_RETPTRGC__( new QDeclarativeView( *hbqt_par_QUrl( 1 ), 0 ) );
|
|
}
|
|
else if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QWIDGET" ) )
|
|
{
|
|
__HB_RETPTRGC__( new QDeclarativeView( hbqt_par_QWidget( 1 ) ) );
|
|
}
|
|
else
|
|
{
|
|
__HB_RETPTRGC__( new QDeclarativeView() );
|
|
}
|
|
}
|
|
</CODE>
|
|
|
|
<ENUMS>
|
|
enum ResizeMode { SizeViewToRootObject, SizeRootObjectToView }
|
|
enum Status { Null, Ready, Loading, Error }
|
|
</ENUMS>
|
|
|
|
<PROTOS>
|
|
QDeclarativeEngine * engine () const
|
|
QList<QDeclarativeError> errors () const
|
|
QSize initialSize () const
|
|
ResizeMode resizeMode () const
|
|
QDeclarativeContext * rootContext () const
|
|
QGraphicsObject * rootObject () const
|
|
void setResizeMode ( ResizeMode )
|
|
void setSource ( const QUrl & url )
|
|
QUrl source () const
|
|
QDeclarativeView::Status status () const
|
|
</PROTOS>
|
|
|
|
<SLOTS>
|
|
</SLOTS>
|
|
|
|
<SIGNALS>
|
|
void sceneResized ( QSize size )
|
|
void statusChanged ( QDeclarativeView::Status status )
|
|
</SIGNALS>
|
|
|
|
<VARIABLES>
|
|
</VARIABLES>
|
|
|
|
|
|
|