* contrib/hbqt/qtgui/qth/QCalendarWidget.qth
* contrib/hbqt/qtgui/qth/QCheckBox.qth
* contrib/hbqt/qtgui/qth/QCloseEvent.qth
* contrib/hbqt/qtgui/qth/QCommandLinkButton.qth
* contrib/hbqt/qtgui/qth/QCompleter.qth
* contrib/hbqt/qtgui/qth/QConicalGradient.qth
* contrib/hbqt/qtgui/qth/QDateEdit.qth
* contrib/hbqt/qtgui/qth/QDateTimeEdit.qth
* contrib/hbqt/qtgui/qth/QDeclarativeContext.qth
* contrib/hbqt/qtgui/qth/QDial.qth
* contrib/hbqt/qtgui/qth/QDialog.qth
* contrib/hbqt/qtgui/qth/QDockWidget.qth
* contrib/hbqt/qtgui/qth/QDoubleSpinBox.qth
* contrib/hbqt/qtgui/qth/QDrag.qth
* contrib/hbqt/qtgui/qth/QErrorMessage.qth
* contrib/hbqt/qtgui/qth/QFileSystemModel.qth
* contrib/hbqt/qtgui/qth/QFocusFrame.qth
* contrib/hbqt/qtgui/qth/QFontComboBox.qth
* contrib/hbqt/qtgui/qth/QFontMetrics.qth
* contrib/hbqt/qtgui/qth/QFontMetricsF.qth
* contrib/hbqt/qtgui/qth/QGroupBox.qth
* contrib/hbqt/qtgui/qth/QInputDialog.qth
* contrib/hbqt/qtgui/qth/QItemSelection.qth
* contrib/hbqt/qtgui/qth/QKeySequence.qth
* contrib/hbqt/qtgui/qth/QLCDNumber.qth
* contrib/hbqt/qtgui/qth/QListView.qth
* contrib/hbqt/qtgui/qth/QMatrix.qth
* contrib/hbqt/qtgui/qth/QMessageBox.qth
* contrib/hbqt/qtgui/qth/QMovie.qth
* contrib/hbqt/qtgui/qth/QPainterPath.qth
* contrib/hbqt/qtgui/qth/QPixmap.qth
* contrib/hbqt/qtgui/qth/QProgressBar.qth
* contrib/hbqt/qtgui/qth/QProgressDialog.qth
* contrib/hbqt/qtgui/qth/QRadioButton.qth
* contrib/hbqt/qtgui/qth/QSpacerItem.qth
! Fixed: constructors.
This has been a tidious process and I could have
broken something in the process, though, all demoes
and hbIDE is working fine. If you find some inconsistency,
please shout. Also if someone can overlook the .qth's
for remaining files yet needs the constructors reworked,
it will be a great help.
66 lines
1.4 KiB
Plaintext
66 lines
1.4 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 = no
|
|
Inherit = QGradient
|
|
Type = Core
|
|
New =
|
|
</CLASS>
|
|
|
|
<CODE>
|
|
#include <QtGui/QConicalGradient>
|
|
|
|
|
|
/*
|
|
* QConicalGradient ()
|
|
* QConicalGradient ( const QPointF & center, qreal angle )
|
|
* QConicalGradient ( qreal cx, qreal cy, qreal angle )
|
|
*/
|
|
HB_FUNC( QT_QCONICALGRADIENT )
|
|
{
|
|
if( hb_pcount() == 2 && hbqt_par_isDerivedFrom( 1, "QPOINTF" ) && HB_ISNUM( 2 ) )
|
|
{
|
|
__HB_RETPTRGC__( new QConicalGradient( *hbqt_par_QPointF( 1 ), hb_parnd( 2 ) ) );
|
|
}
|
|
else if( hb_pcount() == 3 && HB_ISNUM( 1 ) && HB_ISNUM( 2 ) && HB_ISNUM( 3 ) )
|
|
{
|
|
__HB_RETPTRGC__( new QConicalGradient( hb_parnd( 1 ), hb_parnd( 2 ), hb_parnd( 3 ) ) );
|
|
}
|
|
else
|
|
{
|
|
__HB_RETPTRGC__( new QConicalGradient() );
|
|
}
|
|
}
|
|
</CODE>
|
|
|
|
<ENUMS>
|
|
enum CoordinateMode { LogicalMode, StretchToDeviceMode, ObjectBoundingMode }
|
|
enum Spread { PadSpread, RepeatSpread, ReflectSpread }
|
|
enum Type { LinearGradient, RadialGradient, ConicalGradient, NoGradient }
|
|
</ENUMS>
|
|
|
|
<PROTOS>
|
|
qreal angle () const
|
|
QPointF center () const
|
|
void setAngle ( qreal angle )
|
|
void setCenter ( const QPointF & center )
|
|
void setCenter ( qreal x, qreal y )
|
|
</PROTOS>
|
|
|
|
<SLOTS>
|
|
</SLOTS>
|
|
|
|
<SIGNALS>
|
|
</SIGNALS>
|