* contrib/hbqt/qtgui/qth/HBQSyntaxHighlighter.qth
* contrib/hbqt/qtgui/qth/QAction.qth
* contrib/hbqt/qtgui/qth/QBoxLayout.qth
* contrib/hbqt/qtgui/qth/QFormLayout.qth
* contrib/hbqt/qtgui/qth/QFrame.qth
* contrib/hbqt/qtgui/qth/QGridLayout.qth
* contrib/hbqt/qtgui/qth/QLineEdit.qth
* contrib/hbqt/qtgui/qth/QPushButton.qth
* contrib/hbqt/qtgui/qth/QScrollArea.qth
* contrib/hbqt/qtgui/qth/QSizeGrip.qth
* contrib/hbqt/qtgui/qth/QSlider.qth
* contrib/hbqt/qtgui/qth/QSound.qth
* contrib/hbqt/qtgui/qth/QSpinBox.qth
* contrib/hbqt/qtgui/qth/QSplashScreen.qth
* contrib/hbqt/qtgui/qth/QSplitter.qth
* contrib/hbqt/qtgui/qth/QStackedWidget.qth
* contrib/hbqt/qtgui/qth/QStandardItem.qth
* contrib/hbqt/qtgui/qth/QStandardItemModel.qth
* contrib/hbqt/qtgui/qth/QStringListModel.qth
* contrib/hbqt/qtgui/qth/QSystemTrayIcon.qth
* contrib/hbqt/qtgui/qth/QTabBar.qth
* contrib/hbqt/qtgui/qth/QTableWidget.qth
* contrib/hbqt/qtgui/qth/QTabWidget.qth
* contrib/hbqt/qtgui/qth/QTextBrowser.qth
* contrib/hbqt/qtgui/qth/QTextDocument.qth
* contrib/hbqt/qtgui/qth/QTextEdit.qth
* contrib/hbqt/qtgui/qth/QTextFormat.qth
* contrib/hbqt/qtgui/qth/QTimeEdit.qth
* contrib/hbqt/qtgui/qth/QToolBox.qth
* contrib/hbqt/qtgui/qth/QToolButton.qth
* contrib/hbqt/qtgui/qth/QTreeView.qth
* contrib/hbqt/qtgui/qth/QTreeWidget.qth
* contrib/hbqt/qtgui/qth/QWidgetAction.qth
* contrib/hbqt/qtgui/qth/QWidgetItem.qth
* contrib/hbqt/qtgui/qth/QWizardPage.qth
! Fixed: constructors. Now hbIDE shows up with __HBQT_REVAMP__.
66 lines
1.3 KiB
Plaintext
66 lines
1.3 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 = QAbstractButton
|
|
New = pParent
|
|
</CLASS>
|
|
|
|
<CODE>
|
|
#include <QtGui/QToolButton>
|
|
|
|
|
|
/*
|
|
* QToolButton ( QWidget * parent = 0 )
|
|
* ~QToolButton ()
|
|
*/
|
|
HB_FUNC( QT_QTOOLBUTTON )
|
|
{
|
|
if( hb_pcount() == 1 && hbqt_par_isDerivedFrom( 1, "QWIDGET" ) )
|
|
{
|
|
__HB_RETPTRGC__( new QToolButton( hbqt_par_QWidget( 1 ) ) );
|
|
}
|
|
else
|
|
{
|
|
__HB_RETPTRGC__( new QToolButton() );
|
|
}
|
|
}
|
|
</CODE>
|
|
|
|
<ENUMS>
|
|
enum ToolButtonPopupMode { DelayedPopup, MenuButtonPopup, InstantPopup }
|
|
</ENUMS>
|
|
|
|
<PROTOS>
|
|
Qt::ArrowType arrowType () const
|
|
bool autoRaise () const
|
|
QAction * defaultAction () const
|
|
QMenu * menu () const
|
|
ToolButtonPopupMode popupMode () const
|
|
void setArrowType ( Qt::ArrowType type )
|
|
void setAutoRaise ( bool enable )
|
|
void setMenu ( QMenu * menu )
|
|
void setPopupMode ( ToolButtonPopupMode mode )
|
|
Qt::ToolButtonStyle toolButtonStyle () const
|
|
</PROTOS>
|
|
|
|
<SLOTS>
|
|
void setDefaultAction ( QAction * action )
|
|
void setToolButtonStyle ( Qt::ToolButtonStyle style )
|
|
void showMenu ()
|
|
</SLOTS>
|
|
|
|
<SIGNALS>
|
|
void triggered ( QAction * action )
|
|
</SIGNALS>
|