2009-04-07 12:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
* contrib/hbqt/hbqt.h
* contrib/hbqt/hbqt_qabstractbutton.cpp
* contrib/hbqt/hbqt_qabstractitemview.cpp
* contrib/hbqt/hbqt_qabstractprintdialog.cpp
* contrib/hbqt/hbqt_qabstractscrollarea.cpp
* contrib/hbqt/hbqt_qabstractslider.cpp
* contrib/hbqt/hbqt_qabstractspinbox.cpp
* contrib/hbqt/hbqt_qaction.cpp
* contrib/hbqt/hbqt_qapplication.cpp
* contrib/hbqt/hbqt_qboxlayout.cpp
* contrib/hbqt/hbqt_qbrush.cpp
* contrib/hbqt/hbqt_qcalendarwidget.cpp
* contrib/hbqt/hbqt_qcheckbox.cpp
* contrib/hbqt/hbqt_qcolor.cpp
* contrib/hbqt/hbqt_qcolordialog.cpp
* contrib/hbqt/hbqt_qcombobox.cpp
* contrib/hbqt/hbqt_qcommandlinkbutton.cpp
* contrib/hbqt/hbqt_qcoreapplication.cpp
* contrib/hbqt/hbqt_qdateedit.cpp
* contrib/hbqt/hbqt_qdatetimeedit.cpp
* contrib/hbqt/hbqt_qdial.cpp
* contrib/hbqt/hbqt_qdialog.cpp
* contrib/hbqt/hbqt_qdoublespinbox.cpp
* contrib/hbqt/hbqt_qerrormessage.cpp
* contrib/hbqt/hbqt_qfiledialog.cpp
* contrib/hbqt/hbqt_qfocusframe.cpp
* contrib/hbqt/hbqt_qfont.cpp
* contrib/hbqt/hbqt_qfontcombobox.cpp
* contrib/hbqt/hbqt_qfontdialog.cpp
* contrib/hbqt/hbqt_qformlayout.cpp
* contrib/hbqt/hbqt_qframe.cpp
* contrib/hbqt/hbqt_qgroupbox.cpp
* contrib/hbqt/hbqt_qhboxlayout.cpp
* contrib/hbqt/hbqt_qinputdialog.cpp
* contrib/hbqt/hbqt_qlabel.cpp
* contrib/hbqt/hbqt_qlayout.cpp
* contrib/hbqt/hbqt_qlayoutitem.cpp
* contrib/hbqt/hbqt_qlcdnumber.cpp
* contrib/hbqt/hbqt_qlineedit.cpp
* contrib/hbqt/hbqt_qlistview.cpp
* contrib/hbqt/hbqt_qmainwindow.cpp
* contrib/hbqt/hbqt_qmenu.cpp
* contrib/hbqt/hbqt_qmenubar.cpp
* contrib/hbqt/hbqt_qmessagebox.cpp
* contrib/hbqt/hbqt_qobject.cpp
* contrib/hbqt/hbqt_qpagesetupdialog.cpp
* contrib/hbqt/hbqt_qpaintdevice.cpp
* contrib/hbqt/hbqt_qpainter.cpp
* contrib/hbqt/hbqt_qpen.cpp
* contrib/hbqt/hbqt_qprintdialog.cpp
* contrib/hbqt/hbqt_qprintpreviewdialog.cpp
* contrib/hbqt/hbqt_qprogressbar.cpp
* contrib/hbqt/hbqt_qprogressdialog.cpp
* contrib/hbqt/hbqt_qpushbutton.cpp
* contrib/hbqt/hbqt_qradiobutton.cpp
* contrib/hbqt/hbqt_qscrollarea.cpp
* contrib/hbqt/hbqt_qscrollbar.cpp
* contrib/hbqt/hbqt_qsizegrip.cpp
* contrib/hbqt/hbqt_qslider.cpp
* contrib/hbqt/hbqt_qspinbox.cpp
* contrib/hbqt/hbqt_qsplitter.cpp
* contrib/hbqt/hbqt_qtabbar.cpp
* contrib/hbqt/hbqt_qtableview.cpp
* contrib/hbqt/hbqt_qtablewidget.cpp
* contrib/hbqt/hbqt_qtablewidgetitem.cpp
* contrib/hbqt/hbqt_qtabwidget.cpp
* contrib/hbqt/hbqt_qtextedit.cpp
* contrib/hbqt/hbqt_qtimeedit.cpp
* contrib/hbqt/hbqt_qtoolbar.cpp
* contrib/hbqt/hbqt_qtoolbox.cpp
* contrib/hbqt/hbqt_qtoolbutton.cpp
* contrib/hbqt/hbqt_qtreeview.cpp
* contrib/hbqt/hbqt_qtreewidget.cpp
* contrib/hbqt/hbqt_qtreewidgetitem.cpp
* contrib/hbqt/hbqt_qvboxlayout.cpp
* contrib/hbqt/hbqt_qwebpage.cpp
* contrib/hbqt/hbqt_qwebview.cpp
* contrib/hbqt/hbqt_qwidget.cpp
* contrib/hbqt/hbqt_qwizard.cpp
* contrib/hbqt/Makefile_gen
* contrib/hbqt/TQAbstractButton.prg
* contrib/hbqt/TQAbstractItemView.prg
* contrib/hbqt/TQAbstractPrintDialog.prg
* contrib/hbqt/TQAbstractScrollArea.prg
* contrib/hbqt/TQAbstractSlider.prg
* contrib/hbqt/TQAbstractSpinBox.prg
* contrib/hbqt/TQAction.prg
* contrib/hbqt/TQBoxLayout.prg
* contrib/hbqt/TQCalendarWidget.prg
* contrib/hbqt/TQCheckBox.prg
* contrib/hbqt/TQColorDialog.prg
* contrib/hbqt/TQComboBox.prg
* contrib/hbqt/TQCommandLinkButton.prg
* contrib/hbqt/TQDateEdit.prg
* contrib/hbqt/TQDateTimeEdit.prg
* contrib/hbqt/TQDial.prg
* contrib/hbqt/TQDialog.prg
* contrib/hbqt/TQDoubleSpinBox.prg
* contrib/hbqt/TQErrorMessage.prg
* contrib/hbqt/TQFileDialog.prg
* contrib/hbqt/TQFocusFrame.prg
* contrib/hbqt/TQFontComboBox.prg
* contrib/hbqt/TQFontDialog.prg
* contrib/hbqt/TQFormLayout.prg
* contrib/hbqt/TQFrame.prg
* contrib/hbqt/TQGroupBox.prg
* contrib/hbqt/TQHBoxLayout.prg
* contrib/hbqt/TQInputDialog.prg
* contrib/hbqt/TQLabel.prg
* contrib/hbqt/TQLayout.prg
* contrib/hbqt/TQLayoutItem.prg
* contrib/hbqt/TQLCDNumber.prg
* contrib/hbqt/TQLineEdit.prg
* contrib/hbqt/TQListView.prg
* contrib/hbqt/TQMainWindow.prg
* contrib/hbqt/TQMenu.prg
* contrib/hbqt/TQMenuBar.prg
* contrib/hbqt/TQMessageBox.prg
* contrib/hbqt/TQObject.prg
* contrib/hbqt/TQPageSetupDialog.prg
* contrib/hbqt/TQPaintDevice.prg
* contrib/hbqt/TQPainter.prg
* contrib/hbqt/TQPrintDialog.prg
* contrib/hbqt/TQPrintPreviewDialog.prg
* contrib/hbqt/TQProgressBar.prg
* contrib/hbqt/TQProgressDialog.prg
* contrib/hbqt/TQPushButton.prg
* contrib/hbqt/TQRadioButton.prg
* contrib/hbqt/TQScrollArea.prg
* contrib/hbqt/TQScrollBar.prg
* contrib/hbqt/TQSizeGrip.prg
* contrib/hbqt/TQSlider.prg
* contrib/hbqt/TQSpinBox.prg
* contrib/hbqt/TQSplitter.prg
* contrib/hbqt/TQTabBar.prg
* contrib/hbqt/TQTableView.prg
* contrib/hbqt/TQTableWidget.prg
* contrib/hbqt/TQTableWidgetItem.prg
* contrib/hbqt/TQTabWidget.prg
* contrib/hbqt/TQTextEdit.prg
* contrib/hbqt/TQTimeEdit.prg
* contrib/hbqt/TQToolBar.prg
* contrib/hbqt/TQToolBox.prg
* contrib/hbqt/TQToolButton.prg
* contrib/hbqt/TQTreeView.prg
* contrib/hbqt/TQTreeWidget.prg
* contrib/hbqt/TQTreeWidgetItem.prg
* contrib/hbqt/TQVBoxLayout.prg
* contrib/hbqt/TQWebPage.prg
* contrib/hbqt/TQWebView.prg
* contrib/hbqt/TQWidget.prg
* contrib/hbqt/TQWizard.prg
+ contrib/hbqt/hbqt_qbitmap.cpp
+ contrib/hbqt/hbqt_qcommonstyle.cpp
+ contrib/hbqt/hbqt_qdesktopwidget.cpp
+ contrib/hbqt/hbqt_qdir.cpp
+ contrib/hbqt/hbqt_qdockwidget.cpp
+ contrib/hbqt/hbqt_qevent.cpp
+ contrib/hbqt/hbqt_qeventloop.cpp
+ contrib/hbqt/hbqt_qfontinfo.cpp
+ contrib/hbqt/hbqt_qftp.cpp
+ contrib/hbqt/hbqt_qgridlayout.cpp
+ contrib/hbqt/hbqt_qheaderview.cpp
+ contrib/hbqt/hbqt_qhttp.cpp
+ contrib/hbqt/hbqt_qicon.cpp
+ contrib/hbqt/hbqt_qinputevent.cpp
+ contrib/hbqt/hbqt_qlistwidget.cpp
+ contrib/hbqt/hbqt_qlistwidgetitem.cpp
+ contrib/hbqt/hbqt_qpaintevent.cpp
+ contrib/hbqt/hbqt_qpixmap.cpp
+ contrib/hbqt/hbqt_qpoint.cpp
+ contrib/hbqt/hbqt_qpointf.cpp
+ contrib/hbqt/hbqt_qrect.cpp
+ contrib/hbqt/hbqt_qrectf.cpp
+ contrib/hbqt/hbqt_qregion.cpp
+ contrib/hbqt/hbqt_qsignalmapper.cpp
+ contrib/hbqt/hbqt_qsize.cpp
+ contrib/hbqt/hbqt_qsizef.cpp
+ contrib/hbqt/hbqt_qsplashscreen.cpp
+ contrib/hbqt/hbqt_qstatusbar.cpp
+ contrib/hbqt/hbqt_qstyle.cpp
+ contrib/hbqt/hbqt_qtimer.cpp
+ contrib/hbqt/hbqt_qurl.cpp
+ contrib/hbqt/hbqt_qvariant.cpp
+ contrib/hbqt/hbqt_qwindowsstyle.cpp
+ contrib/hbqt/hbqt_qwindowsxpstyle.cpp
+ contrib/hbqt/TQBitmap.prg
+ contrib/hbqt/TQCommonStyle.prg
+ contrib/hbqt/TQDesktopWidget.prg
+ contrib/hbqt/TQDir.prg
+ contrib/hbqt/TQDockWidget.prg
+ contrib/hbqt/TQEvent.prg
+ contrib/hbqt/TQEventLoop.prg
+ contrib/hbqt/TQFont.prg
+ contrib/hbqt/TQFontInfo.prg
+ contrib/hbqt/TQFtp.prg
+ contrib/hbqt/TQGridLayout.prg
+ contrib/hbqt/TQHeaderView.prg
+ contrib/hbqt/TQHttp.prg
+ contrib/hbqt/TQIcon.prg
+ contrib/hbqt/TQInputEvent.prg
+ contrib/hbqt/TQListWidget.prg
+ contrib/hbqt/TQListWidgetItem.prg
+ contrib/hbqt/TQPaintEvent.prg
+ contrib/hbqt/TQPen.prg
+ contrib/hbqt/TQPixmap.prg
+ contrib/hbqt/TQPoint.prg
+ contrib/hbqt/TQPointF.prg
+ contrib/hbqt/TQRect.prg
+ contrib/hbqt/TQRectF.prg
+ contrib/hbqt/TQRegion.prg
+ contrib/hbqt/TQSignalMapper.prg
+ contrib/hbqt/TQSize.prg
+ contrib/hbqt/TQSizeF.prg
+ contrib/hbqt/TQSplashScreen.prg
+ contrib/hbqt/TQStatusBar.prg
+ contrib/hbqt/TQStyle.prg
+ contrib/hbqt/TQTimer.prg
+ contrib/hbqt/TQUrl.prg
+ contrib/hbqt/TQVariant.prg
+ contrib/hbqt/TQWindowsStyle.prg
+ contrib/hbqt/TQWindowsXPStyle.prg
* Regenerated.
This commit is contained in:
@@ -8,6 +8,231 @@
|
||||
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2009-04-07 12:05 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* contrib/hbqt/hbqt.h
|
||||
* contrib/hbqt/hbqt_qabstractbutton.cpp
|
||||
* contrib/hbqt/hbqt_qabstractitemview.cpp
|
||||
* contrib/hbqt/hbqt_qabstractprintdialog.cpp
|
||||
* contrib/hbqt/hbqt_qabstractscrollarea.cpp
|
||||
* contrib/hbqt/hbqt_qabstractslider.cpp
|
||||
* contrib/hbqt/hbqt_qabstractspinbox.cpp
|
||||
* contrib/hbqt/hbqt_qaction.cpp
|
||||
* contrib/hbqt/hbqt_qapplication.cpp
|
||||
* contrib/hbqt/hbqt_qboxlayout.cpp
|
||||
* contrib/hbqt/hbqt_qbrush.cpp
|
||||
* contrib/hbqt/hbqt_qcalendarwidget.cpp
|
||||
* contrib/hbqt/hbqt_qcheckbox.cpp
|
||||
* contrib/hbqt/hbqt_qcolor.cpp
|
||||
* contrib/hbqt/hbqt_qcolordialog.cpp
|
||||
* contrib/hbqt/hbqt_qcombobox.cpp
|
||||
* contrib/hbqt/hbqt_qcommandlinkbutton.cpp
|
||||
* contrib/hbqt/hbqt_qcoreapplication.cpp
|
||||
* contrib/hbqt/hbqt_qdateedit.cpp
|
||||
* contrib/hbqt/hbqt_qdatetimeedit.cpp
|
||||
* contrib/hbqt/hbqt_qdial.cpp
|
||||
* contrib/hbqt/hbqt_qdialog.cpp
|
||||
* contrib/hbqt/hbqt_qdoublespinbox.cpp
|
||||
* contrib/hbqt/hbqt_qerrormessage.cpp
|
||||
* contrib/hbqt/hbqt_qfiledialog.cpp
|
||||
* contrib/hbqt/hbqt_qfocusframe.cpp
|
||||
* contrib/hbqt/hbqt_qfont.cpp
|
||||
* contrib/hbqt/hbqt_qfontcombobox.cpp
|
||||
* contrib/hbqt/hbqt_qfontdialog.cpp
|
||||
* contrib/hbqt/hbqt_qformlayout.cpp
|
||||
* contrib/hbqt/hbqt_qframe.cpp
|
||||
* contrib/hbqt/hbqt_qgroupbox.cpp
|
||||
* contrib/hbqt/hbqt_qhboxlayout.cpp
|
||||
* contrib/hbqt/hbqt_qinputdialog.cpp
|
||||
* contrib/hbqt/hbqt_qlabel.cpp
|
||||
* contrib/hbqt/hbqt_qlayout.cpp
|
||||
* contrib/hbqt/hbqt_qlayoutitem.cpp
|
||||
* contrib/hbqt/hbqt_qlcdnumber.cpp
|
||||
* contrib/hbqt/hbqt_qlineedit.cpp
|
||||
* contrib/hbqt/hbqt_qlistview.cpp
|
||||
* contrib/hbqt/hbqt_qmainwindow.cpp
|
||||
* contrib/hbqt/hbqt_qmenu.cpp
|
||||
* contrib/hbqt/hbqt_qmenubar.cpp
|
||||
* contrib/hbqt/hbqt_qmessagebox.cpp
|
||||
* contrib/hbqt/hbqt_qobject.cpp
|
||||
* contrib/hbqt/hbqt_qpagesetupdialog.cpp
|
||||
* contrib/hbqt/hbqt_qpaintdevice.cpp
|
||||
* contrib/hbqt/hbqt_qpainter.cpp
|
||||
* contrib/hbqt/hbqt_qpen.cpp
|
||||
* contrib/hbqt/hbqt_qprintdialog.cpp
|
||||
* contrib/hbqt/hbqt_qprintpreviewdialog.cpp
|
||||
* contrib/hbqt/hbqt_qprogressbar.cpp
|
||||
* contrib/hbqt/hbqt_qprogressdialog.cpp
|
||||
* contrib/hbqt/hbqt_qpushbutton.cpp
|
||||
* contrib/hbqt/hbqt_qradiobutton.cpp
|
||||
* contrib/hbqt/hbqt_qscrollarea.cpp
|
||||
* contrib/hbqt/hbqt_qscrollbar.cpp
|
||||
* contrib/hbqt/hbqt_qsizegrip.cpp
|
||||
* contrib/hbqt/hbqt_qslider.cpp
|
||||
* contrib/hbqt/hbqt_qspinbox.cpp
|
||||
* contrib/hbqt/hbqt_qsplitter.cpp
|
||||
* contrib/hbqt/hbqt_qtabbar.cpp
|
||||
* contrib/hbqt/hbqt_qtableview.cpp
|
||||
* contrib/hbqt/hbqt_qtablewidget.cpp
|
||||
* contrib/hbqt/hbqt_qtablewidgetitem.cpp
|
||||
* contrib/hbqt/hbqt_qtabwidget.cpp
|
||||
* contrib/hbqt/hbqt_qtextedit.cpp
|
||||
* contrib/hbqt/hbqt_qtimeedit.cpp
|
||||
* contrib/hbqt/hbqt_qtoolbar.cpp
|
||||
* contrib/hbqt/hbqt_qtoolbox.cpp
|
||||
* contrib/hbqt/hbqt_qtoolbutton.cpp
|
||||
* contrib/hbqt/hbqt_qtreeview.cpp
|
||||
* contrib/hbqt/hbqt_qtreewidget.cpp
|
||||
* contrib/hbqt/hbqt_qtreewidgetitem.cpp
|
||||
* contrib/hbqt/hbqt_qvboxlayout.cpp
|
||||
* contrib/hbqt/hbqt_qwebpage.cpp
|
||||
* contrib/hbqt/hbqt_qwebview.cpp
|
||||
* contrib/hbqt/hbqt_qwidget.cpp
|
||||
* contrib/hbqt/hbqt_qwizard.cpp
|
||||
* contrib/hbqt/Makefile_gen
|
||||
* contrib/hbqt/TQAbstractButton.prg
|
||||
* contrib/hbqt/TQAbstractItemView.prg
|
||||
* contrib/hbqt/TQAbstractPrintDialog.prg
|
||||
* contrib/hbqt/TQAbstractScrollArea.prg
|
||||
* contrib/hbqt/TQAbstractSlider.prg
|
||||
* contrib/hbqt/TQAbstractSpinBox.prg
|
||||
* contrib/hbqt/TQAction.prg
|
||||
* contrib/hbqt/TQBoxLayout.prg
|
||||
* contrib/hbqt/TQCalendarWidget.prg
|
||||
* contrib/hbqt/TQCheckBox.prg
|
||||
* contrib/hbqt/TQColorDialog.prg
|
||||
* contrib/hbqt/TQComboBox.prg
|
||||
* contrib/hbqt/TQCommandLinkButton.prg
|
||||
* contrib/hbqt/TQDateEdit.prg
|
||||
* contrib/hbqt/TQDateTimeEdit.prg
|
||||
* contrib/hbqt/TQDial.prg
|
||||
* contrib/hbqt/TQDialog.prg
|
||||
* contrib/hbqt/TQDoubleSpinBox.prg
|
||||
* contrib/hbqt/TQErrorMessage.prg
|
||||
* contrib/hbqt/TQFileDialog.prg
|
||||
* contrib/hbqt/TQFocusFrame.prg
|
||||
* contrib/hbqt/TQFontComboBox.prg
|
||||
* contrib/hbqt/TQFontDialog.prg
|
||||
* contrib/hbqt/TQFormLayout.prg
|
||||
* contrib/hbqt/TQFrame.prg
|
||||
* contrib/hbqt/TQGroupBox.prg
|
||||
* contrib/hbqt/TQHBoxLayout.prg
|
||||
* contrib/hbqt/TQInputDialog.prg
|
||||
* contrib/hbqt/TQLabel.prg
|
||||
* contrib/hbqt/TQLayout.prg
|
||||
* contrib/hbqt/TQLayoutItem.prg
|
||||
* contrib/hbqt/TQLCDNumber.prg
|
||||
* contrib/hbqt/TQLineEdit.prg
|
||||
* contrib/hbqt/TQListView.prg
|
||||
* contrib/hbqt/TQMainWindow.prg
|
||||
* contrib/hbqt/TQMenu.prg
|
||||
* contrib/hbqt/TQMenuBar.prg
|
||||
* contrib/hbqt/TQMessageBox.prg
|
||||
* contrib/hbqt/TQObject.prg
|
||||
* contrib/hbqt/TQPageSetupDialog.prg
|
||||
* contrib/hbqt/TQPaintDevice.prg
|
||||
* contrib/hbqt/TQPainter.prg
|
||||
* contrib/hbqt/TQPrintDialog.prg
|
||||
* contrib/hbqt/TQPrintPreviewDialog.prg
|
||||
* contrib/hbqt/TQProgressBar.prg
|
||||
* contrib/hbqt/TQProgressDialog.prg
|
||||
* contrib/hbqt/TQPushButton.prg
|
||||
* contrib/hbqt/TQRadioButton.prg
|
||||
* contrib/hbqt/TQScrollArea.prg
|
||||
* contrib/hbqt/TQScrollBar.prg
|
||||
* contrib/hbqt/TQSizeGrip.prg
|
||||
* contrib/hbqt/TQSlider.prg
|
||||
* contrib/hbqt/TQSpinBox.prg
|
||||
* contrib/hbqt/TQSplitter.prg
|
||||
* contrib/hbqt/TQTabBar.prg
|
||||
* contrib/hbqt/TQTableView.prg
|
||||
* contrib/hbqt/TQTableWidget.prg
|
||||
* contrib/hbqt/TQTableWidgetItem.prg
|
||||
* contrib/hbqt/TQTabWidget.prg
|
||||
* contrib/hbqt/TQTextEdit.prg
|
||||
* contrib/hbqt/TQTimeEdit.prg
|
||||
* contrib/hbqt/TQToolBar.prg
|
||||
* contrib/hbqt/TQToolBox.prg
|
||||
* contrib/hbqt/TQToolButton.prg
|
||||
* contrib/hbqt/TQTreeView.prg
|
||||
* contrib/hbqt/TQTreeWidget.prg
|
||||
* contrib/hbqt/TQTreeWidgetItem.prg
|
||||
* contrib/hbqt/TQVBoxLayout.prg
|
||||
* contrib/hbqt/TQWebPage.prg
|
||||
* contrib/hbqt/TQWebView.prg
|
||||
* contrib/hbqt/TQWidget.prg
|
||||
* contrib/hbqt/TQWizard.prg
|
||||
+ contrib/hbqt/hbqt_qbitmap.cpp
|
||||
+ contrib/hbqt/hbqt_qcommonstyle.cpp
|
||||
+ contrib/hbqt/hbqt_qdesktopwidget.cpp
|
||||
+ contrib/hbqt/hbqt_qdir.cpp
|
||||
+ contrib/hbqt/hbqt_qdockwidget.cpp
|
||||
+ contrib/hbqt/hbqt_qevent.cpp
|
||||
+ contrib/hbqt/hbqt_qeventloop.cpp
|
||||
+ contrib/hbqt/hbqt_qfontinfo.cpp
|
||||
+ contrib/hbqt/hbqt_qftp.cpp
|
||||
+ contrib/hbqt/hbqt_qgridlayout.cpp
|
||||
+ contrib/hbqt/hbqt_qheaderview.cpp
|
||||
+ contrib/hbqt/hbqt_qhttp.cpp
|
||||
+ contrib/hbqt/hbqt_qicon.cpp
|
||||
+ contrib/hbqt/hbqt_qinputevent.cpp
|
||||
+ contrib/hbqt/hbqt_qlistwidget.cpp
|
||||
+ contrib/hbqt/hbqt_qlistwidgetitem.cpp
|
||||
+ contrib/hbqt/hbqt_qpaintevent.cpp
|
||||
+ contrib/hbqt/hbqt_qpixmap.cpp
|
||||
+ contrib/hbqt/hbqt_qpoint.cpp
|
||||
+ contrib/hbqt/hbqt_qpointf.cpp
|
||||
+ contrib/hbqt/hbqt_qrect.cpp
|
||||
+ contrib/hbqt/hbqt_qrectf.cpp
|
||||
+ contrib/hbqt/hbqt_qregion.cpp
|
||||
+ contrib/hbqt/hbqt_qsignalmapper.cpp
|
||||
+ contrib/hbqt/hbqt_qsize.cpp
|
||||
+ contrib/hbqt/hbqt_qsizef.cpp
|
||||
+ contrib/hbqt/hbqt_qsplashscreen.cpp
|
||||
+ contrib/hbqt/hbqt_qstatusbar.cpp
|
||||
+ contrib/hbqt/hbqt_qstyle.cpp
|
||||
+ contrib/hbqt/hbqt_qtimer.cpp
|
||||
+ contrib/hbqt/hbqt_qurl.cpp
|
||||
+ contrib/hbqt/hbqt_qvariant.cpp
|
||||
+ contrib/hbqt/hbqt_qwindowsstyle.cpp
|
||||
+ contrib/hbqt/hbqt_qwindowsxpstyle.cpp
|
||||
+ contrib/hbqt/TQBitmap.prg
|
||||
+ contrib/hbqt/TQCommonStyle.prg
|
||||
+ contrib/hbqt/TQDesktopWidget.prg
|
||||
+ contrib/hbqt/TQDir.prg
|
||||
+ contrib/hbqt/TQDockWidget.prg
|
||||
+ contrib/hbqt/TQEvent.prg
|
||||
+ contrib/hbqt/TQEventLoop.prg
|
||||
+ contrib/hbqt/TQFont.prg
|
||||
+ contrib/hbqt/TQFontInfo.prg
|
||||
+ contrib/hbqt/TQFtp.prg
|
||||
+ contrib/hbqt/TQGridLayout.prg
|
||||
+ contrib/hbqt/TQHeaderView.prg
|
||||
+ contrib/hbqt/TQHttp.prg
|
||||
+ contrib/hbqt/TQIcon.prg
|
||||
+ contrib/hbqt/TQInputEvent.prg
|
||||
+ contrib/hbqt/TQListWidget.prg
|
||||
+ contrib/hbqt/TQListWidgetItem.prg
|
||||
+ contrib/hbqt/TQPaintEvent.prg
|
||||
+ contrib/hbqt/TQPen.prg
|
||||
+ contrib/hbqt/TQPixmap.prg
|
||||
+ contrib/hbqt/TQPoint.prg
|
||||
+ contrib/hbqt/TQPointF.prg
|
||||
+ contrib/hbqt/TQRect.prg
|
||||
+ contrib/hbqt/TQRectF.prg
|
||||
+ contrib/hbqt/TQRegion.prg
|
||||
+ contrib/hbqt/TQSignalMapper.prg
|
||||
+ contrib/hbqt/TQSize.prg
|
||||
+ contrib/hbqt/TQSizeF.prg
|
||||
+ contrib/hbqt/TQSplashScreen.prg
|
||||
+ contrib/hbqt/TQStatusBar.prg
|
||||
+ contrib/hbqt/TQStyle.prg
|
||||
+ contrib/hbqt/TQTimer.prg
|
||||
+ contrib/hbqt/TQUrl.prg
|
||||
+ contrib/hbqt/TQVariant.prg
|
||||
+ contrib/hbqt/TQWindowsStyle.prg
|
||||
+ contrib/hbqt/TQWindowsXPStyle.prg
|
||||
* Regenerated.
|
||||
|
||||
2009-04-07 10:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* contrib/hbqt/generator/qt45.qtp
|
||||
* contrib/hbqt/generator/hbqtgen.prg
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
# $Id$
|
||||
#
|
||||
|
||||
|
||||
CPP_SOURCES=\
|
||||
hbqt_qabstractbutton.cpp \
|
||||
hbqt_qabstractitemview.cpp \
|
||||
@@ -11,6 +12,7 @@ CPP_SOURCES=\
|
||||
hbqt_qabstractspinbox.cpp \
|
||||
hbqt_qaction.cpp \
|
||||
hbqt_qapplication.cpp \
|
||||
hbqt_qbitmap.cpp \
|
||||
hbqt_qboxlayout.cpp \
|
||||
hbqt_qbrush.cpp \
|
||||
hbqt_qcalendarwidget.cpp \
|
||||
@@ -19,29 +21,44 @@ CPP_SOURCES=\
|
||||
hbqt_qcolordialog.cpp \
|
||||
hbqt_qcombobox.cpp \
|
||||
hbqt_qcommandlinkbutton.cpp \
|
||||
hbqt_qcommonstyle.cpp \
|
||||
hbqt_qcoreapplication.cpp \
|
||||
hbqt_qdateedit.cpp \
|
||||
hbqt_qdatetimeedit.cpp \
|
||||
hbqt_qdesktopwidget.cpp \
|
||||
hbqt_qdial.cpp \
|
||||
hbqt_qdialog.cpp \
|
||||
hbqt_qdir.cpp \
|
||||
hbqt_qdockwidget.cpp \
|
||||
hbqt_qdoublespinbox.cpp \
|
||||
hbqt_qerrormessage.cpp \
|
||||
hbqt_qevent.cpp \
|
||||
hbqt_qeventloop.cpp \
|
||||
hbqt_qfiledialog.cpp \
|
||||
hbqt_qfocusframe.cpp \
|
||||
hbqt_qfont.cpp \
|
||||
hbqt_qfontcombobox.cpp \
|
||||
hbqt_qfontdialog.cpp \
|
||||
hbqt_qfontinfo.cpp \
|
||||
hbqt_qformlayout.cpp \
|
||||
hbqt_qframe.cpp \
|
||||
hbqt_qftp.cpp \
|
||||
hbqt_qgridlayout.cpp \
|
||||
hbqt_qgroupbox.cpp \
|
||||
hbqt_qhboxlayout.cpp \
|
||||
hbqt_qheaderview.cpp \
|
||||
hbqt_qhttp.cpp \
|
||||
hbqt_qicon.cpp \
|
||||
hbqt_qinputdialog.cpp \
|
||||
hbqt_qinputevent.cpp \
|
||||
hbqt_qlabel.cpp \
|
||||
hbqt_qlayout.cpp \
|
||||
hbqt_qlayoutitem.cpp \
|
||||
hbqt_qlcdnumber.cpp \
|
||||
hbqt_qlineedit.cpp \
|
||||
hbqt_qlistview.cpp \
|
||||
hbqt_qlistwidget.cpp \
|
||||
hbqt_qlistwidgetitem.cpp \
|
||||
hbqt_qmainwindow.cpp \
|
||||
hbqt_qmenu.cpp \
|
||||
hbqt_qmenubar.cpp \
|
||||
@@ -50,19 +67,32 @@ CPP_SOURCES=\
|
||||
hbqt_qpaintdevice.cpp \
|
||||
hbqt_qpagesetupdialog.cpp \
|
||||
hbqt_qpainter.cpp \
|
||||
hbqt_qpaintevent.cpp \
|
||||
hbqt_qpen.cpp \
|
||||
hbqt_qpixmap.cpp \
|
||||
hbqt_qpoint.cpp \
|
||||
hbqt_qpointf.cpp \
|
||||
hbqt_qprintdialog.cpp \
|
||||
hbqt_qprintpreviewdialog.cpp \
|
||||
hbqt_qprogressbar.cpp \
|
||||
hbqt_qprogressdialog.cpp \
|
||||
hbqt_qpushbutton.cpp \
|
||||
hbqt_qrect.cpp \
|
||||
hbqt_qrectf.cpp \
|
||||
hbqt_qradiobutton.cpp \
|
||||
hbqt_qregion.cpp \
|
||||
hbqt_qscrollarea.cpp \
|
||||
hbqt_qscrollbar.cpp \
|
||||
hbqt_qsignalmapper.cpp \
|
||||
hbqt_qsize.cpp \
|
||||
hbqt_qsizef.cpp \
|
||||
hbqt_qsizegrip.cpp \
|
||||
hbqt_qslider.cpp \
|
||||
hbqt_qspinbox.cpp \
|
||||
hbqt_qsplashscreen.cpp \
|
||||
hbqt_qsplitter.cpp \
|
||||
hbqt_qstatusbar.cpp \
|
||||
hbqt_qstyle.cpp \
|
||||
hbqt_qtabbar.cpp \
|
||||
hbqt_qtableview.cpp \
|
||||
hbqt_qtablewidget.cpp \
|
||||
@@ -70,17 +100,22 @@ CPP_SOURCES=\
|
||||
hbqt_qtabwidget.cpp \
|
||||
hbqt_qtextedit.cpp \
|
||||
hbqt_qtimeedit.cpp \
|
||||
hbqt_qtimer.cpp \
|
||||
hbqt_qtoolbar.cpp \
|
||||
hbqt_qtoolbox.cpp \
|
||||
hbqt_qtoolbutton.cpp \
|
||||
hbqt_qtreeview.cpp \
|
||||
hbqt_qtreewidget.cpp \
|
||||
hbqt_qtreewidgetitem.cpp \
|
||||
hbqt_qurl.cpp \
|
||||
hbqt_qvariant.cpp \
|
||||
hbqt_qvboxlayout.cpp \
|
||||
hbqt_qwebpage.cpp \
|
||||
hbqt_qwidget.cpp \
|
||||
hbqt_qwizard.cpp \
|
||||
hbqt_qwebview.cpp \
|
||||
hbqt_qwindowsstyle.cpp \
|
||||
hbqt_qwindowsxpstyle.cpp \
|
||||
hbqt_qwizard.cpp \
|
||||
hbqt_base.cpp \
|
||||
hbqt_utils.cpp \
|
||||
hbqt_slots.cpp \
|
||||
@@ -103,33 +138,50 @@ PRG_SOURCES=\
|
||||
TQAbstractSlider.prg \
|
||||
TQAbstractSpinBox.prg \
|
||||
TQAction.prg \
|
||||
TQBitmap.prg \
|
||||
TQBoxLayout.prg \
|
||||
TQCalendarWidget.prg \
|
||||
TQCheckBox.prg \
|
||||
TQColorDialog.prg \
|
||||
TQComboBox.prg \
|
||||
TQCommandLinkButton.prg \
|
||||
TQCommonStyle.prg \
|
||||
TQDateEdit.prg \
|
||||
TQDateTimeEdit.prg \
|
||||
TQDesktopWidget.prg \
|
||||
TQDial.prg \
|
||||
TQDialog.prg \
|
||||
TQDir.prg \
|
||||
TQDockWidget.prg \
|
||||
TQDoubleSpinBox.prg \
|
||||
TQErrorMessage.prg \
|
||||
TQEvent.prg \
|
||||
TQEventLoop.prg \
|
||||
TQFileDialog.prg \
|
||||
TQFocusFrame.prg \
|
||||
TQFont.prg \
|
||||
TQFontComboBox.prg \
|
||||
TQFontDialog.prg \
|
||||
TQFontInfo.prg \
|
||||
TQFormLayout.prg \
|
||||
TQFrame.prg \
|
||||
TQFtp.prg \
|
||||
TQGridLayout.prg \
|
||||
TQGroupBox.prg \
|
||||
TQHBoxLayout.prg \
|
||||
TQHeaderView.prg \
|
||||
TQHttp.prg \
|
||||
TQIcon.prg \
|
||||
TQInputDialog.prg \
|
||||
TQInputEvent.prg \
|
||||
TQLabel.prg \
|
||||
TQLayout.prg \
|
||||
TQLayoutItem.prg \
|
||||
TQLCDNumber.prg \
|
||||
TQLineEdit.prg \
|
||||
TQListView.prg \
|
||||
TQListWidget.prg \
|
||||
TQListWidgetItem.prg \
|
||||
TQMainWindow.prg \
|
||||
TQMenu.prg \
|
||||
TQMenuBar.prg \
|
||||
@@ -138,18 +190,32 @@ PRG_SOURCES=\
|
||||
TQPaintDevice.prg \
|
||||
TQPageSetupDialog.prg \
|
||||
TQPainter.prg \
|
||||
TQPaintEvent.prg \
|
||||
TQPen.prg \
|
||||
TQPixmap.prg \
|
||||
TQPoint.prg \
|
||||
TQPointF.prg \
|
||||
TQPrintDialog.prg \
|
||||
TQPrintPreviewDialog.prg \
|
||||
TQProgressBar.prg \
|
||||
TQProgressDialog.prg \
|
||||
TQPushButton.prg \
|
||||
TQRect.prg \
|
||||
TQRectF.prg \
|
||||
TQRadioButton.prg \
|
||||
TQRegion.prg \
|
||||
TQScrollArea.prg \
|
||||
TQScrollBar.prg \
|
||||
TQSignalMapper.prg \
|
||||
TQSize.prg \
|
||||
TQSizeF.prg \
|
||||
TQSizeGrip.prg \
|
||||
TQSlider.prg \
|
||||
TQSpinBox.prg \
|
||||
TQSplashScreen.prg \
|
||||
TQSplitter.prg \
|
||||
TQStatusBar.prg \
|
||||
TQStyle.prg \
|
||||
TQTabBar.prg \
|
||||
TQTableView.prg \
|
||||
TQTableWidget.prg \
|
||||
@@ -157,14 +223,21 @@ PRG_SOURCES=\
|
||||
TQTabWidget.prg \
|
||||
TQTextEdit.prg \
|
||||
TQTimeEdit.prg \
|
||||
TQTimer.prg \
|
||||
TQToolBar.prg \
|
||||
TQToolBox.prg \
|
||||
TQToolButton.prg \
|
||||
TQTreeView.prg \
|
||||
TQTreeWidget.prg \
|
||||
TQTreeWidgetItem.prg \
|
||||
TQUrl.prg \
|
||||
TQVariant.prg \
|
||||
TQVBoxLayout.prg \
|
||||
TQWebPage.prg \
|
||||
TQWidget.prg \
|
||||
TQWizard.prg \
|
||||
TQWebView.prg \
|
||||
TQWindowsStyle.prg \
|
||||
TQWindowsXPStyle.prg \
|
||||
TQWizard.prg \
|
||||
|
||||
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QAbstractButton INHERIT QWidget
|
||||
CREATE CLASS QAbstractButton INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -67,6 +68,7 @@ CLASS QAbstractButton INHERIT QWidget
|
||||
METHOD autoRepeatDelay() INLINE Qt_QAbstractButton_autoRepeatDelay( ::pPtr )
|
||||
METHOD autoRepeatInterval() INLINE Qt_QAbstractButton_autoRepeatInterval( ::pPtr )
|
||||
METHOD group() INLINE Qt_QAbstractButton_group( ::pPtr )
|
||||
METHOD icon() INLINE Qt_QAbstractButton_icon( ::pPtr )
|
||||
METHOD iconSize() INLINE Qt_QAbstractButton_iconSize( ::pPtr )
|
||||
METHOD isCheckable() INLINE Qt_QAbstractButton_isCheckable( ::pPtr )
|
||||
METHOD isChecked() INLINE Qt_QAbstractButton_isChecked( ::pPtr )
|
||||
@@ -78,8 +80,15 @@ CLASS QAbstractButton INHERIT QWidget
|
||||
METHOD setCheckable( lBool ) INLINE Qt_QAbstractButton_setCheckable( ::pPtr, lBool )
|
||||
METHOD setDown( lBool ) INLINE Qt_QAbstractButton_setDown( ::pPtr, lBool )
|
||||
METHOD setIcon( cIcon ) INLINE Qt_QAbstractButton_setIcon( ::pPtr, cIcon )
|
||||
METHOD setShortcut( pKey ) INLINE Qt_QAbstractButton_setShortcut( ::pPtr, pKey )
|
||||
METHOD setText( cText ) INLINE Qt_QAbstractButton_setText( ::pPtr, cText )
|
||||
METHOD shortcut() INLINE Qt_QAbstractButton_shortcut( ::pPtr )
|
||||
METHOD text() INLINE Qt_QAbstractButton_text( ::pPtr )
|
||||
METHOD animateClick( nMsec ) INLINE Qt_QAbstractButton_animateClick( ::pPtr, nMsec )
|
||||
METHOD click() INLINE Qt_QAbstractButton_click( ::pPtr )
|
||||
METHOD setChecked( lBool ) INLINE Qt_QAbstractButton_setChecked( ::pPtr, lBool )
|
||||
METHOD setIconSize( pSize ) INLINE Qt_QAbstractButton_setIconSize( ::pPtr, pSize )
|
||||
METHOD toggle() INLINE Qt_QAbstractButton_toggle( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -87,6 +96,8 @@ CLASS QAbstractButton INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QAbstractButton
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QAbstractButton( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,58 +53,24 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QAbstractItemView INHERIT QAbstractScrollArea
|
||||
CREATE CLASS QAbstractItemView INHERIT QAbstractScrollArea
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD alternatingRowColors() INLINE Qt_QAbstractItemView_alternatingRowColors( ::pPtr )
|
||||
METHOD autoScrollMargin() INLINE Qt_QAbstractItemView_autoScrollMargin( ::pPtr )
|
||||
METHOD dragDropMode() INLINE Qt_QAbstractItemView_dragDropMode( ::pPtr )
|
||||
METHOD dragDropOverwriteMode() INLINE Qt_QAbstractItemView_dragDropOverwriteMode( ::pPtr )
|
||||
METHOD dragEnabled() INLINE Qt_QAbstractItemView_dragEnabled( ::pPtr )
|
||||
METHOD editTriggers() INLINE Qt_QAbstractItemView_editTriggers( ::pPtr )
|
||||
METHOD hasAutoScroll() INLINE Qt_QAbstractItemView_hasAutoScroll( ::pPtr )
|
||||
METHOD horizontalScrollMode() INLINE Qt_QAbstractItemView_horizontalScrollMode( ::pPtr )
|
||||
METHOD iconSize() INLINE Qt_QAbstractItemView_iconSize( ::pPtr )
|
||||
METHOD itemDelegate() INLINE Qt_QAbstractItemView_itemDelegate( ::pPtr )
|
||||
METHOD itemDelegateForColumn( nColumn ) INLINE Qt_QAbstractItemView_itemDelegateForColumn( ::pPtr, nColumn )
|
||||
METHOD itemDelegateForRow( nRow ) INLINE Qt_QAbstractItemView_itemDelegateForRow( ::pPtr, nRow )
|
||||
METHOD keyboardSearch( cSearch ) INLINE Qt_QAbstractItemView_keyboardSearch( ::pPtr, cSearch )
|
||||
METHOD model() INLINE Qt_QAbstractItemView_model( ::pPtr )
|
||||
METHOD selectionBehavior() INLINE Qt_QAbstractItemView_selectionBehavior( ::pPtr )
|
||||
METHOD selectionMode() INLINE Qt_QAbstractItemView_selectionMode( ::pPtr )
|
||||
METHOD selectionModel() INLINE Qt_QAbstractItemView_selectionModel( ::pPtr )
|
||||
METHOD setAlternatingRowColors( lEnable ) INLINE Qt_QAbstractItemView_setAlternatingRowColors( ::pPtr, lEnable )
|
||||
METHOD setAutoScroll( lEnable ) INLINE Qt_QAbstractItemView_setAutoScroll( ::pPtr, lEnable )
|
||||
METHOD setAutoScrollMargin( nMargin ) INLINE Qt_QAbstractItemView_setAutoScrollMargin( ::pPtr, nMargin )
|
||||
METHOD setDragDropMode( nDragDropMode ) INLINE Qt_QAbstractItemView_setDragDropMode( ::pPtr, nDragDropMode )
|
||||
METHOD setDragDropOverwriteMode( lOverwrite ) INLINE Qt_QAbstractItemView_setDragDropOverwriteMode( ::pPtr, lOverwrite )
|
||||
METHOD setDragEnabled( lEnable ) INLINE Qt_QAbstractItemView_setDragEnabled( ::pPtr, lEnable )
|
||||
METHOD setDropIndicatorShown( lEnable ) INLINE Qt_QAbstractItemView_setDropIndicatorShown( ::pPtr, lEnable )
|
||||
METHOD setEditTriggers( nEditTriggers ) INLINE Qt_QAbstractItemView_setEditTriggers( ::pPtr, nEditTriggers )
|
||||
METHOD setHorizontalScrollMode( nScrollMode ) INLINE Qt_QAbstractItemView_setHorizontalScrollMode( ::pPtr, nScrollMode )
|
||||
METHOD setIconSize( aSizeSize ) INLINE Qt_QAbstractItemView_setIconSize( ::pPtr, aSizeSize )
|
||||
METHOD setItemDelegate( pDelegate ) INLINE Qt_QAbstractItemView_setItemDelegate( ::pPtr, pDelegate )
|
||||
METHOD setItemDelegateForColumn( nColumn, pDelegate ) INLINE Qt_QAbstractItemView_setItemDelegateForColumn( ::pPtr, nColumn, pDelegate )
|
||||
METHOD setItemDelegateForRow( nRow, pDelegate ) INLINE Qt_QAbstractItemView_setItemDelegateForRow( ::pPtr, nRow, pDelegate )
|
||||
METHOD setModel( pModel ) INLINE Qt_QAbstractItemView_setModel( ::pPtr, pModel )
|
||||
METHOD setSelectionBehavior( nBehavior ) INLINE Qt_QAbstractItemView_setSelectionBehavior( ::pPtr, nBehavior )
|
||||
METHOD setSelectionMode( nMode ) INLINE Qt_QAbstractItemView_setSelectionMode( ::pPtr, nMode )
|
||||
METHOD setSelectionModel( pSelectionModel ) INLINE Qt_QAbstractItemView_setSelectionModel( ::pPtr, pSelectionModel )
|
||||
METHOD setTabKeyNavigation( lEnable ) INLINE Qt_QAbstractItemView_setTabKeyNavigation( ::pPtr, lEnable )
|
||||
METHOD setTextElideMode( nMode ) INLINE Qt_QAbstractItemView_setTextElideMode( ::pPtr, nMode )
|
||||
METHOD setVerticalScrollMode( nScrollMode ) INLINE Qt_QAbstractItemView_setVerticalScrollMode( ::pPtr, nScrollMode )
|
||||
METHOD showDropIndicator() INLINE Qt_QAbstractItemView_showDropIndicator( ::pPtr )
|
||||
METHOD sizeHintForColumn( nColumn ) INLINE Qt_QAbstractItemView_sizeHintForColumn( ::pPtr, nColumn )
|
||||
METHOD sizeHintForRow( nRow ) INLINE Qt_QAbstractItemView_sizeHintForRow( ::pPtr, nRow )
|
||||
METHOD tabKeyNavigation() INLINE Qt_QAbstractItemView_tabKeyNavigation( ::pPtr )
|
||||
METHOD textElideMode() INLINE Qt_QAbstractItemView_textElideMode( ::pPtr )
|
||||
METHOD verticalScrollMode() INLINE Qt_QAbstractItemView_verticalScrollMode( ::pPtr )
|
||||
METHOD clearSelection() INLINE Qt_QAbstractItemView_clearSelection( ::pPtr )
|
||||
METHOD edit( pIndex ) INLINE Qt_QAbstractItemView_edit( ::pPtr, pIndex )
|
||||
METHOD reset() INLINE Qt_QAbstractItemView_reset( ::pPtr )
|
||||
METHOD scrollToBottom() INLINE Qt_QAbstractItemView_scrollToBottom( ::pPtr )
|
||||
METHOD scrollToTop() INLINE Qt_QAbstractItemView_scrollToTop( ::pPtr )
|
||||
METHOD selectAll() INLINE Qt_QAbstractItemView_selectAll( ::pPtr )
|
||||
METHOD setCurrentIndex( pIndex ) INLINE Qt_QAbstractItemView_setCurrentIndex( ::pPtr, pIndex )
|
||||
METHOD setRootIndex( pIndex ) INLINE Qt_QAbstractItemView_setRootIndex( ::pPtr, pIndex )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -112,6 +78,8 @@ CLASS QAbstractItemView INHERIT QAbstractScrollArea
|
||||
|
||||
METHOD New( pParent ) CLASS QAbstractItemView
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QAbstractItemView( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QAbstractPrintDialog INHERIT QDialog
|
||||
CREATE CLASS QAbstractPrintDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -70,7 +71,7 @@ CLASS QAbstractPrintDialog INHERIT QDialog
|
||||
METHOD printer() INLINE Qt_QAbstractPrintDialog_printer( ::pPtr )
|
||||
METHOD setFromTo( nFrom, nTo ) INLINE Qt_QAbstractPrintDialog_setFromTo( ::pPtr, nFrom, nTo )
|
||||
METHOD setMinMax( nMin, nMax ) INLINE Qt_QAbstractPrintDialog_setMinMax( ::pPtr, nMin, nMax )
|
||||
METHOD setPrintRange( nPrintRange ) INLINE Qt_QAbstractPrintDialog_setPrintRange( ::pPtr, nPrintRange )
|
||||
METHOD setPrintRange( nRange ) INLINE Qt_QAbstractPrintDialog_setPrintRange( ::pPtr, nRange )
|
||||
METHOD toPage() INLINE Qt_QAbstractPrintDialog_toPage( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
@@ -79,6 +80,8 @@ CLASS QAbstractPrintDialog INHERIT QDialog
|
||||
|
||||
METHOD New( pParent ) CLASS QAbstractPrintDialog
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QAbstractPrintDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QAbstractScrollArea INHERIT QFrame
|
||||
CREATE CLASS QAbstractScrollArea INHERIT QFrame
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -67,6 +68,7 @@ CLASS QAbstractScrollArea INHERIT QFrame
|
||||
METHOD horizontalScrollBar() INLINE Qt_QAbstractScrollArea_horizontalScrollBar( ::pPtr )
|
||||
METHOD horizontalScrollBarPolicy() INLINE Qt_QAbstractScrollArea_horizontalScrollBarPolicy( ::pPtr )
|
||||
METHOD maximumViewportSize() INLINE Qt_QAbstractScrollArea_maximumViewportSize( ::pPtr )
|
||||
METHOD scrollBarWidgets( nAlignment ) INLINE Qt_QAbstractScrollArea_scrollBarWidgets( ::pPtr, nAlignment )
|
||||
METHOD setCornerWidget( pWidget ) INLINE Qt_QAbstractScrollArea_setCornerWidget( ::pPtr, pWidget )
|
||||
METHOD setHorizontalScrollBar( pScrollBar ) INLINE Qt_QAbstractScrollArea_setHorizontalScrollBar( ::pPtr, pScrollBar )
|
||||
METHOD setHorizontalScrollBarPolicy( nQt_ScrollBarPolicy ) INLINE Qt_QAbstractScrollArea_setHorizontalScrollBarPolicy( ::pPtr, nQt_ScrollBarPolicy )
|
||||
@@ -83,6 +85,8 @@ CLASS QAbstractScrollArea INHERIT QFrame
|
||||
|
||||
METHOD New( pParent ) CLASS QAbstractScrollArea
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QAbstractScrollArea( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QAbstractSlider INHERIT QWidget
|
||||
CREATE CLASS QAbstractSlider INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -82,8 +83,10 @@ CLASS QAbstractSlider INHERIT QWidget
|
||||
METHOD setTracking( lEnable ) INLINE Qt_QAbstractSlider_setTracking( ::pPtr, lEnable )
|
||||
METHOD singleStep() INLINE Qt_QAbstractSlider_singleStep( ::pPtr )
|
||||
METHOD sliderPosition() INLINE Qt_QAbstractSlider_sliderPosition( ::pPtr )
|
||||
METHOD triggerAction( nSliderAction ) INLINE Qt_QAbstractSlider_triggerAction( ::pPtr, nSliderAction )
|
||||
METHOD triggerAction( nAction ) INLINE Qt_QAbstractSlider_triggerAction( ::pPtr, nAction )
|
||||
METHOD value() INLINE Qt_QAbstractSlider_value( ::pPtr )
|
||||
METHOD setOrientation( nQt_Orientation ) INLINE Qt_QAbstractSlider_setOrientation( ::pPtr, nQt_Orientation )
|
||||
METHOD setValue( nInt ) INLINE Qt_QAbstractSlider_setValue( ::pPtr, nInt )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -91,6 +94,8 @@ CLASS QAbstractSlider INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QAbstractSlider
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QAbstractSlider( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QAbstractSpinBox INHERIT QWidget
|
||||
CREATE CLASS QAbstractSpinBox INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -73,8 +74,8 @@ CLASS QAbstractSpinBox INHERIT QWidget
|
||||
METHOD keyboardTracking() INLINE Qt_QAbstractSpinBox_keyboardTracking( ::pPtr )
|
||||
METHOD setAccelerated( lOn ) INLINE Qt_QAbstractSpinBox_setAccelerated( ::pPtr, lOn )
|
||||
METHOD setAlignment( nFlag ) INLINE Qt_QAbstractSpinBox_setAlignment( ::pPtr, nFlag )
|
||||
METHOD setButtonSymbols( nButtonSymbols ) INLINE Qt_QAbstractSpinBox_setButtonSymbols( ::pPtr, nButtonSymbols )
|
||||
METHOD setCorrectionMode( nCorrectionMode ) INLINE Qt_QAbstractSpinBox_setCorrectionMode( ::pPtr, nCorrectionMode )
|
||||
METHOD setButtonSymbols( nBs ) INLINE Qt_QAbstractSpinBox_setButtonSymbols( ::pPtr, nBs )
|
||||
METHOD setCorrectionMode( nCm ) INLINE Qt_QAbstractSpinBox_setCorrectionMode( ::pPtr, nCm )
|
||||
METHOD setFrame( lBool ) INLINE Qt_QAbstractSpinBox_setFrame( ::pPtr, lBool )
|
||||
METHOD setKeyboardTracking( lKt ) INLINE Qt_QAbstractSpinBox_setKeyboardTracking( ::pPtr, lKt )
|
||||
METHOD setReadOnly( lR ) INLINE Qt_QAbstractSpinBox_setReadOnly( ::pPtr, lR )
|
||||
@@ -84,6 +85,10 @@ CLASS QAbstractSpinBox INHERIT QWidget
|
||||
METHOD stepBy( nSteps ) INLINE Qt_QAbstractSpinBox_stepBy( ::pPtr, nSteps )
|
||||
METHOD text() INLINE Qt_QAbstractSpinBox_text( ::pPtr )
|
||||
METHOD wrapping() INLINE Qt_QAbstractSpinBox_wrapping( ::pPtr )
|
||||
METHOD clear() INLINE Qt_QAbstractSpinBox_clear( ::pPtr )
|
||||
METHOD selectAll() INLINE Qt_QAbstractSpinBox_selectAll( ::pPtr )
|
||||
METHOD stepDown() INLINE Qt_QAbstractSpinBox_stepDown( ::pPtr )
|
||||
METHOD stepUp() INLINE Qt_QAbstractSpinBox_stepUp( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -91,6 +96,8 @@ CLASS QAbstractSpinBox INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QAbstractSpinBox
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QAbstractSpinBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,18 +53,22 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QAction INHERIT QObject
|
||||
CREATE CLASS QAction INHERIT QObject
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD actionGroup() INLINE Qt_QAction_actionGroup( ::pPtr )
|
||||
METHOD activate( nActionEvent ) INLINE Qt_QAction_activate( ::pPtr, nActionEvent )
|
||||
METHOD activate( nEvent ) INLINE Qt_QAction_activate( ::pPtr, nEvent )
|
||||
METHOD autoRepeat() INLINE Qt_QAction_autoRepeat( ::pPtr )
|
||||
METHOD data() INLINE Qt_QAction_data( ::pPtr )
|
||||
METHOD font() INLINE Qt_QAction_font( ::pPtr )
|
||||
METHOD icon() INLINE Qt_QAction_icon( ::pPtr )
|
||||
METHOD iconText() INLINE Qt_QAction_iconText( ::pPtr )
|
||||
METHOD isCheckable() INLINE Qt_QAction_isCheckable( ::pPtr )
|
||||
METHOD isChecked() INLINE Qt_QAction_isChecked( ::pPtr )
|
||||
@@ -78,24 +82,35 @@ CLASS QAction INHERIT QObject
|
||||
METHOD setActionGroup( pGroup ) INLINE Qt_QAction_setActionGroup( ::pPtr, pGroup )
|
||||
METHOD setAutoRepeat( lBool ) INLINE Qt_QAction_setAutoRepeat( ::pPtr, lBool )
|
||||
METHOD setCheckable( lBool ) INLINE Qt_QAction_setCheckable( ::pPtr, lBool )
|
||||
METHOD setData( pUserData ) INLINE Qt_QAction_setData( ::pPtr, pUserData )
|
||||
METHOD setFont( pFont ) INLINE Qt_QAction_setFont( ::pPtr, pFont )
|
||||
METHOD setIcon( cIcon ) INLINE Qt_QAction_setIcon( ::pPtr, cIcon )
|
||||
METHOD setIconText( cText ) INLINE Qt_QAction_setIconText( ::pPtr, cText )
|
||||
METHOD setIconVisibleInMenu( lVisible ) INLINE Qt_QAction_setIconVisibleInMenu( ::pPtr, lVisible )
|
||||
METHOD setMenu( pMenu ) INLINE Qt_QAction_setMenu( ::pPtr, pMenu )
|
||||
METHOD setMenuRole( nMenuRole ) INLINE Qt_QAction_setMenuRole( ::pPtr, nMenuRole )
|
||||
METHOD setSeparator( lB ) INLINE Qt_QAction_setSeparator( ::pPtr, lB )
|
||||
METHOD setShortcut( pShortcut ) INLINE Qt_QAction_setShortcut( ::pPtr, pShortcut )
|
||||
METHOD setShortcutContext( nContext ) INLINE Qt_QAction_setShortcutContext( ::pPtr, nContext )
|
||||
METHOD setShortcuts( nKey ) INLINE Qt_QAction_setShortcuts( ::pPtr, nKey )
|
||||
METHOD setStatusTip( cStatusTip ) INLINE Qt_QAction_setStatusTip( ::pPtr, cStatusTip )
|
||||
METHOD setText( cText ) INLINE Qt_QAction_setText( ::pPtr, cText )
|
||||
METHOD setToolTip( cTip ) INLINE Qt_QAction_setToolTip( ::pPtr, cTip )
|
||||
METHOD setWhatsThis( cWhat ) INLINE Qt_QAction_setWhatsThis( ::pPtr, cWhat )
|
||||
METHOD shortcut() INLINE Qt_QAction_shortcut( ::pPtr )
|
||||
METHOD shortcutContext() INLINE Qt_QAction_shortcutContext( ::pPtr )
|
||||
METHOD showStatusText( pWidget ) INLINE Qt_QAction_showStatusText( ::pPtr, pWidget )
|
||||
METHOD statusTip() INLINE Qt_QAction_statusTip( ::pPtr )
|
||||
METHOD text() INLINE Qt_QAction_text( ::pPtr )
|
||||
METHOD toolTip() INLINE Qt_QAction_toolTip( ::pPtr )
|
||||
METHOD whatsThis() INLINE Qt_QAction_whatsThis( ::pPtr )
|
||||
METHOD hover() INLINE Qt_QAction_hover( ::pPtr )
|
||||
METHOD setChecked( lBool ) INLINE Qt_QAction_setChecked( ::pPtr, lBool )
|
||||
METHOD setDisabled( lB ) INLINE Qt_QAction_setDisabled( ::pPtr, lB )
|
||||
METHOD setEnabled( lBool ) INLINE Qt_QAction_setEnabled( ::pPtr, lBool )
|
||||
METHOD setVisible( lBool ) INLINE Qt_QAction_setVisible( ::pPtr, lBool )
|
||||
METHOD toggle() INLINE Qt_QAction_toggle( ::pPtr )
|
||||
METHOD trigger() INLINE Qt_QAction_trigger( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -103,6 +118,8 @@ CLASS QAction INHERIT QObject
|
||||
|
||||
METHOD New( pParent ) CLASS QAction
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QAction( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
83
harbour/contrib/hbqt/TQBitmap.prg
Normal file
83
harbour/contrib/hbqt/TQBitmap.prg
Normal file
@@ -0,0 +1,83 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QBitmap INHERIT QPixmap
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD clear() INLINE Qt_QBitmap_clear( ::pPtr )
|
||||
METHOD transformed( pMatrix ) INLINE Qt_QBitmap_transformed( ::pPtr, pMatrix )
|
||||
METHOD transformed_1( pMatrix ) INLINE Qt_QBitmap_transformed_1( ::pPtr, pMatrix )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QBitmap
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QBitmap( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QBoxLayout INHERIT QLayout
|
||||
CREATE CLASS QBoxLayout INHERIT QLayout
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -89,6 +90,8 @@ CLASS QBoxLayout INHERIT QLayout
|
||||
|
||||
METHOD New( pParent ) CLASS QBoxLayout
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QBoxLayout( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,31 +53,54 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QCalendarWidget INHERIT QWidget
|
||||
CREATE CLASS QCalendarWidget INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD dateEditAcceptDelay() INLINE Qt_QCalendarWidget_dateEditAcceptDelay( ::pPtr )
|
||||
METHOD dateTextFormat( pDate ) INLINE Qt_QCalendarWidget_dateTextFormat( ::pPtr, pDate )
|
||||
METHOD firstDayOfWeek() INLINE Qt_QCalendarWidget_firstDayOfWeek( ::pPtr )
|
||||
METHOD headerTextFormat() INLINE Qt_QCalendarWidget_headerTextFormat( ::pPtr )
|
||||
METHOD horizontalHeaderFormat() INLINE Qt_QCalendarWidget_horizontalHeaderFormat( ::pPtr )
|
||||
METHOD isDateEditEnabled() INLINE Qt_QCalendarWidget_isDateEditEnabled( ::pPtr )
|
||||
METHOD isGridVisible() INLINE Qt_QCalendarWidget_isGridVisible( ::pPtr )
|
||||
METHOD isNavigationBarVisible() INLINE Qt_QCalendarWidget_isNavigationBarVisible( ::pPtr )
|
||||
METHOD maximumDate() INLINE Qt_QCalendarWidget_maximumDate( ::pPtr )
|
||||
METHOD minimumDate() INLINE Qt_QCalendarWidget_minimumDate( ::pPtr )
|
||||
METHOD monthShown() INLINE Qt_QCalendarWidget_monthShown( ::pPtr )
|
||||
METHOD selectedDate() INLINE Qt_QCalendarWidget_selectedDate( ::pPtr )
|
||||
METHOD selectionMode() INLINE Qt_QCalendarWidget_selectionMode( ::pPtr )
|
||||
METHOD setDateEditAcceptDelay( nDelay ) INLINE Qt_QCalendarWidget_setDateEditAcceptDelay( ::pPtr, nDelay )
|
||||
METHOD setDateEditEnabled( lEnable ) INLINE Qt_QCalendarWidget_setDateEditEnabled( ::pPtr, lEnable )
|
||||
METHOD setDateTextFormat( pDate, pFormat ) INLINE Qt_QCalendarWidget_setDateTextFormat( ::pPtr, pDate, pFormat )
|
||||
METHOD setFirstDayOfWeek( nDayOfWeek ) INLINE Qt_QCalendarWidget_setFirstDayOfWeek( ::pPtr, nDayOfWeek )
|
||||
METHOD setHorizontalHeaderFormat( nHorizontalHeaderFormat ) INLINE Qt_QCalendarWidget_setHorizontalHeaderFormat( ::pPtr, nHorizontalHeaderFormat )
|
||||
METHOD setSelectionMode( nSelectionMode ) INLINE Qt_QCalendarWidget_setSelectionMode( ::pPtr, nSelectionMode )
|
||||
METHOD setVerticalHeaderFormat( nVerticalHeaderFormat ) INLINE Qt_QCalendarWidget_setVerticalHeaderFormat( ::pPtr, nVerticalHeaderFormat )
|
||||
METHOD setHeaderTextFormat( pFormat ) INLINE Qt_QCalendarWidget_setHeaderTextFormat( ::pPtr, pFormat )
|
||||
METHOD setHorizontalHeaderFormat( nFormat ) INLINE Qt_QCalendarWidget_setHorizontalHeaderFormat( ::pPtr, nFormat )
|
||||
METHOD setMaximumDate( pDate ) INLINE Qt_QCalendarWidget_setMaximumDate( ::pPtr, pDate )
|
||||
METHOD setMinimumDate( pDate ) INLINE Qt_QCalendarWidget_setMinimumDate( ::pPtr, pDate )
|
||||
METHOD setSelectionMode( nMode ) INLINE Qt_QCalendarWidget_setSelectionMode( ::pPtr, nMode )
|
||||
METHOD setVerticalHeaderFormat( nFormat ) INLINE Qt_QCalendarWidget_setVerticalHeaderFormat( ::pPtr, nFormat )
|
||||
METHOD setWeekdayTextFormat( nDayOfWeek, pFormat ) INLINE Qt_QCalendarWidget_setWeekdayTextFormat( ::pPtr, nDayOfWeek, pFormat )
|
||||
METHOD verticalHeaderFormat() INLINE Qt_QCalendarWidget_verticalHeaderFormat( ::pPtr )
|
||||
METHOD weekdayTextFormat( nDayOfWeek ) INLINE Qt_QCalendarWidget_weekdayTextFormat( ::pPtr, nDayOfWeek )
|
||||
METHOD yearShown() INLINE Qt_QCalendarWidget_yearShown( ::pPtr )
|
||||
METHOD setCurrentPage( nYear, nMonth ) INLINE Qt_QCalendarWidget_setCurrentPage( ::pPtr, nYear, nMonth )
|
||||
METHOD setDateRange( pMin, pMax ) INLINE Qt_QCalendarWidget_setDateRange( ::pPtr, pMin, pMax )
|
||||
METHOD setGridVisible( lShow ) INLINE Qt_QCalendarWidget_setGridVisible( ::pPtr, lShow )
|
||||
METHOD setNavigationBarVisible( lVisible ) INLINE Qt_QCalendarWidget_setNavigationBarVisible( ::pPtr, lVisible )
|
||||
METHOD setSelectedDate( pDate ) INLINE Qt_QCalendarWidget_setSelectedDate( ::pPtr, pDate )
|
||||
METHOD showNextMonth() INLINE Qt_QCalendarWidget_showNextMonth( ::pPtr )
|
||||
METHOD showNextYear() INLINE Qt_QCalendarWidget_showNextYear( ::pPtr )
|
||||
METHOD showPreviousMonth() INLINE Qt_QCalendarWidget_showPreviousMonth( ::pPtr )
|
||||
METHOD showPreviousYear() INLINE Qt_QCalendarWidget_showPreviousYear( ::pPtr )
|
||||
METHOD showSelectedDate() INLINE Qt_QCalendarWidget_showSelectedDate( ::pPtr )
|
||||
METHOD showToday() INLINE Qt_QCalendarWidget_showToday( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -85,6 +108,8 @@ CLASS QCalendarWidget INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QCalendarWidget
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QCalendarWidget( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QCheckBox INHERIT QAbstractButton
|
||||
CREATE CLASS QCheckBox INHERIT QAbstractButton
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -73,6 +74,8 @@ CLASS QCheckBox INHERIT QAbstractButton
|
||||
|
||||
METHOD New( pParent ) CLASS QCheckBox
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QCheckBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,22 +53,25 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QColorDialog INHERIT QDialog
|
||||
CREATE CLASS QColorDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD currentColor() INLINE Qt_QColorDialog_currentColor( ::pPtr )
|
||||
METHOD open() INLINE Qt_QColorDialog_open( ::pPtr )
|
||||
METHOD open_1( pReceiver, pMember ) INLINE Qt_QColorDialog_open_1( ::pPtr, pReceiver, pMember )
|
||||
METHOD options() INLINE Qt_QColorDialog_options( ::pPtr )
|
||||
METHOD setOption( nColorDialogOption, lOn ) INLINE Qt_QColorDialog_setOption( ::pPtr, nColorDialogOption, lOn )
|
||||
METHOD setOptions( nColorDialogOptions ) INLINE Qt_QColorDialog_setOptions( ::pPtr, nColorDialogOptions )
|
||||
METHOD selectedColor() INLINE Qt_QColorDialog_selectedColor( ::pPtr )
|
||||
METHOD setCurrentColor( pColor ) INLINE Qt_QColorDialog_setCurrentColor( ::pPtr, pColor )
|
||||
METHOD setOption( nOption, lOn ) INLINE Qt_QColorDialog_setOption( ::pPtr, nOption, lOn )
|
||||
METHOD setOptions( nOptions ) INLINE Qt_QColorDialog_setOptions( ::pPtr, nOptions )
|
||||
METHOD setVisible( lVisible ) INLINE Qt_QColorDialog_setVisible( ::pPtr, lVisible )
|
||||
METHOD testOption( nColorDialogOption ) INLINE Qt_QColorDialog_testOption( ::pPtr, nColorDialogOption )
|
||||
METHOD testOption( nOption ) INLINE Qt_QColorDialog_testOption( ::pPtr, nOption )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -76,6 +79,8 @@ CLASS QColorDialog INHERIT QDialog
|
||||
|
||||
METHOD New( pParent ) CLASS QColorDialog
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QColorDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,27 +53,38 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QComboBox INHERIT QWidget
|
||||
CREATE CLASS QComboBox INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addItem( cText, pUserData ) INLINE Qt_QComboBox_addItem( ::pPtr, cText, pUserData )
|
||||
METHOD addItem_1( cIcon, cText, pUserData ) INLINE Qt_QComboBox_addItem_1( ::pPtr, cIcon, cText, pUserData )
|
||||
METHOD addItems( pTexts ) INLINE Qt_QComboBox_addItems( ::pPtr, pTexts )
|
||||
METHOD completer() INLINE Qt_QComboBox_completer( ::pPtr )
|
||||
METHOD count() INLINE Qt_QComboBox_count( ::pPtr )
|
||||
METHOD currentIndex() INLINE Qt_QComboBox_currentIndex( ::pPtr )
|
||||
METHOD currentText() INLINE Qt_QComboBox_currentText( ::pPtr )
|
||||
METHOD duplicatesEnabled() INLINE Qt_QComboBox_duplicatesEnabled( ::pPtr )
|
||||
METHOD findData( pData, nRole, nFlags ) INLINE Qt_QComboBox_findData( ::pPtr, pData, nRole, nFlags )
|
||||
METHOD findText( cText, nFlags ) INLINE Qt_QComboBox_findText( ::pPtr, cText, nFlags )
|
||||
METHOD hasFrame() INLINE Qt_QComboBox_hasFrame( ::pPtr )
|
||||
METHOD hidePopup() INLINE Qt_QComboBox_hidePopup( ::pPtr )
|
||||
METHOD iconSize() INLINE Qt_QComboBox_iconSize( ::pPtr )
|
||||
METHOD insertItem( nIndex, cText, pUserData ) INLINE Qt_QComboBox_insertItem( ::pPtr, nIndex, cText, pUserData )
|
||||
METHOD insertItem_1( nIndex, cIcon, cText, pUserData ) INLINE Qt_QComboBox_insertItem_1( ::pPtr, nIndex, cIcon, cText, pUserData )
|
||||
METHOD insertItems( nIndex, pList ) INLINE Qt_QComboBox_insertItems( ::pPtr, nIndex, pList )
|
||||
METHOD insertPolicy() INLINE Qt_QComboBox_insertPolicy( ::pPtr )
|
||||
METHOD insertSeparator( nIndex ) INLINE Qt_QComboBox_insertSeparator( ::pPtr, nIndex )
|
||||
METHOD isEditable() INLINE Qt_QComboBox_isEditable( ::pPtr )
|
||||
METHOD itemData( nIndex, nRole ) INLINE Qt_QComboBox_itemData( ::pPtr, nIndex, nRole )
|
||||
METHOD itemDelegate() INLINE Qt_QComboBox_itemDelegate( ::pPtr )
|
||||
METHOD itemIcon( nIndex ) INLINE Qt_QComboBox_itemIcon( ::pPtr, nIndex )
|
||||
METHOD itemText( nIndex ) INLINE Qt_QComboBox_itemText( ::pPtr, nIndex )
|
||||
METHOD lineEdit() INLINE Qt_QComboBox_lineEdit( ::pPtr )
|
||||
METHOD maxCount() INLINE Qt_QComboBox_maxCount( ::pPtr )
|
||||
@@ -82,12 +93,14 @@ CLASS QComboBox INHERIT QWidget
|
||||
METHOD model() INLINE Qt_QComboBox_model( ::pPtr )
|
||||
METHOD modelColumn() INLINE Qt_QComboBox_modelColumn( ::pPtr )
|
||||
METHOD removeItem( nIndex ) INLINE Qt_QComboBox_removeItem( ::pPtr, nIndex )
|
||||
METHOD rootModelIndex() INLINE Qt_QComboBox_rootModelIndex( ::pPtr )
|
||||
METHOD setCompleter( pCompleter ) INLINE Qt_QComboBox_setCompleter( ::pPtr, pCompleter )
|
||||
METHOD setDuplicatesEnabled( lEnable ) INLINE Qt_QComboBox_setDuplicatesEnabled( ::pPtr, lEnable )
|
||||
METHOD setEditable( lEditable ) INLINE Qt_QComboBox_setEditable( ::pPtr, lEditable )
|
||||
METHOD setFrame( lBool ) INLINE Qt_QComboBox_setFrame( ::pPtr, lBool )
|
||||
METHOD setIconSize( aSizeSize ) INLINE Qt_QComboBox_setIconSize( ::pPtr, aSizeSize )
|
||||
METHOD setInsertPolicy( nInsertPolicy ) INLINE Qt_QComboBox_setInsertPolicy( ::pPtr, nInsertPolicy )
|
||||
METHOD setIconSize( pSize ) INLINE Qt_QComboBox_setIconSize( ::pPtr, pSize )
|
||||
METHOD setInsertPolicy( nPolicy ) INLINE Qt_QComboBox_setInsertPolicy( ::pPtr, nPolicy )
|
||||
METHOD setItemData( nIndex, pValue, nRole ) INLINE Qt_QComboBox_setItemData( ::pPtr, nIndex, pValue, nRole )
|
||||
METHOD setItemDelegate( pDelegate ) INLINE Qt_QComboBox_setItemDelegate( ::pPtr, pDelegate )
|
||||
METHOD setItemIcon( nIndex, cIcon ) INLINE Qt_QComboBox_setItemIcon( ::pPtr, nIndex, cIcon )
|
||||
METHOD setItemText( nIndex, cText ) INLINE Qt_QComboBox_setItemText( ::pPtr, nIndex, cText )
|
||||
@@ -97,13 +110,18 @@ CLASS QComboBox INHERIT QWidget
|
||||
METHOD setMinimumContentsLength( nCharacters ) INLINE Qt_QComboBox_setMinimumContentsLength( ::pPtr, nCharacters )
|
||||
METHOD setModel( pModel ) INLINE Qt_QComboBox_setModel( ::pPtr, pModel )
|
||||
METHOD setModelColumn( nVisibleColumn ) INLINE Qt_QComboBox_setModelColumn( ::pPtr, nVisibleColumn )
|
||||
METHOD setSizeAdjustPolicy( nSizeAdjustPolicy ) INLINE Qt_QComboBox_setSizeAdjustPolicy( ::pPtr, nSizeAdjustPolicy )
|
||||
METHOD setRootModelIndex( pIndex ) INLINE Qt_QComboBox_setRootModelIndex( ::pPtr, pIndex )
|
||||
METHOD setSizeAdjustPolicy( nPolicy ) INLINE Qt_QComboBox_setSizeAdjustPolicy( ::pPtr, nPolicy )
|
||||
METHOD setValidator( pValidator ) INLINE Qt_QComboBox_setValidator( ::pPtr, pValidator )
|
||||
METHOD setView( pItemView ) INLINE Qt_QComboBox_setView( ::pPtr, pItemView )
|
||||
METHOD showPopup() INLINE Qt_QComboBox_showPopup( ::pPtr )
|
||||
METHOD sizeAdjustPolicy() INLINE Qt_QComboBox_sizeAdjustPolicy( ::pPtr )
|
||||
METHOD validator() INLINE Qt_QComboBox_validator( ::pPtr )
|
||||
METHOD view() INLINE Qt_QComboBox_view( ::pPtr )
|
||||
METHOD clear() INLINE Qt_QComboBox_clear( ::pPtr )
|
||||
METHOD clearEditText() INLINE Qt_QComboBox_clearEditText( ::pPtr )
|
||||
METHOD setCurrentIndex( nIndex ) INLINE Qt_QComboBox_setCurrentIndex( ::pPtr, nIndex )
|
||||
METHOD setEditText( cText ) INLINE Qt_QComboBox_setEditText( ::pPtr, cText )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -111,6 +129,8 @@ CLASS QComboBox INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QComboBox
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QComboBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QCommandLinkButton INHERIT QPushButton
|
||||
CREATE CLASS QCommandLinkButton INHERIT QPushButton
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -71,6 +72,8 @@ CLASS QCommandLinkButton INHERIT QPushButton
|
||||
|
||||
METHOD New( pParent ) CLASS QCommandLinkButton
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QCommandLinkButton( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
80
harbour/contrib/hbqt/TQCommonStyle.prg
Normal file
80
harbour/contrib/hbqt/TQCommonStyle.prg
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QCommonStyle INHERIT QStyle
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QCommonStyle
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QCommonStyle( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QDateEdit INHERIT QDateTimeEdit
|
||||
CREATE CLASS QDateEdit INHERIT QDateTimeEdit
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -69,6 +70,8 @@ CLASS QDateEdit INHERIT QDateTimeEdit
|
||||
|
||||
METHOD New( pParent ) CLASS QDateEdit
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QDateEdit( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QDateTimeEdit INHERIT QAbstractSpinBox
|
||||
CREATE CLASS QDateTimeEdit INHERIT QAbstractSpinBox
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -72,8 +73,16 @@ CLASS QDateTimeEdit INHERIT QAbstractSpinBox
|
||||
METHOD clearMinimumTime() INLINE Qt_QDateTimeEdit_clearMinimumTime( ::pPtr )
|
||||
METHOD currentSection() INLINE Qt_QDateTimeEdit_currentSection( ::pPtr )
|
||||
METHOD currentSectionIndex() INLINE Qt_QDateTimeEdit_currentSectionIndex( ::pPtr )
|
||||
METHOD date() INLINE Qt_QDateTimeEdit_date( ::pPtr )
|
||||
METHOD dateTime() INLINE Qt_QDateTimeEdit_dateTime( ::pPtr )
|
||||
METHOD displayFormat() INLINE Qt_QDateTimeEdit_displayFormat( ::pPtr )
|
||||
METHOD displayedSections() INLINE Qt_QDateTimeEdit_displayedSections( ::pPtr )
|
||||
METHOD maximumDate() INLINE Qt_QDateTimeEdit_maximumDate( ::pPtr )
|
||||
METHOD maximumDateTime() INLINE Qt_QDateTimeEdit_maximumDateTime( ::pPtr )
|
||||
METHOD maximumTime() INLINE Qt_QDateTimeEdit_maximumTime( ::pPtr )
|
||||
METHOD minimumDate() INLINE Qt_QDateTimeEdit_minimumDate( ::pPtr )
|
||||
METHOD minimumDateTime() INLINE Qt_QDateTimeEdit_minimumDateTime( ::pPtr )
|
||||
METHOD minimumTime() INLINE Qt_QDateTimeEdit_minimumTime( ::pPtr )
|
||||
METHOD sectionAt( nIndex ) INLINE Qt_QDateTimeEdit_sectionAt( ::pPtr, nIndex )
|
||||
METHOD sectionCount() INLINE Qt_QDateTimeEdit_sectionCount( ::pPtr )
|
||||
METHOD sectionText( nSection ) INLINE Qt_QDateTimeEdit_sectionText( ::pPtr, nSection )
|
||||
@@ -81,10 +90,23 @@ CLASS QDateTimeEdit INHERIT QAbstractSpinBox
|
||||
METHOD setCalendarWidget( pCalendarWidget ) INLINE Qt_QDateTimeEdit_setCalendarWidget( ::pPtr, pCalendarWidget )
|
||||
METHOD setCurrentSection( nSection ) INLINE Qt_QDateTimeEdit_setCurrentSection( ::pPtr, nSection )
|
||||
METHOD setCurrentSectionIndex( nIndex ) INLINE Qt_QDateTimeEdit_setCurrentSectionIndex( ::pPtr, nIndex )
|
||||
METHOD setDateRange( pMin, pMax ) INLINE Qt_QDateTimeEdit_setDateRange( ::pPtr, pMin, pMax )
|
||||
METHOD setDateTimeRange( pMin, pMax ) INLINE Qt_QDateTimeEdit_setDateTimeRange( ::pPtr, pMin, pMax )
|
||||
METHOD setDisplayFormat( cFormat ) INLINE Qt_QDateTimeEdit_setDisplayFormat( ::pPtr, cFormat )
|
||||
METHOD setMaximumDate( pMax ) INLINE Qt_QDateTimeEdit_setMaximumDate( ::pPtr, pMax )
|
||||
METHOD setMaximumDateTime( pDt ) INLINE Qt_QDateTimeEdit_setMaximumDateTime( ::pPtr, pDt )
|
||||
METHOD setMaximumTime( pMax ) INLINE Qt_QDateTimeEdit_setMaximumTime( ::pPtr, pMax )
|
||||
METHOD setMinimumDate( pMin ) INLINE Qt_QDateTimeEdit_setMinimumDate( ::pPtr, pMin )
|
||||
METHOD setMinimumDateTime( pDt ) INLINE Qt_QDateTimeEdit_setMinimumDateTime( ::pPtr, pDt )
|
||||
METHOD setMinimumTime( pMin ) INLINE Qt_QDateTimeEdit_setMinimumTime( ::pPtr, pMin )
|
||||
METHOD setSelectedSection( nSection ) INLINE Qt_QDateTimeEdit_setSelectedSection( ::pPtr, nSection )
|
||||
METHOD setTimeRange( pMin, pMax ) INLINE Qt_QDateTimeEdit_setTimeRange( ::pPtr, pMin, pMax )
|
||||
METHOD setTimeSpec( nSpec ) INLINE Qt_QDateTimeEdit_setTimeSpec( ::pPtr, nSpec )
|
||||
METHOD time() INLINE Qt_QDateTimeEdit_time( ::pPtr )
|
||||
METHOD timeSpec() INLINE Qt_QDateTimeEdit_timeSpec( ::pPtr )
|
||||
METHOD setDate( pDate ) INLINE Qt_QDateTimeEdit_setDate( ::pPtr, pDate )
|
||||
METHOD setDateTime( pDateTime ) INLINE Qt_QDateTimeEdit_setDateTime( ::pPtr, pDateTime )
|
||||
METHOD setTime( pTime ) INLINE Qt_QDateTimeEdit_setTime( ::pPtr, pTime )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -92,6 +114,8 @@ CLASS QDateTimeEdit INHERIT QAbstractSpinBox
|
||||
|
||||
METHOD New( pParent ) CLASS QDateTimeEdit
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QDateTimeEdit( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
92
harbour/contrib/hbqt/TQDesktopWidget.prg
Normal file
92
harbour/contrib/hbqt/TQDesktopWidget.prg
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QDesktopWidget INHERIT QWidget
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD availableGeometry( nScreen ) INLINE Qt_QDesktopWidget_availableGeometry( ::pPtr, nScreen )
|
||||
METHOD availableGeometry_1( pWidget ) INLINE Qt_QDesktopWidget_availableGeometry_1( ::pPtr, pWidget )
|
||||
METHOD availableGeometry_2( pP ) INLINE Qt_QDesktopWidget_availableGeometry_2( ::pPtr, pP )
|
||||
METHOD isVirtualDesktop() INLINE Qt_QDesktopWidget_isVirtualDesktop( ::pPtr )
|
||||
METHOD numScreens() INLINE Qt_QDesktopWidget_numScreens( ::pPtr )
|
||||
METHOD primaryScreen() INLINE Qt_QDesktopWidget_primaryScreen( ::pPtr )
|
||||
METHOD screen( nScreen ) INLINE Qt_QDesktopWidget_screen( ::pPtr, nScreen )
|
||||
METHOD screenGeometry( nScreen ) INLINE Qt_QDesktopWidget_screenGeometry( ::pPtr, nScreen )
|
||||
METHOD screenGeometry_1( pWidget ) INLINE Qt_QDesktopWidget_screenGeometry_1( ::pPtr, pWidget )
|
||||
METHOD screenGeometry_2( pP ) INLINE Qt_QDesktopWidget_screenGeometry_2( ::pPtr, pP )
|
||||
METHOD screenNumber( pWidget ) INLINE Qt_QDesktopWidget_screenNumber( ::pPtr, pWidget )
|
||||
METHOD screenNumber_1( pPoint ) INLINE Qt_QDesktopWidget_screenNumber_1( ::pPtr, pPoint )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QDesktopWidget
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QDesktopWidget( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QDial INHERIT QAbstractSlider
|
||||
CREATE CLASS QDial INHERIT QAbstractSlider
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -67,6 +68,8 @@ CLASS QDial INHERIT QAbstractSlider
|
||||
METHOD notchesVisible() INLINE Qt_QDial_notchesVisible( ::pPtr )
|
||||
METHOD setNotchTarget( nTarget ) INLINE Qt_QDial_setNotchTarget( ::pPtr, nTarget )
|
||||
METHOD wrapping() INLINE Qt_QDial_wrapping( ::pPtr )
|
||||
METHOD setNotchesVisible( lVisible ) INLINE Qt_QDial_setNotchesVisible( ::pPtr, lVisible )
|
||||
METHOD setWrapping( lOn ) INLINE Qt_QDial_setWrapping( ::pPtr, lOn )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -74,6 +77,8 @@ CLASS QDial INHERIT QAbstractSlider
|
||||
|
||||
METHOD New( pParent ) CLASS QDial
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QDial( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QDialog INHERIT QWidget
|
||||
CREATE CLASS QDialog INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -79,6 +80,8 @@ CLASS QDialog INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QDialog
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
115
harbour/contrib/hbqt/TQDir.prg
Normal file
115
harbour/contrib/hbqt/TQDir.prg
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QDir
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD absoluteFilePath( cFileName ) INLINE Qt_QDir_absoluteFilePath( ::pPtr, cFileName )
|
||||
METHOD absolutePath() INLINE Qt_QDir_absolutePath( ::pPtr )
|
||||
METHOD canonicalPath() INLINE Qt_QDir_canonicalPath( ::pPtr )
|
||||
METHOD cd( cDirName ) INLINE Qt_QDir_cd( ::pPtr, cDirName )
|
||||
METHOD cdUp() INLINE Qt_QDir_cdUp( ::pPtr )
|
||||
METHOD count() INLINE Qt_QDir_count( ::pPtr )
|
||||
METHOD dirName() INLINE Qt_QDir_dirName( ::pPtr )
|
||||
METHOD entryInfoList( pNameFilters, nFilters, nSort ) INLINE Qt_QDir_entryInfoList( ::pPtr, pNameFilters, nFilters, nSort )
|
||||
METHOD entryInfoList_1( nFilters, nSort ) INLINE Qt_QDir_entryInfoList_1( ::pPtr, nFilters, nSort )
|
||||
METHOD entryList( pNameFilters, nFilters, nSort ) INLINE Qt_QDir_entryList( ::pPtr, pNameFilters, nFilters, nSort )
|
||||
METHOD entryList_1( nFilters, nSort ) INLINE Qt_QDir_entryList_1( ::pPtr, nFilters, nSort )
|
||||
METHOD exists( cName ) INLINE Qt_QDir_exists( ::pPtr, cName )
|
||||
METHOD exists_1() INLINE Qt_QDir_exists_1( ::pPtr )
|
||||
METHOD filePath( cFileName ) INLINE Qt_QDir_filePath( ::pPtr, cFileName )
|
||||
METHOD filter() INLINE Qt_QDir_filter( ::pPtr )
|
||||
METHOD isAbsolute() INLINE Qt_QDir_isAbsolute( ::pPtr )
|
||||
METHOD isReadable() INLINE Qt_QDir_isReadable( ::pPtr )
|
||||
METHOD isRelative() INLINE Qt_QDir_isRelative( ::pPtr )
|
||||
METHOD isRoot() INLINE Qt_QDir_isRoot( ::pPtr )
|
||||
METHOD makeAbsolute() INLINE Qt_QDir_makeAbsolute( ::pPtr )
|
||||
METHOD mkdir( cDirName ) INLINE Qt_QDir_mkdir( ::pPtr, cDirName )
|
||||
METHOD mkpath( cDirPath ) INLINE Qt_QDir_mkpath( ::pPtr, cDirPath )
|
||||
METHOD nameFilters() INLINE Qt_QDir_nameFilters( ::pPtr )
|
||||
METHOD path() INLINE Qt_QDir_path( ::pPtr )
|
||||
METHOD refresh() INLINE Qt_QDir_refresh( ::pPtr )
|
||||
METHOD relativeFilePath( cFileName ) INLINE Qt_QDir_relativeFilePath( ::pPtr, cFileName )
|
||||
METHOD remove( cFileName ) INLINE Qt_QDir_remove( ::pPtr, cFileName )
|
||||
METHOD rename( cOldName, cNewName ) INLINE Qt_QDir_rename( ::pPtr, cOldName, cNewName )
|
||||
METHOD rmdir( cDirName ) INLINE Qt_QDir_rmdir( ::pPtr, cDirName )
|
||||
METHOD rmpath( cDirPath ) INLINE Qt_QDir_rmpath( ::pPtr, cDirPath )
|
||||
METHOD setFilter( nFilters ) INLINE Qt_QDir_setFilter( ::pPtr, nFilters )
|
||||
METHOD setNameFilters( pNameFilters ) INLINE Qt_QDir_setNameFilters( ::pPtr, pNameFilters )
|
||||
METHOD setPath( cPath ) INLINE Qt_QDir_setPath( ::pPtr, cPath )
|
||||
METHOD setSorting( nSort ) INLINE Qt_QDir_setSorting( ::pPtr, nSort )
|
||||
METHOD sorting() INLINE Qt_QDir_sorting( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QDir
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QDir( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
92
harbour/contrib/hbqt/TQDockWidget.prg
Normal file
92
harbour/contrib/hbqt/TQDockWidget.prg
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QDockWidget INHERIT QWidget
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD allowedAreas() INLINE Qt_QDockWidget_allowedAreas( ::pPtr )
|
||||
METHOD features() INLINE Qt_QDockWidget_features( ::pPtr )
|
||||
METHOD isAreaAllowed( nArea ) INLINE Qt_QDockWidget_isAreaAllowed( ::pPtr, nArea )
|
||||
METHOD isFloating() INLINE Qt_QDockWidget_isFloating( ::pPtr )
|
||||
METHOD setAllowedAreas( nAreas ) INLINE Qt_QDockWidget_setAllowedAreas( ::pPtr, nAreas )
|
||||
METHOD setFeatures( nFeatures ) INLINE Qt_QDockWidget_setFeatures( ::pPtr, nFeatures )
|
||||
METHOD setFloating( lFloating ) INLINE Qt_QDockWidget_setFloating( ::pPtr, lFloating )
|
||||
METHOD setTitleBarWidget( pWidget ) INLINE Qt_QDockWidget_setTitleBarWidget( ::pPtr, pWidget )
|
||||
METHOD setWidget( pWidget ) INLINE Qt_QDockWidget_setWidget( ::pPtr, pWidget )
|
||||
METHOD titleBarWidget() INLINE Qt_QDockWidget_titleBarWidget( ::pPtr )
|
||||
METHOD toggleViewAction() INLINE Qt_QDockWidget_toggleViewAction( ::pPtr )
|
||||
METHOD widget() INLINE Qt_QDockWidget_widget( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QDockWidget
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QDockWidget( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QDoubleSpinBox INHERIT QAbstractSpinBox
|
||||
CREATE CLASS QDoubleSpinBox INHERIT QAbstractSpinBox
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -79,6 +80,7 @@ CLASS QDoubleSpinBox INHERIT QAbstractSpinBox
|
||||
METHOD textFromValue( nValue ) INLINE Qt_QDoubleSpinBox_textFromValue( ::pPtr, nValue )
|
||||
METHOD value() INLINE Qt_QDoubleSpinBox_value( ::pPtr )
|
||||
METHOD valueFromText( cText ) INLINE Qt_QDoubleSpinBox_valueFromText( ::pPtr, cText )
|
||||
METHOD setValue( nVal ) INLINE Qt_QDoubleSpinBox_setValue( ::pPtr, nVal )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -86,6 +88,8 @@ CLASS QDoubleSpinBox INHERIT QAbstractSpinBox
|
||||
|
||||
METHOD New( pParent ) CLASS QDoubleSpinBox
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QDoubleSpinBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,15 +53,17 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QErrorMessage INHERIT QDialog
|
||||
CREATE CLASS QErrorMessage INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD showMessage( cMessage, cType ) INLINE Qt_QErrorMessage_showMessage( ::pPtr, cMessage, cType )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -69,6 +71,8 @@ CLASS QErrorMessage INHERIT QDialog
|
||||
|
||||
METHOD New( pParent ) CLASS QErrorMessage
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QErrorMessage( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
86
harbour/contrib/hbqt/TQEvent.prg
Normal file
86
harbour/contrib/hbqt/TQEvent.prg
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QEvent
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD accept() INLINE Qt_QEvent_accept( ::pPtr )
|
||||
METHOD ignore() INLINE Qt_QEvent_ignore( ::pPtr )
|
||||
METHOD isAccepted() INLINE Qt_QEvent_isAccepted( ::pPtr )
|
||||
METHOD setAccepted( lAccepted ) INLINE Qt_QEvent_setAccepted( ::pPtr, lAccepted )
|
||||
METHOD spontaneous() INLINE Qt_QEvent_spontaneous( ::pPtr )
|
||||
METHOD type() INLINE Qt_QEvent_type( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QEvent
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QEvent( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
86
harbour/contrib/hbqt/TQEventLoop.prg
Normal file
86
harbour/contrib/hbqt/TQEventLoop.prg
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QEventLoop INHERIT QObject
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD exec( nFlags ) INLINE Qt_QEventLoop_exec( ::pPtr, nFlags )
|
||||
METHOD exit( nReturnCode ) INLINE Qt_QEventLoop_exit( ::pPtr, nReturnCode )
|
||||
METHOD isRunning() INLINE Qt_QEventLoop_isRunning( ::pPtr )
|
||||
METHOD processEvents( nFlags ) INLINE Qt_QEventLoop_processEvents( ::pPtr, nFlags )
|
||||
METHOD processEvents_1( nFlags, nMaxTime ) INLINE Qt_QEventLoop_processEvents_1( ::pPtr, nFlags, nMaxTime )
|
||||
METHOD wakeUp() INLINE Qt_QEventLoop_wakeUp( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QEventLoop
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QEventLoop( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,49 +53,58 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QFileDialog INHERIT QDialog
|
||||
CREATE CLASS QFileDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD acceptMode() INLINE Qt_QFileDialog_acceptMode( ::pPtr )
|
||||
METHOD confirmOverwrite() INLINE Qt_QFileDialog_confirmOverwrite( ::pPtr )
|
||||
METHOD defaultSuffix() INLINE Qt_QFileDialog_defaultSuffix( ::pPtr )
|
||||
METHOD directory() INLINE Qt_QFileDialog_directory( ::pPtr )
|
||||
METHOD fileMode() INLINE Qt_QFileDialog_fileMode( ::pPtr )
|
||||
METHOD filter() INLINE Qt_QFileDialog_filter( ::pPtr )
|
||||
METHOD history() INLINE Qt_QFileDialog_history( ::pPtr )
|
||||
METHOD iconProvider() INLINE Qt_QFileDialog_iconProvider( ::pPtr )
|
||||
METHOD isNameFilterDetailsVisible() INLINE Qt_QFileDialog_isNameFilterDetailsVisible( ::pPtr )
|
||||
METHOD isReadOnly() INLINE Qt_QFileDialog_isReadOnly( ::pPtr )
|
||||
METHOD itemDelegate() INLINE Qt_QFileDialog_itemDelegate( ::pPtr )
|
||||
METHOD labelText( nDialogLabel ) INLINE Qt_QFileDialog_labelText( ::pPtr, nDialogLabel )
|
||||
METHOD open( pReceiver, pMember ) INLINE Qt_QFileDialog_open( ::pPtr, pReceiver, pMember )
|
||||
METHOD labelText( nLabel ) INLINE Qt_QFileDialog_labelText( ::pPtr, nLabel )
|
||||
METHOD nameFilters() INLINE Qt_QFileDialog_nameFilters( ::pPtr )
|
||||
METHOD options() INLINE Qt_QFileDialog_options( ::pPtr )
|
||||
METHOD proxyModel() INLINE Qt_QFileDialog_proxyModel( ::pPtr )
|
||||
METHOD resolveSymlinks() INLINE Qt_QFileDialog_resolveSymlinks( ::pPtr )
|
||||
METHOD restoreState( pState ) INLINE Qt_QFileDialog_restoreState( ::pPtr, pState )
|
||||
METHOD saveState() INLINE Qt_QFileDialog_saveState( ::pPtr )
|
||||
METHOD selectFile( cFilename ) INLINE Qt_QFileDialog_selectFile( ::pPtr, cFilename )
|
||||
METHOD selectNameFilter( cFilter ) INLINE Qt_QFileDialog_selectNameFilter( ::pPtr, cFilter )
|
||||
METHOD selectedFiles() INLINE Qt_QFileDialog_selectedFiles( ::pPtr )
|
||||
METHOD selectedNameFilter() INLINE Qt_QFileDialog_selectedNameFilter( ::pPtr )
|
||||
METHOD setAcceptMode( nAcceptMode ) INLINE Qt_QFileDialog_setAcceptMode( ::pPtr, nAcceptMode )
|
||||
METHOD setAcceptMode( nMode ) INLINE Qt_QFileDialog_setAcceptMode( ::pPtr, nMode )
|
||||
METHOD setConfirmOverwrite( lEnabled ) INLINE Qt_QFileDialog_setConfirmOverwrite( ::pPtr, lEnabled )
|
||||
METHOD setDefaultSuffix( cSuffix ) INLINE Qt_QFileDialog_setDefaultSuffix( ::pPtr, cSuffix )
|
||||
METHOD setDirectory( cDirectory ) INLINE Qt_QFileDialog_setDirectory( ::pPtr, cDirectory )
|
||||
METHOD setFileMode( nFileMode ) INLINE Qt_QFileDialog_setFileMode( ::pPtr, nFileMode )
|
||||
METHOD setDirectory_1( pDirectory ) INLINE Qt_QFileDialog_setDirectory_1( ::pPtr, pDirectory )
|
||||
METHOD setFileMode( nMode ) INLINE Qt_QFileDialog_setFileMode( ::pPtr, nMode )
|
||||
METHOD setFilter( nFilters ) INLINE Qt_QFileDialog_setFilter( ::pPtr, nFilters )
|
||||
METHOD setHistory( pPaths ) INLINE Qt_QFileDialog_setHistory( ::pPtr, pPaths )
|
||||
METHOD setIconProvider( pProvider ) INLINE Qt_QFileDialog_setIconProvider( ::pPtr, pProvider )
|
||||
METHOD setItemDelegate( pDelegate ) INLINE Qt_QFileDialog_setItemDelegate( ::pPtr, pDelegate )
|
||||
METHOD setLabelText( nDialogLabel, cText ) INLINE Qt_QFileDialog_setLabelText( ::pPtr, nDialogLabel, cText )
|
||||
METHOD setLabelText( nLabel, cText ) INLINE Qt_QFileDialog_setLabelText( ::pPtr, nLabel, cText )
|
||||
METHOD setNameFilter( cFilter ) INLINE Qt_QFileDialog_setNameFilter( ::pPtr, cFilter )
|
||||
METHOD setNameFilterDetailsVisible( lEnabled ) INLINE Qt_QFileDialog_setNameFilterDetailsVisible( ::pPtr, lEnabled )
|
||||
METHOD setNameFilters( pFilters ) INLINE Qt_QFileDialog_setNameFilters( ::pPtr, pFilters )
|
||||
METHOD setOption( nOption, lOn ) INLINE Qt_QFileDialog_setOption( ::pPtr, nOption, lOn )
|
||||
METHOD setOptions( nOptions ) INLINE Qt_QFileDialog_setOptions( ::pPtr, nOptions )
|
||||
METHOD setProxyModel( pProxyModel ) INLINE Qt_QFileDialog_setProxyModel( ::pPtr, pProxyModel )
|
||||
METHOD setReadOnly( lEnabled ) INLINE Qt_QFileDialog_setReadOnly( ::pPtr, lEnabled )
|
||||
METHOD setResolveSymlinks( lEnabled ) INLINE Qt_QFileDialog_setResolveSymlinks( ::pPtr, lEnabled )
|
||||
METHOD setViewMode( nViewMode ) INLINE Qt_QFileDialog_setViewMode( ::pPtr, nViewMode )
|
||||
METHOD setViewMode( nMode ) INLINE Qt_QFileDialog_setViewMode( ::pPtr, nMode )
|
||||
METHOD testOption( nOption ) INLINE Qt_QFileDialog_testOption( ::pPtr, nOption )
|
||||
METHOD viewMode() INLINE Qt_QFileDialog_viewMode( ::pPtr )
|
||||
|
||||
@@ -105,6 +114,8 @@ CLASS QFileDialog INHERIT QDialog
|
||||
|
||||
METHOD New( pParent ) CLASS QFileDialog
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QFileDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QFocusFrame INHERIT QWidget
|
||||
CREATE CLASS QFocusFrame INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -71,6 +72,8 @@ CLASS QFocusFrame INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QFocusFrame
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QFocusFrame( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
131
harbour/contrib/hbqt/TQFont.prg
Normal file
131
harbour/contrib/hbqt/TQFont.prg
Normal file
@@ -0,0 +1,131 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QFont
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD bold() INLINE Qt_QFont_bold( ::pPtr )
|
||||
METHOD capitalization() INLINE Qt_QFont_capitalization( ::pPtr )
|
||||
METHOD defaultFamily() INLINE Qt_QFont_defaultFamily( ::pPtr )
|
||||
METHOD exactMatch() INLINE Qt_QFont_exactMatch( ::pPtr )
|
||||
METHOD family() INLINE Qt_QFont_family( ::pPtr )
|
||||
METHOD fixedPitch() INLINE Qt_QFont_fixedPitch( ::pPtr )
|
||||
METHOD fromString( cDescrip ) INLINE Qt_QFont_fromString( ::pPtr, cDescrip )
|
||||
METHOD handle() INLINE Qt_QFont_handle( ::pPtr )
|
||||
METHOD italic() INLINE Qt_QFont_italic( ::pPtr )
|
||||
METHOD kerning() INLINE Qt_QFont_kerning( ::pPtr )
|
||||
METHOD key() INLINE Qt_QFont_key( ::pPtr )
|
||||
METHOD lastResortFamily() INLINE Qt_QFont_lastResortFamily( ::pPtr )
|
||||
METHOD lastResortFont() INLINE Qt_QFont_lastResortFont( ::pPtr )
|
||||
METHOD letterSpacing() INLINE Qt_QFont_letterSpacing( ::pPtr )
|
||||
METHOD letterSpacingType() INLINE Qt_QFont_letterSpacingType( ::pPtr )
|
||||
METHOD overline() INLINE Qt_QFont_overline( ::pPtr )
|
||||
METHOD pixelSize() INLINE Qt_QFont_pixelSize( ::pPtr )
|
||||
METHOD pointSize() INLINE Qt_QFont_pointSize( ::pPtr )
|
||||
METHOD pointSizeF() INLINE Qt_QFont_pointSizeF( ::pPtr )
|
||||
METHOD rawMode() INLINE Qt_QFont_rawMode( ::pPtr )
|
||||
METHOD rawName() INLINE Qt_QFont_rawName( ::pPtr )
|
||||
METHOD setBold( lEnable ) INLINE Qt_QFont_setBold( ::pPtr, lEnable )
|
||||
METHOD setCapitalization( nCaps ) INLINE Qt_QFont_setCapitalization( ::pPtr, nCaps )
|
||||
METHOD setFamily( cFamily ) INLINE Qt_QFont_setFamily( ::pPtr, cFamily )
|
||||
METHOD setFixedPitch( lEnable ) INLINE Qt_QFont_setFixedPitch( ::pPtr, lEnable )
|
||||
METHOD setItalic( lEnable ) INLINE Qt_QFont_setItalic( ::pPtr, lEnable )
|
||||
METHOD setKerning( lEnable ) INLINE Qt_QFont_setKerning( ::pPtr, lEnable )
|
||||
METHOD setLetterSpacing( nType, nSpacing ) INLINE Qt_QFont_setLetterSpacing( ::pPtr, nType, nSpacing )
|
||||
METHOD setOverline( lEnable ) INLINE Qt_QFont_setOverline( ::pPtr, lEnable )
|
||||
METHOD setPixelSize( nPixelSize ) INLINE Qt_QFont_setPixelSize( ::pPtr, nPixelSize )
|
||||
METHOD setPointSize( nPointSize ) INLINE Qt_QFont_setPointSize( ::pPtr, nPointSize )
|
||||
METHOD setPointSizeF( nPointSize ) INLINE Qt_QFont_setPointSizeF( ::pPtr, nPointSize )
|
||||
METHOD setRawMode( lEnable ) INLINE Qt_QFont_setRawMode( ::pPtr, lEnable )
|
||||
METHOD setRawName( cName ) INLINE Qt_QFont_setRawName( ::pPtr, cName )
|
||||
METHOD setStretch( nFactor ) INLINE Qt_QFont_setStretch( ::pPtr, nFactor )
|
||||
METHOD setStrikeOut( lEnable ) INLINE Qt_QFont_setStrikeOut( ::pPtr, lEnable )
|
||||
METHOD setStyle( nStyle ) INLINE Qt_QFont_setStyle( ::pPtr, nStyle )
|
||||
METHOD setStyleHint( nHint, nStrategy ) INLINE Qt_QFont_setStyleHint( ::pPtr, nHint, nStrategy )
|
||||
METHOD setStyleStrategy( nS ) INLINE Qt_QFont_setStyleStrategy( ::pPtr, nS )
|
||||
METHOD setUnderline( lEnable ) INLINE Qt_QFont_setUnderline( ::pPtr, lEnable )
|
||||
METHOD setWeight( nWeight ) INLINE Qt_QFont_setWeight( ::pPtr, nWeight )
|
||||
METHOD setWordSpacing( nSpacing ) INLINE Qt_QFont_setWordSpacing( ::pPtr, nSpacing )
|
||||
METHOD stretch() INLINE Qt_QFont_stretch( ::pPtr )
|
||||
METHOD strikeOut() INLINE Qt_QFont_strikeOut( ::pPtr )
|
||||
METHOD style() INLINE Qt_QFont_style( ::pPtr )
|
||||
METHOD styleHint() INLINE Qt_QFont_styleHint( ::pPtr )
|
||||
METHOD styleStrategy() INLINE Qt_QFont_styleStrategy( ::pPtr )
|
||||
METHOD toString() INLINE Qt_QFont_toString( ::pPtr )
|
||||
METHOD underline() INLINE Qt_QFont_underline( ::pPtr )
|
||||
METHOD weight() INLINE Qt_QFont_weight( ::pPtr )
|
||||
METHOD wordSpacing() INLINE Qt_QFont_wordSpacing( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QFont
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QFont( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,19 +53,22 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QFontComboBox INHERIT QComboBox
|
||||
CREATE CLASS QFontComboBox INHERIT QComboBox
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD currentFont() INLINE Qt_QFontComboBox_currentFont( ::pPtr )
|
||||
METHOD fontFilters() INLINE Qt_QFontComboBox_fontFilters( ::pPtr )
|
||||
METHOD setFontFilters( nFontFilters ) INLINE Qt_QFontComboBox_setFontFilters( ::pPtr, nFontFilters )
|
||||
METHOD setFontFilters( nFilters ) INLINE Qt_QFontComboBox_setFontFilters( ::pPtr, nFilters )
|
||||
METHOD setWritingSystem( nScript ) INLINE Qt_QFontComboBox_setWritingSystem( ::pPtr, nScript )
|
||||
METHOD writingSystem() INLINE Qt_QFontComboBox_writingSystem( ::pPtr )
|
||||
METHOD setCurrentFont( pFont ) INLINE Qt_QFontComboBox_setCurrentFont( ::pPtr, pFont )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -73,6 +76,8 @@ CLASS QFontComboBox INHERIT QComboBox
|
||||
|
||||
METHOD New( pParent ) CLASS QFontComboBox
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QFontComboBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,20 +53,23 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QFontDialog INHERIT QDialog
|
||||
CREATE CLASS QFontDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD open( pReceiver, pMember ) INLINE Qt_QFontDialog_open( ::pPtr, pReceiver, pMember )
|
||||
METHOD currentFont() INLINE Qt_QFontDialog_currentFont( ::pPtr )
|
||||
METHOD options() INLINE Qt_QFontDialog_options( ::pPtr )
|
||||
METHOD setOption( nFontDialogOption, lOn ) INLINE Qt_QFontDialog_setOption( ::pPtr, nFontDialogOption, lOn )
|
||||
METHOD setOptions( nFontDialogOptions ) INLINE Qt_QFontDialog_setOptions( ::pPtr, nFontDialogOptions )
|
||||
METHOD testOption( nFontDialogOption ) INLINE Qt_QFontDialog_testOption( ::pPtr, nFontDialogOption )
|
||||
METHOD selectedFont() INLINE Qt_QFontDialog_selectedFont( ::pPtr )
|
||||
METHOD setCurrentFont( pFont ) INLINE Qt_QFontDialog_setCurrentFont( ::pPtr, pFont )
|
||||
METHOD setOption( nOption, lOn ) INLINE Qt_QFontDialog_setOption( ::pPtr, nOption, lOn )
|
||||
METHOD setOptions( nOptions ) INLINE Qt_QFontDialog_setOptions( ::pPtr, nOptions )
|
||||
METHOD testOption( nOption ) INLINE Qt_QFontDialog_testOption( ::pPtr, nOption )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -74,6 +77,8 @@ CLASS QFontDialog INHERIT QDialog
|
||||
|
||||
METHOD New( pParent ) CLASS QFontDialog
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QFontDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
92
harbour/contrib/hbqt/TQFontInfo.prg
Normal file
92
harbour/contrib/hbqt/TQFontInfo.prg
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QFontInfo
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD bold() INLINE Qt_QFontInfo_bold( ::pPtr )
|
||||
METHOD exactMatch() INLINE Qt_QFontInfo_exactMatch( ::pPtr )
|
||||
METHOD family() INLINE Qt_QFontInfo_family( ::pPtr )
|
||||
METHOD fixedPitch() INLINE Qt_QFontInfo_fixedPitch( ::pPtr )
|
||||
METHOD italic() INLINE Qt_QFontInfo_italic( ::pPtr )
|
||||
METHOD pixelSize() INLINE Qt_QFontInfo_pixelSize( ::pPtr )
|
||||
METHOD pointSize() INLINE Qt_QFontInfo_pointSize( ::pPtr )
|
||||
METHOD pointSizeF() INLINE Qt_QFontInfo_pointSizeF( ::pPtr )
|
||||
METHOD rawMode() INLINE Qt_QFontInfo_rawMode( ::pPtr )
|
||||
METHOD style() INLINE Qt_QFontInfo_style( ::pPtr )
|
||||
METHOD styleHint() INLINE Qt_QFontInfo_styleHint( ::pPtr )
|
||||
METHOD weight() INLINE Qt_QFontInfo_weight( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QFontInfo
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QFontInfo( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QFormLayout INHERIT QLayout
|
||||
CREATE CLASS QFormLayout INHERIT QLayout
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -70,6 +71,9 @@ CLASS QFormLayout INHERIT QLayout
|
||||
METHOD addRow_5( pLayout ) INLINE Qt_QFormLayout_addRow_5( ::pPtr, pLayout )
|
||||
METHOD fieldGrowthPolicy() INLINE Qt_QFormLayout_fieldGrowthPolicy( ::pPtr )
|
||||
METHOD formAlignment() INLINE Qt_QFormLayout_formAlignment( ::pPtr )
|
||||
METHOD getItemPosition( nIndex, nRowPtr, nRolePtr ) INLINE Qt_QFormLayout_getItemPosition( ::pPtr, nIndex, nRowPtr, nRolePtr )
|
||||
METHOD getLayoutPosition( pLayout, nRowPtr, nRolePtr ) INLINE Qt_QFormLayout_getLayoutPosition( ::pPtr, pLayout, nRowPtr, nRolePtr )
|
||||
METHOD getWidgetPosition( pWidget, nRowPtr, nRolePtr ) INLINE Qt_QFormLayout_getWidgetPosition( ::pPtr, pWidget, nRowPtr, nRolePtr )
|
||||
METHOD horizontalSpacing() INLINE Qt_QFormLayout_horizontalSpacing( ::pPtr )
|
||||
METHOD insertRow( nRow, pLabel, pField ) INLINE Qt_QFormLayout_insertRow( ::pPtr, nRow, pLabel, pField )
|
||||
METHOD insertRow_1( nRow, pLabel, pField ) INLINE Qt_QFormLayout_insertRow_1( ::pPtr, nRow, pLabel, pField )
|
||||
@@ -77,22 +81,22 @@ CLASS QFormLayout INHERIT QLayout
|
||||
METHOD insertRow_3( nRow, cLabelText, pField ) INLINE Qt_QFormLayout_insertRow_3( ::pPtr, nRow, cLabelText, pField )
|
||||
METHOD insertRow_4( nRow, pWidget ) INLINE Qt_QFormLayout_insertRow_4( ::pPtr, nRow, pWidget )
|
||||
METHOD insertRow_5( nRow, pLayout ) INLINE Qt_QFormLayout_insertRow_5( ::pPtr, nRow, pLayout )
|
||||
METHOD itemAt( nRow, nItemRole ) INLINE Qt_QFormLayout_itemAt( ::pPtr, nRow, nItemRole )
|
||||
METHOD itemAt( nRow, nRole ) INLINE Qt_QFormLayout_itemAt( ::pPtr, nRow, nRole )
|
||||
METHOD labelAlignment() INLINE Qt_QFormLayout_labelAlignment( ::pPtr )
|
||||
METHOD labelForField( pField ) INLINE Qt_QFormLayout_labelForField( ::pPtr, pField )
|
||||
METHOD labelForField_1( pField ) INLINE Qt_QFormLayout_labelForField_1( ::pPtr, pField )
|
||||
METHOD rowCount() INLINE Qt_QFormLayout_rowCount( ::pPtr )
|
||||
METHOD rowWrapPolicy() INLINE Qt_QFormLayout_rowWrapPolicy( ::pPtr )
|
||||
METHOD setFieldGrowthPolicy( nFieldGrowthPolicy ) INLINE Qt_QFormLayout_setFieldGrowthPolicy( ::pPtr, nFieldGrowthPolicy )
|
||||
METHOD setFieldGrowthPolicy( nPolicy ) INLINE Qt_QFormLayout_setFieldGrowthPolicy( ::pPtr, nPolicy )
|
||||
METHOD setFormAlignment( nAlignment ) INLINE Qt_QFormLayout_setFormAlignment( ::pPtr, nAlignment )
|
||||
METHOD setHorizontalSpacing( nSpacing ) INLINE Qt_QFormLayout_setHorizontalSpacing( ::pPtr, nSpacing )
|
||||
METHOD setItem( nRow, nItemRole, pItem ) INLINE Qt_QFormLayout_setItem( ::pPtr, nRow, nItemRole, pItem )
|
||||
METHOD setItem( nRow, nRole, pItem ) INLINE Qt_QFormLayout_setItem( ::pPtr, nRow, nRole, pItem )
|
||||
METHOD setLabelAlignment( nAlignment ) INLINE Qt_QFormLayout_setLabelAlignment( ::pPtr, nAlignment )
|
||||
METHOD setLayout( nRow, nItemRole, pLayout ) INLINE Qt_QFormLayout_setLayout( ::pPtr, nRow, nItemRole, pLayout )
|
||||
METHOD setRowWrapPolicy( nRowWrapPolicy ) INLINE Qt_QFormLayout_setRowWrapPolicy( ::pPtr, nRowWrapPolicy )
|
||||
METHOD setLayout( nRow, nRole, pLayout ) INLINE Qt_QFormLayout_setLayout( ::pPtr, nRow, nRole, pLayout )
|
||||
METHOD setRowWrapPolicy( nPolicy ) INLINE Qt_QFormLayout_setRowWrapPolicy( ::pPtr, nPolicy )
|
||||
METHOD setSpacing( nSpacing ) INLINE Qt_QFormLayout_setSpacing( ::pPtr, nSpacing )
|
||||
METHOD setVerticalSpacing( nSpacing ) INLINE Qt_QFormLayout_setVerticalSpacing( ::pPtr, nSpacing )
|
||||
METHOD setWidget( nRow, nItemRole, pWidget ) INLINE Qt_QFormLayout_setWidget( ::pPtr, nRow, nItemRole, pWidget )
|
||||
METHOD setWidget( nRow, nRole, pWidget ) INLINE Qt_QFormLayout_setWidget( ::pPtr, nRow, nRole, pWidget )
|
||||
METHOD spacing() INLINE Qt_QFormLayout_spacing( ::pPtr )
|
||||
METHOD verticalSpacing() INLINE Qt_QFormLayout_verticalSpacing( ::pPtr )
|
||||
|
||||
@@ -102,6 +106,8 @@ CLASS QFormLayout INHERIT QLayout
|
||||
|
||||
METHOD New( pParent ) CLASS QFormLayout
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QFormLayout( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QFrame INHERIT QWidget
|
||||
CREATE CLASS QFrame INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -69,7 +70,7 @@ CLASS QFrame INHERIT QWidget
|
||||
METHOD frameWidth() INLINE Qt_QFrame_frameWidth( ::pPtr )
|
||||
METHOD lineWidth() INLINE Qt_QFrame_lineWidth( ::pPtr )
|
||||
METHOD midLineWidth() INLINE Qt_QFrame_midLineWidth( ::pPtr )
|
||||
METHOD setFrameRect( aRectQRect ) INLINE Qt_QFrame_setFrameRect( ::pPtr, aRectQRect )
|
||||
METHOD setFrameRect( pQRect ) INLINE Qt_QFrame_setFrameRect( ::pPtr, pQRect )
|
||||
METHOD setFrameShadow( nShadow ) INLINE Qt_QFrame_setFrameShadow( ::pPtr, nShadow )
|
||||
METHOD setFrameShape( nShape ) INLINE Qt_QFrame_setFrameShape( ::pPtr, nShape )
|
||||
METHOD setFrameStyle( nStyle ) INLINE Qt_QFrame_setFrameStyle( ::pPtr, nStyle )
|
||||
@@ -82,6 +83,8 @@ CLASS QFrame INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QFrame
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QFrame( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
107
harbour/contrib/hbqt/TQFtp.prg
Normal file
107
harbour/contrib/hbqt/TQFtp.prg
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QFtp INHERIT QObject
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD bytesAvailable() INLINE Qt_QFtp_bytesAvailable( ::pPtr )
|
||||
METHOD cd( cDir ) INLINE Qt_QFtp_cd( ::pPtr, cDir )
|
||||
METHOD clearPendingCommands() INLINE Qt_QFtp_clearPendingCommands( ::pPtr )
|
||||
METHOD close() INLINE Qt_QFtp_close( ::pPtr )
|
||||
METHOD connectToHost( cHost, nPort ) INLINE Qt_QFtp_connectToHost( ::pPtr, cHost, nPort )
|
||||
METHOD currentCommand() INLINE Qt_QFtp_currentCommand( ::pPtr )
|
||||
METHOD currentDevice() INLINE Qt_QFtp_currentDevice( ::pPtr )
|
||||
METHOD currentId() INLINE Qt_QFtp_currentId( ::pPtr )
|
||||
METHOD error() INLINE Qt_QFtp_error( ::pPtr )
|
||||
METHOD errorString() INLINE Qt_QFtp_errorString( ::pPtr )
|
||||
METHOD get( cFile, pDev, nType ) INLINE Qt_QFtp_get( ::pPtr, cFile, pDev, nType )
|
||||
METHOD hasPendingCommands() INLINE Qt_QFtp_hasPendingCommands( ::pPtr )
|
||||
METHOD list( cDir ) INLINE Qt_QFtp_list( ::pPtr, cDir )
|
||||
METHOD login( cUser ) INLINE Qt_QFtp_login( ::pPtr, cUser )
|
||||
METHOD mkdir( cDir ) INLINE Qt_QFtp_mkdir( ::pPtr, cDir )
|
||||
METHOD put( pDev, cFile, nType ) INLINE Qt_QFtp_put( ::pPtr, pDev, cFile, nType )
|
||||
METHOD put_1( pData, cFile, nType ) INLINE Qt_QFtp_put_1( ::pPtr, pData, cFile, nType )
|
||||
METHOD rawCommand( cCommand ) INLINE Qt_QFtp_rawCommand( ::pPtr, cCommand )
|
||||
METHOD read( pData, nMaxlen ) INLINE Qt_QFtp_read( ::pPtr, pData, nMaxlen )
|
||||
METHOD readAll() INLINE Qt_QFtp_readAll( ::pPtr )
|
||||
METHOD remove( cFile ) INLINE Qt_QFtp_remove( ::pPtr, cFile )
|
||||
METHOD rename( cOldname, cNewname ) INLINE Qt_QFtp_rename( ::pPtr, cOldname, cNewname )
|
||||
METHOD rmdir( cDir ) INLINE Qt_QFtp_rmdir( ::pPtr, cDir )
|
||||
METHOD setProxy( cHost, nPort ) INLINE Qt_QFtp_setProxy( ::pPtr, cHost, nPort )
|
||||
METHOD setTransferMode( nMode ) INLINE Qt_QFtp_setTransferMode( ::pPtr, nMode )
|
||||
METHOD state() INLINE Qt_QFtp_state( ::pPtr )
|
||||
METHOD abort() INLINE Qt_QFtp_abort( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QFtp
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QFtp( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
106
harbour/contrib/hbqt/TQGridLayout.prg
Normal file
106
harbour/contrib/hbqt/TQGridLayout.prg
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QGridLayout INHERIT QLayout
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addItem( pItem, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment ) INLINE Qt_QGridLayout_addItem( ::pPtr, pItem, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment )
|
||||
METHOD addLayout( pLayout, nRow, nColumn, nAlignment ) INLINE Qt_QGridLayout_addLayout( ::pPtr, pLayout, nRow, nColumn, nAlignment )
|
||||
METHOD addLayout_1( pLayout, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment ) INLINE Qt_QGridLayout_addLayout_1( ::pPtr, pLayout, nRow, nColumn, nRowSpan, nColumnSpan, nAlignment )
|
||||
METHOD addWidget( pWidget, nRow, nColumn, nAlignment ) INLINE Qt_QGridLayout_addWidget( ::pPtr, pWidget, nRow, nColumn, nAlignment )
|
||||
METHOD addWidget_1( pWidget, nFromRow, nFromColumn, nRowSpan, nColumnSpan, nAlignment ) INLINE Qt_QGridLayout_addWidget_1( ::pPtr, pWidget, nFromRow, nFromColumn, nRowSpan, nColumnSpan, nAlignment )
|
||||
METHOD cellRect( nRow, nColumn ) INLINE Qt_QGridLayout_cellRect( ::pPtr, nRow, nColumn )
|
||||
METHOD columnCount() INLINE Qt_QGridLayout_columnCount( ::pPtr )
|
||||
METHOD columnMinimumWidth( nColumn ) INLINE Qt_QGridLayout_columnMinimumWidth( ::pPtr, nColumn )
|
||||
METHOD columnStretch( nColumn ) INLINE Qt_QGridLayout_columnStretch( ::pPtr, nColumn )
|
||||
METHOD getItemPosition( nIndex, nRow, nColumn, nRowSpan, nColumnSpan ) INLINE Qt_QGridLayout_getItemPosition( ::pPtr, nIndex, nRow, nColumn, nRowSpan, nColumnSpan )
|
||||
METHOD horizontalSpacing() INLINE Qt_QGridLayout_horizontalSpacing( ::pPtr )
|
||||
METHOD itemAtPosition( nRow, nColumn ) INLINE Qt_QGridLayout_itemAtPosition( ::pPtr, nRow, nColumn )
|
||||
METHOD originCorner() INLINE Qt_QGridLayout_originCorner( ::pPtr )
|
||||
METHOD rowCount() INLINE Qt_QGridLayout_rowCount( ::pPtr )
|
||||
METHOD rowMinimumHeight( nRow ) INLINE Qt_QGridLayout_rowMinimumHeight( ::pPtr, nRow )
|
||||
METHOD rowStretch( nRow ) INLINE Qt_QGridLayout_rowStretch( ::pPtr, nRow )
|
||||
METHOD setColumnMinimumWidth( nColumn, nMinSize ) INLINE Qt_QGridLayout_setColumnMinimumWidth( ::pPtr, nColumn, nMinSize )
|
||||
METHOD setColumnStretch( nColumn, nStretch ) INLINE Qt_QGridLayout_setColumnStretch( ::pPtr, nColumn, nStretch )
|
||||
METHOD setHorizontalSpacing( nSpacing ) INLINE Qt_QGridLayout_setHorizontalSpacing( ::pPtr, nSpacing )
|
||||
METHOD setOriginCorner( nCorner ) INLINE Qt_QGridLayout_setOriginCorner( ::pPtr, nCorner )
|
||||
METHOD setRowMinimumHeight( nRow, nMinSize ) INLINE Qt_QGridLayout_setRowMinimumHeight( ::pPtr, nRow, nMinSize )
|
||||
METHOD setRowStretch( nRow, nStretch ) INLINE Qt_QGridLayout_setRowStretch( ::pPtr, nRow, nStretch )
|
||||
METHOD setSpacing( nSpacing ) INLINE Qt_QGridLayout_setSpacing( ::pPtr, nSpacing )
|
||||
METHOD setVerticalSpacing( nSpacing ) INLINE Qt_QGridLayout_setVerticalSpacing( ::pPtr, nSpacing )
|
||||
METHOD spacing() INLINE Qt_QGridLayout_spacing( ::pPtr )
|
||||
METHOD verticalSpacing() INLINE Qt_QGridLayout_verticalSpacing( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QGridLayout
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QGridLayout( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QGroupBox INHERIT QWidget
|
||||
CREATE CLASS QGroupBox INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -71,6 +72,7 @@ CLASS QGroupBox INHERIT QWidget
|
||||
METHOD setFlat( lFlat ) INLINE Qt_QGroupBox_setFlat( ::pPtr, lFlat )
|
||||
METHOD setTitle( cTitle ) INLINE Qt_QGroupBox_setTitle( ::pPtr, cTitle )
|
||||
METHOD title() INLINE Qt_QGroupBox_title( ::pPtr )
|
||||
METHOD setChecked( lChecked ) INLINE Qt_QGroupBox_setChecked( ::pPtr, lChecked )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -78,6 +80,8 @@ CLASS QGroupBox INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QGroupBox
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QGroupBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QHBoxLayout INHERIT QBoxLayout
|
||||
CREATE CLASS QHBoxLayout INHERIT QBoxLayout
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -69,6 +70,8 @@ CLASS QHBoxLayout INHERIT QBoxLayout
|
||||
|
||||
METHOD New( pParent ) CLASS QHBoxLayout
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QHBoxLayout( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
137
harbour/contrib/hbqt/TQHeaderView.prg
Normal file
137
harbour/contrib/hbqt/TQHeaderView.prg
Normal file
@@ -0,0 +1,137 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QHeaderView INHERIT QAbstractItemView
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD cascadingSectionResizes() INLINE Qt_QHeaderView_cascadingSectionResizes( ::pPtr )
|
||||
METHOD count() INLINE Qt_QHeaderView_count( ::pPtr )
|
||||
METHOD defaultAlignment() INLINE Qt_QHeaderView_defaultAlignment( ::pPtr )
|
||||
METHOD defaultSectionSize() INLINE Qt_QHeaderView_defaultSectionSize( ::pPtr )
|
||||
METHOD hiddenSectionCount() INLINE Qt_QHeaderView_hiddenSectionCount( ::pPtr )
|
||||
METHOD hideSection( nLogicalIndex ) INLINE Qt_QHeaderView_hideSection( ::pPtr, nLogicalIndex )
|
||||
METHOD highlightSections() INLINE Qt_QHeaderView_highlightSections( ::pPtr )
|
||||
METHOD isClickable() INLINE Qt_QHeaderView_isClickable( ::pPtr )
|
||||
METHOD isMovable() INLINE Qt_QHeaderView_isMovable( ::pPtr )
|
||||
METHOD isSectionHidden( nLogicalIndex ) INLINE Qt_QHeaderView_isSectionHidden( ::pPtr, nLogicalIndex )
|
||||
METHOD isSortIndicatorShown() INLINE Qt_QHeaderView_isSortIndicatorShown( ::pPtr )
|
||||
METHOD length() INLINE Qt_QHeaderView_length( ::pPtr )
|
||||
METHOD logicalIndex( nVisualIndex ) INLINE Qt_QHeaderView_logicalIndex( ::pPtr, nVisualIndex )
|
||||
METHOD logicalIndexAt( nPosition ) INLINE Qt_QHeaderView_logicalIndexAt( ::pPtr, nPosition )
|
||||
METHOD logicalIndexAt_1( nX, nY ) INLINE Qt_QHeaderView_logicalIndexAt_1( ::pPtr, nX, nY )
|
||||
METHOD logicalIndexAt_2( pPos ) INLINE Qt_QHeaderView_logicalIndexAt_2( ::pPtr, pPos )
|
||||
METHOD minimumSectionSize() INLINE Qt_QHeaderView_minimumSectionSize( ::pPtr )
|
||||
METHOD moveSection( nFrom, nTo ) INLINE Qt_QHeaderView_moveSection( ::pPtr, nFrom, nTo )
|
||||
METHOD offset() INLINE Qt_QHeaderView_offset( ::pPtr )
|
||||
METHOD orientation() INLINE Qt_QHeaderView_orientation( ::pPtr )
|
||||
METHOD resizeMode( nLogicalIndex ) INLINE Qt_QHeaderView_resizeMode( ::pPtr, nLogicalIndex )
|
||||
METHOD resizeSection( nLogicalIndex, nSize ) INLINE Qt_QHeaderView_resizeSection( ::pPtr, nLogicalIndex, nSize )
|
||||
METHOD resizeSections( nMode ) INLINE Qt_QHeaderView_resizeSections( ::pPtr, nMode )
|
||||
METHOD restoreState( pState ) INLINE Qt_QHeaderView_restoreState( ::pPtr, pState )
|
||||
METHOD saveState() INLINE Qt_QHeaderView_saveState( ::pPtr )
|
||||
METHOD sectionPosition( nLogicalIndex ) INLINE Qt_QHeaderView_sectionPosition( ::pPtr, nLogicalIndex )
|
||||
METHOD sectionSize( nLogicalIndex ) INLINE Qt_QHeaderView_sectionSize( ::pPtr, nLogicalIndex )
|
||||
METHOD sectionSizeHint( nLogicalIndex ) INLINE Qt_QHeaderView_sectionSizeHint( ::pPtr, nLogicalIndex )
|
||||
METHOD sectionViewportPosition( nLogicalIndex ) INLINE Qt_QHeaderView_sectionViewportPosition( ::pPtr, nLogicalIndex )
|
||||
METHOD sectionsHidden() INLINE Qt_QHeaderView_sectionsHidden( ::pPtr )
|
||||
METHOD sectionsMoved() INLINE Qt_QHeaderView_sectionsMoved( ::pPtr )
|
||||
METHOD setCascadingSectionResizes( lEnable ) INLINE Qt_QHeaderView_setCascadingSectionResizes( ::pPtr, lEnable )
|
||||
METHOD setClickable( lClickable ) INLINE Qt_QHeaderView_setClickable( ::pPtr, lClickable )
|
||||
METHOD setDefaultAlignment( nAlignment ) INLINE Qt_QHeaderView_setDefaultAlignment( ::pPtr, nAlignment )
|
||||
METHOD setDefaultSectionSize( nSize ) INLINE Qt_QHeaderView_setDefaultSectionSize( ::pPtr, nSize )
|
||||
METHOD setHighlightSections( lHighlight ) INLINE Qt_QHeaderView_setHighlightSections( ::pPtr, lHighlight )
|
||||
METHOD setMinimumSectionSize( nSize ) INLINE Qt_QHeaderView_setMinimumSectionSize( ::pPtr, nSize )
|
||||
METHOD setMovable( lMovable ) INLINE Qt_QHeaderView_setMovable( ::pPtr, lMovable )
|
||||
METHOD setResizeMode( nMode ) INLINE Qt_QHeaderView_setResizeMode( ::pPtr, nMode )
|
||||
METHOD setResizeMode_1( nLogicalIndex, nMode ) INLINE Qt_QHeaderView_setResizeMode_1( ::pPtr, nLogicalIndex, nMode )
|
||||
METHOD setSectionHidden( nLogicalIndex, lHide ) INLINE Qt_QHeaderView_setSectionHidden( ::pPtr, nLogicalIndex, lHide )
|
||||
METHOD setSortIndicator( nLogicalIndex, nOrder ) INLINE Qt_QHeaderView_setSortIndicator( ::pPtr, nLogicalIndex, nOrder )
|
||||
METHOD setSortIndicatorShown( lShow ) INLINE Qt_QHeaderView_setSortIndicatorShown( ::pPtr, lShow )
|
||||
METHOD setStretchLastSection( lStretch ) INLINE Qt_QHeaderView_setStretchLastSection( ::pPtr, lStretch )
|
||||
METHOD showSection( nLogicalIndex ) INLINE Qt_QHeaderView_showSection( ::pPtr, nLogicalIndex )
|
||||
METHOD sizeHint() INLINE Qt_QHeaderView_sizeHint( ::pPtr )
|
||||
METHOD sortIndicatorOrder() INLINE Qt_QHeaderView_sortIndicatorOrder( ::pPtr )
|
||||
METHOD sortIndicatorSection() INLINE Qt_QHeaderView_sortIndicatorSection( ::pPtr )
|
||||
METHOD stretchLastSection() INLINE Qt_QHeaderView_stretchLastSection( ::pPtr )
|
||||
METHOD stretchSectionCount() INLINE Qt_QHeaderView_stretchSectionCount( ::pPtr )
|
||||
METHOD swapSections( nFirst, nSecond ) INLINE Qt_QHeaderView_swapSections( ::pPtr, nFirst, nSecond )
|
||||
METHOD visualIndex( nLogicalIndex ) INLINE Qt_QHeaderView_visualIndex( ::pPtr, nLogicalIndex )
|
||||
METHOD visualIndexAt( nPosition ) INLINE Qt_QHeaderView_visualIndexAt( ::pPtr, nPosition )
|
||||
METHOD headerDataChanged( nOrientation, nLogicalFirst, nLogicalLast ) INLINE Qt_QHeaderView_headerDataChanged( ::pPtr, nOrientation, nLogicalFirst, nLogicalLast )
|
||||
METHOD setOffset( nOffset ) INLINE Qt_QHeaderView_setOffset( ::pPtr, nOffset )
|
||||
METHOD setOffsetToLastSection() INLINE Qt_QHeaderView_setOffsetToLastSection( ::pPtr )
|
||||
METHOD setOffsetToSectionPosition( nVisualIndex ) INLINE Qt_QHeaderView_setOffsetToSectionPosition( ::pPtr, nVisualIndex )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QHeaderView
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QHeaderView( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
107
harbour/contrib/hbqt/TQHttp.prg
Normal file
107
harbour/contrib/hbqt/TQHttp.prg
Normal file
@@ -0,0 +1,107 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QHttp INHERIT QObject
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD bytesAvailable() INLINE Qt_QHttp_bytesAvailable( ::pPtr )
|
||||
METHOD clearPendingRequests() INLINE Qt_QHttp_clearPendingRequests( ::pPtr )
|
||||
METHOD close() INLINE Qt_QHttp_close( ::pPtr )
|
||||
METHOD currentDestinationDevice() INLINE Qt_QHttp_currentDestinationDevice( ::pPtr )
|
||||
METHOD currentId() INLINE Qt_QHttp_currentId( ::pPtr )
|
||||
METHOD currentRequest() INLINE Qt_QHttp_currentRequest( ::pPtr )
|
||||
METHOD currentSourceDevice() INLINE Qt_QHttp_currentSourceDevice( ::pPtr )
|
||||
METHOD error() INLINE Qt_QHttp_error( ::pPtr )
|
||||
METHOD errorString() INLINE Qt_QHttp_errorString( ::pPtr )
|
||||
METHOD get( cPath, pTo ) INLINE Qt_QHttp_get( ::pPtr, cPath, pTo )
|
||||
METHOD hasPendingRequests() INLINE Qt_QHttp_hasPendingRequests( ::pPtr )
|
||||
METHOD head( cPath ) INLINE Qt_QHttp_head( ::pPtr, cPath )
|
||||
METHOD lastResponse() INLINE Qt_QHttp_lastResponse( ::pPtr )
|
||||
METHOD post( cPath, pData, pTo ) INLINE Qt_QHttp_post( ::pPtr, cPath, pData, pTo )
|
||||
METHOD post_1( cPath, pData, pTo ) INLINE Qt_QHttp_post_1( ::pPtr, cPath, pData, pTo )
|
||||
METHOD read( pData, nMaxlen ) INLINE Qt_QHttp_read( ::pPtr, pData, nMaxlen )
|
||||
METHOD readAll() INLINE Qt_QHttp_readAll( ::pPtr )
|
||||
METHOD request( pHeader, pData, pTo ) INLINE Qt_QHttp_request( ::pPtr, pHeader, pData, pTo )
|
||||
METHOD request_1( pHeader, pData, pTo ) INLINE Qt_QHttp_request_1( ::pPtr, pHeader, pData, pTo )
|
||||
METHOD setHost( cHostName, nPort ) INLINE Qt_QHttp_setHost( ::pPtr, cHostName, nPort )
|
||||
METHOD setHost_1( cHostName, nMode, nPort ) INLINE Qt_QHttp_setHost_1( ::pPtr, cHostName, nMode, nPort )
|
||||
METHOD setProxy( cHost, nPort, cUsername ) INLINE Qt_QHttp_setProxy( ::pPtr, cHost, nPort, cUsername )
|
||||
METHOD setProxy_1( pProxy ) INLINE Qt_QHttp_setProxy_1( ::pPtr, pProxy )
|
||||
METHOD setSocket( pSocket ) INLINE Qt_QHttp_setSocket( ::pPtr, pSocket )
|
||||
METHOD setUser( cUserName, cPassword ) INLINE Qt_QHttp_setUser( ::pPtr, cUserName, cPassword )
|
||||
METHOD state() INLINE Qt_QHttp_state( ::pPtr )
|
||||
METHOD abort() INLINE Qt_QHttp_abort( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QHttp
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QHttp( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
90
harbour/contrib/hbqt/TQIcon.prg
Normal file
90
harbour/contrib/hbqt/TQIcon.prg
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QIcon
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD actualSize( pSize, nMode, nState ) INLINE Qt_QIcon_actualSize( ::pPtr, pSize, nMode, nState )
|
||||
METHOD addFile( cFileName, pSize ) INLINE Qt_QIcon_addFile( ::pPtr, cFileName, pSize )
|
||||
METHOD addPixmap( pPixmap, nMode, nState ) INLINE Qt_QIcon_addPixmap( ::pPtr, pPixmap, nMode, nState )
|
||||
METHOD cacheKey() INLINE Qt_QIcon_cacheKey( ::pPtr )
|
||||
METHOD isNull() INLINE Qt_QIcon_isNull( ::pPtr )
|
||||
METHOD paint( pPainter, pRect, nAlignment, nMode, nState ) INLINE Qt_QIcon_paint( ::pPtr, pPainter, pRect, nAlignment, nMode, nState )
|
||||
METHOD paint_1( pPainter, nX, nY, nW, nH, nAlignment, nMode, nState ) INLINE Qt_QIcon_paint_1( ::pPtr, pPainter, nX, nY, nW, nH, nAlignment, nMode, nState )
|
||||
METHOD pixmap( pSize, nMode, nState ) INLINE Qt_QIcon_pixmap( ::pPtr, pSize, nMode, nState )
|
||||
METHOD pixmap_1( nW, nH, nMode, nState ) INLINE Qt_QIcon_pixmap_1( ::pPtr, nW, nH, nMode, nState )
|
||||
METHOD pixmap_2( nExtent, nMode, nState ) INLINE Qt_QIcon_pixmap_2( ::pPtr, nExtent, nMode, nState )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QIcon
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QIcon( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,16 +53,18 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QInputDialog INHERIT QDialog
|
||||
CREATE CLASS QInputDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD cancelButtonText() INLINE Qt_QInputDialog_cancelButtonText( ::pPtr )
|
||||
METHOD comboBoxItems() INLINE Qt_QInputDialog_comboBoxItems( ::pPtr )
|
||||
METHOD done( nResult ) INLINE Qt_QInputDialog_done( ::pPtr, nResult )
|
||||
METHOD doubleDecimals() INLINE Qt_QInputDialog_doubleDecimals( ::pPtr )
|
||||
METHOD doubleMaximum() INLINE Qt_QInputDialog_doubleMaximum( ::pPtr )
|
||||
@@ -80,12 +82,13 @@ CLASS QInputDialog INHERIT QDialog
|
||||
METHOD options() INLINE Qt_QInputDialog_options( ::pPtr )
|
||||
METHOD setCancelButtonText( cText ) INLINE Qt_QInputDialog_setCancelButtonText( ::pPtr, cText )
|
||||
METHOD setComboBoxEditable( lEditable ) INLINE Qt_QInputDialog_setComboBoxEditable( ::pPtr, lEditable )
|
||||
METHOD setComboBoxItems( pItems ) INLINE Qt_QInputDialog_setComboBoxItems( ::pPtr, pItems )
|
||||
METHOD setDoubleDecimals( nDecimals ) INLINE Qt_QInputDialog_setDoubleDecimals( ::pPtr, nDecimals )
|
||||
METHOD setDoubleMaximum( nMax ) INLINE Qt_QInputDialog_setDoubleMaximum( ::pPtr, nMax )
|
||||
METHOD setDoubleMinimum( nMin ) INLINE Qt_QInputDialog_setDoubleMinimum( ::pPtr, nMin )
|
||||
METHOD setDoubleRange( nMin, nMax ) INLINE Qt_QInputDialog_setDoubleRange( ::pPtr, nMin, nMax )
|
||||
METHOD setDoubleValue( nValue ) INLINE Qt_QInputDialog_setDoubleValue( ::pPtr, nValue )
|
||||
METHOD setInputMode( nInputMode ) INLINE Qt_QInputDialog_setInputMode( ::pPtr, nInputMode )
|
||||
METHOD setInputMode( nMode ) INLINE Qt_QInputDialog_setInputMode( ::pPtr, nMode )
|
||||
METHOD setIntMaximum( nMax ) INLINE Qt_QInputDialog_setIntMaximum( ::pPtr, nMax )
|
||||
METHOD setIntMinimum( nMin ) INLINE Qt_QInputDialog_setIntMinimum( ::pPtr, nMin )
|
||||
METHOD setIntRange( nMin, nMax ) INLINE Qt_QInputDialog_setIntRange( ::pPtr, nMin, nMax )
|
||||
@@ -93,11 +96,11 @@ CLASS QInputDialog INHERIT QDialog
|
||||
METHOD setIntValue( nValue ) INLINE Qt_QInputDialog_setIntValue( ::pPtr, nValue )
|
||||
METHOD setLabelText( cText ) INLINE Qt_QInputDialog_setLabelText( ::pPtr, cText )
|
||||
METHOD setOkButtonText( cText ) INLINE Qt_QInputDialog_setOkButtonText( ::pPtr, cText )
|
||||
METHOD setOption( nInputDialogOption, lOn ) INLINE Qt_QInputDialog_setOption( ::pPtr, nInputDialogOption, lOn )
|
||||
METHOD setOptions( nInputDialogOptions ) INLINE Qt_QInputDialog_setOptions( ::pPtr, nInputDialogOptions )
|
||||
METHOD setOption( nOption, lOn ) INLINE Qt_QInputDialog_setOption( ::pPtr, nOption, lOn )
|
||||
METHOD setOptions( nOptions ) INLINE Qt_QInputDialog_setOptions( ::pPtr, nOptions )
|
||||
METHOD setTextEchoMode( nMode ) INLINE Qt_QInputDialog_setTextEchoMode( ::pPtr, nMode )
|
||||
METHOD setTextValue( cText ) INLINE Qt_QInputDialog_setTextValue( ::pPtr, cText )
|
||||
METHOD testOption( nInputDialogOption ) INLINE Qt_QInputDialog_testOption( ::pPtr, nInputDialogOption )
|
||||
METHOD testOption( nOption ) INLINE Qt_QInputDialog_testOption( ::pPtr, nOption )
|
||||
METHOD textEchoMode() INLINE Qt_QInputDialog_textEchoMode( ::pPtr )
|
||||
METHOD textValue() INLINE Qt_QInputDialog_textValue( ::pPtr )
|
||||
|
||||
@@ -107,6 +110,8 @@ CLASS QInputDialog INHERIT QDialog
|
||||
|
||||
METHOD New( pParent ) CLASS QInputDialog
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QInputDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
81
harbour/contrib/hbqt/TQInputEvent.prg
Normal file
81
harbour/contrib/hbqt/TQInputEvent.prg
Normal file
@@ -0,0 +1,81 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QInputEvent INHERIT QEvent
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD modifiers() INLINE Qt_QInputEvent_modifiers( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QInputEvent
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QInputEvent( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QLCDNumber INHERIT QFrame
|
||||
CREATE CLASS QLCDNumber INHERIT QFrame
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -73,6 +74,14 @@ CLASS QLCDNumber INHERIT QFrame
|
||||
METHOD setSegmentStyle( nSegmentStyle ) INLINE Qt_QLCDNumber_setSegmentStyle( ::pPtr, nSegmentStyle )
|
||||
METHOD smallDecimalPoint() INLINE Qt_QLCDNumber_smallDecimalPoint( ::pPtr )
|
||||
METHOD value() INLINE Qt_QLCDNumber_value( ::pPtr )
|
||||
METHOD display( cS ) INLINE Qt_QLCDNumber_display( ::pPtr, cS )
|
||||
METHOD display_1( nNum ) INLINE Qt_QLCDNumber_display_1( ::pPtr, nNum )
|
||||
METHOD display_2( nNum ) INLINE Qt_QLCDNumber_display_2( ::pPtr, nNum )
|
||||
METHOD setBinMode() INLINE Qt_QLCDNumber_setBinMode( ::pPtr )
|
||||
METHOD setDecMode() INLINE Qt_QLCDNumber_setDecMode( ::pPtr )
|
||||
METHOD setHexMode() INLINE Qt_QLCDNumber_setHexMode( ::pPtr )
|
||||
METHOD setOctMode() INLINE Qt_QLCDNumber_setOctMode( ::pPtr )
|
||||
METHOD setSmallDecimalPoint( lBool ) INLINE Qt_QLCDNumber_setSmallDecimalPoint( ::pPtr, lBool )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -80,6 +89,8 @@ CLASS QLCDNumber INHERIT QFrame
|
||||
|
||||
METHOD New( pParent ) CLASS QLCDNumber
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QLCDNumber( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QLabel INHERIT QFrame
|
||||
CREATE CLASS QLabel INHERIT QFrame
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -78,6 +79,7 @@ CLASS QLabel INHERIT QFrame
|
||||
METHOD setOpenExternalLinks( lOpen ) INLINE Qt_QLabel_setOpenExternalLinks( ::pPtr, lOpen )
|
||||
METHOD setScaledContents( lBool ) INLINE Qt_QLabel_setScaledContents( ::pPtr, lBool )
|
||||
METHOD setTextFormat( nQt_TextFormat ) INLINE Qt_QLabel_setTextFormat( ::pPtr, nQt_TextFormat )
|
||||
METHOD setTextInteractionFlags( nFlags ) INLINE Qt_QLabel_setTextInteractionFlags( ::pPtr, nFlags )
|
||||
METHOD setWordWrap( lOn ) INLINE Qt_QLabel_setWordWrap( ::pPtr, lOn )
|
||||
METHOD text() INLINE Qt_QLabel_text( ::pPtr )
|
||||
METHOD textFormat() INLINE Qt_QLabel_textFormat( ::pPtr )
|
||||
@@ -87,6 +89,8 @@ CLASS QLabel INHERIT QFrame
|
||||
METHOD setMovie( pMovie ) INLINE Qt_QLabel_setMovie( ::pPtr, pMovie )
|
||||
METHOD setNum( nNum ) INLINE Qt_QLabel_setNum( ::pPtr, nNum )
|
||||
METHOD setNum_1( nNum ) INLINE Qt_QLabel_setNum_1( ::pPtr, nNum )
|
||||
METHOD setPicture( pPicture ) INLINE Qt_QLabel_setPicture( ::pPtr, pPicture )
|
||||
METHOD setPixmap( pQPixmap ) INLINE Qt_QLabel_setPixmap( ::pPtr, pQPixmap )
|
||||
METHOD setText( cQString ) INLINE Qt_QLabel_setText( ::pPtr, cQString )
|
||||
|
||||
ENDCLASS
|
||||
@@ -95,6 +99,8 @@ CLASS QLabel INHERIT QFrame
|
||||
|
||||
METHOD New( pParent ) CLASS QLabel
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QLabel( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QLayout INHERIT QObject, QLayoutItem
|
||||
CREATE CLASS QLayout INHERIT QObject, QLayoutItem
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -68,6 +69,7 @@ CLASS QLayout INHERIT QObject, QLayoutItem
|
||||
METHOD contentsRect() INLINE Qt_QLayout_contentsRect( ::pPtr )
|
||||
METHOD count() INLINE Qt_QLayout_count( ::pPtr )
|
||||
METHOD expandingDirections() INLINE Qt_QLayout_expandingDirections( ::pPtr )
|
||||
METHOD getContentsMargins( nLeft, nTop, nRight, nBottom ) INLINE Qt_QLayout_getContentsMargins( ::pPtr, nLeft, nTop, nRight, nBottom )
|
||||
METHOD indexOf( pWidget ) INLINE Qt_QLayout_indexOf( ::pPtr, pWidget )
|
||||
METHOD isEnabled() INLINE Qt_QLayout_isEnabled( ::pPtr )
|
||||
METHOD itemAt( nIndex ) INLINE Qt_QLayout_itemAt( ::pPtr, nIndex )
|
||||
@@ -96,6 +98,8 @@ CLASS QLayout INHERIT QObject, QLayoutItem
|
||||
|
||||
METHOD New( pParent ) CLASS QLayout
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QLayout( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QLayoutItem
|
||||
CREATE CLASS QLayoutItem
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -75,7 +76,7 @@ CLASS QLayoutItem
|
||||
METHOD minimumHeightForWidth( nW ) INLINE Qt_QLayoutItem_minimumHeightForWidth( ::pPtr, nW )
|
||||
METHOD minimumSize() INLINE Qt_QLayoutItem_minimumSize( ::pPtr )
|
||||
METHOD setAlignment( nAlignment ) INLINE Qt_QLayoutItem_setAlignment( ::pPtr, nAlignment )
|
||||
METHOD setGeometry( aRectR ) INLINE Qt_QLayoutItem_setGeometry( ::pPtr, aRectR )
|
||||
METHOD setGeometry( pR ) INLINE Qt_QLayoutItem_setGeometry( ::pPtr, pR )
|
||||
METHOD sizeHint() INLINE Qt_QLayoutItem_sizeHint( ::pPtr )
|
||||
METHOD spacerItem() INLINE Qt_QLayoutItem_spacerItem( ::pPtr )
|
||||
METHOD widget() INLINE Qt_QLayoutItem_widget( ::pPtr )
|
||||
@@ -86,6 +87,8 @@ CLASS QLayoutItem
|
||||
|
||||
METHOD New( pParent ) CLASS QLayoutItem
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QLayoutItem( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QLineEdit INHERIT QWidget
|
||||
CREATE CLASS QLineEdit INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -69,7 +70,7 @@ CLASS QLineEdit INHERIT QWidget
|
||||
METHOD cursorBackward( lMark, nSteps ) INLINE Qt_QLineEdit_cursorBackward( ::pPtr, lMark, nSteps )
|
||||
METHOD cursorForward( lMark, nSteps ) INLINE Qt_QLineEdit_cursorForward( ::pPtr, lMark, nSteps )
|
||||
METHOD cursorPosition() INLINE Qt_QLineEdit_cursorPosition( ::pPtr )
|
||||
METHOD cursorPositionAt( aPointPos ) INLINE Qt_QLineEdit_cursorPositionAt( ::pPtr, aPointPos )
|
||||
METHOD cursorPositionAt( pPos ) INLINE Qt_QLineEdit_cursorPositionAt( ::pPtr, pPos )
|
||||
METHOD cursorWordBackward( lMark ) INLINE Qt_QLineEdit_cursorWordBackward( ::pPtr, lMark )
|
||||
METHOD cursorWordForward( lMark ) INLINE Qt_QLineEdit_cursorWordForward( ::pPtr, lMark )
|
||||
METHOD del() INLINE Qt_QLineEdit_del( ::pPtr )
|
||||
@@ -78,6 +79,7 @@ CLASS QLineEdit INHERIT QWidget
|
||||
METHOD dragEnabled() INLINE Qt_QLineEdit_dragEnabled( ::pPtr )
|
||||
METHOD echoMode() INLINE Qt_QLineEdit_echoMode( ::pPtr )
|
||||
METHOD end( lMark ) INLINE Qt_QLineEdit_end( ::pPtr, lMark )
|
||||
METHOD getTextMargins( nLeft, nTop, nRight, nBottom ) INLINE Qt_QLineEdit_getTextMargins( ::pPtr, nLeft, nTop, nRight, nBottom )
|
||||
METHOD hasAcceptableInput() INLINE Qt_QLineEdit_hasAcceptableInput( ::pPtr )
|
||||
METHOD hasFrame() INLINE Qt_QLineEdit_hasFrame( ::pPtr )
|
||||
METHOD hasSelectedText() INLINE Qt_QLineEdit_hasSelectedText( ::pPtr )
|
||||
@@ -108,6 +110,14 @@ CLASS QLineEdit INHERIT QWidget
|
||||
METHOD sizeHint() INLINE Qt_QLineEdit_sizeHint( ::pPtr )
|
||||
METHOD text() INLINE Qt_QLineEdit_text( ::pPtr )
|
||||
METHOD validator() INLINE Qt_QLineEdit_validator( ::pPtr )
|
||||
METHOD clear() INLINE Qt_QLineEdit_clear( ::pPtr )
|
||||
METHOD copy() INLINE Qt_QLineEdit_copy( ::pPtr )
|
||||
METHOD cut() INLINE Qt_QLineEdit_cut( ::pPtr )
|
||||
METHOD paste() INLINE Qt_QLineEdit_paste( ::pPtr )
|
||||
METHOD redo() INLINE Qt_QLineEdit_redo( ::pPtr )
|
||||
METHOD selectAll() INLINE Qt_QLineEdit_selectAll( ::pPtr )
|
||||
METHOD setText( cQString ) INLINE Qt_QLineEdit_setText( ::pPtr, cQString )
|
||||
METHOD undo() INLINE Qt_QLineEdit_undo( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -115,6 +125,8 @@ CLASS QLineEdit INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QLineEdit
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QLineEdit( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QListView INHERIT QAbstractItemView
|
||||
CREATE CLASS QListView INHERIT QAbstractItemView
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -75,16 +76,16 @@ CLASS QListView INHERIT QAbstractItemView
|
||||
METHOD resizeMode() INLINE Qt_QListView_resizeMode( ::pPtr )
|
||||
METHOD setBatchSize( nBatchSize ) INLINE Qt_QListView_setBatchSize( ::pPtr, nBatchSize )
|
||||
METHOD setFlow( nFlow ) INLINE Qt_QListView_setFlow( ::pPtr, nFlow )
|
||||
METHOD setGridSize( aSizeSize ) INLINE Qt_QListView_setGridSize( ::pPtr, aSizeSize )
|
||||
METHOD setLayoutMode( nLayoutMode ) INLINE Qt_QListView_setLayoutMode( ::pPtr, nLayoutMode )
|
||||
METHOD setGridSize( pSize ) INLINE Qt_QListView_setGridSize( ::pPtr, pSize )
|
||||
METHOD setLayoutMode( nMode ) INLINE Qt_QListView_setLayoutMode( ::pPtr, nMode )
|
||||
METHOD setModelColumn( nColumn ) INLINE Qt_QListView_setModelColumn( ::pPtr, nColumn )
|
||||
METHOD setMovement( nMovement ) INLINE Qt_QListView_setMovement( ::pPtr, nMovement )
|
||||
METHOD setResizeMode( nResizeMode ) INLINE Qt_QListView_setResizeMode( ::pPtr, nResizeMode )
|
||||
METHOD setResizeMode( nMode ) INLINE Qt_QListView_setResizeMode( ::pPtr, nMode )
|
||||
METHOD setRowHidden( nRow, lHide ) INLINE Qt_QListView_setRowHidden( ::pPtr, nRow, lHide )
|
||||
METHOD setSelectionRectVisible( lShow ) INLINE Qt_QListView_setSelectionRectVisible( ::pPtr, lShow )
|
||||
METHOD setSpacing( nSpace ) INLINE Qt_QListView_setSpacing( ::pPtr, nSpace )
|
||||
METHOD setUniformItemSizes( lEnable ) INLINE Qt_QListView_setUniformItemSizes( ::pPtr, lEnable )
|
||||
METHOD setViewMode( nViewMode ) INLINE Qt_QListView_setViewMode( ::pPtr, nViewMode )
|
||||
METHOD setViewMode( nMode ) INLINE Qt_QListView_setViewMode( ::pPtr, nMode )
|
||||
METHOD setWordWrap( lOn ) INLINE Qt_QListView_setWordWrap( ::pPtr, lOn )
|
||||
METHOD setWrapping( lEnable ) INLINE Qt_QListView_setWrapping( ::pPtr, lEnable )
|
||||
METHOD spacing() INLINE Qt_QListView_spacing( ::pPtr )
|
||||
@@ -98,6 +99,8 @@ CLASS QListView INHERIT QAbstractItemView
|
||||
|
||||
METHOD New( pParent ) CLASS QListView
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QListView( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
110
harbour/contrib/hbqt/TQListWidget.prg
Normal file
110
harbour/contrib/hbqt/TQListWidget.prg
Normal file
@@ -0,0 +1,110 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QListWidget INHERIT QListView
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addItem( cLabel ) INLINE Qt_QListWidget_addItem( ::pPtr, cLabel )
|
||||
METHOD addItem_1( pItem ) INLINE Qt_QListWidget_addItem_1( ::pPtr, pItem )
|
||||
METHOD addItems( pLabels ) INLINE Qt_QListWidget_addItems( ::pPtr, pLabels )
|
||||
METHOD closePersistentEditor( pItem ) INLINE Qt_QListWidget_closePersistentEditor( ::pPtr, pItem )
|
||||
METHOD count() INLINE Qt_QListWidget_count( ::pPtr )
|
||||
METHOD currentItem() INLINE Qt_QListWidget_currentItem( ::pPtr )
|
||||
METHOD currentRow() INLINE Qt_QListWidget_currentRow( ::pPtr )
|
||||
METHOD editItem( pItem ) INLINE Qt_QListWidget_editItem( ::pPtr, pItem )
|
||||
METHOD insertItem( nRow, pItem ) INLINE Qt_QListWidget_insertItem( ::pPtr, nRow, pItem )
|
||||
METHOD insertItem_1( nRow, cLabel ) INLINE Qt_QListWidget_insertItem_1( ::pPtr, nRow, cLabel )
|
||||
METHOD insertItems( nRow, pLabels ) INLINE Qt_QListWidget_insertItems( ::pPtr, nRow, pLabels )
|
||||
METHOD isSortingEnabled() INLINE Qt_QListWidget_isSortingEnabled( ::pPtr )
|
||||
METHOD item( nRow ) INLINE Qt_QListWidget_item( ::pPtr, nRow )
|
||||
METHOD itemAt( pP ) INLINE Qt_QListWidget_itemAt( ::pPtr, pP )
|
||||
METHOD itemAt_1( nX, nY ) INLINE Qt_QListWidget_itemAt_1( ::pPtr, nX, nY )
|
||||
METHOD itemWidget( pItem ) INLINE Qt_QListWidget_itemWidget( ::pPtr, pItem )
|
||||
METHOD openPersistentEditor( pItem ) INLINE Qt_QListWidget_openPersistentEditor( ::pPtr, pItem )
|
||||
METHOD removeItemWidget( pItem ) INLINE Qt_QListWidget_removeItemWidget( ::pPtr, pItem )
|
||||
METHOD row( pItem ) INLINE Qt_QListWidget_row( ::pPtr, pItem )
|
||||
METHOD setCurrentItem( pItem ) INLINE Qt_QListWidget_setCurrentItem( ::pPtr, pItem )
|
||||
METHOD setCurrentItem_1( pItem, nCommand ) INLINE Qt_QListWidget_setCurrentItem_1( ::pPtr, pItem, nCommand )
|
||||
METHOD setCurrentRow( nRow ) INLINE Qt_QListWidget_setCurrentRow( ::pPtr, nRow )
|
||||
METHOD setCurrentRow_1( nRow, nCommand ) INLINE Qt_QListWidget_setCurrentRow_1( ::pPtr, nRow, nCommand )
|
||||
METHOD setItemWidget( pItem, pWidget ) INLINE Qt_QListWidget_setItemWidget( ::pPtr, pItem, pWidget )
|
||||
METHOD setSortingEnabled( lEnable ) INLINE Qt_QListWidget_setSortingEnabled( ::pPtr, lEnable )
|
||||
METHOD sortItems( nOrder ) INLINE Qt_QListWidget_sortItems( ::pPtr, nOrder )
|
||||
METHOD takeItem( nRow ) INLINE Qt_QListWidget_takeItem( ::pPtr, nRow )
|
||||
METHOD visualItemRect( pItem ) INLINE Qt_QListWidget_visualItemRect( ::pPtr, pItem )
|
||||
METHOD clear() INLINE Qt_QListWidget_clear( ::pPtr )
|
||||
METHOD scrollToItem( pItem, nHint ) INLINE Qt_QListWidget_scrollToItem( ::pPtr, pItem, nHint )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QListWidget
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QListWidget( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
115
harbour/contrib/hbqt/TQListWidgetItem.prg
Normal file
115
harbour/contrib/hbqt/TQListWidgetItem.prg
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QListWidgetItem INHERIT QWidget
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD background() INLINE Qt_QListWidgetItem_background( ::pPtr )
|
||||
METHOD checkState() INLINE Qt_QListWidgetItem_checkState( ::pPtr )
|
||||
METHOD clone() INLINE Qt_QListWidgetItem_clone( ::pPtr )
|
||||
METHOD data( nRole ) INLINE Qt_QListWidgetItem_data( ::pPtr, nRole )
|
||||
METHOD flags() INLINE Qt_QListWidgetItem_flags( ::pPtr )
|
||||
METHOD font() INLINE Qt_QListWidgetItem_font( ::pPtr )
|
||||
METHOD foreground() INLINE Qt_QListWidgetItem_foreground( ::pPtr )
|
||||
METHOD icon() INLINE Qt_QListWidgetItem_icon( ::pPtr )
|
||||
METHOD isHidden() INLINE Qt_QListWidgetItem_isHidden( ::pPtr )
|
||||
METHOD isSelected() INLINE Qt_QListWidgetItem_isSelected( ::pPtr )
|
||||
METHOD listWidget() INLINE Qt_QListWidgetItem_listWidget( ::pPtr )
|
||||
METHOD read( pIn ) INLINE Qt_QListWidgetItem_read( ::pPtr, pIn )
|
||||
METHOD setBackground( pBrush ) INLINE Qt_QListWidgetItem_setBackground( ::pPtr, pBrush )
|
||||
METHOD setCheckState( nState ) INLINE Qt_QListWidgetItem_setCheckState( ::pPtr, nState )
|
||||
METHOD setData( nRole, pValue ) INLINE Qt_QListWidgetItem_setData( ::pPtr, nRole, pValue )
|
||||
METHOD setFlags( nFlags ) INLINE Qt_QListWidgetItem_setFlags( ::pPtr, nFlags )
|
||||
METHOD setFont( pFont ) INLINE Qt_QListWidgetItem_setFont( ::pPtr, pFont )
|
||||
METHOD setForeground( pBrush ) INLINE Qt_QListWidgetItem_setForeground( ::pPtr, pBrush )
|
||||
METHOD setHidden( lHide ) INLINE Qt_QListWidgetItem_setHidden( ::pPtr, lHide )
|
||||
METHOD setIcon( cIcon ) INLINE Qt_QListWidgetItem_setIcon( ::pPtr, cIcon )
|
||||
METHOD setSelected( lSelect ) INLINE Qt_QListWidgetItem_setSelected( ::pPtr, lSelect )
|
||||
METHOD setSizeHint( pSize ) INLINE Qt_QListWidgetItem_setSizeHint( ::pPtr, pSize )
|
||||
METHOD setStatusTip( cStatusTip ) INLINE Qt_QListWidgetItem_setStatusTip( ::pPtr, cStatusTip )
|
||||
METHOD setText( cText ) INLINE Qt_QListWidgetItem_setText( ::pPtr, cText )
|
||||
METHOD setTextAlignment( nAlignment ) INLINE Qt_QListWidgetItem_setTextAlignment( ::pPtr, nAlignment )
|
||||
METHOD setToolTip( cToolTip ) INLINE Qt_QListWidgetItem_setToolTip( ::pPtr, cToolTip )
|
||||
METHOD setWhatsThis( cWhatsThis ) INLINE Qt_QListWidgetItem_setWhatsThis( ::pPtr, cWhatsThis )
|
||||
METHOD sizeHint() INLINE Qt_QListWidgetItem_sizeHint( ::pPtr )
|
||||
METHOD statusTip() INLINE Qt_QListWidgetItem_statusTip( ::pPtr )
|
||||
METHOD text() INLINE Qt_QListWidgetItem_text( ::pPtr )
|
||||
METHOD textAlignment() INLINE Qt_QListWidgetItem_textAlignment( ::pPtr )
|
||||
METHOD toolTip() INLINE Qt_QListWidgetItem_toolTip( ::pPtr )
|
||||
METHOD type() INLINE Qt_QListWidgetItem_type( ::pPtr )
|
||||
METHOD whatsThis() INLINE Qt_QListWidgetItem_whatsThis( ::pPtr )
|
||||
METHOD write( pOut ) INLINE Qt_QListWidgetItem_write( ::pPtr, pOut )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QListWidgetItem
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QListWidgetItem( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QMainWindow INHERIT QWidget
|
||||
CREATE CLASS QMainWindow INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -85,11 +86,13 @@ CLASS QMainWindow INHERIT QWidget
|
||||
METHOD removeToolBar( pToolbar ) INLINE Qt_QMainWindow_removeToolBar( ::pPtr, pToolbar )
|
||||
METHOD removeToolBarBreak( pBefore ) INLINE Qt_QMainWindow_removeToolBarBreak( ::pPtr, pBefore )
|
||||
METHOD restoreDockWidget( pDockwidget ) INLINE Qt_QMainWindow_restoreDockWidget( ::pPtr, pDockwidget )
|
||||
METHOD restoreState( pState, nVersion ) INLINE Qt_QMainWindow_restoreState( ::pPtr, pState, nVersion )
|
||||
METHOD saveState( nVersion ) INLINE Qt_QMainWindow_saveState( ::pPtr, nVersion )
|
||||
METHOD setCentralWidget( pWidget ) INLINE Qt_QMainWindow_setCentralWidget( ::pPtr, pWidget )
|
||||
METHOD setCorner( nCorner, nArea ) INLINE Qt_QMainWindow_setCorner( ::pPtr, nCorner, nArea )
|
||||
METHOD setDockOptions( nDockOptions ) INLINE Qt_QMainWindow_setDockOptions( ::pPtr, nDockOptions )
|
||||
METHOD setDockOptions( nOptions ) INLINE Qt_QMainWindow_setDockOptions( ::pPtr, nOptions )
|
||||
METHOD setDocumentMode( lEnabled ) INLINE Qt_QMainWindow_setDocumentMode( ::pPtr, lEnabled )
|
||||
METHOD setIconSize( aSizeIconSize ) INLINE Qt_QMainWindow_setIconSize( ::pPtr, aSizeIconSize )
|
||||
METHOD setIconSize( pIconSize ) INLINE Qt_QMainWindow_setIconSize( ::pPtr, pIconSize )
|
||||
METHOD setMenuBar( pMenuBar ) INLINE Qt_QMainWindow_setMenuBar( ::pPtr, pMenuBar )
|
||||
METHOD setMenuWidget( pMenuBar ) INLINE Qt_QMainWindow_setMenuWidget( ::pPtr, pMenuBar )
|
||||
METHOD setStatusBar( pStatusbar ) INLINE Qt_QMainWindow_setStatusBar( ::pPtr, pStatusbar )
|
||||
@@ -115,6 +118,8 @@ CLASS QMainWindow INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QMainWindow
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QMainWindow( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,21 +53,24 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QMenu INHERIT QWidget
|
||||
CREATE CLASS QMenu INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD actionAt( aPointPt ) INLINE Qt_QMenu_actionAt( ::pPtr, aPointPt )
|
||||
METHOD actionAt( pPt ) INLINE Qt_QMenu_actionAt( ::pPtr, pPt )
|
||||
METHOD actionGeometry( pAct ) INLINE Qt_QMenu_actionGeometry( ::pPtr, pAct )
|
||||
METHOD activeAction() INLINE Qt_QMenu_activeAction( ::pPtr )
|
||||
METHOD addAction( cText ) INLINE Qt_QMenu_addAction( ::pPtr, cText )
|
||||
METHOD addAction_1( cIcon, cText ) INLINE Qt_QMenu_addAction_1( ::pPtr, cIcon, cText )
|
||||
METHOD addAction_2( pAction ) INLINE Qt_QMenu_addAction_2( ::pPtr, pAction )
|
||||
METHOD addAction_2( cText, pReceiver, pMember, pShortcut ) INLINE Qt_QMenu_addAction_2( ::pPtr, cText, pReceiver, pMember, pShortcut )
|
||||
METHOD addAction_3( cIcon, cText, pReceiver, pMember, pShortcut ) INLINE Qt_QMenu_addAction_3( ::pPtr, cIcon, cText, pReceiver, pMember, pShortcut )
|
||||
METHOD addAction_4( pAction ) INLINE Qt_QMenu_addAction_4( ::pPtr, pAction )
|
||||
METHOD addMenu( pMenu ) INLINE Qt_QMenu_addMenu( ::pPtr, pMenu )
|
||||
METHOD addMenu_1( cTitle ) INLINE Qt_QMenu_addMenu_1( ::pPtr, cTitle )
|
||||
METHOD addMenu_2( cIcon, cTitle ) INLINE Qt_QMenu_addMenu_2( ::pPtr, cIcon, cTitle )
|
||||
@@ -75,15 +78,16 @@ CLASS QMenu INHERIT QWidget
|
||||
METHOD clear() INLINE Qt_QMenu_clear( ::pPtr )
|
||||
METHOD defaultAction() INLINE Qt_QMenu_defaultAction( ::pPtr )
|
||||
METHOD exec() INLINE Qt_QMenu_exec( ::pPtr )
|
||||
METHOD exec_1( aPointP, pAction ) INLINE Qt_QMenu_exec_1( ::pPtr, aPointP, pAction )
|
||||
METHOD exec_1( pP, pAction ) INLINE Qt_QMenu_exec_1( ::pPtr, pP, pAction )
|
||||
METHOD hideTearOffMenu() INLINE Qt_QMenu_hideTearOffMenu( ::pPtr )
|
||||
METHOD icon() INLINE Qt_QMenu_icon( ::pPtr )
|
||||
METHOD insertMenu( pBefore, pMenu ) INLINE Qt_QMenu_insertMenu( ::pPtr, pBefore, pMenu )
|
||||
METHOD insertSeparator( pBefore ) INLINE Qt_QMenu_insertSeparator( ::pPtr, pBefore )
|
||||
METHOD isEmpty() INLINE Qt_QMenu_isEmpty( ::pPtr )
|
||||
METHOD isTearOffEnabled() INLINE Qt_QMenu_isTearOffEnabled( ::pPtr )
|
||||
METHOD isTearOffMenuVisible() INLINE Qt_QMenu_isTearOffMenuVisible( ::pPtr )
|
||||
METHOD menuAction() INLINE Qt_QMenu_menuAction( ::pPtr )
|
||||
METHOD popup( aPointP, pAtAction ) INLINE Qt_QMenu_popup( ::pPtr, aPointP, pAtAction )
|
||||
METHOD popup( pP, pAtAction ) INLINE Qt_QMenu_popup( ::pPtr, pP, pAtAction )
|
||||
METHOD separatorsCollapsible() INLINE Qt_QMenu_separatorsCollapsible( ::pPtr )
|
||||
METHOD setActiveAction( pAct ) INLINE Qt_QMenu_setActiveAction( ::pPtr, pAct )
|
||||
METHOD setDefaultAction( pAct ) INLINE Qt_QMenu_setDefaultAction( ::pPtr, pAct )
|
||||
@@ -99,6 +103,8 @@ CLASS QMenu INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QMenu
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QMenu( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QMenuBar INHERIT QWidget
|
||||
CREATE CLASS QMenuBar INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -83,6 +84,8 @@ CLASS QMenuBar INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QMenuBar
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QMenuBar( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,36 +53,39 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QMessageBox INHERIT QDialog
|
||||
CREATE CLASS QMessageBox INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addButton( pButton, nButtonRole ) INLINE Qt_QMessageBox_addButton( ::pPtr, pButton, nButtonRole )
|
||||
METHOD addButton_1( cText, nButtonRole ) INLINE Qt_QMessageBox_addButton_1( ::pPtr, cText, nButtonRole )
|
||||
METHOD addButton_2( nStandardButton ) INLINE Qt_QMessageBox_addButton_2( ::pPtr, nStandardButton )
|
||||
METHOD button( nStandardButton ) INLINE Qt_QMessageBox_button( ::pPtr, nStandardButton )
|
||||
METHOD addButton( pButton, nRole ) INLINE Qt_QMessageBox_addButton( ::pPtr, pButton, nRole )
|
||||
METHOD addButton_1( cText, nRole ) INLINE Qt_QMessageBox_addButton_1( ::pPtr, cText, nRole )
|
||||
METHOD addButton_2( nButton ) INLINE Qt_QMessageBox_addButton_2( ::pPtr, nButton )
|
||||
METHOD button( nWhich ) INLINE Qt_QMessageBox_button( ::pPtr, nWhich )
|
||||
METHOD buttonRole( pButton ) INLINE Qt_QMessageBox_buttonRole( ::pPtr, pButton )
|
||||
METHOD clickedButton() INLINE Qt_QMessageBox_clickedButton( ::pPtr )
|
||||
METHOD defaultButton() INLINE Qt_QMessageBox_defaultButton( ::pPtr )
|
||||
METHOD detailedText() INLINE Qt_QMessageBox_detailedText( ::pPtr )
|
||||
METHOD escapeButton() INLINE Qt_QMessageBox_escapeButton( ::pPtr )
|
||||
METHOD icon() INLINE Qt_QMessageBox_icon( ::pPtr )
|
||||
METHOD iconPixmap() INLINE Qt_QMessageBox_iconPixmap( ::pPtr )
|
||||
METHOD informativeText() INLINE Qt_QMessageBox_informativeText( ::pPtr )
|
||||
METHOD open( pReceiver, pMember ) INLINE Qt_QMessageBox_open( ::pPtr, pReceiver, pMember )
|
||||
METHOD removeButton( pButton ) INLINE Qt_QMessageBox_removeButton( ::pPtr, pButton )
|
||||
METHOD setDefaultButton( pButton ) INLINE Qt_QMessageBox_setDefaultButton( ::pPtr, pButton )
|
||||
METHOD setDefaultButton_1( nStandardButton ) INLINE Qt_QMessageBox_setDefaultButton_1( ::pPtr, nStandardButton )
|
||||
METHOD setDefaultButton_1( nButton ) INLINE Qt_QMessageBox_setDefaultButton_1( ::pPtr, nButton )
|
||||
METHOD setDetailedText( cText ) INLINE Qt_QMessageBox_setDetailedText( ::pPtr, cText )
|
||||
METHOD setEscapeButton( pButton ) INLINE Qt_QMessageBox_setEscapeButton( ::pPtr, pButton )
|
||||
METHOD setEscapeButton_1( nStandardButton ) INLINE Qt_QMessageBox_setEscapeButton_1( ::pPtr, nStandardButton )
|
||||
METHOD setEscapeButton_1( nButton ) INLINE Qt_QMessageBox_setEscapeButton_1( ::pPtr, nButton )
|
||||
METHOD setIcon( nIcon ) INLINE Qt_QMessageBox_setIcon( ::pPtr, nIcon )
|
||||
METHOD setIconPixmap( pPixmap ) INLINE Qt_QMessageBox_setIconPixmap( ::pPtr, pPixmap )
|
||||
METHOD setInformativeText( cText ) INLINE Qt_QMessageBox_setInformativeText( ::pPtr, cText )
|
||||
METHOD setStandardButtons( nStandardButtons ) INLINE Qt_QMessageBox_setStandardButtons( ::pPtr, nStandardButtons )
|
||||
METHOD setStandardButtons( nButtons ) INLINE Qt_QMessageBox_setStandardButtons( ::pPtr, nButtons )
|
||||
METHOD setText( cText ) INLINE Qt_QMessageBox_setText( ::pPtr, cText )
|
||||
METHOD setTextFormat( nFormat ) INLINE Qt_QMessageBox_setTextFormat( ::pPtr, nFormat )
|
||||
METHOD setWindowModality( nWindowModality ) INLINE Qt_QMessageBox_setWindowModality( ::pPtr, nWindowModality )
|
||||
@@ -91,6 +94,7 @@ CLASS QMessageBox INHERIT QDialog
|
||||
METHOD standardButtons() INLINE Qt_QMessageBox_standardButtons( ::pPtr )
|
||||
METHOD text() INLINE Qt_QMessageBox_text( ::pPtr )
|
||||
METHOD textFormat() INLINE Qt_QMessageBox_textFormat( ::pPtr )
|
||||
METHOD exec() INLINE Qt_QMessageBox_exec( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -98,6 +102,8 @@ CLASS QMessageBox INHERIT QDialog
|
||||
|
||||
METHOD New( pParent ) CLASS QMessageBox
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QMessageBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,16 +53,18 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QObject
|
||||
CREATE CLASS QObject
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD blockSignals( lBlock ) INLINE Qt_QObject_blockSignals( ::pPtr, lBlock )
|
||||
METHOD children() INLINE Qt_QObject_children( ::pPtr )
|
||||
METHOD connect( pSender, pSignal, pMethod, nType ) INLINE Qt_QObject_connect( ::pPtr, pSender, pSignal, pMethod, nType )
|
||||
METHOD disconnect( pSignal, pReceiver, pMethod ) INLINE Qt_QObject_disconnect( ::pPtr, pSignal, pReceiver, pMethod )
|
||||
METHOD disconnect_1( pReceiver, pMethod ) INLINE Qt_QObject_disconnect_1( ::pPtr, pReceiver, pMethod )
|
||||
@@ -78,12 +80,15 @@ CLASS QObject
|
||||
METHOD moveToThread( pTargetThread ) INLINE Qt_QObject_moveToThread( ::pPtr, pTargetThread )
|
||||
METHOD objectName() INLINE Qt_QObject_objectName( ::pPtr )
|
||||
METHOD parent() INLINE Qt_QObject_parent( ::pPtr )
|
||||
METHOD property( pName ) INLINE Qt_QObject_property( ::pPtr, pName )
|
||||
METHOD removeEventFilter( pObj ) INLINE Qt_QObject_removeEventFilter( ::pPtr, pObj )
|
||||
METHOD setObjectName( cName ) INLINE Qt_QObject_setObjectName( ::pPtr, cName )
|
||||
METHOD setParent( pParent ) INLINE Qt_QObject_setParent( ::pPtr, pParent )
|
||||
METHOD setProperty( pName, pValue ) INLINE Qt_QObject_setProperty( ::pPtr, pName, pValue )
|
||||
METHOD signalsBlocked() INLINE Qt_QObject_signalsBlocked( ::pPtr )
|
||||
METHOD startTimer( nInterval ) INLINE Qt_QObject_startTimer( ::pPtr, nInterval )
|
||||
METHOD thread() INLINE Qt_QObject_thread( ::pPtr )
|
||||
METHOD deleteLater() INLINE Qt_QObject_deleteLater( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -91,6 +96,8 @@ CLASS QObject
|
||||
|
||||
METHOD New( pParent ) CLASS QObject
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QObject( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QPageSetupDialog INHERIT QDialog
|
||||
CREATE CLASS QPageSetupDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -66,10 +67,10 @@ CLASS QPageSetupDialog INHERIT QDialog
|
||||
METHOD open( pReceiver, pMember ) INLINE Qt_QPageSetupDialog_open( ::pPtr, pReceiver, pMember )
|
||||
METHOD options() INLINE Qt_QPageSetupDialog_options( ::pPtr )
|
||||
METHOD printer() INLINE Qt_QPageSetupDialog_printer( ::pPtr )
|
||||
METHOD setOption( nPageSetupDialogOption, lOn ) INLINE Qt_QPageSetupDialog_setOption( ::pPtr, nPageSetupDialogOption, lOn )
|
||||
METHOD setOptions( nPageSetupDialogOptions ) INLINE Qt_QPageSetupDialog_setOptions( ::pPtr, nPageSetupDialogOptions )
|
||||
METHOD setOption( nOption, lOn ) INLINE Qt_QPageSetupDialog_setOption( ::pPtr, nOption, lOn )
|
||||
METHOD setOptions( nOptions ) INLINE Qt_QPageSetupDialog_setOptions( ::pPtr, nOptions )
|
||||
METHOD setVisible( lVisible ) INLINE Qt_QPageSetupDialog_setVisible( ::pPtr, lVisible )
|
||||
METHOD testOption( nPageSetupDialogOption ) INLINE Qt_QPageSetupDialog_testOption( ::pPtr, nPageSetupDialogOption )
|
||||
METHOD testOption( nOption ) INLINE Qt_QPageSetupDialog_testOption( ::pPtr, nOption )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -77,6 +78,8 @@ CLASS QPageSetupDialog INHERIT QDialog
|
||||
|
||||
METHOD New( pParent ) CLASS QPageSetupDialog
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QPageSetupDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QPaintDevice
|
||||
CREATE CLASS QPaintDevice
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -81,6 +82,8 @@ CLASS QPaintDevice
|
||||
|
||||
METHOD New( pParent ) CLASS QPaintDevice
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QPaintDevice( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
82
harbour/contrib/hbqt/TQPaintEvent.prg
Normal file
82
harbour/contrib/hbqt/TQPaintEvent.prg
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QPaintEvent INHERIT QEvent
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD rect() INLINE Qt_QPaintEvent_rect( ::pPtr )
|
||||
METHOD region() INLINE Qt_QPaintEvent_region( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QPaintEvent
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QPaintEvent( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,94 +53,195 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QPainter
|
||||
CREATE CLASS QPainter
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD background() INLINE Qt_QPainter_background( ::pPtr )
|
||||
METHOD backgroundMode() INLINE Qt_QPainter_backgroundMode( ::pPtr )
|
||||
METHOD begin( pDevice ) INLINE Qt_QPainter_begin( ::pPtr, pDevice )
|
||||
METHOD boundingRect( aRectRectangle, nFlags, cText ) INLINE Qt_QPainter_boundingRect( ::pPtr, aRectRectangle, nFlags, cText )
|
||||
METHOD boundingRect_1( nX, nY, nW, nH, nFlags, cText ) INLINE Qt_QPainter_boundingRect_1( ::pPtr, nX, nY, nW, nH, nFlags, cText )
|
||||
METHOD boundingRect( pRectangle, nFlags, cText ) INLINE Qt_QPainter_boundingRect( ::pPtr, pRectangle, nFlags, cText )
|
||||
METHOD boundingRect_1( pRectangle, nFlags, cText ) INLINE Qt_QPainter_boundingRect_1( ::pPtr, pRectangle, nFlags, cText )
|
||||
METHOD boundingRect_2( nX, nY, nW, nH, nFlags, cText ) INLINE Qt_QPainter_boundingRect_2( ::pPtr, nX, nY, nW, nH, nFlags, cText )
|
||||
METHOD boundingRect_3( pRectangle, cText, pOption ) INLINE Qt_QPainter_boundingRect_3( ::pPtr, pRectangle, cText, pOption )
|
||||
METHOD brush() INLINE Qt_QPainter_brush( ::pPtr )
|
||||
METHOD brushOrigin() INLINE Qt_QPainter_brushOrigin( ::pPtr )
|
||||
METHOD clipPath() INLINE Qt_QPainter_clipPath( ::pPtr )
|
||||
METHOD clipRegion() INLINE Qt_QPainter_clipRegion( ::pPtr )
|
||||
METHOD combinedMatrix() INLINE Qt_QPainter_combinedMatrix( ::pPtr )
|
||||
METHOD combinedTransform() INLINE Qt_QPainter_combinedTransform( ::pPtr )
|
||||
METHOD compositionMode() INLINE Qt_QPainter_compositionMode( ::pPtr )
|
||||
METHOD device() INLINE Qt_QPainter_device( ::pPtr )
|
||||
METHOD drawArc( aRectRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawArc( ::pPtr, aRectRectangle, nStartAngle, nSpanAngle )
|
||||
METHOD drawArc_1( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawArc_1( ::pPtr, nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle )
|
||||
METHOD drawChord( aRectRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawChord( ::pPtr, aRectRectangle, nStartAngle, nSpanAngle )
|
||||
METHOD drawChord_1( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawChord_1( ::pPtr, nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle )
|
||||
METHOD deviceMatrix() INLINE Qt_QPainter_deviceMatrix( ::pPtr )
|
||||
METHOD deviceTransform() INLINE Qt_QPainter_deviceTransform( ::pPtr )
|
||||
METHOD drawArc( pRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawArc( ::pPtr, pRectangle, nStartAngle, nSpanAngle )
|
||||
METHOD drawArc_1( pRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawArc_1( ::pPtr, pRectangle, nStartAngle, nSpanAngle )
|
||||
METHOD drawArc_2( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawArc_2( ::pPtr, nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle )
|
||||
METHOD drawChord( pRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawChord( ::pPtr, pRectangle, nStartAngle, nSpanAngle )
|
||||
METHOD drawChord_1( pRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawChord_1( ::pPtr, pRectangle, nStartAngle, nSpanAngle )
|
||||
METHOD drawChord_2( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawChord_2( ::pPtr, nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle )
|
||||
METHOD drawConvexPolygon( pPoints, nPointCount ) INLINE Qt_QPainter_drawConvexPolygon( ::pPtr, pPoints, nPointCount )
|
||||
METHOD drawEllipse( aRectRectangle ) INLINE Qt_QPainter_drawEllipse( ::pPtr, aRectRectangle )
|
||||
METHOD drawEllipse_1( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_drawEllipse_1( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD drawEllipse_2( aPointCenter, nRx, nRy ) INLINE Qt_QPainter_drawEllipse_2( ::pPtr, aPointCenter, nRx, nRy )
|
||||
METHOD drawLine( aPointP1, aPointP2 ) INLINE Qt_QPainter_drawLine( ::pPtr, aPointP1, aPointP2 )
|
||||
METHOD drawLine_1( nX1, nY1, nX2, nY2 ) INLINE Qt_QPainter_drawLine_1( ::pPtr, nX1, nY1, nX2, nY2 )
|
||||
METHOD drawConvexPolygon_1( pPoints, nPointCount ) INLINE Qt_QPainter_drawConvexPolygon_1( ::pPtr, pPoints, nPointCount )
|
||||
METHOD drawConvexPolygon_2( pPolygon ) INLINE Qt_QPainter_drawConvexPolygon_2( ::pPtr, pPolygon )
|
||||
METHOD drawConvexPolygon_3( pPolygon ) INLINE Qt_QPainter_drawConvexPolygon_3( ::pPtr, pPolygon )
|
||||
METHOD drawEllipse( pRectangle ) INLINE Qt_QPainter_drawEllipse( ::pPtr, pRectangle )
|
||||
METHOD drawEllipse_1( pRectangle ) INLINE Qt_QPainter_drawEllipse_1( ::pPtr, pRectangle )
|
||||
METHOD drawEllipse_2( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_drawEllipse_2( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD drawEllipse_3( pCenter, nRx, nRy ) INLINE Qt_QPainter_drawEllipse_3( ::pPtr, pCenter, nRx, nRy )
|
||||
METHOD drawEllipse_4( pCenter, nRx, nRy ) INLINE Qt_QPainter_drawEllipse_4( ::pPtr, pCenter, nRx, nRy )
|
||||
METHOD drawImage( pTarget, pImage, pSource, nFlags ) INLINE Qt_QPainter_drawImage( ::pPtr, pTarget, pImage, pSource, nFlags )
|
||||
METHOD drawImage_1( pTarget, pImage, pSource, nFlags ) INLINE Qt_QPainter_drawImage_1( ::pPtr, pTarget, pImage, pSource, nFlags )
|
||||
METHOD drawImage_2( pPoint, pImage ) INLINE Qt_QPainter_drawImage_2( ::pPtr, pPoint, pImage )
|
||||
METHOD drawImage_3( pPoint, pImage ) INLINE Qt_QPainter_drawImage_3( ::pPtr, pPoint, pImage )
|
||||
METHOD drawImage_4( pPoint, pImage, pSource, nFlags ) INLINE Qt_QPainter_drawImage_4( ::pPtr, pPoint, pImage, pSource, nFlags )
|
||||
METHOD drawImage_5( pPoint, pImage, pSource, nFlags ) INLINE Qt_QPainter_drawImage_5( ::pPtr, pPoint, pImage, pSource, nFlags )
|
||||
METHOD drawImage_6( pRectangle, pImage ) INLINE Qt_QPainter_drawImage_6( ::pPtr, pRectangle, pImage )
|
||||
METHOD drawImage_7( pRectangle, pImage ) INLINE Qt_QPainter_drawImage_7( ::pPtr, pRectangle, pImage )
|
||||
METHOD drawImage_8( nX, nY, pImage, nSx, nSy, nSw, nSh, nFlags ) INLINE Qt_QPainter_drawImage_8( ::pPtr, nX, nY, pImage, nSx, nSy, nSw, nSh, nFlags )
|
||||
METHOD drawLine( pLine ) INLINE Qt_QPainter_drawLine( ::pPtr, pLine )
|
||||
METHOD drawLine_1( pLine ) INLINE Qt_QPainter_drawLine_1( ::pPtr, pLine )
|
||||
METHOD drawLine_2( pP1, pP2 ) INLINE Qt_QPainter_drawLine_2( ::pPtr, pP1, pP2 )
|
||||
METHOD drawLine_3( pP1, pP2 ) INLINE Qt_QPainter_drawLine_3( ::pPtr, pP1, pP2 )
|
||||
METHOD drawLine_4( nX1, nY1, nX2, nY2 ) INLINE Qt_QPainter_drawLine_4( ::pPtr, nX1, nY1, nX2, nY2 )
|
||||
METHOD drawLines( pLines, nLineCount ) INLINE Qt_QPainter_drawLines( ::pPtr, pLines, nLineCount )
|
||||
METHOD drawLines_1( pLines, nLineCount ) INLINE Qt_QPainter_drawLines_1( ::pPtr, pLines, nLineCount )
|
||||
METHOD drawLines_2( pPointPairs, nLineCount ) INLINE Qt_QPainter_drawLines_2( ::pPtr, pPointPairs, nLineCount )
|
||||
METHOD drawPie( aRectRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawPie( ::pPtr, aRectRectangle, nStartAngle, nSpanAngle )
|
||||
METHOD drawPie_1( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawPie_1( ::pPtr, nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle )
|
||||
METHOD drawPoint( aPointPosition ) INLINE Qt_QPainter_drawPoint( ::pPtr, aPointPosition )
|
||||
METHOD drawPoint_1( nX, nY ) INLINE Qt_QPainter_drawPoint_1( ::pPtr, nX, nY )
|
||||
METHOD drawLines_3( pPointPairs, nLineCount ) INLINE Qt_QPainter_drawLines_3( ::pPtr, pPointPairs, nLineCount )
|
||||
METHOD drawPath( pPath ) INLINE Qt_QPainter_drawPath( ::pPtr, pPath )
|
||||
METHOD drawPicture( pPoint, pPicture ) INLINE Qt_QPainter_drawPicture( ::pPtr, pPoint, pPicture )
|
||||
METHOD drawPicture_1( pPoint, pPicture ) INLINE Qt_QPainter_drawPicture_1( ::pPtr, pPoint, pPicture )
|
||||
METHOD drawPicture_2( nX, nY, pPicture ) INLINE Qt_QPainter_drawPicture_2( ::pPtr, nX, nY, pPicture )
|
||||
METHOD drawPie( pRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawPie( ::pPtr, pRectangle, nStartAngle, nSpanAngle )
|
||||
METHOD drawPie_1( pRectangle, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawPie_1( ::pPtr, pRectangle, nStartAngle, nSpanAngle )
|
||||
METHOD drawPie_2( nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle ) INLINE Qt_QPainter_drawPie_2( ::pPtr, nX, nY, nWidth, nHeight, nStartAngle, nSpanAngle )
|
||||
METHOD drawPixmap( pTarget, pPixmap, pSource ) INLINE Qt_QPainter_drawPixmap( ::pPtr, pTarget, pPixmap, pSource )
|
||||
METHOD drawPixmap_1( pTarget, pPixmap, pSource ) INLINE Qt_QPainter_drawPixmap_1( ::pPtr, pTarget, pPixmap, pSource )
|
||||
METHOD drawPixmap_2( pPoint, pPixmap, pSource ) INLINE Qt_QPainter_drawPixmap_2( ::pPtr, pPoint, pPixmap, pSource )
|
||||
METHOD drawPixmap_3( pPoint, pPixmap, pSource ) INLINE Qt_QPainter_drawPixmap_3( ::pPtr, pPoint, pPixmap, pSource )
|
||||
METHOD drawPixmap_4( pPoint, pPixmap ) INLINE Qt_QPainter_drawPixmap_4( ::pPtr, pPoint, pPixmap )
|
||||
METHOD drawPixmap_5( pPoint, pPixmap ) INLINE Qt_QPainter_drawPixmap_5( ::pPtr, pPoint, pPixmap )
|
||||
METHOD drawPixmap_6( nX, nY, pPixmap ) INLINE Qt_QPainter_drawPixmap_6( ::pPtr, nX, nY, pPixmap )
|
||||
METHOD drawPixmap_7( pRectangle, pPixmap ) INLINE Qt_QPainter_drawPixmap_7( ::pPtr, pRectangle, pPixmap )
|
||||
METHOD drawPixmap_8( nX, nY, nWidth, nHeight, pPixmap ) INLINE Qt_QPainter_drawPixmap_8( ::pPtr, nX, nY, nWidth, nHeight, pPixmap )
|
||||
METHOD drawPixmap_9( nX, nY, nW, nH, pPixmap, nSx, nSy, nSw, nSh ) INLINE Qt_QPainter_drawPixmap_9( ::pPtr, nX, nY, nW, nH, pPixmap, nSx, nSy, nSw, nSh )
|
||||
METHOD drawPixmap_10( nX, nY, pPixmap, nSx, nSy, nSw, nSh ) INLINE Qt_QPainter_drawPixmap_10( ::pPtr, nX, nY, pPixmap, nSx, nSy, nSw, nSh )
|
||||
METHOD drawPoint( pPosition ) INLINE Qt_QPainter_drawPoint( ::pPtr, pPosition )
|
||||
METHOD drawPoint_1( pPosition ) INLINE Qt_QPainter_drawPoint_1( ::pPtr, pPosition )
|
||||
METHOD drawPoint_2( nX, nY ) INLINE Qt_QPainter_drawPoint_2( ::pPtr, nX, nY )
|
||||
METHOD drawPoints( pPoints, nPointCount ) INLINE Qt_QPainter_drawPoints( ::pPtr, pPoints, nPointCount )
|
||||
METHOD drawPoints_1( pPoints, nPointCount ) INLINE Qt_QPainter_drawPoints_1( ::pPtr, pPoints, nPointCount )
|
||||
METHOD drawPoints_2( pPoints ) INLINE Qt_QPainter_drawPoints_2( ::pPtr, pPoints )
|
||||
METHOD drawPoints_3( pPoints ) INLINE Qt_QPainter_drawPoints_3( ::pPtr, pPoints )
|
||||
METHOD drawPolygon( pPoints, nPointCount, nFillRule ) INLINE Qt_QPainter_drawPolygon( ::pPtr, pPoints, nPointCount, nFillRule )
|
||||
METHOD drawPolygon_1( pPoints, nPointCount, nFillRule ) INLINE Qt_QPainter_drawPolygon_1( ::pPtr, pPoints, nPointCount, nFillRule )
|
||||
METHOD drawPolygon_2( pPoints, nFillRule ) INLINE Qt_QPainter_drawPolygon_2( ::pPtr, pPoints, nFillRule )
|
||||
METHOD drawPolygon_3( pPoints, nFillRule ) INLINE Qt_QPainter_drawPolygon_3( ::pPtr, pPoints, nFillRule )
|
||||
METHOD drawPolyline( pPoints, nPointCount ) INLINE Qt_QPainter_drawPolyline( ::pPtr, pPoints, nPointCount )
|
||||
METHOD drawRect( aRectRectangle ) INLINE Qt_QPainter_drawRect( ::pPtr, aRectRectangle )
|
||||
METHOD drawRect_1( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_drawRect_1( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD drawPolyline_1( pPoints, nPointCount ) INLINE Qt_QPainter_drawPolyline_1( ::pPtr, pPoints, nPointCount )
|
||||
METHOD drawPolyline_2( pPoints ) INLINE Qt_QPainter_drawPolyline_2( ::pPtr, pPoints )
|
||||
METHOD drawPolyline_3( pPoints ) INLINE Qt_QPainter_drawPolyline_3( ::pPtr, pPoints )
|
||||
METHOD drawRect( pRectangle ) INLINE Qt_QPainter_drawRect( ::pPtr, pRectangle )
|
||||
METHOD drawRect_1( pRectangle ) INLINE Qt_QPainter_drawRect_1( ::pPtr, pRectangle )
|
||||
METHOD drawRect_2( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_drawRect_2( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD drawRects( pRectangles, nRectCount ) INLINE Qt_QPainter_drawRects( ::pPtr, pRectangles, nRectCount )
|
||||
METHOD drawRoundedRect( aRectRect, nXRadius, nYRadius, nMode ) INLINE Qt_QPainter_drawRoundedRect( ::pPtr, aRectRect, nXRadius, nYRadius, nMode )
|
||||
METHOD drawRoundedRect_1( nX, nY, nW, nH, nXRadius, nYRadius, nMode ) INLINE Qt_QPainter_drawRoundedRect_1( ::pPtr, nX, nY, nW, nH, nXRadius, nYRadius, nMode )
|
||||
METHOD drawText( aPointPosition, cText ) INLINE Qt_QPainter_drawText( ::pPtr, aPointPosition, cText )
|
||||
METHOD drawText_1( nX, nY, cText ) INLINE Qt_QPainter_drawText_1( ::pPtr, nX, nY, cText )
|
||||
METHOD drawRects_1( pRectangles, nRectCount ) INLINE Qt_QPainter_drawRects_1( ::pPtr, pRectangles, nRectCount )
|
||||
METHOD drawRoundedRect( pRect, nXRadius, nYRadius, nMode ) INLINE Qt_QPainter_drawRoundedRect( ::pPtr, pRect, nXRadius, nYRadius, nMode )
|
||||
METHOD drawRoundedRect_1( pRect, nXRadius, nYRadius, nMode ) INLINE Qt_QPainter_drawRoundedRect_1( ::pPtr, pRect, nXRadius, nYRadius, nMode )
|
||||
METHOD drawRoundedRect_2( nX, nY, nW, nH, nXRadius, nYRadius, nMode ) INLINE Qt_QPainter_drawRoundedRect_2( ::pPtr, nX, nY, nW, nH, nXRadius, nYRadius, nMode )
|
||||
METHOD drawText( pPosition, cText ) INLINE Qt_QPainter_drawText( ::pPtr, pPosition, cText )
|
||||
METHOD drawText_1( pPosition, cText ) INLINE Qt_QPainter_drawText_1( ::pPtr, pPosition, cText )
|
||||
METHOD drawText_2( pRectangle, nFlags, cText, pBoundingRect ) INLINE Qt_QPainter_drawText_2( ::pPtr, pRectangle, nFlags, cText, pBoundingRect )
|
||||
METHOD drawText_3( pRectangle, nFlags, cText, pBoundingRect ) INLINE Qt_QPainter_drawText_3( ::pPtr, pRectangle, nFlags, cText, pBoundingRect )
|
||||
METHOD drawText_4( nX, nY, cText ) INLINE Qt_QPainter_drawText_4( ::pPtr, nX, nY, cText )
|
||||
METHOD drawText_5( nX, nY, nWidth, nHeight, nFlags, cText, pBoundingRect ) INLINE Qt_QPainter_drawText_5( ::pPtr, nX, nY, nWidth, nHeight, nFlags, cText, pBoundingRect )
|
||||
METHOD drawText_6( pRectangle, cText, pOption ) INLINE Qt_QPainter_drawText_6( ::pPtr, pRectangle, cText, pOption )
|
||||
METHOD drawTiledPixmap( pRectangle, pPixmap, pPosition ) INLINE Qt_QPainter_drawTiledPixmap( ::pPtr, pRectangle, pPixmap, pPosition )
|
||||
METHOD drawTiledPixmap_1( pRectangle, pPixmap, pPosition ) INLINE Qt_QPainter_drawTiledPixmap_1( ::pPtr, pRectangle, pPixmap, pPosition )
|
||||
METHOD drawTiledPixmap_2( nX, nY, nWidth, nHeight, pPixmap, nSx, nSy ) INLINE Qt_QPainter_drawTiledPixmap_2( ::pPtr, nX, nY, nWidth, nHeight, pPixmap, nSx, nSy )
|
||||
METHOD end() INLINE Qt_QPainter_end( ::pPtr )
|
||||
METHOD eraseRect( aRectRectangle ) INLINE Qt_QPainter_eraseRect( ::pPtr, aRectRectangle )
|
||||
METHOD eraseRect_1( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_eraseRect_1( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD fillRect( nX, nY, nWidth, nHeight, nStyle ) INLINE Qt_QPainter_fillRect( ::pPtr, nX, nY, nWidth, nHeight, nStyle )
|
||||
METHOD fillRect_1( aRectRectangle, nStyle ) INLINE Qt_QPainter_fillRect_1( ::pPtr, aRectRectangle, nStyle )
|
||||
METHOD fillRect_2( nX, nY, nWidth, nHeight, nColor ) INLINE Qt_QPainter_fillRect_2( ::pPtr, nX, nY, nWidth, nHeight, nColor )
|
||||
METHOD fillRect_3( aRectRectangle, nColor ) INLINE Qt_QPainter_fillRect_3( ::pPtr, aRectRectangle, nColor )
|
||||
METHOD eraseRect( pRectangle ) INLINE Qt_QPainter_eraseRect( ::pPtr, pRectangle )
|
||||
METHOD eraseRect_1( pRectangle ) INLINE Qt_QPainter_eraseRect_1( ::pPtr, pRectangle )
|
||||
METHOD eraseRect_2( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_eraseRect_2( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD fillPath( pPath, pBrush ) INLINE Qt_QPainter_fillPath( ::pPtr, pPath, pBrush )
|
||||
METHOD fillRect( pRectangle, pBrush ) INLINE Qt_QPainter_fillRect( ::pPtr, pRectangle, pBrush )
|
||||
METHOD fillRect_1( nX, nY, nWidth, nHeight, nStyle ) INLINE Qt_QPainter_fillRect_1( ::pPtr, nX, nY, nWidth, nHeight, nStyle )
|
||||
METHOD fillRect_2( pRectangle, nStyle ) INLINE Qt_QPainter_fillRect_2( ::pPtr, pRectangle, nStyle )
|
||||
METHOD fillRect_3( pRectangle, nStyle ) INLINE Qt_QPainter_fillRect_3( ::pPtr, pRectangle, nStyle )
|
||||
METHOD fillRect_4( pRectangle, pBrush ) INLINE Qt_QPainter_fillRect_4( ::pPtr, pRectangle, pBrush )
|
||||
METHOD fillRect_5( pRectangle, pColor ) INLINE Qt_QPainter_fillRect_5( ::pPtr, pRectangle, pColor )
|
||||
METHOD fillRect_6( pRectangle, pColor ) INLINE Qt_QPainter_fillRect_6( ::pPtr, pRectangle, pColor )
|
||||
METHOD fillRect_7( nX, nY, nWidth, nHeight, pBrush ) INLINE Qt_QPainter_fillRect_7( ::pPtr, nX, nY, nWidth, nHeight, pBrush )
|
||||
METHOD fillRect_8( nX, nY, nWidth, nHeight, pColor ) INLINE Qt_QPainter_fillRect_8( ::pPtr, nX, nY, nWidth, nHeight, pColor )
|
||||
METHOD fillRect_9( nX, nY, nWidth, nHeight, nColor ) INLINE Qt_QPainter_fillRect_9( ::pPtr, nX, nY, nWidth, nHeight, nColor )
|
||||
METHOD fillRect_10( pRectangle, nColor ) INLINE Qt_QPainter_fillRect_10( ::pPtr, pRectangle, nColor )
|
||||
METHOD fillRect_11( pRectangle, nColor ) INLINE Qt_QPainter_fillRect_11( ::pPtr, pRectangle, nColor )
|
||||
METHOD font() INLINE Qt_QPainter_font( ::pPtr )
|
||||
METHOD fontInfo() INLINE Qt_QPainter_fontInfo( ::pPtr )
|
||||
METHOD fontMetrics() INLINE Qt_QPainter_fontMetrics( ::pPtr )
|
||||
METHOD hasClipping() INLINE Qt_QPainter_hasClipping( ::pPtr )
|
||||
METHOD initFrom( pWidget ) INLINE Qt_QPainter_initFrom( ::pPtr, pWidget )
|
||||
METHOD isActive() INLINE Qt_QPainter_isActive( ::pPtr )
|
||||
METHOD layoutDirection() INLINE Qt_QPainter_layoutDirection( ::pPtr )
|
||||
METHOD opacity() INLINE Qt_QPainter_opacity( ::pPtr )
|
||||
METHOD paintEngine() INLINE Qt_QPainter_paintEngine( ::pPtr )
|
||||
METHOD pen() INLINE Qt_QPainter_pen( ::pPtr )
|
||||
METHOD renderHints() INLINE Qt_QPainter_renderHints( ::pPtr )
|
||||
METHOD resetMatrix() INLINE Qt_QPainter_resetMatrix( ::pPtr )
|
||||
METHOD resetTransform() INLINE Qt_QPainter_resetTransform( ::pPtr )
|
||||
METHOD restore() INLINE Qt_QPainter_restore( ::pPtr )
|
||||
METHOD rotate( nAngle ) INLINE Qt_QPainter_rotate( ::pPtr, nAngle )
|
||||
METHOD save() INLINE Qt_QPainter_save( ::pPtr )
|
||||
METHOD scale( nSx, nSy ) INLINE Qt_QPainter_scale( ::pPtr, nSx, nSy )
|
||||
METHOD setBackground( pBrush ) INLINE Qt_QPainter_setBackground( ::pPtr, pBrush )
|
||||
METHOD setBackgroundMode( nMode ) INLINE Qt_QPainter_setBackgroundMode( ::pPtr, nMode )
|
||||
METHOD setBrush( nStyle ) INLINE Qt_QPainter_setBrush( ::pPtr, nStyle )
|
||||
METHOD setBrushOrigin( aPointPosition ) INLINE Qt_QPainter_setBrushOrigin( ::pPtr, aPointPosition )
|
||||
METHOD setBrushOrigin_1( nX, nY ) INLINE Qt_QPainter_setBrushOrigin_1( ::pPtr, nX, nY )
|
||||
METHOD setClipRect( nX, nY, nWidth, nHeight, nOperation ) INLINE Qt_QPainter_setClipRect( ::pPtr, nX, nY, nWidth, nHeight, nOperation )
|
||||
METHOD setClipRect_1( aRectRectangle, nOperation ) INLINE Qt_QPainter_setClipRect_1( ::pPtr, aRectRectangle, nOperation )
|
||||
METHOD setBrush( pBrush ) INLINE Qt_QPainter_setBrush( ::pPtr, pBrush )
|
||||
METHOD setBrush_1( nStyle ) INLINE Qt_QPainter_setBrush_1( ::pPtr, nStyle )
|
||||
METHOD setBrushOrigin( pPosition ) INLINE Qt_QPainter_setBrushOrigin( ::pPtr, pPosition )
|
||||
METHOD setBrushOrigin_1( pPosition ) INLINE Qt_QPainter_setBrushOrigin_1( ::pPtr, pPosition )
|
||||
METHOD setBrushOrigin_2( nX, nY ) INLINE Qt_QPainter_setBrushOrigin_2( ::pPtr, nX, nY )
|
||||
METHOD setClipPath( pPath, nOperation ) INLINE Qt_QPainter_setClipPath( ::pPtr, pPath, nOperation )
|
||||
METHOD setClipRect( pRectangle, nOperation ) INLINE Qt_QPainter_setClipRect( ::pPtr, pRectangle, nOperation )
|
||||
METHOD setClipRect_1( nX, nY, nWidth, nHeight, nOperation ) INLINE Qt_QPainter_setClipRect_1( ::pPtr, nX, nY, nWidth, nHeight, nOperation )
|
||||
METHOD setClipRect_2( pRectangle, nOperation ) INLINE Qt_QPainter_setClipRect_2( ::pPtr, pRectangle, nOperation )
|
||||
METHOD setClipRegion( pRegion, nOperation ) INLINE Qt_QPainter_setClipRegion( ::pPtr, pRegion, nOperation )
|
||||
METHOD setClipping( lEnable ) INLINE Qt_QPainter_setClipping( ::pPtr, lEnable )
|
||||
METHOD setCompositionMode( nCompositionMode ) INLINE Qt_QPainter_setCompositionMode( ::pPtr, nCompositionMode )
|
||||
METHOD setCompositionMode( nMode ) INLINE Qt_QPainter_setCompositionMode( ::pPtr, nMode )
|
||||
METHOD setFont( pFont ) INLINE Qt_QPainter_setFont( ::pPtr, pFont )
|
||||
METHOD setLayoutDirection( nDirection ) INLINE Qt_QPainter_setLayoutDirection( ::pPtr, nDirection )
|
||||
METHOD setOpacity( nOpacity ) INLINE Qt_QPainter_setOpacity( ::pPtr, nOpacity )
|
||||
METHOD setPen( nStyle ) INLINE Qt_QPainter_setPen( ::pPtr, nStyle )
|
||||
METHOD setRenderHint( nRenderHint, lOn ) INLINE Qt_QPainter_setRenderHint( ::pPtr, nRenderHint, lOn )
|
||||
METHOD setPen( pPen ) INLINE Qt_QPainter_setPen( ::pPtr, pPen )
|
||||
METHOD setPen_1( pColor ) INLINE Qt_QPainter_setPen_1( ::pPtr, pColor )
|
||||
METHOD setPen_2( nStyle ) INLINE Qt_QPainter_setPen_2( ::pPtr, nStyle )
|
||||
METHOD setRenderHint( nHint, lOn ) INLINE Qt_QPainter_setRenderHint( ::pPtr, nHint, lOn )
|
||||
METHOD setRenderHints( nHints, lOn ) INLINE Qt_QPainter_setRenderHints( ::pPtr, nHints, lOn )
|
||||
METHOD setTransform( pTransform, lCombine ) INLINE Qt_QPainter_setTransform( ::pPtr, pTransform, lCombine )
|
||||
METHOD setViewTransformEnabled( lEnable ) INLINE Qt_QPainter_setViewTransformEnabled( ::pPtr, lEnable )
|
||||
METHOD setViewport( aRectRectangle ) INLINE Qt_QPainter_setViewport( ::pPtr, aRectRectangle )
|
||||
METHOD setViewport( pRectangle ) INLINE Qt_QPainter_setViewport( ::pPtr, pRectangle )
|
||||
METHOD setViewport_1( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_setViewport_1( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD setWindow( aRectRectangle ) INLINE Qt_QPainter_setWindow( ::pPtr, aRectRectangle )
|
||||
METHOD setWindow( pRectangle ) INLINE Qt_QPainter_setWindow( ::pPtr, pRectangle )
|
||||
METHOD setWindow_1( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_setWindow_1( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD setWorldMatrix( pMatrix, lCombine ) INLINE Qt_QPainter_setWorldMatrix( ::pPtr, pMatrix, lCombine )
|
||||
METHOD setWorldMatrixEnabled( lEnable ) INLINE Qt_QPainter_setWorldMatrixEnabled( ::pPtr, lEnable )
|
||||
METHOD setWorldTransform( pMatrix, lCombine ) INLINE Qt_QPainter_setWorldTransform( ::pPtr, pMatrix, lCombine )
|
||||
METHOD shear( nSh, nSv ) INLINE Qt_QPainter_shear( ::pPtr, nSh, nSv )
|
||||
METHOD testRenderHint( nRenderHint ) INLINE Qt_QPainter_testRenderHint( ::pPtr, nRenderHint )
|
||||
METHOD translate( aPointOffset ) INLINE Qt_QPainter_translate( ::pPtr, aPointOffset )
|
||||
METHOD translate_1( nDx, nDy ) INLINE Qt_QPainter_translate_1( ::pPtr, nDx, nDy )
|
||||
METHOD strokePath( pPath, pPen ) INLINE Qt_QPainter_strokePath( ::pPtr, pPath, pPen )
|
||||
METHOD testRenderHint( nHint ) INLINE Qt_QPainter_testRenderHint( ::pPtr, nHint )
|
||||
METHOD transform() INLINE Qt_QPainter_transform( ::pPtr )
|
||||
METHOD translate( pOffset ) INLINE Qt_QPainter_translate( ::pPtr, pOffset )
|
||||
METHOD translate_1( pOffset ) INLINE Qt_QPainter_translate_1( ::pPtr, pOffset )
|
||||
METHOD translate_2( nDx, nDy ) INLINE Qt_QPainter_translate_2( ::pPtr, nDx, nDy )
|
||||
METHOD viewTransformEnabled() INLINE Qt_QPainter_viewTransformEnabled( ::pPtr )
|
||||
METHOD viewport() INLINE Qt_QPainter_viewport( ::pPtr )
|
||||
METHOD window() INLINE Qt_QPainter_window( ::pPtr )
|
||||
METHOD worldMatrix() INLINE Qt_QPainter_worldMatrix( ::pPtr )
|
||||
METHOD worldMatrixEnabled() INLINE Qt_QPainter_worldMatrixEnabled( ::pPtr )
|
||||
METHOD worldTransform() INLINE Qt_QPainter_worldTransform( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -148,6 +249,8 @@ CLASS QPainter
|
||||
|
||||
METHOD New( pParent ) CLASS QPainter
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QPainter( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
101
harbour/contrib/hbqt/TQPen.prg
Normal file
101
harbour/contrib/hbqt/TQPen.prg
Normal file
@@ -0,0 +1,101 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QPen
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD brush() INLINE Qt_QPen_brush( ::pPtr )
|
||||
METHOD capStyle() INLINE Qt_QPen_capStyle( ::pPtr )
|
||||
METHOD color() INLINE Qt_QPen_color( ::pPtr )
|
||||
METHOD dashOffset() INLINE Qt_QPen_dashOffset( ::pPtr )
|
||||
METHOD isCosmetic() INLINE Qt_QPen_isCosmetic( ::pPtr )
|
||||
METHOD isSolid() INLINE Qt_QPen_isSolid( ::pPtr )
|
||||
METHOD joinStyle() INLINE Qt_QPen_joinStyle( ::pPtr )
|
||||
METHOD miterLimit() INLINE Qt_QPen_miterLimit( ::pPtr )
|
||||
METHOD setBrush( pBrush ) INLINE Qt_QPen_setBrush( ::pPtr, pBrush )
|
||||
METHOD setCapStyle( nStyle ) INLINE Qt_QPen_setCapStyle( ::pPtr, nStyle )
|
||||
METHOD setColor( pColor ) INLINE Qt_QPen_setColor( ::pPtr, pColor )
|
||||
METHOD setCosmetic( lCosmetic ) INLINE Qt_QPen_setCosmetic( ::pPtr, lCosmetic )
|
||||
METHOD setDashOffset( nOffset ) INLINE Qt_QPen_setDashOffset( ::pPtr, nOffset )
|
||||
METHOD setJoinStyle( nStyle ) INLINE Qt_QPen_setJoinStyle( ::pPtr, nStyle )
|
||||
METHOD setMiterLimit( nLimit ) INLINE Qt_QPen_setMiterLimit( ::pPtr, nLimit )
|
||||
METHOD setStyle( nStyle ) INLINE Qt_QPen_setStyle( ::pPtr, nStyle )
|
||||
METHOD setWidth( nWidth ) INLINE Qt_QPen_setWidth( ::pPtr, nWidth )
|
||||
METHOD setWidthF( nWidth ) INLINE Qt_QPen_setWidthF( ::pPtr, nWidth )
|
||||
METHOD style() INLINE Qt_QPen_style( ::pPtr )
|
||||
METHOD width() INLINE Qt_QPen_width( ::pPtr )
|
||||
METHOD widthF() INLINE Qt_QPen_widthF( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QPen
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QPen( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
115
harbour/contrib/hbqt/TQPixmap.prg
Normal file
115
harbour/contrib/hbqt/TQPixmap.prg
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QPixmap INHERIT QPaintDevice
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD alphaChannel() INLINE Qt_QPixmap_alphaChannel( ::pPtr )
|
||||
METHOD cacheKey() INLINE Qt_QPixmap_cacheKey( ::pPtr )
|
||||
METHOD copy( pRectangle ) INLINE Qt_QPixmap_copy( ::pPtr, pRectangle )
|
||||
METHOD copy_1( nX, nY, nWidth, nHeight ) INLINE Qt_QPixmap_copy_1( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD createHeuristicMask( lClipTight ) INLINE Qt_QPixmap_createHeuristicMask( ::pPtr, lClipTight )
|
||||
METHOD createMaskFromColor( pMaskColor, nMode ) INLINE Qt_QPixmap_createMaskFromColor( ::pPtr, pMaskColor, nMode )
|
||||
METHOD createMaskFromColor_1( pMaskColor ) INLINE Qt_QPixmap_createMaskFromColor_1( ::pPtr, pMaskColor )
|
||||
METHOD depth() INLINE Qt_QPixmap_depth( ::pPtr )
|
||||
METHOD detach() INLINE Qt_QPixmap_detach( ::pPtr )
|
||||
METHOD fill( pColor ) INLINE Qt_QPixmap_fill( ::pPtr, pColor )
|
||||
METHOD fill_1( pWidget, pOffset ) INLINE Qt_QPixmap_fill_1( ::pPtr, pWidget, pOffset )
|
||||
METHOD fill_2( pWidget, nX, nY ) INLINE Qt_QPixmap_fill_2( ::pPtr, pWidget, nX, nY )
|
||||
METHOD hasAlpha() INLINE Qt_QPixmap_hasAlpha( ::pPtr )
|
||||
METHOD hasAlphaChannel() INLINE Qt_QPixmap_hasAlphaChannel( ::pPtr )
|
||||
METHOD height() INLINE Qt_QPixmap_height( ::pPtr )
|
||||
METHOD isNull() INLINE Qt_QPixmap_isNull( ::pPtr )
|
||||
METHOD isQBitmap() INLINE Qt_QPixmap_isQBitmap( ::pPtr )
|
||||
METHOD load( cFileName, pFormat, nFlags ) INLINE Qt_QPixmap_load( ::pPtr, cFileName, pFormat, nFlags )
|
||||
METHOD loadFromData( pData, pFormat, nFlags ) INLINE Qt_QPixmap_loadFromData( ::pPtr, pData, pFormat, nFlags )
|
||||
METHOD mask() INLINE Qt_QPixmap_mask( ::pPtr )
|
||||
METHOD rect() INLINE Qt_QPixmap_rect( ::pPtr )
|
||||
METHOD save( cFileName, pFormat, nQuality ) INLINE Qt_QPixmap_save( ::pPtr, cFileName, pFormat, nQuality )
|
||||
METHOD save_1( pDevice, pFormat, nQuality ) INLINE Qt_QPixmap_save_1( ::pPtr, pDevice, pFormat, nQuality )
|
||||
METHOD scaled( pSize, nAspectRatioMode, nTransformMode ) INLINE Qt_QPixmap_scaled( ::pPtr, pSize, nAspectRatioMode, nTransformMode )
|
||||
METHOD scaled_1( nWidth, nHeight, nAspectRatioMode, nTransformMode ) INLINE Qt_QPixmap_scaled_1( ::pPtr, nWidth, nHeight, nAspectRatioMode, nTransformMode )
|
||||
METHOD scaledToHeight( nHeight, nMode ) INLINE Qt_QPixmap_scaledToHeight( ::pPtr, nHeight, nMode )
|
||||
METHOD scaledToWidth( nWidth, nMode ) INLINE Qt_QPixmap_scaledToWidth( ::pPtr, nWidth, nMode )
|
||||
METHOD setAlphaChannel( pAlphaChannel ) INLINE Qt_QPixmap_setAlphaChannel( ::pPtr, pAlphaChannel )
|
||||
METHOD setMask( pMask ) INLINE Qt_QPixmap_setMask( ::pPtr, pMask )
|
||||
METHOD size() INLINE Qt_QPixmap_size( ::pPtr )
|
||||
METHOD toImage() INLINE Qt_QPixmap_toImage( ::pPtr )
|
||||
METHOD toWinHBITMAP( nFormat ) INLINE Qt_QPixmap_toWinHBITMAP( ::pPtr, nFormat )
|
||||
METHOD transformed( pTransform, nMode ) INLINE Qt_QPixmap_transformed( ::pPtr, pTransform, nMode )
|
||||
METHOD transformed_1( pMatrix, nMode ) INLINE Qt_QPixmap_transformed_1( ::pPtr, pMatrix, nMode )
|
||||
METHOD width() INLINE Qt_QPixmap_width( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QPixmap
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QPixmap( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
88
harbour/contrib/hbqt/TQPoint.prg
Normal file
88
harbour/contrib/hbqt/TQPoint.prg
Normal file
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QPoint
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD isNull() INLINE Qt_QPoint_isNull( ::pPtr )
|
||||
METHOD manhattanLength() INLINE Qt_QPoint_manhattanLength( ::pPtr )
|
||||
METHOD rx() INLINE Qt_QPoint_rx( ::pPtr )
|
||||
METHOD ry() INLINE Qt_QPoint_ry( ::pPtr )
|
||||
METHOD setX( nX ) INLINE Qt_QPoint_setX( ::pPtr, nX )
|
||||
METHOD setY( nY ) INLINE Qt_QPoint_setY( ::pPtr, nY )
|
||||
METHOD x() INLINE Qt_QPoint_x( ::pPtr )
|
||||
METHOD y() INLINE Qt_QPoint_y( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QPoint
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QPoint( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
88
harbour/contrib/hbqt/TQPointF.prg
Normal file
88
harbour/contrib/hbqt/TQPointF.prg
Normal file
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QPointF
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD isNull() INLINE Qt_QPointF_isNull( ::pPtr )
|
||||
METHOD rx() INLINE Qt_QPointF_rx( ::pPtr )
|
||||
METHOD ry() INLINE Qt_QPointF_ry( ::pPtr )
|
||||
METHOD setX( nX ) INLINE Qt_QPointF_setX( ::pPtr, nX )
|
||||
METHOD setY( nY ) INLINE Qt_QPointF_setY( ::pPtr, nY )
|
||||
METHOD toPoint() INLINE Qt_QPointF_toPoint( ::pPtr )
|
||||
METHOD x() INLINE Qt_QPointF_x( ::pPtr )
|
||||
METHOD y() INLINE Qt_QPointF_y( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QPointF
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QPointF( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QPrintDialog INHERIT QAbstractPrintDialog
|
||||
CREATE CLASS QPrintDialog INHERIT QAbstractPrintDialog
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -67,10 +68,10 @@ CLASS QPrintDialog INHERIT QAbstractPrintDialog
|
||||
METHOD options() INLINE Qt_QPrintDialog_options( ::pPtr )
|
||||
METHOD printer() INLINE Qt_QPrintDialog_printer( ::pPtr )
|
||||
METHOD printer_1() INLINE Qt_QPrintDialog_printer_1( ::pPtr )
|
||||
METHOD setOption( nPrintDialogOption, lOn ) INLINE Qt_QPrintDialog_setOption( ::pPtr, nPrintDialogOption, lOn )
|
||||
METHOD setOptions( nPrintDialogOptions ) INLINE Qt_QPrintDialog_setOptions( ::pPtr, nPrintDialogOptions )
|
||||
METHOD setOption( nOption, lOn ) INLINE Qt_QPrintDialog_setOption( ::pPtr, nOption, lOn )
|
||||
METHOD setOptions( nOptions ) INLINE Qt_QPrintDialog_setOptions( ::pPtr, nOptions )
|
||||
METHOD setVisible( lVisible ) INLINE Qt_QPrintDialog_setVisible( ::pPtr, lVisible )
|
||||
METHOD testOption( nPrintDialogOption ) INLINE Qt_QPrintDialog_testOption( ::pPtr, nPrintDialogOption )
|
||||
METHOD testOption( nOption ) INLINE Qt_QPrintDialog_testOption( ::pPtr, nOption )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -78,6 +79,8 @@ CLASS QPrintDialog INHERIT QAbstractPrintDialog
|
||||
|
||||
METHOD New( pParent ) CLASS QPrintDialog
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QPrintDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QPrintPreviewDialog INHERIT QDialog
|
||||
CREATE CLASS QPrintPreviewDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -71,6 +72,8 @@ CLASS QPrintPreviewDialog INHERIT QDialog
|
||||
|
||||
METHOD New( pParent ) CLASS QPrintPreviewDialog
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QPrintPreviewDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QProgressBar INHERIT QWidget
|
||||
CREATE CLASS QProgressBar INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -77,6 +78,12 @@ CLASS QProgressBar INHERIT QWidget
|
||||
METHOD text() INLINE Qt_QProgressBar_text( ::pPtr )
|
||||
METHOD textDirection() INLINE Qt_QProgressBar_textDirection( ::pPtr )
|
||||
METHOD value() INLINE Qt_QProgressBar_value( ::pPtr )
|
||||
METHOD reset() INLINE Qt_QProgressBar_reset( ::pPtr )
|
||||
METHOD setMaximum( nMaximum ) INLINE Qt_QProgressBar_setMaximum( ::pPtr, nMaximum )
|
||||
METHOD setMinimum( nMinimum ) INLINE Qt_QProgressBar_setMinimum( ::pPtr, nMinimum )
|
||||
METHOD setOrientation( nQt_Orientation ) INLINE Qt_QProgressBar_setOrientation( ::pPtr, nQt_Orientation )
|
||||
METHOD setRange( nMinimum, nMaximum ) INLINE Qt_QProgressBar_setRange( ::pPtr, nMinimum, nMaximum )
|
||||
METHOD setValue( nValue ) INLINE Qt_QProgressBar_setValue( ::pPtr, nValue )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -84,6 +91,8 @@ CLASS QProgressBar INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QProgressBar
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QProgressBar( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QProgressDialog INHERIT QDialog
|
||||
CREATE CLASS QProgressDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -93,6 +94,8 @@ CLASS QProgressDialog INHERIT QDialog
|
||||
|
||||
METHOD New( pParent ) CLASS QProgressDialog
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QProgressDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QPushButton INHERIT QAbstractButton
|
||||
CREATE CLASS QPushButton INHERIT QAbstractButton
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -70,6 +71,7 @@ CLASS QPushButton INHERIT QAbstractButton
|
||||
METHOD setDefault( lBool ) INLINE Qt_QPushButton_setDefault( ::pPtr, lBool )
|
||||
METHOD setFlat( lBool ) INLINE Qt_QPushButton_setFlat( ::pPtr, lBool )
|
||||
METHOD setMenu( pMenu ) INLINE Qt_QPushButton_setMenu( ::pPtr, pMenu )
|
||||
METHOD showMenu() INLINE Qt_QPushButton_showMenu( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -77,6 +79,8 @@ CLASS QPushButton INHERIT QAbstractButton
|
||||
|
||||
METHOD New( pParent ) CLASS QPushButton
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QPushButton( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QRadioButton INHERIT QAbstractButton
|
||||
CREATE CLASS QRadioButton INHERIT QAbstractButton
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -69,6 +70,8 @@ CLASS QRadioButton INHERIT QAbstractButton
|
||||
|
||||
METHOD New( pParent ) CLASS QRadioButton
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QRadioButton( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
139
harbour/contrib/hbqt/TQRect.prg
Normal file
139
harbour/contrib/hbqt/TQRect.prg
Normal file
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QRect
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD adjust( nDx1, nDy1, nDx2, nDy2 ) INLINE Qt_QRect_adjust( ::pPtr, nDx1, nDy1, nDx2, nDy2 )
|
||||
METHOD adjusted( nDx1, nDy1, nDx2, nDy2 ) INLINE Qt_QRect_adjusted( ::pPtr, nDx1, nDy1, nDx2, nDy2 )
|
||||
METHOD bottom() INLINE Qt_QRect_bottom( ::pPtr )
|
||||
METHOD bottomLeft() INLINE Qt_QRect_bottomLeft( ::pPtr )
|
||||
METHOD bottomRight() INLINE Qt_QRect_bottomRight( ::pPtr )
|
||||
METHOD center() INLINE Qt_QRect_center( ::pPtr )
|
||||
METHOD contains( pPoint, lProper ) INLINE Qt_QRect_contains( ::pPtr, pPoint, lProper )
|
||||
METHOD contains_1( nX, nY, lProper ) INLINE Qt_QRect_contains_1( ::pPtr, nX, nY, lProper )
|
||||
METHOD contains_2( nX, nY ) INLINE Qt_QRect_contains_2( ::pPtr, nX, nY )
|
||||
METHOD contains_3( pRectangle, lProper ) INLINE Qt_QRect_contains_3( ::pPtr, pRectangle, lProper )
|
||||
METHOD getCoords( nX1, nY1, nX2, nY2 ) INLINE Qt_QRect_getCoords( ::pPtr, nX1, nY1, nX2, nY2 )
|
||||
METHOD getRect( nX, nY, nWidth, nHeight ) INLINE Qt_QRect_getRect( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD height() INLINE Qt_QRect_height( ::pPtr )
|
||||
METHOD intersected( pRectangle ) INLINE Qt_QRect_intersected( ::pPtr, pRectangle )
|
||||
METHOD intersects( pRectangle ) INLINE Qt_QRect_intersects( ::pPtr, pRectangle )
|
||||
METHOD isEmpty() INLINE Qt_QRect_isEmpty( ::pPtr )
|
||||
METHOD isNull() INLINE Qt_QRect_isNull( ::pPtr )
|
||||
METHOD isValid() INLINE Qt_QRect_isValid( ::pPtr )
|
||||
METHOD left() INLINE Qt_QRect_left( ::pPtr )
|
||||
METHOD moveBottom( nY ) INLINE Qt_QRect_moveBottom( ::pPtr, nY )
|
||||
METHOD moveBottomLeft( pPosition ) INLINE Qt_QRect_moveBottomLeft( ::pPtr, pPosition )
|
||||
METHOD moveBottomRight( pPosition ) INLINE Qt_QRect_moveBottomRight( ::pPtr, pPosition )
|
||||
METHOD moveCenter( pPosition ) INLINE Qt_QRect_moveCenter( ::pPtr, pPosition )
|
||||
METHOD moveLeft( nX ) INLINE Qt_QRect_moveLeft( ::pPtr, nX )
|
||||
METHOD moveRight( nX ) INLINE Qt_QRect_moveRight( ::pPtr, nX )
|
||||
METHOD moveTo( nX, nY ) INLINE Qt_QRect_moveTo( ::pPtr, nX, nY )
|
||||
METHOD moveTo_1( pPosition ) INLINE Qt_QRect_moveTo_1( ::pPtr, pPosition )
|
||||
METHOD moveTop( nY ) INLINE Qt_QRect_moveTop( ::pPtr, nY )
|
||||
METHOD moveTopLeft( pPosition ) INLINE Qt_QRect_moveTopLeft( ::pPtr, pPosition )
|
||||
METHOD moveTopRight( pPosition ) INLINE Qt_QRect_moveTopRight( ::pPtr, pPosition )
|
||||
METHOD normalized() INLINE Qt_QRect_normalized( ::pPtr )
|
||||
METHOD right() INLINE Qt_QRect_right( ::pPtr )
|
||||
METHOD setBottom( nY ) INLINE Qt_QRect_setBottom( ::pPtr, nY )
|
||||
METHOD setBottomLeft( pPosition ) INLINE Qt_QRect_setBottomLeft( ::pPtr, pPosition )
|
||||
METHOD setBottomRight( pPosition ) INLINE Qt_QRect_setBottomRight( ::pPtr, pPosition )
|
||||
METHOD setCoords( nX1, nY1, nX2, nY2 ) INLINE Qt_QRect_setCoords( ::pPtr, nX1, nY1, nX2, nY2 )
|
||||
METHOD setHeight( nHeight ) INLINE Qt_QRect_setHeight( ::pPtr, nHeight )
|
||||
METHOD setLeft( nX ) INLINE Qt_QRect_setLeft( ::pPtr, nX )
|
||||
METHOD setRect( nX, nY, nWidth, nHeight ) INLINE Qt_QRect_setRect( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD setRight( nX ) INLINE Qt_QRect_setRight( ::pPtr, nX )
|
||||
METHOD setSize( pSize ) INLINE Qt_QRect_setSize( ::pPtr, pSize )
|
||||
METHOD setTop( nY ) INLINE Qt_QRect_setTop( ::pPtr, nY )
|
||||
METHOD setTopLeft( pPosition ) INLINE Qt_QRect_setTopLeft( ::pPtr, pPosition )
|
||||
METHOD setTopRight( pPosition ) INLINE Qt_QRect_setTopRight( ::pPtr, pPosition )
|
||||
METHOD setWidth( nWidth ) INLINE Qt_QRect_setWidth( ::pPtr, nWidth )
|
||||
METHOD setX( nX ) INLINE Qt_QRect_setX( ::pPtr, nX )
|
||||
METHOD setY( nY ) INLINE Qt_QRect_setY( ::pPtr, nY )
|
||||
METHOD size() INLINE Qt_QRect_size( ::pPtr )
|
||||
METHOD top() INLINE Qt_QRect_top( ::pPtr )
|
||||
METHOD topLeft() INLINE Qt_QRect_topLeft( ::pPtr )
|
||||
METHOD topRight() INLINE Qt_QRect_topRight( ::pPtr )
|
||||
METHOD translate( nDx, nDy ) INLINE Qt_QRect_translate( ::pPtr, nDx, nDy )
|
||||
METHOD translate_1( pOffset ) INLINE Qt_QRect_translate_1( ::pPtr, pOffset )
|
||||
METHOD translated( nDx, nDy ) INLINE Qt_QRect_translated( ::pPtr, nDx, nDy )
|
||||
METHOD translated_1( pOffset ) INLINE Qt_QRect_translated_1( ::pPtr, pOffset )
|
||||
METHOD united( pRectangle ) INLINE Qt_QRect_united( ::pPtr, pRectangle )
|
||||
METHOD width() INLINE Qt_QRect_width( ::pPtr )
|
||||
METHOD x() INLINE Qt_QRect_x( ::pPtr )
|
||||
METHOD y() INLINE Qt_QRect_y( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QRect
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QRect( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
140
harbour/contrib/hbqt/TQRectF.prg
Normal file
140
harbour/contrib/hbqt/TQRectF.prg
Normal file
@@ -0,0 +1,140 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QRectF
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD adjust( nDx1, nDy1, nDx2, nDy2 ) INLINE Qt_QRectF_adjust( ::pPtr, nDx1, nDy1, nDx2, nDy2 )
|
||||
METHOD adjusted( nDx1, nDy1, nDx2, nDy2 ) INLINE Qt_QRectF_adjusted( ::pPtr, nDx1, nDy1, nDx2, nDy2 )
|
||||
METHOD bottom() INLINE Qt_QRectF_bottom( ::pPtr )
|
||||
METHOD bottomLeft() INLINE Qt_QRectF_bottomLeft( ::pPtr )
|
||||
METHOD bottomRight() INLINE Qt_QRectF_bottomRight( ::pPtr )
|
||||
METHOD center() INLINE Qt_QRectF_center( ::pPtr )
|
||||
METHOD contains( pPoint ) INLINE Qt_QRectF_contains( ::pPtr, pPoint )
|
||||
METHOD contains_1( nX, nY ) INLINE Qt_QRectF_contains_1( ::pPtr, nX, nY )
|
||||
METHOD contains_2( pRectangle ) INLINE Qt_QRectF_contains_2( ::pPtr, pRectangle )
|
||||
METHOD getCoords( nX1, nY1, nX2, nY2 ) INLINE Qt_QRectF_getCoords( ::pPtr, nX1, nY1, nX2, nY2 )
|
||||
METHOD getRect( nX, nY, nWidth, nHeight ) INLINE Qt_QRectF_getRect( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD height() INLINE Qt_QRectF_height( ::pPtr )
|
||||
METHOD intersected( pRectangle ) INLINE Qt_QRectF_intersected( ::pPtr, pRectangle )
|
||||
METHOD intersects( pRectangle ) INLINE Qt_QRectF_intersects( ::pPtr, pRectangle )
|
||||
METHOD isEmpty() INLINE Qt_QRectF_isEmpty( ::pPtr )
|
||||
METHOD isNull() INLINE Qt_QRectF_isNull( ::pPtr )
|
||||
METHOD isValid() INLINE Qt_QRectF_isValid( ::pPtr )
|
||||
METHOD left() INLINE Qt_QRectF_left( ::pPtr )
|
||||
METHOD moveBottom( nY ) INLINE Qt_QRectF_moveBottom( ::pPtr, nY )
|
||||
METHOD moveBottomLeft( pPosition ) INLINE Qt_QRectF_moveBottomLeft( ::pPtr, pPosition )
|
||||
METHOD moveBottomRight( pPosition ) INLINE Qt_QRectF_moveBottomRight( ::pPtr, pPosition )
|
||||
METHOD moveCenter( pPosition ) INLINE Qt_QRectF_moveCenter( ::pPtr, pPosition )
|
||||
METHOD moveLeft( nX ) INLINE Qt_QRectF_moveLeft( ::pPtr, nX )
|
||||
METHOD moveRight( nX ) INLINE Qt_QRectF_moveRight( ::pPtr, nX )
|
||||
METHOD moveTo( nX, nY ) INLINE Qt_QRectF_moveTo( ::pPtr, nX, nY )
|
||||
METHOD moveTo_1( pPosition ) INLINE Qt_QRectF_moveTo_1( ::pPtr, pPosition )
|
||||
METHOD moveTop( nY ) INLINE Qt_QRectF_moveTop( ::pPtr, nY )
|
||||
METHOD moveTopLeft( pPosition ) INLINE Qt_QRectF_moveTopLeft( ::pPtr, pPosition )
|
||||
METHOD moveTopRight( pPosition ) INLINE Qt_QRectF_moveTopRight( ::pPtr, pPosition )
|
||||
METHOD normalized() INLINE Qt_QRectF_normalized( ::pPtr )
|
||||
METHOD right() INLINE Qt_QRectF_right( ::pPtr )
|
||||
METHOD setBottom( nY ) INLINE Qt_QRectF_setBottom( ::pPtr, nY )
|
||||
METHOD setBottomLeft( pPosition ) INLINE Qt_QRectF_setBottomLeft( ::pPtr, pPosition )
|
||||
METHOD setBottomRight( pPosition ) INLINE Qt_QRectF_setBottomRight( ::pPtr, pPosition )
|
||||
METHOD setCoords( nX1, nY1, nX2, nY2 ) INLINE Qt_QRectF_setCoords( ::pPtr, nX1, nY1, nX2, nY2 )
|
||||
METHOD setHeight( nHeight ) INLINE Qt_QRectF_setHeight( ::pPtr, nHeight )
|
||||
METHOD setLeft( nX ) INLINE Qt_QRectF_setLeft( ::pPtr, nX )
|
||||
METHOD setRect( nX, nY, nWidth, nHeight ) INLINE Qt_QRectF_setRect( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD setRight( nX ) INLINE Qt_QRectF_setRight( ::pPtr, nX )
|
||||
METHOD setSize( pSize ) INLINE Qt_QRectF_setSize( ::pPtr, pSize )
|
||||
METHOD setTop( nY ) INLINE Qt_QRectF_setTop( ::pPtr, nY )
|
||||
METHOD setTopLeft( pPosition ) INLINE Qt_QRectF_setTopLeft( ::pPtr, pPosition )
|
||||
METHOD setTopRight( pPosition ) INLINE Qt_QRectF_setTopRight( ::pPtr, pPosition )
|
||||
METHOD setWidth( nWidth ) INLINE Qt_QRectF_setWidth( ::pPtr, nWidth )
|
||||
METHOD setX( nX ) INLINE Qt_QRectF_setX( ::pPtr, nX )
|
||||
METHOD setY( nY ) INLINE Qt_QRectF_setY( ::pPtr, nY )
|
||||
METHOD size() INLINE Qt_QRectF_size( ::pPtr )
|
||||
METHOD toAlignedRect() INLINE Qt_QRectF_toAlignedRect( ::pPtr )
|
||||
METHOD toRect() INLINE Qt_QRectF_toRect( ::pPtr )
|
||||
METHOD top() INLINE Qt_QRectF_top( ::pPtr )
|
||||
METHOD topLeft() INLINE Qt_QRectF_topLeft( ::pPtr )
|
||||
METHOD topRight() INLINE Qt_QRectF_topRight( ::pPtr )
|
||||
METHOD translate( nDx, nDy ) INLINE Qt_QRectF_translate( ::pPtr, nDx, nDy )
|
||||
METHOD translate_1( pOffset ) INLINE Qt_QRectF_translate_1( ::pPtr, pOffset )
|
||||
METHOD translated( nDx, nDy ) INLINE Qt_QRectF_translated( ::pPtr, nDx, nDy )
|
||||
METHOD translated_1( pOffset ) INLINE Qt_QRectF_translated_1( ::pPtr, pOffset )
|
||||
METHOD united( pRectangle ) INLINE Qt_QRectF_united( ::pPtr, pRectangle )
|
||||
METHOD width() INLINE Qt_QRectF_width( ::pPtr )
|
||||
METHOD x() INLINE Qt_QRectF_x( ::pPtr )
|
||||
METHOD y() INLINE Qt_QRectF_y( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QRectF
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QRectF( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
99
harbour/contrib/hbqt/TQRegion.prg
Normal file
99
harbour/contrib/hbqt/TQRegion.prg
Normal file
@@ -0,0 +1,99 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QRegion
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD boundingRect() INLINE Qt_QRegion_boundingRect( ::pPtr )
|
||||
METHOD contains( pP ) INLINE Qt_QRegion_contains( ::pPtr, pP )
|
||||
METHOD contains_1( pR ) INLINE Qt_QRegion_contains_1( ::pPtr, pR )
|
||||
METHOD handle() INLINE Qt_QRegion_handle( ::pPtr )
|
||||
METHOD intersected( pR ) INLINE Qt_QRegion_intersected( ::pPtr, pR )
|
||||
METHOD intersected_1( pRect ) INLINE Qt_QRegion_intersected_1( ::pPtr, pRect )
|
||||
METHOD intersects( pRegion ) INLINE Qt_QRegion_intersects( ::pPtr, pRegion )
|
||||
METHOD intersects_1( pRect ) INLINE Qt_QRegion_intersects_1( ::pPtr, pRect )
|
||||
METHOD isEmpty() INLINE Qt_QRegion_isEmpty( ::pPtr )
|
||||
METHOD numRects() INLINE Qt_QRegion_numRects( ::pPtr )
|
||||
METHOD setRects( pRects, nNumber ) INLINE Qt_QRegion_setRects( ::pPtr, pRects, nNumber )
|
||||
METHOD subtracted( pR ) INLINE Qt_QRegion_subtracted( ::pPtr, pR )
|
||||
METHOD translate( nDx, nDy ) INLINE Qt_QRegion_translate( ::pPtr, nDx, nDy )
|
||||
METHOD translate_1( pPoint ) INLINE Qt_QRegion_translate_1( ::pPtr, pPoint )
|
||||
METHOD translated( nDx, nDy ) INLINE Qt_QRegion_translated( ::pPtr, nDx, nDy )
|
||||
METHOD translated_1( pP ) INLINE Qt_QRegion_translated_1( ::pPtr, pP )
|
||||
METHOD united( pR ) INLINE Qt_QRegion_united( ::pPtr, pR )
|
||||
METHOD united_1( pRect ) INLINE Qt_QRegion_united_1( ::pPtr, pRect )
|
||||
METHOD xored( pR ) INLINE Qt_QRegion_xored( ::pPtr, pR )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QRegion
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QRegion( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QScrollArea INHERIT QAbstractScrollArea
|
||||
CREATE CLASS QScrollArea INHERIT QAbstractScrollArea
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -78,6 +79,8 @@ CLASS QScrollArea INHERIT QAbstractScrollArea
|
||||
|
||||
METHOD New( pParent ) CLASS QScrollArea
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QScrollArea( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QScrollBar INHERIT QAbstractSlider
|
||||
CREATE CLASS QScrollBar INHERIT QAbstractSlider
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -69,6 +70,8 @@ CLASS QScrollBar INHERIT QAbstractSlider
|
||||
|
||||
METHOD New( pParent ) CLASS QScrollBar
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QScrollBar( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
91
harbour/contrib/hbqt/TQSignalMapper.prg
Normal file
91
harbour/contrib/hbqt/TQSignalMapper.prg
Normal file
@@ -0,0 +1,91 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QSignalMapper INHERIT QObject
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD mapping( nId ) INLINE Qt_QSignalMapper_mapping( ::pPtr, nId )
|
||||
METHOD mapping_1( cId ) INLINE Qt_QSignalMapper_mapping_1( ::pPtr, cId )
|
||||
METHOD mapping_2( pWidget ) INLINE Qt_QSignalMapper_mapping_2( ::pPtr, pWidget )
|
||||
METHOD mapping_3( pObject ) INLINE Qt_QSignalMapper_mapping_3( ::pPtr, pObject )
|
||||
METHOD removeMappings( pSender ) INLINE Qt_QSignalMapper_removeMappings( ::pPtr, pSender )
|
||||
METHOD setMapping( pSender, nId ) INLINE Qt_QSignalMapper_setMapping( ::pPtr, pSender, nId )
|
||||
METHOD setMapping_1( pSender, cText ) INLINE Qt_QSignalMapper_setMapping_1( ::pPtr, pSender, cText )
|
||||
METHOD setMapping_2( pSender, pWidget ) INLINE Qt_QSignalMapper_setMapping_2( ::pPtr, pSender, pWidget )
|
||||
METHOD setMapping_3( pSender, pObject ) INLINE Qt_QSignalMapper_setMapping_3( ::pPtr, pSender, pObject )
|
||||
METHOD map() INLINE Qt_QSignalMapper_map( ::pPtr )
|
||||
METHOD map_1( pSender ) INLINE Qt_QSignalMapper_map_1( ::pPtr, pSender )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QSignalMapper
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QSignalMapper( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
92
harbour/contrib/hbqt/TQSize.prg
Normal file
92
harbour/contrib/hbqt/TQSize.prg
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QSize
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD height() INLINE Qt_QSize_height( ::pPtr )
|
||||
METHOD isEmpty() INLINE Qt_QSize_isEmpty( ::pPtr )
|
||||
METHOD isNull() INLINE Qt_QSize_isNull( ::pPtr )
|
||||
METHOD isValid() INLINE Qt_QSize_isValid( ::pPtr )
|
||||
METHOD rheight() INLINE Qt_QSize_rheight( ::pPtr )
|
||||
METHOD rwidth() INLINE Qt_QSize_rwidth( ::pPtr )
|
||||
METHOD scale( nWidth, nHeight, nMode ) INLINE Qt_QSize_scale( ::pPtr, nWidth, nHeight, nMode )
|
||||
METHOD scale_1( pSize, nMode ) INLINE Qt_QSize_scale_1( ::pPtr, pSize, nMode )
|
||||
METHOD setHeight( nHeight ) INLINE Qt_QSize_setHeight( ::pPtr, nHeight )
|
||||
METHOD setWidth( nWidth ) INLINE Qt_QSize_setWidth( ::pPtr, nWidth )
|
||||
METHOD transpose() INLINE Qt_QSize_transpose( ::pPtr )
|
||||
METHOD width() INLINE Qt_QSize_width( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QSize
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QSize( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
93
harbour/contrib/hbqt/TQSizeF.prg
Normal file
93
harbour/contrib/hbqt/TQSizeF.prg
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QSizeF
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD height() INLINE Qt_QSizeF_height( ::pPtr )
|
||||
METHOD isEmpty() INLINE Qt_QSizeF_isEmpty( ::pPtr )
|
||||
METHOD isNull() INLINE Qt_QSizeF_isNull( ::pPtr )
|
||||
METHOD isValid() INLINE Qt_QSizeF_isValid( ::pPtr )
|
||||
METHOD rheight() INLINE Qt_QSizeF_rheight( ::pPtr )
|
||||
METHOD rwidth() INLINE Qt_QSizeF_rwidth( ::pPtr )
|
||||
METHOD scale( nWidth, nHeight, nMode ) INLINE Qt_QSizeF_scale( ::pPtr, nWidth, nHeight, nMode )
|
||||
METHOD scale_1( pSize, nMode ) INLINE Qt_QSizeF_scale_1( ::pPtr, pSize, nMode )
|
||||
METHOD setHeight( nHeight ) INLINE Qt_QSizeF_setHeight( ::pPtr, nHeight )
|
||||
METHOD setWidth( nWidth ) INLINE Qt_QSizeF_setWidth( ::pPtr, nWidth )
|
||||
METHOD toSize() INLINE Qt_QSizeF_toSize( ::pPtr )
|
||||
METHOD transpose() INLINE Qt_QSizeF_transpose( ::pPtr )
|
||||
METHOD width() INLINE Qt_QSizeF_width( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QSizeF
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QSizeF( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QSizeGrip INHERIT QWidget
|
||||
CREATE CLASS QSizeGrip INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -69,6 +70,8 @@ CLASS QSizeGrip INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QSizeGrip
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QSizeGrip( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,17 +53,18 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QSlider INHERIT QAbstractSlider
|
||||
CREATE CLASS QSlider INHERIT QAbstractSlider
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD setTickInterval( nTi ) INLINE Qt_QSlider_setTickInterval( ::pPtr, nTi )
|
||||
METHOD setTickPosition( nTickPosition ) INLINE Qt_QSlider_setTickPosition( ::pPtr, nTickPosition )
|
||||
METHOD setTickPosition( nPosition ) INLINE Qt_QSlider_setTickPosition( ::pPtr, nPosition )
|
||||
METHOD tickInterval() INLINE Qt_QSlider_tickInterval( ::pPtr )
|
||||
METHOD tickPosition() INLINE Qt_QSlider_tickPosition( ::pPtr )
|
||||
|
||||
@@ -73,6 +74,8 @@ CLASS QSlider INHERIT QAbstractSlider
|
||||
|
||||
METHOD New( pParent ) CLASS QSlider
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QSlider( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QSpinBox INHERIT QAbstractSpinBox
|
||||
CREATE CLASS QSpinBox INHERIT QAbstractSpinBox
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -75,6 +76,7 @@ CLASS QSpinBox INHERIT QAbstractSpinBox
|
||||
METHOD singleStep() INLINE Qt_QSpinBox_singleStep( ::pPtr )
|
||||
METHOD suffix() INLINE Qt_QSpinBox_suffix( ::pPtr )
|
||||
METHOD value() INLINE Qt_QSpinBox_value( ::pPtr )
|
||||
METHOD setValue( nVal ) INLINE Qt_QSpinBox_setValue( ::pPtr, nVal )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -82,6 +84,8 @@ CLASS QSpinBox INHERIT QAbstractSpinBox
|
||||
|
||||
METHOD New( pParent ) CLASS QSpinBox
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QSpinBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
86
harbour/contrib/hbqt/TQSplashScreen.prg
Normal file
86
harbour/contrib/hbqt/TQSplashScreen.prg
Normal file
@@ -0,0 +1,86 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QSplashScreen INHERIT QWidget
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD finish( pMainWin ) INLINE Qt_QSplashScreen_finish( ::pPtr, pMainWin )
|
||||
METHOD pixmap() INLINE Qt_QSplashScreen_pixmap( ::pPtr )
|
||||
METHOD repaint() INLINE Qt_QSplashScreen_repaint( ::pPtr )
|
||||
METHOD setPixmap( pPixmap ) INLINE Qt_QSplashScreen_setPixmap( ::pPtr, pPixmap )
|
||||
METHOD clearMessage() INLINE Qt_QSplashScreen_clearMessage( ::pPtr )
|
||||
METHOD showMessage( cMessage, nAlignment, pColor ) INLINE Qt_QSplashScreen_showMessage( ::pPtr, cMessage, nAlignment, pColor )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QSplashScreen
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QSplashScreen( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,18 +53,20 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QSplitter INHERIT QFrame
|
||||
CREATE CLASS QSplitter INHERIT QFrame
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addWidget( pWidget ) INLINE Qt_QSplitter_addWidget( ::pPtr, pWidget )
|
||||
METHOD childrenCollapsible() INLINE Qt_QSplitter_childrenCollapsible( ::pPtr )
|
||||
METHOD count() INLINE Qt_QSplitter_count( ::pPtr )
|
||||
METHOD getRange( nIndex, nMin, nMax ) INLINE Qt_QSplitter_getRange( ::pPtr, nIndex, nMin, nMax )
|
||||
METHOD handle( nIndex ) INLINE Qt_QSplitter_handle( ::pPtr, nIndex )
|
||||
METHOD handleWidth() INLINE Qt_QSplitter_handleWidth( ::pPtr )
|
||||
METHOD indexOf( pWidget ) INLINE Qt_QSplitter_indexOf( ::pPtr, pWidget )
|
||||
@@ -73,6 +75,8 @@ CLASS QSplitter INHERIT QFrame
|
||||
METHOD opaqueResize() INLINE Qt_QSplitter_opaqueResize( ::pPtr )
|
||||
METHOD orientation() INLINE Qt_QSplitter_orientation( ::pPtr )
|
||||
METHOD refresh() INLINE Qt_QSplitter_refresh( ::pPtr )
|
||||
METHOD restoreState( pState ) INLINE Qt_QSplitter_restoreState( ::pPtr, pState )
|
||||
METHOD saveState() INLINE Qt_QSplitter_saveState( ::pPtr )
|
||||
METHOD setChildrenCollapsible( lBool ) INLINE Qt_QSplitter_setChildrenCollapsible( ::pPtr, lBool )
|
||||
METHOD setCollapsible( nIndex, lCollapse ) INLINE Qt_QSplitter_setCollapsible( ::pPtr, nIndex, lCollapse )
|
||||
METHOD setHandleWidth( nInt ) INLINE Qt_QSplitter_setHandleWidth( ::pPtr, nInt )
|
||||
@@ -87,6 +91,8 @@ CLASS QSplitter INHERIT QFrame
|
||||
|
||||
METHOD New( pParent ) CLASS QSplitter
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QSplitter( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
90
harbour/contrib/hbqt/TQStatusBar.prg
Normal file
90
harbour/contrib/hbqt/TQStatusBar.prg
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QStatusBar INHERIT QWidget
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addPermanentWidget( pWidget, nStretch ) INLINE Qt_QStatusBar_addPermanentWidget( ::pPtr, pWidget, nStretch )
|
||||
METHOD addWidget( pWidget, nStretch ) INLINE Qt_QStatusBar_addWidget( ::pPtr, pWidget, nStretch )
|
||||
METHOD currentMessage() INLINE Qt_QStatusBar_currentMessage( ::pPtr )
|
||||
METHOD insertPermanentWidget( nIndex, pWidget, nStretch ) INLINE Qt_QStatusBar_insertPermanentWidget( ::pPtr, nIndex, pWidget, nStretch )
|
||||
METHOD insertWidget( nIndex, pWidget, nStretch ) INLINE Qt_QStatusBar_insertWidget( ::pPtr, nIndex, pWidget, nStretch )
|
||||
METHOD isSizeGripEnabled() INLINE Qt_QStatusBar_isSizeGripEnabled( ::pPtr )
|
||||
METHOD removeWidget( pWidget ) INLINE Qt_QStatusBar_removeWidget( ::pPtr, pWidget )
|
||||
METHOD setSizeGripEnabled( lBool ) INLINE Qt_QStatusBar_setSizeGripEnabled( ::pPtr, lBool )
|
||||
METHOD clearMessage() INLINE Qt_QStatusBar_clearMessage( ::pPtr )
|
||||
METHOD showMessage( cMessage, nTimeout ) INLINE Qt_QStatusBar_showMessage( ::pPtr, cMessage, nTimeout )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QStatusBar
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QStatusBar( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
103
harbour/contrib/hbqt/TQStyle.prg
Normal file
103
harbour/contrib/hbqt/TQStyle.prg
Normal file
@@ -0,0 +1,103 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QStyle INHERIT QObject
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD combinedLayoutSpacing( nControls1, nControls2, nOrientation, pOption, pWidget ) INLINE Qt_QStyle_combinedLayoutSpacing( ::pPtr, nControls1, nControls2, nOrientation, pOption, pWidget )
|
||||
METHOD drawComplexControl( nControl, pOption, pPainter, pWidget ) INLINE Qt_QStyle_drawComplexControl( ::pPtr, nControl, pOption, pPainter, pWidget )
|
||||
METHOD drawControl( nElement, pOption, pPainter, pWidget ) INLINE Qt_QStyle_drawControl( ::pPtr, nElement, pOption, pPainter, pWidget )
|
||||
METHOD drawItemPixmap( pPainter, pRectangle, nAlignment, pPixmap ) INLINE Qt_QStyle_drawItemPixmap( ::pPtr, pPainter, pRectangle, nAlignment, pPixmap )
|
||||
METHOD drawItemText( pPainter, pRectangle, nAlignment, pPalette, lEnabled, cText, nTextRole ) INLINE Qt_QStyle_drawItemText( ::pPtr, pPainter, pRectangle, nAlignment, pPalette, lEnabled, cText, nTextRole )
|
||||
METHOD drawPrimitive( nElement, pOption, pPainter, pWidget ) INLINE Qt_QStyle_drawPrimitive( ::pPtr, nElement, pOption, pPainter, pWidget )
|
||||
METHOD generatedIconPixmap( nIconMode, pPixmap, pOption ) INLINE Qt_QStyle_generatedIconPixmap( ::pPtr, nIconMode, pPixmap, pOption )
|
||||
METHOD hitTestComplexControl( nControl, pOption, pPosition, pWidget ) INLINE Qt_QStyle_hitTestComplexControl( ::pPtr, nControl, pOption, pPosition, pWidget )
|
||||
METHOD itemPixmapRect( pRectangle, nAlignment, pPixmap ) INLINE Qt_QStyle_itemPixmapRect( ::pPtr, pRectangle, nAlignment, pPixmap )
|
||||
METHOD itemTextRect( pMetrics, pRectangle, nAlignment, lEnabled, cText ) INLINE Qt_QStyle_itemTextRect( ::pPtr, pMetrics, pRectangle, nAlignment, lEnabled, cText )
|
||||
METHOD layoutSpacing( nControl1, nControl2, nOrientation, pOption, pWidget ) INLINE Qt_QStyle_layoutSpacing( ::pPtr, nControl1, nControl2, nOrientation, pOption, pWidget )
|
||||
METHOD pixelMetric( nMetric, pOption, pWidget ) INLINE Qt_QStyle_pixelMetric( ::pPtr, nMetric, pOption, pWidget )
|
||||
METHOD polish( pWidget ) INLINE Qt_QStyle_polish( ::pPtr, pWidget )
|
||||
METHOD polish_1( pApplication ) INLINE Qt_QStyle_polish_1( ::pPtr, pApplication )
|
||||
METHOD polish_2( pPalette ) INLINE Qt_QStyle_polish_2( ::pPtr, pPalette )
|
||||
METHOD sizeFromContents( nType, pOption, pContentsSize, pWidget ) INLINE Qt_QStyle_sizeFromContents( ::pPtr, nType, pOption, pContentsSize, pWidget )
|
||||
METHOD standardIcon( nStandardIcon, pOption, pWidget ) INLINE Qt_QStyle_standardIcon( ::pPtr, nStandardIcon, pOption, pWidget )
|
||||
METHOD standardPalette() INLINE Qt_QStyle_standardPalette( ::pPtr )
|
||||
METHOD styleHint( nHint, pOption, pWidget, pReturnData ) INLINE Qt_QStyle_styleHint( ::pPtr, nHint, pOption, pWidget, pReturnData )
|
||||
METHOD subControlRect( nControl, pOption, nSubControl, pWidget ) INLINE Qt_QStyle_subControlRect( ::pPtr, nControl, pOption, nSubControl, pWidget )
|
||||
METHOD subElementRect( nElement, pOption, pWidget ) INLINE Qt_QStyle_subElementRect( ::pPtr, nElement, pOption, pWidget )
|
||||
METHOD unpolish( pWidget ) INLINE Qt_QStyle_unpolish( ::pPtr, pWidget )
|
||||
METHOD unpolish_1( pApplication ) INLINE Qt_QStyle_unpolish_1( ::pPtr, pApplication )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QStyle
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QStyle( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QTabBar INHERIT QWidget
|
||||
CREATE CLASS QTabBar INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -80,26 +81,32 @@ CLASS QTabBar INHERIT QWidget
|
||||
METHOD setDrawBase( lDrawTheBase ) INLINE Qt_QTabBar_setDrawBase( ::pPtr, lDrawTheBase )
|
||||
METHOD setElideMode( nQt_TextElideMode ) INLINE Qt_QTabBar_setElideMode( ::pPtr, nQt_TextElideMode )
|
||||
METHOD setExpanding( lEnabled ) INLINE Qt_QTabBar_setExpanding( ::pPtr, lEnabled )
|
||||
METHOD setIconSize( aSizeSize ) INLINE Qt_QTabBar_setIconSize( ::pPtr, aSizeSize )
|
||||
METHOD setIconSize( pSize ) INLINE Qt_QTabBar_setIconSize( ::pPtr, pSize )
|
||||
METHOD setMovable( lMovable ) INLINE Qt_QTabBar_setMovable( ::pPtr, lMovable )
|
||||
METHOD setSelectionBehaviorOnRemove( nSelectionBehavior ) INLINE Qt_QTabBar_setSelectionBehaviorOnRemove( ::pPtr, nSelectionBehavior )
|
||||
METHOD setSelectionBehaviorOnRemove( nBehavior ) INLINE Qt_QTabBar_setSelectionBehaviorOnRemove( ::pPtr, nBehavior )
|
||||
METHOD setShape( nShape ) INLINE Qt_QTabBar_setShape( ::pPtr, nShape )
|
||||
METHOD setTabButton( nIndex, nButtonPosition, pWidget ) INLINE Qt_QTabBar_setTabButton( ::pPtr, nIndex, nButtonPosition, pWidget )
|
||||
METHOD setTabButton( nIndex, nPosition, pWidget ) INLINE Qt_QTabBar_setTabButton( ::pPtr, nIndex, nPosition, pWidget )
|
||||
METHOD setTabData( nIndex, pData ) INLINE Qt_QTabBar_setTabData( ::pPtr, nIndex, pData )
|
||||
METHOD setTabEnabled( nIndex, lEnabled ) INLINE Qt_QTabBar_setTabEnabled( ::pPtr, nIndex, lEnabled )
|
||||
METHOD setTabText( nIndex, cText ) INLINE Qt_QTabBar_setTabText( ::pPtr, nIndex, cText )
|
||||
METHOD setTabTextColor( nIndex, pColor ) INLINE Qt_QTabBar_setTabTextColor( ::pPtr, nIndex, pColor )
|
||||
METHOD setTabToolTip( nIndex, cTip ) INLINE Qt_QTabBar_setTabToolTip( ::pPtr, nIndex, cTip )
|
||||
METHOD setTabWhatsThis( nIndex, cText ) INLINE Qt_QTabBar_setTabWhatsThis( ::pPtr, nIndex, cText )
|
||||
METHOD setTabsClosable( lClosable ) INLINE Qt_QTabBar_setTabsClosable( ::pPtr, lClosable )
|
||||
METHOD setUsesScrollButtons( lUseButtons ) INLINE Qt_QTabBar_setUsesScrollButtons( ::pPtr, lUseButtons )
|
||||
METHOD shape() INLINE Qt_QTabBar_shape( ::pPtr )
|
||||
METHOD tabAt( aPointPosition ) INLINE Qt_QTabBar_tabAt( ::pPtr, aPointPosition )
|
||||
METHOD tabButton( nIndex, nButtonPosition ) INLINE Qt_QTabBar_tabButton( ::pPtr, nIndex, nButtonPosition )
|
||||
METHOD tabAt( pPosition ) INLINE Qt_QTabBar_tabAt( ::pPtr, pPosition )
|
||||
METHOD tabButton( nIndex, nPosition ) INLINE Qt_QTabBar_tabButton( ::pPtr, nIndex, nPosition )
|
||||
METHOD tabData( nIndex ) INLINE Qt_QTabBar_tabData( ::pPtr, nIndex )
|
||||
METHOD tabIcon( nIndex ) INLINE Qt_QTabBar_tabIcon( ::pPtr, nIndex )
|
||||
METHOD tabRect( nIndex ) INLINE Qt_QTabBar_tabRect( ::pPtr, nIndex )
|
||||
METHOD tabText( nIndex ) INLINE Qt_QTabBar_tabText( ::pPtr, nIndex )
|
||||
METHOD tabTextColor( nIndex ) INLINE Qt_QTabBar_tabTextColor( ::pPtr, nIndex )
|
||||
METHOD tabToolTip( nIndex ) INLINE Qt_QTabBar_tabToolTip( ::pPtr, nIndex )
|
||||
METHOD tabWhatsThis( nIndex ) INLINE Qt_QTabBar_tabWhatsThis( ::pPtr, nIndex )
|
||||
METHOD tabsClosable() INLINE Qt_QTabBar_tabsClosable( ::pPtr )
|
||||
METHOD usesScrollButtons() INLINE Qt_QTabBar_usesScrollButtons( ::pPtr )
|
||||
METHOD setCurrentIndex( nIndex ) INLINE Qt_QTabBar_setCurrentIndex( ::pPtr, nIndex )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -107,6 +114,8 @@ CLASS QTabBar INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QTabBar
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QTabBar( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QTabWidget INHERIT QWidget
|
||||
CREATE CLASS QTabWidget INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -81,17 +82,18 @@ CLASS QTabWidget INHERIT QWidget
|
||||
METHOD setCornerWidget( pWidget, nCorner ) INLINE Qt_QTabWidget_setCornerWidget( ::pPtr, pWidget, nCorner )
|
||||
METHOD setDocumentMode( lSet ) INLINE Qt_QTabWidget_setDocumentMode( ::pPtr, lSet )
|
||||
METHOD setElideMode( nQt_TextElideMode ) INLINE Qt_QTabWidget_setElideMode( ::pPtr, nQt_TextElideMode )
|
||||
METHOD setIconSize( aSizeSize ) INLINE Qt_QTabWidget_setIconSize( ::pPtr, aSizeSize )
|
||||
METHOD setIconSize( pSize ) INLINE Qt_QTabWidget_setIconSize( ::pPtr, pSize )
|
||||
METHOD setMovable( lMovable ) INLINE Qt_QTabWidget_setMovable( ::pPtr, lMovable )
|
||||
METHOD setTabEnabled( nIndex, lEnable ) INLINE Qt_QTabWidget_setTabEnabled( ::pPtr, nIndex, lEnable )
|
||||
METHOD setTabIcon( nIndex, cIcon ) INLINE Qt_QTabWidget_setTabIcon( ::pPtr, nIndex, cIcon )
|
||||
METHOD setTabPosition( nTabPosition ) INLINE Qt_QTabWidget_setTabPosition( ::pPtr, nTabPosition )
|
||||
METHOD setTabShape( nTabShape ) INLINE Qt_QTabWidget_setTabShape( ::pPtr, nTabShape )
|
||||
METHOD setTabShape( nS ) INLINE Qt_QTabWidget_setTabShape( ::pPtr, nS )
|
||||
METHOD setTabText( nIndex, cLabel ) INLINE Qt_QTabWidget_setTabText( ::pPtr, nIndex, cLabel )
|
||||
METHOD setTabToolTip( nIndex, cTip ) INLINE Qt_QTabWidget_setTabToolTip( ::pPtr, nIndex, cTip )
|
||||
METHOD setTabWhatsThis( nIndex, cText ) INLINE Qt_QTabWidget_setTabWhatsThis( ::pPtr, nIndex, cText )
|
||||
METHOD setTabsClosable( lCloseable ) INLINE Qt_QTabWidget_setTabsClosable( ::pPtr, lCloseable )
|
||||
METHOD setUsesScrollButtons( lUseButtons ) INLINE Qt_QTabWidget_setUsesScrollButtons( ::pPtr, lUseButtons )
|
||||
METHOD tabIcon( nIndex ) INLINE Qt_QTabWidget_tabIcon( ::pPtr, nIndex )
|
||||
METHOD tabPosition() INLINE Qt_QTabWidget_tabPosition( ::pPtr )
|
||||
METHOD tabShape() INLINE Qt_QTabWidget_tabShape( ::pPtr )
|
||||
METHOD tabText( nIndex ) INLINE Qt_QTabWidget_tabText( ::pPtr, nIndex )
|
||||
@@ -100,6 +102,8 @@ CLASS QTabWidget INHERIT QWidget
|
||||
METHOD tabsClosable() INLINE Qt_QTabWidget_tabsClosable( ::pPtr )
|
||||
METHOD usesScrollButtons() INLINE Qt_QTabWidget_usesScrollButtons( ::pPtr )
|
||||
METHOD widget( nIndex ) INLINE Qt_QTabWidget_widget( ::pPtr, nIndex )
|
||||
METHOD setCurrentIndex( nIndex ) INLINE Qt_QTabWidget_setCurrentIndex( ::pPtr, nIndex )
|
||||
METHOD setCurrentWidget( pWidget ) INLINE Qt_QTabWidget_setCurrentWidget( ::pPtr, pWidget )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -107,6 +111,8 @@ CLASS QTabWidget INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QTabWidget
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QTabWidget( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QTableView INHERIT QAbstractItemView
|
||||
CREATE CLASS QTableView INHERIT QAbstractItemView
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -69,6 +70,7 @@ CLASS QTableView INHERIT QAbstractItemView
|
||||
METHOD columnWidth( nColumn ) INLINE Qt_QTableView_columnWidth( ::pPtr, nColumn )
|
||||
METHOD gridStyle() INLINE Qt_QTableView_gridStyle( ::pPtr )
|
||||
METHOD horizontalHeader() INLINE Qt_QTableView_horizontalHeader( ::pPtr )
|
||||
METHOD indexAt( pPos ) INLINE Qt_QTableView_indexAt( ::pPtr, pPos )
|
||||
METHOD isColumnHidden( nColumn ) INLINE Qt_QTableView_isColumnHidden( ::pPtr, nColumn )
|
||||
METHOD isCornerButtonEnabled() INLINE Qt_QTableView_isCornerButtonEnabled( ::pPtr )
|
||||
METHOD isRowHidden( nRow ) INLINE Qt_QTableView_isRowHidden( ::pPtr, nRow )
|
||||
@@ -92,6 +94,17 @@ CLASS QTableView INHERIT QAbstractItemView
|
||||
METHOD sortByColumn( nColumn, nOrder ) INLINE Qt_QTableView_sortByColumn( ::pPtr, nColumn, nOrder )
|
||||
METHOD verticalHeader() INLINE Qt_QTableView_verticalHeader( ::pPtr )
|
||||
METHOD wordWrap() INLINE Qt_QTableView_wordWrap( ::pPtr )
|
||||
METHOD hideColumn( nColumn ) INLINE Qt_QTableView_hideColumn( ::pPtr, nColumn )
|
||||
METHOD hideRow( nRow ) INLINE Qt_QTableView_hideRow( ::pPtr, nRow )
|
||||
METHOD resizeColumnToContents( nColumn ) INLINE Qt_QTableView_resizeColumnToContents( ::pPtr, nColumn )
|
||||
METHOD resizeColumnsToContents() INLINE Qt_QTableView_resizeColumnsToContents( ::pPtr )
|
||||
METHOD resizeRowToContents( nRow ) INLINE Qt_QTableView_resizeRowToContents( ::pPtr, nRow )
|
||||
METHOD resizeRowsToContents() INLINE Qt_QTableView_resizeRowsToContents( ::pPtr )
|
||||
METHOD selectColumn( nColumn ) INLINE Qt_QTableView_selectColumn( ::pPtr, nColumn )
|
||||
METHOD selectRow( nRow ) INLINE Qt_QTableView_selectRow( ::pPtr, nRow )
|
||||
METHOD setShowGrid( lShow ) INLINE Qt_QTableView_setShowGrid( ::pPtr, lShow )
|
||||
METHOD showColumn( nColumn ) INLINE Qt_QTableView_showColumn( ::pPtr, nColumn )
|
||||
METHOD showRow( nRow ) INLINE Qt_QTableView_showRow( ::pPtr, nRow )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -99,6 +112,8 @@ CLASS QTableView INHERIT QAbstractItemView
|
||||
|
||||
METHOD New( pParent ) CLASS QTableView
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QTableView( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QTableWidget INHERIT QTableView
|
||||
CREATE CLASS QTableWidget INHERIT QTableView
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -72,7 +73,7 @@ CLASS QTableWidget INHERIT QTableView
|
||||
METHOD editItem( pItem ) INLINE Qt_QTableWidget_editItem( ::pPtr, pItem )
|
||||
METHOD horizontalHeaderItem( nColumn ) INLINE Qt_QTableWidget_horizontalHeaderItem( ::pPtr, nColumn )
|
||||
METHOD item( nRow, nColumn ) INLINE Qt_QTableWidget_item( ::pPtr, nRow, nColumn )
|
||||
METHOD itemAt( aPointPoint ) INLINE Qt_QTableWidget_itemAt( ::pPtr, aPointPoint )
|
||||
METHOD itemAt( pPoint ) INLINE Qt_QTableWidget_itemAt( ::pPtr, pPoint )
|
||||
METHOD itemAt_1( nAx, nAy ) INLINE Qt_QTableWidget_itemAt_1( ::pPtr, nAx, nAy )
|
||||
METHOD itemPrototype() INLINE Qt_QTableWidget_itemPrototype( ::pPtr )
|
||||
METHOD openPersistentEditor( pItem ) INLINE Qt_QTableWidget_openPersistentEditor( ::pPtr, pItem )
|
||||
@@ -86,10 +87,13 @@ CLASS QTableWidget INHERIT QTableView
|
||||
METHOD setCurrentItem( pItem ) INLINE Qt_QTableWidget_setCurrentItem( ::pPtr, pItem )
|
||||
METHOD setCurrentItem_1( pItem, nCommand ) INLINE Qt_QTableWidget_setCurrentItem_1( ::pPtr, pItem, nCommand )
|
||||
METHOD setHorizontalHeaderItem( nColumn, pItem ) INLINE Qt_QTableWidget_setHorizontalHeaderItem( ::pPtr, nColumn, pItem )
|
||||
METHOD setHorizontalHeaderLabels( pLabels ) INLINE Qt_QTableWidget_setHorizontalHeaderLabels( ::pPtr, pLabels )
|
||||
METHOD setItem( nRow, nColumn, pItem ) INLINE Qt_QTableWidget_setItem( ::pPtr, nRow, nColumn, pItem )
|
||||
METHOD setItemPrototype( pItem ) INLINE Qt_QTableWidget_setItemPrototype( ::pPtr, pItem )
|
||||
METHOD setRangeSelected( pRange, lSelect ) INLINE Qt_QTableWidget_setRangeSelected( ::pPtr, pRange, lSelect )
|
||||
METHOD setRowCount( nRows ) INLINE Qt_QTableWidget_setRowCount( ::pPtr, nRows )
|
||||
METHOD setVerticalHeaderItem( nRow, pItem ) INLINE Qt_QTableWidget_setVerticalHeaderItem( ::pPtr, nRow, pItem )
|
||||
METHOD setVerticalHeaderLabels( pLabels ) INLINE Qt_QTableWidget_setVerticalHeaderLabels( ::pPtr, pLabels )
|
||||
METHOD sortItems( nColumn, nOrder ) INLINE Qt_QTableWidget_sortItems( ::pPtr, nColumn, nOrder )
|
||||
METHOD takeHorizontalHeaderItem( nColumn ) INLINE Qt_QTableWidget_takeHorizontalHeaderItem( ::pPtr, nColumn )
|
||||
METHOD takeItem( nRow, nColumn ) INLINE Qt_QTableWidget_takeItem( ::pPtr, nRow, nColumn )
|
||||
@@ -98,6 +102,13 @@ CLASS QTableWidget INHERIT QTableView
|
||||
METHOD visualColumn( nLogicalColumn ) INLINE Qt_QTableWidget_visualColumn( ::pPtr, nLogicalColumn )
|
||||
METHOD visualItemRect( pItem ) INLINE Qt_QTableWidget_visualItemRect( ::pPtr, pItem )
|
||||
METHOD visualRow( nLogicalRow ) INLINE Qt_QTableWidget_visualRow( ::pPtr, nLogicalRow )
|
||||
METHOD clear() INLINE Qt_QTableWidget_clear( ::pPtr )
|
||||
METHOD clearContents() INLINE Qt_QTableWidget_clearContents( ::pPtr )
|
||||
METHOD insertColumn( nColumn ) INLINE Qt_QTableWidget_insertColumn( ::pPtr, nColumn )
|
||||
METHOD insertRow( nRow ) INLINE Qt_QTableWidget_insertRow( ::pPtr, nRow )
|
||||
METHOD removeColumn( nColumn ) INLINE Qt_QTableWidget_removeColumn( ::pPtr, nColumn )
|
||||
METHOD removeRow( nRow ) INLINE Qt_QTableWidget_removeRow( ::pPtr, nRow )
|
||||
METHOD scrollToItem( pItem, nHint ) INLINE Qt_QTableWidget_scrollToItem( ::pPtr, pItem, nHint )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -105,6 +116,8 @@ CLASS QTableWidget INHERIT QTableView
|
||||
|
||||
METHOD New( pParent ) CLASS QTableWidget
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QTableWidget( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,24 +53,37 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QTableWidgetItem
|
||||
CREATE CLASS QTableWidgetItem
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD background() INLINE Qt_QTableWidgetItem_background( ::pPtr )
|
||||
METHOD checkState() INLINE Qt_QTableWidgetItem_checkState( ::pPtr )
|
||||
METHOD clone() INLINE Qt_QTableWidgetItem_clone( ::pPtr )
|
||||
METHOD column() INLINE Qt_QTableWidgetItem_column( ::pPtr )
|
||||
METHOD data( nRole ) INLINE Qt_QTableWidgetItem_data( ::pPtr, nRole )
|
||||
METHOD flags() INLINE Qt_QTableWidgetItem_flags( ::pPtr )
|
||||
METHOD font() INLINE Qt_QTableWidgetItem_font( ::pPtr )
|
||||
METHOD foreground() INLINE Qt_QTableWidgetItem_foreground( ::pPtr )
|
||||
METHOD icon() INLINE Qt_QTableWidgetItem_icon( ::pPtr )
|
||||
METHOD isSelected() INLINE Qt_QTableWidgetItem_isSelected( ::pPtr )
|
||||
METHOD read( pIn ) INLINE Qt_QTableWidgetItem_read( ::pPtr, pIn )
|
||||
METHOD row() INLINE Qt_QTableWidgetItem_row( ::pPtr )
|
||||
METHOD setBackground( pBrush ) INLINE Qt_QTableWidgetItem_setBackground( ::pPtr, pBrush )
|
||||
METHOD setCheckState( nState ) INLINE Qt_QTableWidgetItem_setCheckState( ::pPtr, nState )
|
||||
METHOD setData( nRole, pValue ) INLINE Qt_QTableWidgetItem_setData( ::pPtr, nRole, pValue )
|
||||
METHOD setFlags( nFlags ) INLINE Qt_QTableWidgetItem_setFlags( ::pPtr, nFlags )
|
||||
METHOD setFont( pFont ) INLINE Qt_QTableWidgetItem_setFont( ::pPtr, pFont )
|
||||
METHOD setForeground( pBrush ) INLINE Qt_QTableWidgetItem_setForeground( ::pPtr, pBrush )
|
||||
METHOD setIcon( cIcon ) INLINE Qt_QTableWidgetItem_setIcon( ::pPtr, cIcon )
|
||||
METHOD setSelected( lSelect ) INLINE Qt_QTableWidgetItem_setSelected( ::pPtr, lSelect )
|
||||
METHOD setSizeHint( aSizeSize ) INLINE Qt_QTableWidgetItem_setSizeHint( ::pPtr, aSizeSize )
|
||||
METHOD setSizeHint( pSize ) INLINE Qt_QTableWidgetItem_setSizeHint( ::pPtr, pSize )
|
||||
METHOD setStatusTip( cStatusTip ) INLINE Qt_QTableWidgetItem_setStatusTip( ::pPtr, cStatusTip )
|
||||
METHOD setText( cText ) INLINE Qt_QTableWidgetItem_setText( ::pPtr, cText )
|
||||
METHOD setTextAlignment( nAlignment ) INLINE Qt_QTableWidgetItem_setTextAlignment( ::pPtr, nAlignment )
|
||||
@@ -84,6 +97,7 @@ CLASS QTableWidgetItem
|
||||
METHOD toolTip() INLINE Qt_QTableWidgetItem_toolTip( ::pPtr )
|
||||
METHOD type() INLINE Qt_QTableWidgetItem_type( ::pPtr )
|
||||
METHOD whatsThis() INLINE Qt_QTableWidgetItem_whatsThis( ::pPtr )
|
||||
METHOD write( pOut ) INLINE Qt_QTableWidgetItem_write( ::pPtr, pOut )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -91,6 +105,8 @@ CLASS QTableWidgetItem
|
||||
|
||||
METHOD New( pParent ) CLASS QTableWidgetItem
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QTableWidgetItem( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,23 +53,28 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QTextEdit INHERIT QAbstractScrollArea
|
||||
CREATE CLASS QTextEdit INHERIT QAbstractScrollArea
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD acceptRichText() INLINE Qt_QTextEdit_acceptRichText( ::pPtr )
|
||||
METHOD alignment() INLINE Qt_QTextEdit_alignment( ::pPtr )
|
||||
METHOD anchorAt( aPointPos ) INLINE Qt_QTextEdit_anchorAt( ::pPtr, aPointPos )
|
||||
METHOD anchorAt( pPos ) INLINE Qt_QTextEdit_anchorAt( ::pPtr, pPos )
|
||||
METHOD autoFormatting() INLINE Qt_QTextEdit_autoFormatting( ::pPtr )
|
||||
METHOD canPaste() INLINE Qt_QTextEdit_canPaste( ::pPtr )
|
||||
METHOD createStandardContextMenu() INLINE Qt_QTextEdit_createStandardContextMenu( ::pPtr )
|
||||
METHOD createStandardContextMenu_1( aPointPosition ) INLINE Qt_QTextEdit_createStandardContextMenu_1( ::pPtr, aPointPosition )
|
||||
METHOD cursorRect() INLINE Qt_QTextEdit_cursorRect( ::pPtr )
|
||||
METHOD createStandardContextMenu_1( pPosition ) INLINE Qt_QTextEdit_createStandardContextMenu_1( ::pPtr, pPosition )
|
||||
METHOD currentCharFormat() INLINE Qt_QTextEdit_currentCharFormat( ::pPtr )
|
||||
METHOD currentFont() INLINE Qt_QTextEdit_currentFont( ::pPtr )
|
||||
METHOD cursorForPosition( pPos ) INLINE Qt_QTextEdit_cursorForPosition( ::pPtr, pPos )
|
||||
METHOD cursorRect( pCursor ) INLINE Qt_QTextEdit_cursorRect( ::pPtr, pCursor )
|
||||
METHOD cursorRect_1() INLINE Qt_QTextEdit_cursorRect_1( ::pPtr )
|
||||
METHOD cursorWidth() INLINE Qt_QTextEdit_cursorWidth( ::pPtr )
|
||||
METHOD document() INLINE Qt_QTextEdit_document( ::pPtr )
|
||||
METHOD documentTitle() INLINE Qt_QTextEdit_documentTitle( ::pPtr )
|
||||
@@ -84,28 +89,61 @@ CLASS QTextEdit INHERIT QAbstractScrollArea
|
||||
METHOD isUndoRedoEnabled() INLINE Qt_QTextEdit_isUndoRedoEnabled( ::pPtr )
|
||||
METHOD lineWrapColumnOrWidth() INLINE Qt_QTextEdit_lineWrapColumnOrWidth( ::pPtr )
|
||||
METHOD lineWrapMode() INLINE Qt_QTextEdit_lineWrapMode( ::pPtr )
|
||||
METHOD loadResource( nType, pName ) INLINE Qt_QTextEdit_loadResource( ::pPtr, nType, pName )
|
||||
METHOD mergeCurrentCharFormat( pModifier ) INLINE Qt_QTextEdit_mergeCurrentCharFormat( ::pPtr, pModifier )
|
||||
METHOD moveCursor( nOperation, nMode ) INLINE Qt_QTextEdit_moveCursor( ::pPtr, nOperation, nMode )
|
||||
METHOD overwriteMode() INLINE Qt_QTextEdit_overwriteMode( ::pPtr )
|
||||
METHOD print( pPrinter ) INLINE Qt_QTextEdit_print( ::pPtr, pPrinter )
|
||||
METHOD setAcceptRichText( lAccept ) INLINE Qt_QTextEdit_setAcceptRichText( ::pPtr, lAccept )
|
||||
METHOD setAutoFormatting( nAutoFormatting ) INLINE Qt_QTextEdit_setAutoFormatting( ::pPtr, nAutoFormatting )
|
||||
METHOD setAutoFormatting( nFeatures ) INLINE Qt_QTextEdit_setAutoFormatting( ::pPtr, nFeatures )
|
||||
METHOD setCurrentCharFormat( pFormat ) INLINE Qt_QTextEdit_setCurrentCharFormat( ::pPtr, pFormat )
|
||||
METHOD setCursorWidth( nWidth ) INLINE Qt_QTextEdit_setCursorWidth( ::pPtr, nWidth )
|
||||
METHOD setDocument( pDocument ) INLINE Qt_QTextEdit_setDocument( ::pPtr, pDocument )
|
||||
METHOD setDocumentTitle( cTitle ) INLINE Qt_QTextEdit_setDocumentTitle( ::pPtr, cTitle )
|
||||
METHOD setLineWrapColumnOrWidth( nW ) INLINE Qt_QTextEdit_setLineWrapColumnOrWidth( ::pPtr, nW )
|
||||
METHOD setLineWrapMode( nLineWrapMode ) INLINE Qt_QTextEdit_setLineWrapMode( ::pPtr, nLineWrapMode )
|
||||
METHOD setLineWrapMode( nMode ) INLINE Qt_QTextEdit_setLineWrapMode( ::pPtr, nMode )
|
||||
METHOD setOverwriteMode( lOverwrite ) INLINE Qt_QTextEdit_setOverwriteMode( ::pPtr, lOverwrite )
|
||||
METHOD setReadOnly( lRo ) INLINE Qt_QTextEdit_setReadOnly( ::pPtr, lRo )
|
||||
METHOD setTabChangesFocus( lB ) INLINE Qt_QTextEdit_setTabChangesFocus( ::pPtr, lB )
|
||||
METHOD setTabStopWidth( nWidth ) INLINE Qt_QTextEdit_setTabStopWidth( ::pPtr, nWidth )
|
||||
METHOD setTextCursor( pCursor ) INLINE Qt_QTextEdit_setTextCursor( ::pPtr, pCursor )
|
||||
METHOD setTextInteractionFlags( nFlags ) INLINE Qt_QTextEdit_setTextInteractionFlags( ::pPtr, nFlags )
|
||||
METHOD setUndoRedoEnabled( lEnable ) INLINE Qt_QTextEdit_setUndoRedoEnabled( ::pPtr, lEnable )
|
||||
METHOD setWordWrapMode( nPolicy ) INLINE Qt_QTextEdit_setWordWrapMode( ::pPtr, nPolicy )
|
||||
METHOD tabChangesFocus() INLINE Qt_QTextEdit_tabChangesFocus( ::pPtr )
|
||||
METHOD tabStopWidth() INLINE Qt_QTextEdit_tabStopWidth( ::pPtr )
|
||||
METHOD textBackgroundColor() INLINE Qt_QTextEdit_textBackgroundColor( ::pPtr )
|
||||
METHOD textColor() INLINE Qt_QTextEdit_textColor( ::pPtr )
|
||||
METHOD textCursor() INLINE Qt_QTextEdit_textCursor( ::pPtr )
|
||||
METHOD textInteractionFlags() INLINE Qt_QTextEdit_textInteractionFlags( ::pPtr )
|
||||
METHOD toHtml() INLINE Qt_QTextEdit_toHtml( ::pPtr )
|
||||
METHOD toPlainText() INLINE Qt_QTextEdit_toPlainText( ::pPtr )
|
||||
METHOD wordWrapMode() INLINE Qt_QTextEdit_wordWrapMode( ::pPtr )
|
||||
METHOD append( cText ) INLINE Qt_QTextEdit_append( ::pPtr, cText )
|
||||
METHOD clear() INLINE Qt_QTextEdit_clear( ::pPtr )
|
||||
METHOD copy() INLINE Qt_QTextEdit_copy( ::pPtr )
|
||||
METHOD cut() INLINE Qt_QTextEdit_cut( ::pPtr )
|
||||
METHOD insertHtml( cText ) INLINE Qt_QTextEdit_insertHtml( ::pPtr, cText )
|
||||
METHOD insertPlainText( cText ) INLINE Qt_QTextEdit_insertPlainText( ::pPtr, cText )
|
||||
METHOD paste() INLINE Qt_QTextEdit_paste( ::pPtr )
|
||||
METHOD redo() INLINE Qt_QTextEdit_redo( ::pPtr )
|
||||
METHOD scrollToAnchor( cName ) INLINE Qt_QTextEdit_scrollToAnchor( ::pPtr, cName )
|
||||
METHOD selectAll() INLINE Qt_QTextEdit_selectAll( ::pPtr )
|
||||
METHOD setAlignment( nA ) INLINE Qt_QTextEdit_setAlignment( ::pPtr, nA )
|
||||
METHOD setCurrentFont( pF ) INLINE Qt_QTextEdit_setCurrentFont( ::pPtr, pF )
|
||||
METHOD setFontFamily( cFontFamily ) INLINE Qt_QTextEdit_setFontFamily( ::pPtr, cFontFamily )
|
||||
METHOD setFontItalic( lItalic ) INLINE Qt_QTextEdit_setFontItalic( ::pPtr, lItalic )
|
||||
METHOD setFontPointSize( nS ) INLINE Qt_QTextEdit_setFontPointSize( ::pPtr, nS )
|
||||
METHOD setFontUnderline( lUnderline ) INLINE Qt_QTextEdit_setFontUnderline( ::pPtr, lUnderline )
|
||||
METHOD setFontWeight( nWeight ) INLINE Qt_QTextEdit_setFontWeight( ::pPtr, nWeight )
|
||||
METHOD setHtml( cText ) INLINE Qt_QTextEdit_setHtml( ::pPtr, cText )
|
||||
METHOD setPlainText( cText ) INLINE Qt_QTextEdit_setPlainText( ::pPtr, cText )
|
||||
METHOD setText( cText ) INLINE Qt_QTextEdit_setText( ::pPtr, cText )
|
||||
METHOD setTextBackgroundColor( pC ) INLINE Qt_QTextEdit_setTextBackgroundColor( ::pPtr, pC )
|
||||
METHOD setTextColor( pC ) INLINE Qt_QTextEdit_setTextColor( ::pPtr, pC )
|
||||
METHOD undo() INLINE Qt_QTextEdit_undo( ::pPtr )
|
||||
METHOD zoomIn( nRange ) INLINE Qt_QTextEdit_zoomIn( ::pPtr, nRange )
|
||||
METHOD zoomOut( nRange ) INLINE Qt_QTextEdit_zoomOut( ::pPtr, nRange )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -113,6 +151,8 @@ CLASS QTextEdit INHERIT QAbstractScrollArea
|
||||
|
||||
METHOD New( pParent ) CLASS QTextEdit
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QTextEdit( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QTimeEdit INHERIT QDateTimeEdit
|
||||
CREATE CLASS QTimeEdit INHERIT QDateTimeEdit
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -69,6 +70,8 @@ CLASS QTimeEdit INHERIT QDateTimeEdit
|
||||
|
||||
METHOD New( pParent ) CLASS QTimeEdit
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QTimeEdit( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
89
harbour/contrib/hbqt/TQTimer.prg
Normal file
89
harbour/contrib/hbqt/TQTimer.prg
Normal file
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Marcos Antonio Gambeta <marcosgambeta at gmail dot com>
|
||||
* Copyright 2009 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.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CREATE CLASS QTimer INHERIT QObject
|
||||
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD interval() INLINE Qt_QTimer_interval( ::pPtr )
|
||||
METHOD isActive() INLINE Qt_QTimer_isActive( ::pPtr )
|
||||
METHOD isSingleShot() INLINE Qt_QTimer_isSingleShot( ::pPtr )
|
||||
METHOD setInterval( nMsec ) INLINE Qt_QTimer_setInterval( ::pPtr, nMsec )
|
||||
METHOD setSingleShot( lSingleShot ) INLINE Qt_QTimer_setSingleShot( ::pPtr, lSingleShot )
|
||||
METHOD timerId() INLINE Qt_QTimer_timerId( ::pPtr )
|
||||
METHOD start() INLINE Qt_QTimer_start( ::pPtr )
|
||||
METHOD stop() INLINE Qt_QTimer_stop( ::pPtr )
|
||||
METHOD start_1( nMsec ) INLINE Qt_QTimer_start_1( ::pPtr, nMsec )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QTimer
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QTimer( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -53,16 +53,17 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QToolBar INHERIT QWidget
|
||||
CREATE CLASS QToolBar INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD actionAt( aPointP ) INLINE Qt_QToolBar_actionAt( ::pPtr, aPointP )
|
||||
METHOD actionAt( pP ) INLINE Qt_QToolBar_actionAt( ::pPtr, pP )
|
||||
METHOD actionAt_1( nX, nY ) INLINE Qt_QToolBar_actionAt_1( ::pPtr, nX, nY )
|
||||
METHOD addAction( pAction ) INLINE Qt_QToolBar_addAction( ::pPtr, pAction )
|
||||
METHOD addAction_1( cText ) INLINE Qt_QToolBar_addAction_1( ::pPtr, cText )
|
||||
@@ -88,6 +89,8 @@ CLASS QToolBar INHERIT QWidget
|
||||
METHOD toggleViewAction() INLINE Qt_QToolBar_toggleViewAction( ::pPtr )
|
||||
METHOD toolButtonStyle() INLINE Qt_QToolBar_toolButtonStyle( ::pPtr )
|
||||
METHOD widgetForAction( pAction ) INLINE Qt_QToolBar_widgetForAction( ::pPtr, pAction )
|
||||
METHOD setIconSize( pIconSize ) INLINE Qt_QToolBar_setIconSize( ::pPtr, pIconSize )
|
||||
METHOD setToolButtonStyle( nToolButtonStyle ) INLINE Qt_QToolBar_setToolButtonStyle( ::pPtr, nToolButtonStyle )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -95,6 +98,8 @@ CLASS QToolBar INHERIT QWidget
|
||||
|
||||
METHOD New( pParent ) CLASS QToolBar
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QToolBar( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QToolBox INHERIT QFrame
|
||||
CREATE CLASS QToolBox INHERIT QFrame
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -71,6 +72,7 @@ CLASS QToolBox INHERIT QFrame
|
||||
METHOD insertItem( nIndex, pWidget, cIcon, cText ) INLINE Qt_QToolBox_insertItem( ::pPtr, nIndex, pWidget, cIcon, cText )
|
||||
METHOD insertItem_1( nIndex, pWidget, cText ) INLINE Qt_QToolBox_insertItem_1( ::pPtr, nIndex, pWidget, cText )
|
||||
METHOD isItemEnabled( nIndex ) INLINE Qt_QToolBox_isItemEnabled( ::pPtr, nIndex )
|
||||
METHOD itemIcon( nIndex ) INLINE Qt_QToolBox_itemIcon( ::pPtr, nIndex )
|
||||
METHOD itemText( nIndex ) INLINE Qt_QToolBox_itemText( ::pPtr, nIndex )
|
||||
METHOD itemToolTip( nIndex ) INLINE Qt_QToolBox_itemToolTip( ::pPtr, nIndex )
|
||||
METHOD removeItem( nIndex ) INLINE Qt_QToolBox_removeItem( ::pPtr, nIndex )
|
||||
@@ -79,6 +81,8 @@ CLASS QToolBox INHERIT QFrame
|
||||
METHOD setItemText( nIndex, cText ) INLINE Qt_QToolBox_setItemText( ::pPtr, nIndex, cText )
|
||||
METHOD setItemToolTip( nIndex, cToolTip ) INLINE Qt_QToolBox_setItemToolTip( ::pPtr, nIndex, cToolTip )
|
||||
METHOD widget( nIndex ) INLINE Qt_QToolBox_widget( ::pPtr, nIndex )
|
||||
METHOD setCurrentIndex( nIndex ) INLINE Qt_QToolBox_setCurrentIndex( ::pPtr, nIndex )
|
||||
METHOD setCurrentWidget( pWidget ) INLINE Qt_QToolBox_setCurrentWidget( ::pPtr, pWidget )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -86,6 +90,8 @@ CLASS QToolBox INHERIT QFrame
|
||||
|
||||
METHOD New( pParent ) CLASS QToolBox
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QToolBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QToolButton INHERIT QAbstractButton
|
||||
CREATE CLASS QToolButton INHERIT QAbstractButton
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -70,8 +71,11 @@ CLASS QToolButton INHERIT QAbstractButton
|
||||
METHOD setArrowType( nType ) INLINE Qt_QToolButton_setArrowType( ::pPtr, nType )
|
||||
METHOD setAutoRaise( lEnable ) INLINE Qt_QToolButton_setAutoRaise( ::pPtr, lEnable )
|
||||
METHOD setMenu( pMenu ) INLINE Qt_QToolButton_setMenu( ::pPtr, pMenu )
|
||||
METHOD setPopupMode( nToolButtonPopupMode ) INLINE Qt_QToolButton_setPopupMode( ::pPtr, nToolButtonPopupMode )
|
||||
METHOD setPopupMode( nMode ) INLINE Qt_QToolButton_setPopupMode( ::pPtr, nMode )
|
||||
METHOD toolButtonStyle() INLINE Qt_QToolButton_toolButtonStyle( ::pPtr )
|
||||
METHOD setDefaultAction( pAction ) INLINE Qt_QToolButton_setDefaultAction( ::pPtr, pAction )
|
||||
METHOD setToolButtonStyle( nStyle ) INLINE Qt_QToolButton_setToolButtonStyle( ::pPtr, nStyle )
|
||||
METHOD showMenu() INLINE Qt_QToolButton_showMenu( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -79,6 +83,8 @@ CLASS QToolButton INHERIT QAbstractButton
|
||||
|
||||
METHOD New( pParent ) CLASS QToolButton
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QToolButton( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QTreeView INHERIT QAbstractItemView
|
||||
CREATE CLASS QTreeView INHERIT QAbstractItemView
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -70,29 +71,47 @@ CLASS QTreeView INHERIT QAbstractItemView
|
||||
METHOD expandsOnDoubleClick() INLINE Qt_QTreeView_expandsOnDoubleClick( ::pPtr )
|
||||
METHOD header() INLINE Qt_QTreeView_header( ::pPtr )
|
||||
METHOD indentation() INLINE Qt_QTreeView_indentation( ::pPtr )
|
||||
METHOD indexAbove( pIndex ) INLINE Qt_QTreeView_indexAbove( ::pPtr, pIndex )
|
||||
METHOD indexBelow( pIndex ) INLINE Qt_QTreeView_indexBelow( ::pPtr, pIndex )
|
||||
METHOD isAnimated() INLINE Qt_QTreeView_isAnimated( ::pPtr )
|
||||
METHOD isColumnHidden( nColumn ) INLINE Qt_QTreeView_isColumnHidden( ::pPtr, nColumn )
|
||||
METHOD isExpanded( pIndex ) INLINE Qt_QTreeView_isExpanded( ::pPtr, pIndex )
|
||||
METHOD isFirstColumnSpanned( nRow, pParent ) INLINE Qt_QTreeView_isFirstColumnSpanned( ::pPtr, nRow, pParent )
|
||||
METHOD isHeaderHidden() INLINE Qt_QTreeView_isHeaderHidden( ::pPtr )
|
||||
METHOD isRowHidden( nRow, pParent ) INLINE Qt_QTreeView_isRowHidden( ::pPtr, nRow, pParent )
|
||||
METHOD isSortingEnabled() INLINE Qt_QTreeView_isSortingEnabled( ::pPtr )
|
||||
METHOD itemsExpandable() INLINE Qt_QTreeView_itemsExpandable( ::pPtr )
|
||||
METHOD rootIsDecorated() INLINE Qt_QTreeView_rootIsDecorated( ::pPtr )
|
||||
METHOD scrollTo( pIndex, nHint ) INLINE Qt_QTreeView_scrollTo( ::pPtr, pIndex, nHint )
|
||||
METHOD setAllColumnsShowFocus( lEnable ) INLINE Qt_QTreeView_setAllColumnsShowFocus( ::pPtr, lEnable )
|
||||
METHOD setAnimated( lEnable ) INLINE Qt_QTreeView_setAnimated( ::pPtr, lEnable )
|
||||
METHOD setAutoExpandDelay( nDelay ) INLINE Qt_QTreeView_setAutoExpandDelay( ::pPtr, nDelay )
|
||||
METHOD setColumnHidden( nColumn, lHide ) INLINE Qt_QTreeView_setColumnHidden( ::pPtr, nColumn, lHide )
|
||||
METHOD setColumnWidth( nColumn, nWidth ) INLINE Qt_QTreeView_setColumnWidth( ::pPtr, nColumn, nWidth )
|
||||
METHOD setExpanded( pIndex, lExpanded ) INLINE Qt_QTreeView_setExpanded( ::pPtr, pIndex, lExpanded )
|
||||
METHOD setExpandsOnDoubleClick( lEnable ) INLINE Qt_QTreeView_setExpandsOnDoubleClick( ::pPtr, lEnable )
|
||||
METHOD setFirstColumnSpanned( nRow, pParent, lSpan ) INLINE Qt_QTreeView_setFirstColumnSpanned( ::pPtr, nRow, pParent, lSpan )
|
||||
METHOD setHeader( pHeader ) INLINE Qt_QTreeView_setHeader( ::pPtr, pHeader )
|
||||
METHOD setHeaderHidden( lHide ) INLINE Qt_QTreeView_setHeaderHidden( ::pPtr, lHide )
|
||||
METHOD setIndentation( nI ) INLINE Qt_QTreeView_setIndentation( ::pPtr, nI )
|
||||
METHOD setItemsExpandable( lEnable ) INLINE Qt_QTreeView_setItemsExpandable( ::pPtr, lEnable )
|
||||
METHOD setRootIsDecorated( lShow ) INLINE Qt_QTreeView_setRootIsDecorated( ::pPtr, lShow )
|
||||
METHOD setRowHidden( nRow, pParent, lHide ) INLINE Qt_QTreeView_setRowHidden( ::pPtr, nRow, pParent, lHide )
|
||||
METHOD setSortingEnabled( lEnable ) INLINE Qt_QTreeView_setSortingEnabled( ::pPtr, lEnable )
|
||||
METHOD setUniformRowHeights( lUniform ) INLINE Qt_QTreeView_setUniformRowHeights( ::pPtr, lUniform )
|
||||
METHOD setWordWrap( lOn ) INLINE Qt_QTreeView_setWordWrap( ::pPtr, lOn )
|
||||
METHOD sortByColumn( nColumn, nOrder ) INLINE Qt_QTreeView_sortByColumn( ::pPtr, nColumn, nOrder )
|
||||
METHOD uniformRowHeights() INLINE Qt_QTreeView_uniformRowHeights( ::pPtr )
|
||||
METHOD visualRect( pIndex ) INLINE Qt_QTreeView_visualRect( ::pPtr, pIndex )
|
||||
METHOD wordWrap() INLINE Qt_QTreeView_wordWrap( ::pPtr )
|
||||
METHOD collapse( pIndex ) INLINE Qt_QTreeView_collapse( ::pPtr, pIndex )
|
||||
METHOD collapseAll() INLINE Qt_QTreeView_collapseAll( ::pPtr )
|
||||
METHOD expand( pIndex ) INLINE Qt_QTreeView_expand( ::pPtr, pIndex )
|
||||
METHOD expandAll() INLINE Qt_QTreeView_expandAll( ::pPtr )
|
||||
METHOD expandToDepth( nDepth ) INLINE Qt_QTreeView_expandToDepth( ::pPtr, nDepth )
|
||||
METHOD hideColumn( nColumn ) INLINE Qt_QTreeView_hideColumn( ::pPtr, nColumn )
|
||||
METHOD resizeColumnToContents( nColumn ) INLINE Qt_QTreeView_resizeColumnToContents( ::pPtr, nColumn )
|
||||
METHOD showColumn( nColumn ) INLINE Qt_QTreeView_showColumn( ::pPtr, nColumn )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -100,6 +119,8 @@ CLASS QTreeView INHERIT QAbstractItemView
|
||||
|
||||
METHOD New( pParent ) CLASS QTreeView
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QTreeView( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
@@ -53,12 +53,13 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#include 'hbclass.ch'
|
||||
#include "hbclass.ch"
|
||||
|
||||
|
||||
CLASS QTreeWidget INHERIT QTreeView
|
||||
CREATE CLASS QTreeWidget INHERIT QTreeView
|
||||
|
||||
DATA pPtr
|
||||
VAR pParent
|
||||
VAR pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
@@ -74,7 +75,7 @@ CLASS QTreeWidget INHERIT QTreeView
|
||||
METHOD invisibleRootItem() INLINE Qt_QTreeWidget_invisibleRootItem( ::pPtr )
|
||||
METHOD isFirstItemColumnSpanned( pItem ) INLINE Qt_QTreeWidget_isFirstItemColumnSpanned( ::pPtr, pItem )
|
||||
METHOD itemAbove( pItem ) INLINE Qt_QTreeWidget_itemAbove( ::pPtr, pItem )
|
||||
METHOD itemAt( aPointP ) INLINE Qt_QTreeWidget_itemAt( ::pPtr, aPointP )
|
||||
METHOD itemAt( pP ) INLINE Qt_QTreeWidget_itemAt( ::pPtr, pP )
|
||||
METHOD itemAt_1( nX, nY ) INLINE Qt_QTreeWidget_itemAt_1( ::pPtr, nX, nY )
|
||||
METHOD itemBelow( pItem ) INLINE Qt_QTreeWidget_itemBelow( ::pPtr, pItem )
|
||||
METHOD itemWidget( pItem, nColumn ) INLINE Qt_QTreeWidget_itemWidget( ::pPtr, pItem, nColumn )
|
||||
@@ -87,6 +88,7 @@ CLASS QTreeWidget INHERIT QTreeView
|
||||
METHOD setFirstItemColumnSpanned( pItem, lSpan ) INLINE Qt_QTreeWidget_setFirstItemColumnSpanned( ::pPtr, pItem, lSpan )
|
||||
METHOD setHeaderItem( pItem ) INLINE Qt_QTreeWidget_setHeaderItem( ::pPtr, pItem )
|
||||
METHOD setHeaderLabel( cLabel ) INLINE Qt_QTreeWidget_setHeaderLabel( ::pPtr, cLabel )
|
||||
METHOD setHeaderLabels( pLabels ) INLINE Qt_QTreeWidget_setHeaderLabels( ::pPtr, pLabels )
|
||||
METHOD setItemWidget( pItem, nColumn, pWidget ) INLINE Qt_QTreeWidget_setItemWidget( ::pPtr, pItem, nColumn, pWidget )
|
||||
METHOD sortColumn() INLINE Qt_QTreeWidget_sortColumn( ::pPtr )
|
||||
METHOD sortItems( nColumn, nOrder ) INLINE Qt_QTreeWidget_sortItems( ::pPtr, nColumn, nOrder )
|
||||
@@ -94,6 +96,10 @@ CLASS QTreeWidget INHERIT QTreeView
|
||||
METHOD topLevelItem( nIndex ) INLINE Qt_QTreeWidget_topLevelItem( ::pPtr, nIndex )
|
||||
METHOD topLevelItemCount() INLINE Qt_QTreeWidget_topLevelItemCount( ::pPtr )
|
||||
METHOD visualItemRect( pItem ) INLINE Qt_QTreeWidget_visualItemRect( ::pPtr, pItem )
|
||||
METHOD clear() INLINE Qt_QTreeWidget_clear( ::pPtr )
|
||||
METHOD collapseItem( pItem ) INLINE Qt_QTreeWidget_collapseItem( ::pPtr, pItem )
|
||||
METHOD expandItem( pItem ) INLINE Qt_QTreeWidget_expandItem( ::pPtr, pItem )
|
||||
METHOD scrollToItem( pItem, nHint ) INLINE Qt_QTreeWidget_scrollToItem( ::pPtr, pItem, nHint )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
@@ -101,6 +107,8 @@ CLASS QTreeWidget INHERIT QTreeView
|
||||
|
||||
METHOD New( pParent ) CLASS QTreeWidget
|
||||
|
||||
::pParent := pParent
|
||||
|
||||
::pPtr := Qt_QTreeWidget( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user