* 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.
78 lines
1.8 KiB
Plaintext
78 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>
|
|
Inherit = QDialog
|
|
New = pParent
|
|
</CLASS>
|
|
|
|
<CODE>
|
|
#include <QtGui/QProgressDialog>
|
|
|
|
|
|
/*
|
|
* QProgressDialog ( QWidget * parent = 0, Qt::WindowFlags f = 0 )
|
|
* QProgressDialog ( const QString & labelText, const QString & cancelButtonText, int minimum, int maximum, QWidget * parent = 0, Qt::WindowFlags f = 0 )
|
|
* ~QProgressDialog ()
|
|
*/
|
|
HB_FUNC( QT_QPROGRESSDIALOG )
|
|
{
|
|
if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QWIDGET" ) )
|
|
{
|
|
__HB_RETPTRGC__( new QProgressDialog( hbqt_par_QWidget( 1 ) ) );
|
|
}
|
|
else if( hb_pcount() == 2 && hbqt_par_isDerivedFrom( 1, "QWIDGET" ) && HB_ISNUM( 2 ) )
|
|
{
|
|
__HB_RETPTRGC__( new QProgressDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) );
|
|
}
|
|
else
|
|
{
|
|
__HB_RETPTRGC__( new QProgressDialog() );
|
|
}
|
|
}
|
|
</CODE>
|
|
|
|
<PROTOS>
|
|
bool autoClose () const
|
|
bool autoReset () const
|
|
QString labelText () const
|
|
int maximum () const
|
|
int minimum () const
|
|
int minimumDuration () const
|
|
void open ( QObject * receiver, const char * member )
|
|
void setAutoClose ( bool close )
|
|
void setAutoReset ( bool reset )
|
|
void setBar ( QProgressBar * bar )
|
|
void setCancelButton ( QPushButton * cancelButton )
|
|
void setLabel ( QLabel * label )
|
|
virtual QSize sizeHint () const
|
|
int value () const
|
|
bool wasCanceled () const
|
|
</PROTOS>
|
|
|
|
<SLOTS>
|
|
void cancel ()
|
|
void reset ()
|
|
void setCancelButtonText ( const QString & cancelButtonText )
|
|
void setLabelText ( const QString & text )
|
|
void setMaximum ( int maximum )
|
|
void setMinimum ( int minimum )
|
|
void setMinimumDuration ( int ms )
|
|
void setRange ( int minimum, int maximum )
|
|
void setValue ( int progress )
|
|
</SLOTS>
|
|
|
|
<SIGNALS>
|
|
void canceled ()
|
|
</SIGNALS>
|