2009-03-31 01:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
* harbour/contrib/hbqt/Makefile
% Makefile is auto generated by <hbqtgen.exe> and is placed
in hbqt/gensource.
* harbour/contrib/hbqt/hbqt_base.cpp
* harbour/contrib/hbqt/hbqt_qabstractbutton.cpp
* harbour/contrib/hbqt/hbqt_qabstractitemview.cpp
* harbour/contrib/hbqt/hbqt_qabstractprintdialog.cpp
* harbour/contrib/hbqt/hbqt_qabstractscrollarea.cpp
* harbour/contrib/hbqt/hbqt_qabstractslider.cpp
* harbour/contrib/hbqt/hbqt_qabstractspinbox.cpp
* harbour/contrib/hbqt/hbqt_qaction.cpp
* harbour/contrib/hbqt/hbqt_qapplication.cpp
* harbour/contrib/hbqt/hbqt_qboxlayout.cpp
+ harbour/contrib/hbqt/hbqt_qbrush.cpp
* harbour/contrib/hbqt/hbqt_qcalendarwidget.cpp
* harbour/contrib/hbqt/hbqt_qcheckbox.cpp
+ harbour/contrib/hbqt/hbqt_qcolor.cpp
* harbour/contrib/hbqt/hbqt_qcolordialog.cpp
* harbour/contrib/hbqt/hbqt_qcombobox.cpp
* harbour/contrib/hbqt/hbqt_qcommandlinkbutton.cpp
* harbour/contrib/hbqt/hbqt_qcoreapplication.cpp
- harbour/contrib/hbqt/hbqt_qcqlendarwidget.cpp
* harbour/contrib/hbqt/hbqt_qdateedit.cpp
* harbour/contrib/hbqt/hbqt_qdatetimeedit.cpp
* harbour/contrib/hbqt/hbqt_qdial.cpp
* harbour/contrib/hbqt/hbqt_qdialog.cpp
* harbour/contrib/hbqt/hbqt_qdoublespinbox.cpp
* harbour/contrib/hbqt/hbqt_qerrormessage.cpp
* harbour/contrib/hbqt/hbqt_qfiledialog.cpp
* harbour/contrib/hbqt/hbqt_qfocusframe.cpp
* harbour/contrib/hbqt/hbqt_qfont.cpp
* harbour/contrib/hbqt/hbqt_qfontcombobox.cpp
* harbour/contrib/hbqt/hbqt_qfontdialog.cpp
* harbour/contrib/hbqt/hbqt_qformlayout.cpp
* harbour/contrib/hbqt/hbqt_qframe.cpp
* harbour/contrib/hbqt/hbqt_qgroupbox.cpp
* harbour/contrib/hbqt/hbqt_qhboxlayout.cpp
* harbour/contrib/hbqt/hbqt_qinputdialog.cpp
* harbour/contrib/hbqt/hbqt_qlabel.cpp
* harbour/contrib/hbqt/hbqt_qlayout.cpp
* harbour/contrib/hbqt/hbqt_qlayoutitem.cpp
* harbour/contrib/hbqt/hbqt_qlcdnumber.cpp
* harbour/contrib/hbqt/hbqt_qlineedit.cpp
* harbour/contrib/hbqt/hbqt_qlistview.cpp
* harbour/contrib/hbqt/hbqt_qmainwindow.cpp
* harbour/contrib/hbqt/hbqt_qmenu.cpp
* harbour/contrib/hbqt/hbqt_qmenubar.cpp
* harbour/contrib/hbqt/hbqt_qmessagebox.cpp
* harbour/contrib/hbqt/hbqt_qobject.cpp
* harbour/contrib/hbqt/hbqt_qpagesetupdialog.cpp
+ harbour/contrib/hbqt/hbqt_qpaintdevice.cpp
+ harbour/contrib/hbqt/hbqt_qpainter.cpp
+ harbour/contrib/hbqt/hbqt_qpen.cpp
* harbour/contrib/hbqt/hbqt_qprintdialog.cpp
* harbour/contrib/hbqt/hbqt_qprintpreviewdialog.cpp
* harbour/contrib/hbqt/hbqt_qprogressbar.cpp
* harbour/contrib/hbqt/hbqt_qprogressdialog.cpp
* harbour/contrib/hbqt/hbqt_qpushbutton.cpp
* harbour/contrib/hbqt/hbqt_qradiobutton.cpp
* harbour/contrib/hbqt/hbqt_qscrollarea.cpp
* harbour/contrib/hbqt/hbqt_qscrollbar.cpp
* harbour/contrib/hbqt/hbqt_qsizegrip.cpp
* harbour/contrib/hbqt/hbqt_qslider.cpp
* harbour/contrib/hbqt/hbqt_qspinbox.cpp
* harbour/contrib/hbqt/hbqt_qsplitter.cpp
* harbour/contrib/hbqt/hbqt_qtabbar.cpp
* harbour/contrib/hbqt/hbqt_qtableview.cpp
* harbour/contrib/hbqt/hbqt_qtablewidget.cpp
* harbour/contrib/hbqt/hbqt_qtablewidgetitem.cpp
* harbour/contrib/hbqt/hbqt_qtabwidget.cpp
* harbour/contrib/hbqt/hbqt_qtextedit.cpp
* harbour/contrib/hbqt/hbqt_qtimeedit.cpp
* harbour/contrib/hbqt/hbqt_qtoolbar.cpp
* harbour/contrib/hbqt/hbqt_qtoolbox.cpp
* harbour/contrib/hbqt/hbqt_qtoolbutton.cpp
* harbour/contrib/hbqt/hbqt_qtreeview.cpp
* harbour/contrib/hbqt/hbqt_qtreewidget.cpp
* harbour/contrib/hbqt/hbqt_qtreewidgetitem.cpp
* harbour/contrib/hbqt/hbqt_qvboxlayout.cpp
+ harbour/contrib/hbqt/hbqt_qwebpage.cpp
* harbour/contrib/hbqt/hbqt_qwebview.cpp
* harbour/contrib/hbqt/hbqt_qwidget.cpp
* harbour/contrib/hbqt/hbqt_qwizard.cpp
* harbour/contrib/hbqt/hbqt_slots.cpp
* harbour/contrib/hbqt/hbqt_utils.cpp
* harbour/contrib/hbqt/moc_slots.cpp
* harbour/contrib/hbqt/hbqt.h
+ harbour/contrib/hbqt/hbqt_slots.h
- harbour/contrib/hbqt/slots.h
+- Added | Changed | Deleted Sources.
Now these sources are auto generated by the HB-QT generator.
Please never try to modify these. Instead look at /qth folder
and .qth source definition files. I will write a detailed
description once it becomes fully operational as I have
drawn on the drawing board. The above code is fully functional
to the extent it is generated but still about 30% functions
have not been translated. A work in progress...
+ harbour/contrib/hbqt/TQAbstractButton.prg
+ harbour/contrib/hbqt/TQAbstractItemView.prg
+ harbour/contrib/hbqt/TQAbstractPrintDialog.prg
+ harbour/contrib/hbqt/TQAbstractScrollArea.prg
+ harbour/contrib/hbqt/TQAbstractSlider.prg
+ harbour/contrib/hbqt/TQAbstractSpinBox.prg
+ harbour/contrib/hbqt/TQAction.prg
+ harbour/contrib/hbqt/TQBoxLayout.prg
+ harbour/contrib/hbqt/TQCalendarWidget.prg
+ harbour/contrib/hbqt/TQCheckBox.prg
+ harbour/contrib/hbqt/TQColorDialog.prg
+ harbour/contrib/hbqt/TQComboBox.prg
+ harbour/contrib/hbqt/TQCommandLinkButton.prg
+ harbour/contrib/hbqt/TQDateEdit.prg
+ harbour/contrib/hbqt/TQDateTimeEdit.prg
+ harbour/contrib/hbqt/TQDial.prg
+ harbour/contrib/hbqt/TQDialog.prg
+ harbour/contrib/hbqt/TQDoubleSpinBox.prg
+ harbour/contrib/hbqt/TQErrorMessage.prg
+ harbour/contrib/hbqt/TQFileDialog.prg
+ harbour/contrib/hbqt/TQFocusFrame.prg
+ harbour/contrib/hbqt/TQFontComboBox.prg
+ harbour/contrib/hbqt/TQFontDialog.prg
+ harbour/contrib/hbqt/TQFormLayout.prg
+ harbour/contrib/hbqt/TQFrame.prg
+ harbour/contrib/hbqt/TQGroupBox.prg
+ harbour/contrib/hbqt/TQHBoxLayout.prg
+ harbour/contrib/hbqt/TQInputDialog.prg
+ harbour/contrib/hbqt/TQLabel.prg
+ harbour/contrib/hbqt/TQLayout.prg
+ harbour/contrib/hbqt/TQLayoutItem.prg
+ harbour/contrib/hbqt/TQLCDNumber.prg
+ harbour/contrib/hbqt/TQLineEdit.prg
+ harbour/contrib/hbqt/TQListView.prg
+ harbour/contrib/hbqt/TQMainWindow.prg
+ harbour/contrib/hbqt/TQMenu.prg
+ harbour/contrib/hbqt/TQMenuBar.prg
+ harbour/contrib/hbqt/TQMessageBox.prg
+ harbour/contrib/hbqt/TQObject.prg
+ harbour/contrib/hbqt/TQPageSetupDialog.prg
+ harbour/contrib/hbqt/TQPaintDevice.prg
+ harbour/contrib/hbqt/TQPainter.prg
+ harbour/contrib/hbqt/TQPrintDialog.prg
+ harbour/contrib/hbqt/TQPrintPreviewDialog.prg
+ harbour/contrib/hbqt/TQProgressBar.prg
+ harbour/contrib/hbqt/TQProgressDialog.prg
+ harbour/contrib/hbqt/TQPushButton.prg
+ harbour/contrib/hbqt/TQRadioButton.prg
+ harbour/contrib/hbqt/TQScrollArea.prg
+ harbour/contrib/hbqt/TQScrollBar.prg
+ harbour/contrib/hbqt/TQSizeGrip.prg
+ harbour/contrib/hbqt/TQSlider.prg
+ harbour/contrib/hbqt/TQSpinBox.prg
+ harbour/contrib/hbqt/TQSplitter.prg
+ harbour/contrib/hbqt/TQTabBar.prg
+ harbour/contrib/hbqt/TQTableView.prg
+ harbour/contrib/hbqt/TQTableWidget.prg
+ harbour/contrib/hbqt/TQTableWidgetItem.prg
+ harbour/contrib/hbqt/TQTabWidget.prg
+ harbour/contrib/hbqt/TQTextEdit.prg
+ harbour/contrib/hbqt/TQTimeEdit.prg
+ harbour/contrib/hbqt/TQToolBar.prg
+ harbour/contrib/hbqt/TQToolBox.prg
+ harbour/contrib/hbqt/TQToolButton.prg
+ harbour/contrib/hbqt/TQTreeView.prg
+ harbour/contrib/hbqt/TQTreeWidget.prg
+ harbour/contrib/hbqt/TQTreeWidgetItem.prg
+ harbour/contrib/hbqt/TQVBoxLayout.prg
+ harbour/contrib/hbqt/TQWebPage.prg
+ harbour/contrib/hbqt/TQWebView.prg
+ harbour/contrib/hbqt/TQWidget.prg
+ harbour/contrib/hbqt/TQWizard.prg
+ Added auto generated classes with exact same class hierarchy
which QT has outlined with inheritance. QT implements
constructors with dynamic parameters which on prg level
are difficult to manage. So I have adopted a simple
approach. :New() accepts only one argument <pParent> i.e.,
pointer to the parent object, if any, and which is universal
in QT implementation. This class implementation implies
that PRG code will pass <pPointer> to a method and will
receive <oObject> | <pPointer>. We can build higher level
classes inheriting from above and implement whatever way we wish
to pass and receive objects. I would like those higher
level classes to confirm Xbase++ standards.
* harbour/contrib/hbqt/qth/QAbstractButton.qth
* harbour/contrib/hbqt/qth/QAbstractItemView.qth
* harbour/contrib/hbqt/qth/QAbstractPrintDialog.qth
* harbour/contrib/hbqt/qth/QAbstractScrollArea.qth
* harbour/contrib/hbqt/qth/QAbstractSlider.qth
* harbour/contrib/hbqt/qth/QAbstractSpinBox.qth
* harbour/contrib/hbqt/qth/QAction.qth
* harbour/contrib/hbqt/qth/QBoxLayout.qth
* harbour/contrib/hbqt/qth/QCalendarWidget.qth
* harbour/contrib/hbqt/qth/QCheckBox.qth
* harbour/contrib/hbqt/qth/QColorDialog.qth
* harbour/contrib/hbqt/qth/QComboBox.qth
* harbour/contrib/hbqt/qth/QCommandLinkButton.qth
* harbour/contrib/hbqt/qth/QDateEdit.qth
* harbour/contrib/hbqt/qth/QDateTimeEdit.qth
* harbour/contrib/hbqt/qth/QDial.qth
* harbour/contrib/hbqt/qth/QDialog.qth
* harbour/contrib/hbqt/qth/QDoubleSpinBox.qth
* harbour/contrib/hbqt/qth/QErrorMessage.qth
* harbour/contrib/hbqt/qth/QFileDialog.qth
* harbour/contrib/hbqt/qth/QFocusFrame.qth
* harbour/contrib/hbqt/qth/QFontComboBox.qth
* harbour/contrib/hbqt/qth/QFontDialog.qth
* harbour/contrib/hbqt/qth/QFormLayout.qth
* harbour/contrib/hbqt/qth/QFrame.qth
* harbour/contrib/hbqt/qth/QGroupBox.qth
* harbour/contrib/hbqt/qth/QHBoxLayout.qth
* harbour/contrib/hbqt/qth/QInputDialog.qth
* harbour/contrib/hbqt/qth/QLabel.qth
* harbour/contrib/hbqt/qth/QLayout.qth
* harbour/contrib/hbqt/qth/QLayoutItem.qth
* harbour/contrib/hbqt/qth/QLCDNumber.qth
* harbour/contrib/hbqt/qth/QLineEdit.qth
* harbour/contrib/hbqt/qth/QListView.qth
* harbour/contrib/hbqt/qth/QMainWindow.qth
* harbour/contrib/hbqt/qth/QMenu.qth
* harbour/contrib/hbqt/qth/QMenuBar.qth
* harbour/contrib/hbqt/qth/QMessageBox.qth
* harbour/contrib/hbqt/qth/QObject.qth
* harbour/contrib/hbqt/qth/QPageSetupDialog.qth
+ harbour/contrib/hbqt/qth/QPaintDevice.qth
* harbour/contrib/hbqt/qth/QPainter.qth
* harbour/contrib/hbqt/qth/QPrintDialog.qth
* harbour/contrib/hbqt/qth/QPrintPreviewDialog.qth
* harbour/contrib/hbqt/qth/QProgressBar.qth
+ harbour/contrib/hbqt/qth/QProgressDialog.qth
* harbour/contrib/hbqt/qth/QPushButton.qth
* harbour/contrib/hbqt/qth/QRadioButton.qth
* harbour/contrib/hbqt/qth/QScrollArea.qth
* harbour/contrib/hbqt/qth/QScrollBar.qth
* harbour/contrib/hbqt/qth/QSizeGrip.qth
* harbour/contrib/hbqt/qth/QSlider.qth
* harbour/contrib/hbqt/qth/QSpinBox.qth
* harbour/contrib/hbqt/qth/QSplitter.qth
* harbour/contrib/hbqt/qth/QTabBar.qth
* harbour/contrib/hbqt/qth/QTableView.qth
* harbour/contrib/hbqt/qth/QTableWidget.qth
* harbour/contrib/hbqt/qth/QTableWidgetItem.qth
* harbour/contrib/hbqt/qth/QTabWidget.qth
* harbour/contrib/hbqt/qth/QTextEdit.qth
* harbour/contrib/hbqt/qth/QTimeEdit.qth
* harbour/contrib/hbqt/qth/QToolBar.qth
* harbour/contrib/hbqt/qth/QToolBox.qth
* harbour/contrib/hbqt/qth/QToolButton.qth
* harbour/contrib/hbqt/qth/QTreeView.qth
* harbour/contrib/hbqt/qth/QTreeWidget.qth
* harbour/contrib/hbqt/qth/QTreeWidgetItem.qth
* harbour/contrib/hbqt/qth/QVBoxLayout.qth
+ harbour/contrib/hbqt/qth/QWebPage.qth
+ harbour/contrib/hbqt/qth/QWebView.qth
* harbour/contrib/hbqt/qth/QWidget.qth
+ harbour/contrib/hbqt/qth/QWizard.qth
+ Added | Changed source definitions to honor class construction.
* harbour/contrib/hbqt/generator/hbqtgen.prg
! Enhanced to generate .cpp | .h | .prg | .txt.
Now .cpp sources contain information about which functions
are still awaiting to be included plus the percentage in this form:
- 189/229 [ 73.78% ]
* harbour/contrib/hbqt/generator/qt45.qtp
! Added new .qth source definitions.
* harbour/contrib/hbqt/tests/demoqt.prg
! Auto generated demo program. Just play with it and
you will be surprised how simple it is to use QT; all
gadgets provided.
SUMUP: Auto Generated Files:
- hbqt/gensource/hbqt_q*.cpp source files
- hbqt/doc/Q*.txt documentation on function calls
- hbqt/tests/demoqt.prg demonstration program
- hbqt/gensource/hbqt.h
- hbqt/gensource/hbqt_slots.h
- hbqt/gensource/hbqt_slots.cpp
- hbqt/gensource/hbqt_base.cpp
- hbqt/gensource/moc_slots.cpp
PROGNOSIS:
- Stay in harbour/contrib/hbqt/generator
- hbmk2.exe hbqtgen
- del ..\gensource\*.*
- del ..\doc\*.*
- hbqtgen.exe qt45.qtp
- cd ..
- you should be staying at harbour/contrib/hbqt
- del *.* ( be careful that you are under the right folder )
- copy gensource/*.*
- invoke QT specific build batch
- cd tests
- hbmk2.exe demoqt
- demoqt.exe
- .
- play with gadgets
This commit is contained in:
@@ -8,6 +8,307 @@
|
||||
2009-12-31 13:59 UTC+0100 Foo Bar (foo.bar foobar.org)
|
||||
*/
|
||||
|
||||
2009-03-31 01:50 UTC-0800 Pritpal Bedi (pritpal@vouchcac.com)
|
||||
* harbour/contrib/hbqt/Makefile
|
||||
% Makefile is auto generated by <hbqtgen.exe> and is placed
|
||||
in hbqt/gensource.
|
||||
|
||||
* harbour/contrib/hbqt/hbqt_base.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qabstractbutton.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qabstractitemview.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qabstractprintdialog.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qabstractscrollarea.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qabstractslider.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qabstractspinbox.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qaction.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qapplication.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qboxlayout.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qbrush.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qcalendarwidget.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qcheckbox.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qcolor.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qcolordialog.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qcombobox.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qcommandlinkbutton.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qcoreapplication.cpp
|
||||
- harbour/contrib/hbqt/hbqt_qcqlendarwidget.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qdateedit.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qdatetimeedit.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qdial.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qdialog.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qdoublespinbox.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qerrormessage.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qfiledialog.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qfocusframe.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qfont.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qfontcombobox.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qfontdialog.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qformlayout.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qframe.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qgroupbox.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qhboxlayout.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qinputdialog.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qlabel.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qlayout.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qlayoutitem.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qlcdnumber.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qlineedit.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qlistview.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qmainwindow.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qmenu.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qmenubar.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qmessagebox.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qobject.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qpagesetupdialog.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qpaintdevice.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qpainter.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qpen.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qprintdialog.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qprintpreviewdialog.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qprogressbar.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qprogressdialog.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qpushbutton.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qradiobutton.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qscrollarea.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qscrollbar.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qsizegrip.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qslider.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qspinbox.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qsplitter.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qtabbar.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qtableview.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qtablewidget.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qtablewidgetitem.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qtabwidget.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qtextedit.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qtimeedit.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qtoolbar.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qtoolbox.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qtoolbutton.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qtreeview.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qtreewidget.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qtreewidgetitem.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qvboxlayout.cpp
|
||||
+ harbour/contrib/hbqt/hbqt_qwebpage.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qwebview.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qwidget.cpp
|
||||
* harbour/contrib/hbqt/hbqt_qwizard.cpp
|
||||
* harbour/contrib/hbqt/hbqt_slots.cpp
|
||||
* harbour/contrib/hbqt/hbqt_utils.cpp
|
||||
* harbour/contrib/hbqt/moc_slots.cpp
|
||||
* harbour/contrib/hbqt/hbqt.h
|
||||
+ harbour/contrib/hbqt/hbqt_slots.h
|
||||
- harbour/contrib/hbqt/slots.h
|
||||
+- Added | Changed | Deleted Sources.
|
||||
Now these sources are auto generated by the HB-QT generator.
|
||||
Please never try to modify these. Instead look at /qth folder
|
||||
and .qth source definition files. I will write a detailed
|
||||
description once it becomes fully operational as I have
|
||||
drawn on the drawing board. The above code is fully functional
|
||||
to the extent it is generated but still about 30% functions
|
||||
have not been translated. A work in progress...
|
||||
|
||||
+ harbour/contrib/hbqt/TQAbstractButton.prg
|
||||
+ harbour/contrib/hbqt/TQAbstractItemView.prg
|
||||
+ harbour/contrib/hbqt/TQAbstractPrintDialog.prg
|
||||
+ harbour/contrib/hbqt/TQAbstractScrollArea.prg
|
||||
+ harbour/contrib/hbqt/TQAbstractSlider.prg
|
||||
+ harbour/contrib/hbqt/TQAbstractSpinBox.prg
|
||||
+ harbour/contrib/hbqt/TQAction.prg
|
||||
+ harbour/contrib/hbqt/TQBoxLayout.prg
|
||||
+ harbour/contrib/hbqt/TQCalendarWidget.prg
|
||||
+ harbour/contrib/hbqt/TQCheckBox.prg
|
||||
+ harbour/contrib/hbqt/TQColorDialog.prg
|
||||
+ harbour/contrib/hbqt/TQComboBox.prg
|
||||
+ harbour/contrib/hbqt/TQCommandLinkButton.prg
|
||||
+ harbour/contrib/hbqt/TQDateEdit.prg
|
||||
+ harbour/contrib/hbqt/TQDateTimeEdit.prg
|
||||
+ harbour/contrib/hbqt/TQDial.prg
|
||||
+ harbour/contrib/hbqt/TQDialog.prg
|
||||
+ harbour/contrib/hbqt/TQDoubleSpinBox.prg
|
||||
+ harbour/contrib/hbqt/TQErrorMessage.prg
|
||||
+ harbour/contrib/hbqt/TQFileDialog.prg
|
||||
+ harbour/contrib/hbqt/TQFocusFrame.prg
|
||||
+ harbour/contrib/hbqt/TQFontComboBox.prg
|
||||
+ harbour/contrib/hbqt/TQFontDialog.prg
|
||||
+ harbour/contrib/hbqt/TQFormLayout.prg
|
||||
+ harbour/contrib/hbqt/TQFrame.prg
|
||||
+ harbour/contrib/hbqt/TQGroupBox.prg
|
||||
+ harbour/contrib/hbqt/TQHBoxLayout.prg
|
||||
+ harbour/contrib/hbqt/TQInputDialog.prg
|
||||
+ harbour/contrib/hbqt/TQLabel.prg
|
||||
+ harbour/contrib/hbqt/TQLayout.prg
|
||||
+ harbour/contrib/hbqt/TQLayoutItem.prg
|
||||
+ harbour/contrib/hbqt/TQLCDNumber.prg
|
||||
+ harbour/contrib/hbqt/TQLineEdit.prg
|
||||
+ harbour/contrib/hbqt/TQListView.prg
|
||||
+ harbour/contrib/hbqt/TQMainWindow.prg
|
||||
+ harbour/contrib/hbqt/TQMenu.prg
|
||||
+ harbour/contrib/hbqt/TQMenuBar.prg
|
||||
+ harbour/contrib/hbqt/TQMessageBox.prg
|
||||
+ harbour/contrib/hbqt/TQObject.prg
|
||||
+ harbour/contrib/hbqt/TQPageSetupDialog.prg
|
||||
+ harbour/contrib/hbqt/TQPaintDevice.prg
|
||||
+ harbour/contrib/hbqt/TQPainter.prg
|
||||
+ harbour/contrib/hbqt/TQPrintDialog.prg
|
||||
+ harbour/contrib/hbqt/TQPrintPreviewDialog.prg
|
||||
+ harbour/contrib/hbqt/TQProgressBar.prg
|
||||
+ harbour/contrib/hbqt/TQProgressDialog.prg
|
||||
+ harbour/contrib/hbqt/TQPushButton.prg
|
||||
+ harbour/contrib/hbqt/TQRadioButton.prg
|
||||
+ harbour/contrib/hbqt/TQScrollArea.prg
|
||||
+ harbour/contrib/hbqt/TQScrollBar.prg
|
||||
+ harbour/contrib/hbqt/TQSizeGrip.prg
|
||||
+ harbour/contrib/hbqt/TQSlider.prg
|
||||
+ harbour/contrib/hbqt/TQSpinBox.prg
|
||||
+ harbour/contrib/hbqt/TQSplitter.prg
|
||||
+ harbour/contrib/hbqt/TQTabBar.prg
|
||||
+ harbour/contrib/hbqt/TQTableView.prg
|
||||
+ harbour/contrib/hbqt/TQTableWidget.prg
|
||||
+ harbour/contrib/hbqt/TQTableWidgetItem.prg
|
||||
+ harbour/contrib/hbqt/TQTabWidget.prg
|
||||
+ harbour/contrib/hbqt/TQTextEdit.prg
|
||||
+ harbour/contrib/hbqt/TQTimeEdit.prg
|
||||
+ harbour/contrib/hbqt/TQToolBar.prg
|
||||
+ harbour/contrib/hbqt/TQToolBox.prg
|
||||
+ harbour/contrib/hbqt/TQToolButton.prg
|
||||
+ harbour/contrib/hbqt/TQTreeView.prg
|
||||
+ harbour/contrib/hbqt/TQTreeWidget.prg
|
||||
+ harbour/contrib/hbqt/TQTreeWidgetItem.prg
|
||||
+ harbour/contrib/hbqt/TQVBoxLayout.prg
|
||||
+ harbour/contrib/hbqt/TQWebPage.prg
|
||||
+ harbour/contrib/hbqt/TQWebView.prg
|
||||
+ harbour/contrib/hbqt/TQWidget.prg
|
||||
+ harbour/contrib/hbqt/TQWizard.prg
|
||||
+ Added auto generated classes with exact same class hierarchy
|
||||
which QT has outlined with inheritance. QT implements
|
||||
constructors with dynamic parameters which on prg level
|
||||
are difficult to manage. So I have adopted a simple
|
||||
approach. :New() accepts only one argument <pParent> i.e.,
|
||||
pointer to the parent object, if any, and which is universal
|
||||
in QT implementation. This class implementation implies
|
||||
that PRG code will pass <pPointer> to a method and will
|
||||
receive <oObject> | <pPointer>. We can build higher level
|
||||
classes inheriting from above and implement whatever way we wish
|
||||
to pass and receive objects. I would like those higher
|
||||
level classes to confirm Xbase++ standards.
|
||||
|
||||
* harbour/contrib/hbqt/qth/QAbstractButton.qth
|
||||
* harbour/contrib/hbqt/qth/QAbstractItemView.qth
|
||||
* harbour/contrib/hbqt/qth/QAbstractPrintDialog.qth
|
||||
* harbour/contrib/hbqt/qth/QAbstractScrollArea.qth
|
||||
* harbour/contrib/hbqt/qth/QAbstractSlider.qth
|
||||
* harbour/contrib/hbqt/qth/QAbstractSpinBox.qth
|
||||
* harbour/contrib/hbqt/qth/QAction.qth
|
||||
* harbour/contrib/hbqt/qth/QBoxLayout.qth
|
||||
* harbour/contrib/hbqt/qth/QCalendarWidget.qth
|
||||
* harbour/contrib/hbqt/qth/QCheckBox.qth
|
||||
* harbour/contrib/hbqt/qth/QColorDialog.qth
|
||||
* harbour/contrib/hbqt/qth/QComboBox.qth
|
||||
* harbour/contrib/hbqt/qth/QCommandLinkButton.qth
|
||||
* harbour/contrib/hbqt/qth/QDateEdit.qth
|
||||
* harbour/contrib/hbqt/qth/QDateTimeEdit.qth
|
||||
* harbour/contrib/hbqt/qth/QDial.qth
|
||||
* harbour/contrib/hbqt/qth/QDialog.qth
|
||||
* harbour/contrib/hbqt/qth/QDoubleSpinBox.qth
|
||||
* harbour/contrib/hbqt/qth/QErrorMessage.qth
|
||||
* harbour/contrib/hbqt/qth/QFileDialog.qth
|
||||
* harbour/contrib/hbqt/qth/QFocusFrame.qth
|
||||
* harbour/contrib/hbqt/qth/QFontComboBox.qth
|
||||
* harbour/contrib/hbqt/qth/QFontDialog.qth
|
||||
* harbour/contrib/hbqt/qth/QFormLayout.qth
|
||||
* harbour/contrib/hbqt/qth/QFrame.qth
|
||||
* harbour/contrib/hbqt/qth/QGroupBox.qth
|
||||
* harbour/contrib/hbqt/qth/QHBoxLayout.qth
|
||||
* harbour/contrib/hbqt/qth/QInputDialog.qth
|
||||
* harbour/contrib/hbqt/qth/QLabel.qth
|
||||
* harbour/contrib/hbqt/qth/QLayout.qth
|
||||
* harbour/contrib/hbqt/qth/QLayoutItem.qth
|
||||
* harbour/contrib/hbqt/qth/QLCDNumber.qth
|
||||
* harbour/contrib/hbqt/qth/QLineEdit.qth
|
||||
* harbour/contrib/hbqt/qth/QListView.qth
|
||||
* harbour/contrib/hbqt/qth/QMainWindow.qth
|
||||
* harbour/contrib/hbqt/qth/QMenu.qth
|
||||
* harbour/contrib/hbqt/qth/QMenuBar.qth
|
||||
* harbour/contrib/hbqt/qth/QMessageBox.qth
|
||||
* harbour/contrib/hbqt/qth/QObject.qth
|
||||
* harbour/contrib/hbqt/qth/QPageSetupDialog.qth
|
||||
+ harbour/contrib/hbqt/qth/QPaintDevice.qth
|
||||
* harbour/contrib/hbqt/qth/QPainter.qth
|
||||
* harbour/contrib/hbqt/qth/QPrintDialog.qth
|
||||
* harbour/contrib/hbqt/qth/QPrintPreviewDialog.qth
|
||||
* harbour/contrib/hbqt/qth/QProgressBar.qth
|
||||
+ harbour/contrib/hbqt/qth/QProgressDialog.qth
|
||||
* harbour/contrib/hbqt/qth/QPushButton.qth
|
||||
* harbour/contrib/hbqt/qth/QRadioButton.qth
|
||||
* harbour/contrib/hbqt/qth/QScrollArea.qth
|
||||
* harbour/contrib/hbqt/qth/QScrollBar.qth
|
||||
* harbour/contrib/hbqt/qth/QSizeGrip.qth
|
||||
* harbour/contrib/hbqt/qth/QSlider.qth
|
||||
* harbour/contrib/hbqt/qth/QSpinBox.qth
|
||||
* harbour/contrib/hbqt/qth/QSplitter.qth
|
||||
* harbour/contrib/hbqt/qth/QTabBar.qth
|
||||
* harbour/contrib/hbqt/qth/QTableView.qth
|
||||
* harbour/contrib/hbqt/qth/QTableWidget.qth
|
||||
* harbour/contrib/hbqt/qth/QTableWidgetItem.qth
|
||||
* harbour/contrib/hbqt/qth/QTabWidget.qth
|
||||
* harbour/contrib/hbqt/qth/QTextEdit.qth
|
||||
* harbour/contrib/hbqt/qth/QTimeEdit.qth
|
||||
* harbour/contrib/hbqt/qth/QToolBar.qth
|
||||
* harbour/contrib/hbqt/qth/QToolBox.qth
|
||||
* harbour/contrib/hbqt/qth/QToolButton.qth
|
||||
* harbour/contrib/hbqt/qth/QTreeView.qth
|
||||
* harbour/contrib/hbqt/qth/QTreeWidget.qth
|
||||
* harbour/contrib/hbqt/qth/QTreeWidgetItem.qth
|
||||
* harbour/contrib/hbqt/qth/QVBoxLayout.qth
|
||||
+ harbour/contrib/hbqt/qth/QWebPage.qth
|
||||
+ harbour/contrib/hbqt/qth/QWebView.qth
|
||||
* harbour/contrib/hbqt/qth/QWidget.qth
|
||||
+ harbour/contrib/hbqt/qth/QWizard.qth
|
||||
+ Added | Changed source definitions to honor class construction.
|
||||
|
||||
* harbour/contrib/hbqt/generator/hbqtgen.prg
|
||||
! Enhanced to generate .cpp | .h | .prg | .txt.
|
||||
Now .cpp sources contain information about which functions
|
||||
are still awaiting to be included plus the percentage in this form:
|
||||
- 189/229 [ 73.78% ]
|
||||
|
||||
* harbour/contrib/hbqt/generator/qt45.qtp
|
||||
! Added new .qth source definitions.
|
||||
|
||||
* harbour/contrib/hbqt/tests/demoqt.prg
|
||||
! Auto generated demo program. Just play with it and
|
||||
you will be surprised how simple it is to use QT; all
|
||||
gadgets provided.
|
||||
|
||||
SUMUP: Auto Generated Files:
|
||||
- hbqt/gensource/hbqt_q*.cpp source files
|
||||
- hbqt/doc/Q*.txt documentation on function calls
|
||||
- hbqt/tests/demoqt.prg demonstration program
|
||||
- hbqt/gensource/hbqt.h
|
||||
- hbqt/gensource/hbqt_slots.h
|
||||
- hbqt/gensource/hbqt_slots.cpp
|
||||
- hbqt/gensource/hbqt_base.cpp
|
||||
- hbqt/gensource/moc_slots.cpp
|
||||
|
||||
PROGNOSIS:
|
||||
- Stay in harbour/contrib/hbqt/generator
|
||||
- hbmk2.exe hbqtgen
|
||||
- del ..\gensource\*.*
|
||||
- del ..\doc\*.*
|
||||
- hbqtgen.exe qt45.qtp
|
||||
- cd ..
|
||||
- you should be staying at harbour/contrib/hbqt
|
||||
- del *.* ( be careful that you are under the right folder )
|
||||
- copy gensource/*.*
|
||||
- invoke QT specific build batch
|
||||
- cd tests
|
||||
- hbmk2.exe demoqt
|
||||
- demoqt.exe
|
||||
- .
|
||||
- play with gadgets
|
||||
|
||||
|
||||
2009-03-31 02:58 UTC+0200 Viktor Szakats (harbour.01 syenar hu)
|
||||
* include/hbsetup.h
|
||||
% '( defined(__POCC_TARGET__) && __POCC_TARGET__ == 2 ) )'
|
||||
|
||||
@@ -46,20 +46,19 @@ ifneq ($(strip $(HB_INC_QT_OK)),)
|
||||
HB_USER_CFLAGS += $(foreach d, $(HB_INC_QT_OK), -I$(d))
|
||||
|
||||
CPP_SOURCES=\
|
||||
hbqt_base.cpp \
|
||||
hbqt_qdialog.cpp \
|
||||
hbqt_qabstractbutton.cpp \
|
||||
hbqt_qabstractitemview.cpp \
|
||||
hbqt_qabstractprintdialog.cpp \
|
||||
hbqt_qwidget.cpp \
|
||||
hbqt_qabstractscrollarea.cpp \
|
||||
hbqt_qabstractslider.cpp \
|
||||
hbqt_qabstractspinbox.cpp \
|
||||
hbqt_qaction.cpp \
|
||||
hbqt_qapplication.cpp \
|
||||
hbqt_qboxlayout.cpp \
|
||||
hbqt_qbrush.cpp \
|
||||
hbqt_qcalendarwidget.cpp \
|
||||
hbqt_qcheckbox.cpp \
|
||||
hbqt_qcolor.cpp \
|
||||
hbqt_qcolordialog.cpp \
|
||||
hbqt_qcombobox.cpp \
|
||||
hbqt_qcommandlinkbutton.cpp \
|
||||
@@ -67,6 +66,7 @@ CPP_SOURCES=\
|
||||
hbqt_qdateedit.cpp \
|
||||
hbqt_qdatetimeedit.cpp \
|
||||
hbqt_qdial.cpp \
|
||||
hbqt_qdialog.cpp \
|
||||
hbqt_qdoublespinbox.cpp \
|
||||
hbqt_qerrormessage.cpp \
|
||||
hbqt_qfiledialog.cpp \
|
||||
@@ -90,7 +90,10 @@ CPP_SOURCES=\
|
||||
hbqt_qmenubar.cpp \
|
||||
hbqt_qmessagebox.cpp \
|
||||
hbqt_qobject.cpp \
|
||||
hbqt_qpaintdevice.cpp \
|
||||
hbqt_qpagesetupdialog.cpp \
|
||||
hbqt_qpainter.cpp \
|
||||
hbqt_qpen.cpp \
|
||||
hbqt_qprintdialog.cpp \
|
||||
hbqt_qprintpreviewdialog.cpp \
|
||||
hbqt_qprogressbar.cpp \
|
||||
@@ -106,32 +109,108 @@ CPP_SOURCES=\
|
||||
hbqt_qtabbar.cpp \
|
||||
hbqt_qtableview.cpp \
|
||||
hbqt_qtablewidget.cpp \
|
||||
hbqt_qtablewidgetitem.cpp \
|
||||
hbqt_qtabwidget.cpp \
|
||||
hbqt_qtextedit.cpp \
|
||||
hbqt_qtimeedit.cpp \
|
||||
hbqt_qtoolbar.cpp \
|
||||
hbqt_qtoolbox.cpp \
|
||||
hbqt_qtoolbutton.cpp \
|
||||
hbqt_qtreeview.cpp \
|
||||
hbqt_qvboxlayout.cpp \
|
||||
hbqt_qwebview.cpp \
|
||||
hbqt_qwizard.cpp \
|
||||
hbqt_slots.cpp \
|
||||
moc_slots.cpp \
|
||||
hbqt_utils.cpp \
|
||||
hbqt_qtreewidget.cpp \
|
||||
hbqt_qtreewidgetitem.cpp \
|
||||
hbqt_qvboxlayout.cpp \
|
||||
hbqt_qwebpage.cpp \
|
||||
hbqt_qwidget.cpp \
|
||||
hbqt_qwizard.cpp \
|
||||
hbqt_qwebview.cpp \
|
||||
hbqt_base.cpp \
|
||||
hbqt_utils.cpp \
|
||||
hbqt_slots.cpp \
|
||||
moc_slots.cpp \
|
||||
|
||||
|
||||
C_HEADERS=\
|
||||
hbqt.h \
|
||||
slots.h \
|
||||
hbqt_slots.h \
|
||||
|
||||
#PRG_HEADERS=\
|
||||
# hbqt.ch \
|
||||
# hbqtextern.ch \
|
||||
# hbqt.ch \
|
||||
# hbqtextern.ch \
|
||||
|
||||
#PRG_SOURCES=\
|
||||
# xxx.prg \
|
||||
PRG_SOURCES=\
|
||||
TQAbstractButton.prg \
|
||||
TQAbstractItemView.prg \
|
||||
TQAbstractPrintDialog.prg \
|
||||
TQAbstractScrollArea.prg \
|
||||
TQAbstractSlider.prg \
|
||||
TQAbstractSpinBox.prg \
|
||||
TQAction.prg \
|
||||
TQBoxLayout.prg \
|
||||
TQCalendarWidget.prg \
|
||||
TQCheckBox.prg \
|
||||
TQColorDialog.prg \
|
||||
TQComboBox.prg \
|
||||
TQCommandLinkButton.prg \
|
||||
TQDateEdit.prg \
|
||||
TQDateTimeEdit.prg \
|
||||
TQDial.prg \
|
||||
TQDialog.prg \
|
||||
TQDoubleSpinBox.prg \
|
||||
TQErrorMessage.prg \
|
||||
TQFileDialog.prg \
|
||||
TQFocusFrame.prg \
|
||||
TQFontComboBox.prg \
|
||||
TQFontDialog.prg \
|
||||
TQFormLayout.prg \
|
||||
TQFrame.prg \
|
||||
TQGroupBox.prg \
|
||||
TQHBoxLayout.prg \
|
||||
TQInputDialog.prg \
|
||||
TQLabel.prg \
|
||||
TQLayout.prg \
|
||||
TQLayoutItem.prg \
|
||||
TQLCDNumber.prg \
|
||||
TQLineEdit.prg \
|
||||
TQListView.prg \
|
||||
TQMainWindow.prg \
|
||||
TQMenu.prg \
|
||||
TQMenuBar.prg \
|
||||
TQMessageBox.prg \
|
||||
TQObject.prg \
|
||||
TQPaintDevice.prg \
|
||||
TQPageSetupDialog.prg \
|
||||
TQPainter.prg \
|
||||
TQPrintDialog.prg \
|
||||
TQPrintPreviewDialog.prg \
|
||||
TQProgressBar.prg \
|
||||
TQProgressDialog.prg \
|
||||
TQPushButton.prg \
|
||||
TQRadioButton.prg \
|
||||
TQScrollArea.prg \
|
||||
TQScrollBar.prg \
|
||||
TQSizeGrip.prg \
|
||||
TQSlider.prg \
|
||||
TQSpinBox.prg \
|
||||
TQSplitter.prg \
|
||||
TQTabBar.prg \
|
||||
TQTableView.prg \
|
||||
TQTableWidget.prg \
|
||||
TQTableWidgetItem.prg \
|
||||
TQTabWidget.prg \
|
||||
TQTextEdit.prg \
|
||||
TQTimeEdit.prg \
|
||||
TQToolBar.prg \
|
||||
TQToolBox.prg \
|
||||
TQToolButton.prg \
|
||||
TQTreeView.prg \
|
||||
TQTreeWidget.prg \
|
||||
TQTreeWidgetItem.prg \
|
||||
TQVBoxLayout.prg \
|
||||
TQWebPage.prg \
|
||||
TQWidget.prg \
|
||||
TQWizard.prg \
|
||||
TQWebView.prg \
|
||||
|
||||
include $(TOP)$(ROOT)config/header.cf
|
||||
INSTALL_RULE_HEADERS := $(INSTALL_RULE)
|
||||
@@ -146,3 +225,4 @@ endif
|
||||
else
|
||||
include $(TOP)$(ROOT)config/none.cf
|
||||
endif
|
||||
|
||||
|
||||
95
harbour/contrib/hbqt/TQAbstractButton.prg
Normal file
95
harbour/contrib/hbqt/TQAbstractButton.prg
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QAbstractButton INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD autoExclusive() INLINE Qt_QAbstractButton_autoExclusive( ::pPtr )
|
||||
METHOD autoRepeat() INLINE Qt_QAbstractButton_autoRepeat( ::pPtr )
|
||||
METHOD autoRepeatDelay() INLINE Qt_QAbstractButton_autoRepeatDelay( ::pPtr )
|
||||
METHOD autoRepeatInterval() INLINE Qt_QAbstractButton_autoRepeatInterval( ::pPtr )
|
||||
METHOD group() INLINE Qt_QAbstractButton_group( ::pPtr )
|
||||
METHOD iconSize() INLINE Qt_QAbstractButton_iconSize( ::pPtr )
|
||||
METHOD isCheckable() INLINE Qt_QAbstractButton_isCheckable( ::pPtr )
|
||||
METHOD isChecked() INLINE Qt_QAbstractButton_isChecked( ::pPtr )
|
||||
METHOD isDown() INLINE Qt_QAbstractButton_isDown( ::pPtr )
|
||||
METHOD setAutoExclusive( lBool ) INLINE Qt_QAbstractButton_setAutoExclusive( ::pPtr, lBool )
|
||||
METHOD setAutoRepeat( lBool ) INLINE Qt_QAbstractButton_setAutoRepeat( ::pPtr, lBool )
|
||||
METHOD setAutoRepeatDelay( nInt ) INLINE Qt_QAbstractButton_setAutoRepeatDelay( ::pPtr, nInt )
|
||||
METHOD setAutoRepeatInterval( nInt ) INLINE Qt_QAbstractButton_setAutoRepeatInterval( ::pPtr, nInt )
|
||||
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 setText( cText ) INLINE Qt_QAbstractButton_setText( ::pPtr, cText )
|
||||
METHOD text() INLINE Qt_QAbstractButton_text( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QAbstractButton
|
||||
|
||||
::pPtr := Qt_QAbstractButton( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
120
harbour/contrib/hbqt/TQAbstractItemView.prg
Normal file
120
harbour/contrib/hbqt/TQAbstractItemView.prg
Normal file
@@ -0,0 +1,120 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QAbstractItemView INHERIT QAbstractScrollArea
|
||||
|
||||
DATA 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 )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QAbstractItemView
|
||||
|
||||
::pPtr := Qt_QAbstractItemView( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
87
harbour/contrib/hbqt/TQAbstractPrintDialog.prg
Normal file
87
harbour/contrib/hbqt/TQAbstractPrintDialog.prg
Normal file
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QAbstractPrintDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD exec() INLINE Qt_QAbstractPrintDialog_exec( ::pPtr )
|
||||
METHOD fromPage() INLINE Qt_QAbstractPrintDialog_fromPage( ::pPtr )
|
||||
METHOD maxPage() INLINE Qt_QAbstractPrintDialog_maxPage( ::pPtr )
|
||||
METHOD minPage() INLINE Qt_QAbstractPrintDialog_minPage( ::pPtr )
|
||||
METHOD printRange() INLINE Qt_QAbstractPrintDialog_printRange( ::pPtr )
|
||||
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 toPage() INLINE Qt_QAbstractPrintDialog_toPage( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QAbstractPrintDialog
|
||||
|
||||
::pPtr := Qt_QAbstractPrintDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
91
harbour/contrib/hbqt/TQAbstractScrollArea.prg
Normal file
91
harbour/contrib/hbqt/TQAbstractScrollArea.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'
|
||||
|
||||
|
||||
CLASS QAbstractScrollArea INHERIT QFrame
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addScrollBarWidget( pWidget, nAlignment ) INLINE Qt_QAbstractScrollArea_addScrollBarWidget( ::pPtr, pWidget, nAlignment )
|
||||
METHOD cornerWidget() INLINE Qt_QAbstractScrollArea_cornerWidget( ::pPtr )
|
||||
METHOD horizontalScrollBar() INLINE Qt_QAbstractScrollArea_horizontalScrollBar( ::pPtr )
|
||||
METHOD horizontalScrollBarPolicy() INLINE Qt_QAbstractScrollArea_horizontalScrollBarPolicy( ::pPtr )
|
||||
METHOD maximumViewportSize() INLINE Qt_QAbstractScrollArea_maximumViewportSize( ::pPtr )
|
||||
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 )
|
||||
METHOD setVerticalScrollBar( pScrollBar ) INLINE Qt_QAbstractScrollArea_setVerticalScrollBar( ::pPtr, pScrollBar )
|
||||
METHOD setVerticalScrollBarPolicy( nQt_ScrollBarPolicy ) INLINE Qt_QAbstractScrollArea_setVerticalScrollBarPolicy( ::pPtr, nQt_ScrollBarPolicy )
|
||||
METHOD setViewport( pWidget ) INLINE Qt_QAbstractScrollArea_setViewport( ::pPtr, pWidget )
|
||||
METHOD verticalScrollBar() INLINE Qt_QAbstractScrollArea_verticalScrollBar( ::pPtr )
|
||||
METHOD verticalScrollBarPolicy() INLINE Qt_QAbstractScrollArea_verticalScrollBarPolicy( ::pPtr )
|
||||
METHOD viewport() INLINE Qt_QAbstractScrollArea_viewport( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QAbstractScrollArea
|
||||
|
||||
::pPtr := Qt_QAbstractScrollArea( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
99
harbour/contrib/hbqt/TQAbstractSlider.prg
Normal file
99
harbour/contrib/hbqt/TQAbstractSlider.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'
|
||||
|
||||
|
||||
CLASS QAbstractSlider INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD hasTracking() INLINE Qt_QAbstractSlider_hasTracking( ::pPtr )
|
||||
METHOD invertedAppearance() INLINE Qt_QAbstractSlider_invertedAppearance( ::pPtr )
|
||||
METHOD invertedControls() INLINE Qt_QAbstractSlider_invertedControls( ::pPtr )
|
||||
METHOD isSliderDown() INLINE Qt_QAbstractSlider_isSliderDown( ::pPtr )
|
||||
METHOD maximum() INLINE Qt_QAbstractSlider_maximum( ::pPtr )
|
||||
METHOD minimum() INLINE Qt_QAbstractSlider_minimum( ::pPtr )
|
||||
METHOD orientation() INLINE Qt_QAbstractSlider_orientation( ::pPtr )
|
||||
METHOD pageStep() INLINE Qt_QAbstractSlider_pageStep( ::pPtr )
|
||||
METHOD setInvertedAppearance( lBool ) INLINE Qt_QAbstractSlider_setInvertedAppearance( ::pPtr, lBool )
|
||||
METHOD setInvertedControls( lBool ) INLINE Qt_QAbstractSlider_setInvertedControls( ::pPtr, lBool )
|
||||
METHOD setMaximum( nInt ) INLINE Qt_QAbstractSlider_setMaximum( ::pPtr, nInt )
|
||||
METHOD setMinimum( nInt ) INLINE Qt_QAbstractSlider_setMinimum( ::pPtr, nInt )
|
||||
METHOD setPageStep( nInt ) INLINE Qt_QAbstractSlider_setPageStep( ::pPtr, nInt )
|
||||
METHOD setRange( nMin, nMax ) INLINE Qt_QAbstractSlider_setRange( ::pPtr, nMin, nMax )
|
||||
METHOD setSingleStep( nInt ) INLINE Qt_QAbstractSlider_setSingleStep( ::pPtr, nInt )
|
||||
METHOD setSliderDown( lBool ) INLINE Qt_QAbstractSlider_setSliderDown( ::pPtr, lBool )
|
||||
METHOD setSliderPosition( nInt ) INLINE Qt_QAbstractSlider_setSliderPosition( ::pPtr, nInt )
|
||||
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 value() INLINE Qt_QAbstractSlider_value( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QAbstractSlider
|
||||
|
||||
::pPtr := Qt_QAbstractSlider( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
99
harbour/contrib/hbqt/TQAbstractSpinBox.prg
Normal file
99
harbour/contrib/hbqt/TQAbstractSpinBox.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'
|
||||
|
||||
|
||||
CLASS QAbstractSpinBox INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD alignment() INLINE Qt_QAbstractSpinBox_alignment( ::pPtr )
|
||||
METHOD buttonSymbols() INLINE Qt_QAbstractSpinBox_buttonSymbols( ::pPtr )
|
||||
METHOD correctionMode() INLINE Qt_QAbstractSpinBox_correctionMode( ::pPtr )
|
||||
METHOD hasAcceptableInput() INLINE Qt_QAbstractSpinBox_hasAcceptableInput( ::pPtr )
|
||||
METHOD hasFrame() INLINE Qt_QAbstractSpinBox_hasFrame( ::pPtr )
|
||||
METHOD interpretText() INLINE Qt_QAbstractSpinBox_interpretText( ::pPtr )
|
||||
METHOD isAccelerated() INLINE Qt_QAbstractSpinBox_isAccelerated( ::pPtr )
|
||||
METHOD isReadOnly() INLINE Qt_QAbstractSpinBox_isReadOnly( ::pPtr )
|
||||
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 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 )
|
||||
METHOD setSpecialValueText( cTxt ) INLINE Qt_QAbstractSpinBox_setSpecialValueText( ::pPtr, cTxt )
|
||||
METHOD setWrapping( lW ) INLINE Qt_QAbstractSpinBox_setWrapping( ::pPtr, lW )
|
||||
METHOD specialValueText() INLINE Qt_QAbstractSpinBox_specialValueText( ::pPtr )
|
||||
METHOD stepBy( nSteps ) INLINE Qt_QAbstractSpinBox_stepBy( ::pPtr, nSteps )
|
||||
METHOD text() INLINE Qt_QAbstractSpinBox_text( ::pPtr )
|
||||
METHOD wrapping() INLINE Qt_QAbstractSpinBox_wrapping( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QAbstractSpinBox
|
||||
|
||||
::pPtr := Qt_QAbstractSpinBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
111
harbour/contrib/hbqt/TQAction.prg
Normal file
111
harbour/contrib/hbqt/TQAction.prg
Normal file
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QAction INHERIT QObject
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD actionGroup() INLINE Qt_QAction_actionGroup( ::pPtr )
|
||||
METHOD activate( nActionEvent ) INLINE Qt_QAction_activate( ::pPtr, nActionEvent )
|
||||
METHOD autoRepeat() INLINE Qt_QAction_autoRepeat( ::pPtr )
|
||||
METHOD iconText() INLINE Qt_QAction_iconText( ::pPtr )
|
||||
METHOD isCheckable() INLINE Qt_QAction_isCheckable( ::pPtr )
|
||||
METHOD isChecked() INLINE Qt_QAction_isChecked( ::pPtr )
|
||||
METHOD isEnabled() INLINE Qt_QAction_isEnabled( ::pPtr )
|
||||
METHOD isIconVisibleInMenu() INLINE Qt_QAction_isIconVisibleInMenu( ::pPtr )
|
||||
METHOD isSeparator() INLINE Qt_QAction_isSeparator( ::pPtr )
|
||||
METHOD isVisible() INLINE Qt_QAction_isVisible( ::pPtr )
|
||||
METHOD menu() INLINE Qt_QAction_menu( ::pPtr )
|
||||
METHOD menuRole() INLINE Qt_QAction_menuRole( ::pPtr )
|
||||
METHOD parentWidget() INLINE Qt_QAction_parentWidget( ::pPtr )
|
||||
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 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 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 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 )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QAction
|
||||
|
||||
::pPtr := Qt_QAction( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
97
harbour/contrib/hbqt/TQBoxLayout.prg
Normal file
97
harbour/contrib/hbqt/TQBoxLayout.prg
Normal file
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QBoxLayout INHERIT QLayout
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addLayout( pLayout, nStretch ) INLINE Qt_QBoxLayout_addLayout( ::pPtr, pLayout, nStretch )
|
||||
METHOD addSpacerItem( pSpacerItem ) INLINE Qt_QBoxLayout_addSpacerItem( ::pPtr, pSpacerItem )
|
||||
METHOD addSpacing( nSize ) INLINE Qt_QBoxLayout_addSpacing( ::pPtr, nSize )
|
||||
METHOD addStretch( nStretch ) INLINE Qt_QBoxLayout_addStretch( ::pPtr, nStretch )
|
||||
METHOD addStrut( nSize ) INLINE Qt_QBoxLayout_addStrut( ::pPtr, nSize )
|
||||
METHOD addWidget( pWidget, nStretch, nAlignment ) INLINE Qt_QBoxLayout_addWidget( ::pPtr, pWidget, nStretch, nAlignment )
|
||||
METHOD direction() INLINE Qt_QBoxLayout_direction( ::pPtr )
|
||||
METHOD insertLayout( nIndex, pLayout, nStretch ) INLINE Qt_QBoxLayout_insertLayout( ::pPtr, nIndex, pLayout, nStretch )
|
||||
METHOD insertSpacerItem( nIndex, pSpacerItem ) INLINE Qt_QBoxLayout_insertSpacerItem( ::pPtr, nIndex, pSpacerItem )
|
||||
METHOD insertSpacing( nIndex, nSize ) INLINE Qt_QBoxLayout_insertSpacing( ::pPtr, nIndex, nSize )
|
||||
METHOD insertStretch( nIndex, nStretch ) INLINE Qt_QBoxLayout_insertStretch( ::pPtr, nIndex, nStretch )
|
||||
METHOD insertWidget( nIndex, pWidget, nStretch, nAlignment ) INLINE Qt_QBoxLayout_insertWidget( ::pPtr, nIndex, pWidget, nStretch, nAlignment )
|
||||
METHOD invalidate() INLINE Qt_QBoxLayout_invalidate( ::pPtr )
|
||||
METHOD setDirection( nDirection ) INLINE Qt_QBoxLayout_setDirection( ::pPtr, nDirection )
|
||||
METHOD setSpacing( nSpacing ) INLINE Qt_QBoxLayout_setSpacing( ::pPtr, nSpacing )
|
||||
METHOD setStretch( nIndex, nStretch ) INLINE Qt_QBoxLayout_setStretch( ::pPtr, nIndex, nStretch )
|
||||
METHOD setStretchFactor( pWidget, nStretch ) INLINE Qt_QBoxLayout_setStretchFactor( ::pPtr, pWidget, nStretch )
|
||||
METHOD setStretchFactor_1( pLayout, nStretch ) INLINE Qt_QBoxLayout_setStretchFactor_1( ::pPtr, pLayout, nStretch )
|
||||
METHOD spacing() INLINE Qt_QBoxLayout_spacing( ::pPtr )
|
||||
METHOD stretch( nIndex ) INLINE Qt_QBoxLayout_stretch( ::pPtr, nIndex )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QBoxLayout
|
||||
|
||||
::pPtr := Qt_QBoxLayout( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
93
harbour/contrib/hbqt/TQCalendarWidget.prg
Normal file
93
harbour/contrib/hbqt/TQCalendarWidget.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'
|
||||
|
||||
|
||||
CLASS QCalendarWidget INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD dateEditAcceptDelay() INLINE Qt_QCalendarWidget_dateEditAcceptDelay( ::pPtr )
|
||||
METHOD firstDayOfWeek() INLINE Qt_QCalendarWidget_firstDayOfWeek( ::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 monthShown() INLINE Qt_QCalendarWidget_monthShown( ::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 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 verticalHeaderFormat() INLINE Qt_QCalendarWidget_verticalHeaderFormat( ::pPtr )
|
||||
METHOD yearShown() INLINE Qt_QCalendarWidget_yearShown( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QCalendarWidget
|
||||
|
||||
::pPtr := Qt_QCalendarWidget( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
81
harbour/contrib/hbqt/TQCheckBox.prg
Normal file
81
harbour/contrib/hbqt/TQCheckBox.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'
|
||||
|
||||
|
||||
CLASS QCheckBox INHERIT QAbstractButton
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD checkState() INLINE Qt_QCheckBox_checkState( ::pPtr )
|
||||
METHOD isTristate() INLINE Qt_QCheckBox_isTristate( ::pPtr )
|
||||
METHOD setCheckState( nState ) INLINE Qt_QCheckBox_setCheckState( ::pPtr, nState )
|
||||
METHOD setTristate( lY ) INLINE Qt_QCheckBox_setTristate( ::pPtr, lY )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QCheckBox
|
||||
|
||||
::pPtr := Qt_QCheckBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
84
harbour/contrib/hbqt/TQColorDialog.prg
Normal file
84
harbour/contrib/hbqt/TQColorDialog.prg
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QColorDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
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 setVisible( lVisible ) INLINE Qt_QColorDialog_setVisible( ::pPtr, lVisible )
|
||||
METHOD testOption( nColorDialogOption ) INLINE Qt_QColorDialog_testOption( ::pPtr, nColorDialogOption )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QColorDialog
|
||||
|
||||
::pPtr := Qt_QColorDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
119
harbour/contrib/hbqt/TQComboBox.prg
Normal file
119
harbour/contrib/hbqt/TQComboBox.prg
Normal file
@@ -0,0 +1,119 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QComboBox INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
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 hasFrame() INLINE Qt_QComboBox_hasFrame( ::pPtr )
|
||||
METHOD hidePopup() INLINE Qt_QComboBox_hidePopup( ::pPtr )
|
||||
METHOD iconSize() INLINE Qt_QComboBox_iconSize( ::pPtr )
|
||||
METHOD insertPolicy() INLINE Qt_QComboBox_insertPolicy( ::pPtr )
|
||||
METHOD insertSeparator( nIndex ) INLINE Qt_QComboBox_insertSeparator( ::pPtr, nIndex )
|
||||
METHOD isEditable() INLINE Qt_QComboBox_isEditable( ::pPtr )
|
||||
METHOD itemDelegate() INLINE Qt_QComboBox_itemDelegate( ::pPtr )
|
||||
METHOD itemText( nIndex ) INLINE Qt_QComboBox_itemText( ::pPtr, nIndex )
|
||||
METHOD lineEdit() INLINE Qt_QComboBox_lineEdit( ::pPtr )
|
||||
METHOD maxCount() INLINE Qt_QComboBox_maxCount( ::pPtr )
|
||||
METHOD maxVisibleItems() INLINE Qt_QComboBox_maxVisibleItems( ::pPtr )
|
||||
METHOD minimumContentsLength() INLINE Qt_QComboBox_minimumContentsLength( ::pPtr )
|
||||
METHOD model() INLINE Qt_QComboBox_model( ::pPtr )
|
||||
METHOD modelColumn() INLINE Qt_QComboBox_modelColumn( ::pPtr )
|
||||
METHOD removeItem( nIndex ) INLINE Qt_QComboBox_removeItem( ::pPtr, nIndex )
|
||||
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 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 )
|
||||
METHOD setLineEdit( pEdit ) INLINE Qt_QComboBox_setLineEdit( ::pPtr, pEdit )
|
||||
METHOD setMaxCount( nMax ) INLINE Qt_QComboBox_setMaxCount( ::pPtr, nMax )
|
||||
METHOD setMaxVisibleItems( nMaxItems ) INLINE Qt_QComboBox_setMaxVisibleItems( ::pPtr, nMaxItems )
|
||||
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 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 )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QComboBox
|
||||
|
||||
::pPtr := Qt_QComboBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
79
harbour/contrib/hbqt/TQCommandLinkButton.prg
Normal file
79
harbour/contrib/hbqt/TQCommandLinkButton.prg
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QCommandLinkButton INHERIT QPushButton
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD description() INLINE Qt_QCommandLinkButton_description( ::pPtr )
|
||||
METHOD setDescription( cDescription ) INLINE Qt_QCommandLinkButton_setDescription( ::pPtr, cDescription )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QCommandLinkButton
|
||||
|
||||
::pPtr := Qt_QCommandLinkButton( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
77
harbour/contrib/hbqt/TQDateEdit.prg
Normal file
77
harbour/contrib/hbqt/TQDateEdit.prg
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QDateEdit INHERIT QDateTimeEdit
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QDateEdit
|
||||
|
||||
::pPtr := Qt_QDateEdit( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
100
harbour/contrib/hbqt/TQDateTimeEdit.prg
Normal file
100
harbour/contrib/hbqt/TQDateTimeEdit.prg
Normal file
@@ -0,0 +1,100 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QDateTimeEdit INHERIT QAbstractSpinBox
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD calendarPopup() INLINE Qt_QDateTimeEdit_calendarPopup( ::pPtr )
|
||||
METHOD calendarWidget() INLINE Qt_QDateTimeEdit_calendarWidget( ::pPtr )
|
||||
METHOD clearMaximumDate() INLINE Qt_QDateTimeEdit_clearMaximumDate( ::pPtr )
|
||||
METHOD clearMaximumDateTime() INLINE Qt_QDateTimeEdit_clearMaximumDateTime( ::pPtr )
|
||||
METHOD clearMaximumTime() INLINE Qt_QDateTimeEdit_clearMaximumTime( ::pPtr )
|
||||
METHOD clearMinimumDate() INLINE Qt_QDateTimeEdit_clearMinimumDate( ::pPtr )
|
||||
METHOD clearMinimumDateTime() INLINE Qt_QDateTimeEdit_clearMinimumDateTime( ::pPtr )
|
||||
METHOD clearMinimumTime() INLINE Qt_QDateTimeEdit_clearMinimumTime( ::pPtr )
|
||||
METHOD currentSection() INLINE Qt_QDateTimeEdit_currentSection( ::pPtr )
|
||||
METHOD currentSectionIndex() INLINE Qt_QDateTimeEdit_currentSectionIndex( ::pPtr )
|
||||
METHOD displayFormat() INLINE Qt_QDateTimeEdit_displayFormat( ::pPtr )
|
||||
METHOD displayedSections() INLINE Qt_QDateTimeEdit_displayedSections( ::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 )
|
||||
METHOD setCalendarPopup( lEnable ) INLINE Qt_QDateTimeEdit_setCalendarPopup( ::pPtr, lEnable )
|
||||
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 setDisplayFormat( cFormat ) INLINE Qt_QDateTimeEdit_setDisplayFormat( ::pPtr, cFormat )
|
||||
METHOD setSelectedSection( nSection ) INLINE Qt_QDateTimeEdit_setSelectedSection( ::pPtr, nSection )
|
||||
METHOD setTimeSpec( nSpec ) INLINE Qt_QDateTimeEdit_setTimeSpec( ::pPtr, nSpec )
|
||||
METHOD timeSpec() INLINE Qt_QDateTimeEdit_timeSpec( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QDateTimeEdit
|
||||
|
||||
::pPtr := Qt_QDateTimeEdit( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
82
harbour/contrib/hbqt/TQDial.prg
Normal file
82
harbour/contrib/hbqt/TQDial.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'
|
||||
|
||||
|
||||
CLASS QDial INHERIT QAbstractSlider
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD notchSize() INLINE Qt_QDial_notchSize( ::pPtr )
|
||||
METHOD notchTarget() INLINE Qt_QDial_notchTarget( ::pPtr )
|
||||
METHOD notchesVisible() INLINE Qt_QDial_notchesVisible( ::pPtr )
|
||||
METHOD setNotchTarget( nTarget ) INLINE Qt_QDial_setNotchTarget( ::pPtr, nTarget )
|
||||
METHOD wrapping() INLINE Qt_QDial_wrapping( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QDial
|
||||
|
||||
::pPtr := Qt_QDial( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
87
harbour/contrib/hbqt/TQDialog.prg
Normal file
87
harbour/contrib/hbqt/TQDialog.prg
Normal file
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QDialog INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD isSizeGripEnabled() INLINE Qt_QDialog_isSizeGripEnabled( ::pPtr )
|
||||
METHOD result() INLINE Qt_QDialog_result( ::pPtr )
|
||||
METHOD setModal( lModal ) INLINE Qt_QDialog_setModal( ::pPtr, lModal )
|
||||
METHOD setResult( nI ) INLINE Qt_QDialog_setResult( ::pPtr, nI )
|
||||
METHOD setSizeGripEnabled( lBool ) INLINE Qt_QDialog_setSizeGripEnabled( ::pPtr, lBool )
|
||||
METHOD accept() INLINE Qt_QDialog_accept( ::pPtr )
|
||||
METHOD done( nR ) INLINE Qt_QDialog_done( ::pPtr, nR )
|
||||
METHOD exec() INLINE Qt_QDialog_exec( ::pPtr )
|
||||
METHOD open() INLINE Qt_QDialog_open( ::pPtr )
|
||||
METHOD reject() INLINE Qt_QDialog_reject( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QDialog
|
||||
|
||||
::pPtr := Qt_QDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
94
harbour/contrib/hbqt/TQDoubleSpinBox.prg
Normal file
94
harbour/contrib/hbqt/TQDoubleSpinBox.prg
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QDoubleSpinBox INHERIT QAbstractSpinBox
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD cleanText() INLINE Qt_QDoubleSpinBox_cleanText( ::pPtr )
|
||||
METHOD decimals() INLINE Qt_QDoubleSpinBox_decimals( ::pPtr )
|
||||
METHOD maximum() INLINE Qt_QDoubleSpinBox_maximum( ::pPtr )
|
||||
METHOD minimum() INLINE Qt_QDoubleSpinBox_minimum( ::pPtr )
|
||||
METHOD prefix() INLINE Qt_QDoubleSpinBox_prefix( ::pPtr )
|
||||
METHOD setDecimals( nPrec ) INLINE Qt_QDoubleSpinBox_setDecimals( ::pPtr, nPrec )
|
||||
METHOD setMaximum( nMax ) INLINE Qt_QDoubleSpinBox_setMaximum( ::pPtr, nMax )
|
||||
METHOD setMinimum( nMin ) INLINE Qt_QDoubleSpinBox_setMinimum( ::pPtr, nMin )
|
||||
METHOD setPrefix( cPrefix ) INLINE Qt_QDoubleSpinBox_setPrefix( ::pPtr, cPrefix )
|
||||
METHOD setRange( nMinimum, nMaximum ) INLINE Qt_QDoubleSpinBox_setRange( ::pPtr, nMinimum, nMaximum )
|
||||
METHOD setSingleStep( nVal ) INLINE Qt_QDoubleSpinBox_setSingleStep( ::pPtr, nVal )
|
||||
METHOD setSuffix( cSuffix ) INLINE Qt_QDoubleSpinBox_setSuffix( ::pPtr, cSuffix )
|
||||
METHOD singleStep() INLINE Qt_QDoubleSpinBox_singleStep( ::pPtr )
|
||||
METHOD suffix() INLINE Qt_QDoubleSpinBox_suffix( ::pPtr )
|
||||
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 )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QDoubleSpinBox
|
||||
|
||||
::pPtr := Qt_QDoubleSpinBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
77
harbour/contrib/hbqt/TQErrorMessage.prg
Normal file
77
harbour/contrib/hbqt/TQErrorMessage.prg
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QErrorMessage INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QErrorMessage
|
||||
|
||||
::pPtr := Qt_QErrorMessage( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
113
harbour/contrib/hbqt/TQFileDialog.prg
Normal file
113
harbour/contrib/hbqt/TQFileDialog.prg
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QFileDialog INHERIT QDialog
|
||||
|
||||
DATA 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 fileMode() INLINE Qt_QFileDialog_fileMode( ::pPtr )
|
||||
METHOD filter() INLINE Qt_QFileDialog_filter( ::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 options() INLINE Qt_QFileDialog_options( ::pPtr )
|
||||
METHOD proxyModel() INLINE Qt_QFileDialog_proxyModel( ::pPtr )
|
||||
METHOD resolveSymlinks() INLINE Qt_QFileDialog_resolveSymlinks( ::pPtr )
|
||||
METHOD selectFile( cFilename ) INLINE Qt_QFileDialog_selectFile( ::pPtr, cFilename )
|
||||
METHOD selectNameFilter( cFilter ) INLINE Qt_QFileDialog_selectNameFilter( ::pPtr, cFilter )
|
||||
METHOD selectedNameFilter() INLINE Qt_QFileDialog_selectedNameFilter( ::pPtr )
|
||||
METHOD setAcceptMode( nAcceptMode ) INLINE Qt_QFileDialog_setAcceptMode( ::pPtr, nAcceptMode )
|
||||
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 setFilter( nFilters ) INLINE Qt_QFileDialog_setFilter( ::pPtr, nFilters )
|
||||
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 setNameFilter( cFilter ) INLINE Qt_QFileDialog_setNameFilter( ::pPtr, cFilter )
|
||||
METHOD setNameFilterDetailsVisible( lEnabled ) INLINE Qt_QFileDialog_setNameFilterDetailsVisible( ::pPtr, lEnabled )
|
||||
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 testOption( nOption ) INLINE Qt_QFileDialog_testOption( ::pPtr, nOption )
|
||||
METHOD viewMode() INLINE Qt_QFileDialog_viewMode( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QFileDialog
|
||||
|
||||
::pPtr := Qt_QFileDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
79
harbour/contrib/hbqt/TQFocusFrame.prg
Normal file
79
harbour/contrib/hbqt/TQFocusFrame.prg
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QFocusFrame INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD setWidget( pWidget ) INLINE Qt_QFocusFrame_setWidget( ::pPtr, pWidget )
|
||||
METHOD widget() INLINE Qt_QFocusFrame_widget( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QFocusFrame
|
||||
|
||||
::pPtr := Qt_QFocusFrame( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
81
harbour/contrib/hbqt/TQFontComboBox.prg
Normal file
81
harbour/contrib/hbqt/TQFontComboBox.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'
|
||||
|
||||
|
||||
CLASS QFontComboBox INHERIT QComboBox
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD fontFilters() INLINE Qt_QFontComboBox_fontFilters( ::pPtr )
|
||||
METHOD setFontFilters( nFontFilters ) INLINE Qt_QFontComboBox_setFontFilters( ::pPtr, nFontFilters )
|
||||
METHOD setWritingSystem( nScript ) INLINE Qt_QFontComboBox_setWritingSystem( ::pPtr, nScript )
|
||||
METHOD writingSystem() INLINE Qt_QFontComboBox_writingSystem( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QFontComboBox
|
||||
|
||||
::pPtr := Qt_QFontComboBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
82
harbour/contrib/hbqt/TQFontDialog.prg
Normal file
82
harbour/contrib/hbqt/TQFontDialog.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'
|
||||
|
||||
|
||||
CLASS QFontDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD open( pReceiver, pMember ) INLINE Qt_QFontDialog_open( ::pPtr, pReceiver, pMember )
|
||||
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 )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QFontDialog
|
||||
|
||||
::pPtr := Qt_QFontDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
110
harbour/contrib/hbqt/TQFormLayout.prg
Normal file
110
harbour/contrib/hbqt/TQFormLayout.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'
|
||||
|
||||
|
||||
CLASS QFormLayout INHERIT QLayout
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addRow( pLabel, pField ) INLINE Qt_QFormLayout_addRow( ::pPtr, pLabel, pField )
|
||||
METHOD addRow_1( pLabel, pField ) INLINE Qt_QFormLayout_addRow_1( ::pPtr, pLabel, pField )
|
||||
METHOD addRow_2( cLabelText, pField ) INLINE Qt_QFormLayout_addRow_2( ::pPtr, cLabelText, pField )
|
||||
METHOD addRow_3( cLabelText, pField ) INLINE Qt_QFormLayout_addRow_3( ::pPtr, cLabelText, pField )
|
||||
METHOD addRow_4( pWidget ) INLINE Qt_QFormLayout_addRow_4( ::pPtr, pWidget )
|
||||
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 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 )
|
||||
METHOD insertRow_2( nRow, cLabelText, pField ) INLINE Qt_QFormLayout_insertRow_2( ::pPtr, nRow, cLabelText, pField )
|
||||
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 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 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 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 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 spacing() INLINE Qt_QFormLayout_spacing( ::pPtr )
|
||||
METHOD verticalSpacing() INLINE Qt_QFormLayout_verticalSpacing( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QFormLayout
|
||||
|
||||
::pPtr := Qt_QFormLayout( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
90
harbour/contrib/hbqt/TQFrame.prg
Normal file
90
harbour/contrib/hbqt/TQFrame.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'
|
||||
|
||||
|
||||
CLASS QFrame INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD frameRect() INLINE Qt_QFrame_frameRect( ::pPtr )
|
||||
METHOD frameShadow() INLINE Qt_QFrame_frameShadow( ::pPtr )
|
||||
METHOD frameShape() INLINE Qt_QFrame_frameShape( ::pPtr )
|
||||
METHOD frameStyle() INLINE Qt_QFrame_frameStyle( ::pPtr )
|
||||
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 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 )
|
||||
METHOD setLineWidth( nInt ) INLINE Qt_QFrame_setLineWidth( ::pPtr, nInt )
|
||||
METHOD setMidLineWidth( nInt ) INLINE Qt_QFrame_setMidLineWidth( ::pPtr, nInt )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QFrame
|
||||
|
||||
::pPtr := Qt_QFrame( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
86
harbour/contrib/hbqt/TQGroupBox.prg
Normal file
86
harbour/contrib/hbqt/TQGroupBox.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'
|
||||
|
||||
|
||||
CLASS QGroupBox INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD alignment() INLINE Qt_QGroupBox_alignment( ::pPtr )
|
||||
METHOD isCheckable() INLINE Qt_QGroupBox_isCheckable( ::pPtr )
|
||||
METHOD isChecked() INLINE Qt_QGroupBox_isChecked( ::pPtr )
|
||||
METHOD isFlat() INLINE Qt_QGroupBox_isFlat( ::pPtr )
|
||||
METHOD setAlignment( nAlignment ) INLINE Qt_QGroupBox_setAlignment( ::pPtr, nAlignment )
|
||||
METHOD setCheckable( lCheckable ) INLINE Qt_QGroupBox_setCheckable( ::pPtr, lCheckable )
|
||||
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 )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QGroupBox
|
||||
|
||||
::pPtr := Qt_QGroupBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
77
harbour/contrib/hbqt/TQHBoxLayout.prg
Normal file
77
harbour/contrib/hbqt/TQHBoxLayout.prg
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QHBoxLayout INHERIT QBoxLayout
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QHBoxLayout
|
||||
|
||||
::pPtr := Qt_QHBoxLayout( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
115
harbour/contrib/hbqt/TQInputDialog.prg
Normal file
115
harbour/contrib/hbqt/TQInputDialog.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'
|
||||
|
||||
|
||||
CLASS QInputDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD cancelButtonText() INLINE Qt_QInputDialog_cancelButtonText( ::pPtr )
|
||||
METHOD done( nResult ) INLINE Qt_QInputDialog_done( ::pPtr, nResult )
|
||||
METHOD doubleDecimals() INLINE Qt_QInputDialog_doubleDecimals( ::pPtr )
|
||||
METHOD doubleMaximum() INLINE Qt_QInputDialog_doubleMaximum( ::pPtr )
|
||||
METHOD doubleMinimum() INLINE Qt_QInputDialog_doubleMinimum( ::pPtr )
|
||||
METHOD doubleValue() INLINE Qt_QInputDialog_doubleValue( ::pPtr )
|
||||
METHOD inputMode() INLINE Qt_QInputDialog_inputMode( ::pPtr )
|
||||
METHOD intMaximum() INLINE Qt_QInputDialog_intMaximum( ::pPtr )
|
||||
METHOD intMinimum() INLINE Qt_QInputDialog_intMinimum( ::pPtr )
|
||||
METHOD intStep() INLINE Qt_QInputDialog_intStep( ::pPtr )
|
||||
METHOD intValue() INLINE Qt_QInputDialog_intValue( ::pPtr )
|
||||
METHOD isComboBoxEditable() INLINE Qt_QInputDialog_isComboBoxEditable( ::pPtr )
|
||||
METHOD labelText() INLINE Qt_QInputDialog_labelText( ::pPtr )
|
||||
METHOD okButtonText() INLINE Qt_QInputDialog_okButtonText( ::pPtr )
|
||||
METHOD open( pReceiver, pMember ) INLINE Qt_QInputDialog_open( ::pPtr, pReceiver, pMember )
|
||||
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 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 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 )
|
||||
METHOD setIntStep( nStep ) INLINE Qt_QInputDialog_setIntStep( ::pPtr, nStep )
|
||||
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 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 textEchoMode() INLINE Qt_QInputDialog_textEchoMode( ::pPtr )
|
||||
METHOD textValue() INLINE Qt_QInputDialog_textValue( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QInputDialog
|
||||
|
||||
::pPtr := Qt_QInputDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
88
harbour/contrib/hbqt/TQLCDNumber.prg
Normal file
88
harbour/contrib/hbqt/TQLCDNumber.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'
|
||||
|
||||
|
||||
CLASS QLCDNumber INHERIT QFrame
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD checkOverflow( nNum ) INLINE Qt_QLCDNumber_checkOverflow( ::pPtr, nNum )
|
||||
METHOD checkOverflow_1( nNum ) INLINE Qt_QLCDNumber_checkOverflow_1( ::pPtr, nNum )
|
||||
METHOD intValue() INLINE Qt_QLCDNumber_intValue( ::pPtr )
|
||||
METHOD mode() INLINE Qt_QLCDNumber_mode( ::pPtr )
|
||||
METHOD numDigits() INLINE Qt_QLCDNumber_numDigits( ::pPtr )
|
||||
METHOD segmentStyle() INLINE Qt_QLCDNumber_segmentStyle( ::pPtr )
|
||||
METHOD setMode( nMode ) INLINE Qt_QLCDNumber_setMode( ::pPtr, nMode )
|
||||
METHOD setNumDigits( nNDigits ) INLINE Qt_QLCDNumber_setNumDigits( ::pPtr, nNDigits )
|
||||
METHOD setSegmentStyle( nSegmentStyle ) INLINE Qt_QLCDNumber_setSegmentStyle( ::pPtr, nSegmentStyle )
|
||||
METHOD smallDecimalPoint() INLINE Qt_QLCDNumber_smallDecimalPoint( ::pPtr )
|
||||
METHOD value() INLINE Qt_QLCDNumber_value( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QLCDNumber
|
||||
|
||||
::pPtr := Qt_QLCDNumber( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
103
harbour/contrib/hbqt/TQLabel.prg
Normal file
103
harbour/contrib/hbqt/TQLabel.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'
|
||||
|
||||
|
||||
CLASS QLabel INHERIT QFrame
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD alignment() INLINE Qt_QLabel_alignment( ::pPtr )
|
||||
METHOD buddy() INLINE Qt_QLabel_buddy( ::pPtr )
|
||||
METHOD hasScaledContents() INLINE Qt_QLabel_hasScaledContents( ::pPtr )
|
||||
METHOD indent() INLINE Qt_QLabel_indent( ::pPtr )
|
||||
METHOD margin() INLINE Qt_QLabel_margin( ::pPtr )
|
||||
METHOD movie() INLINE Qt_QLabel_movie( ::pPtr )
|
||||
METHOD openExternalLinks() INLINE Qt_QLabel_openExternalLinks( ::pPtr )
|
||||
METHOD picture() INLINE Qt_QLabel_picture( ::pPtr )
|
||||
METHOD pixmap() INLINE Qt_QLabel_pixmap( ::pPtr )
|
||||
METHOD setAlignment( nQt_Alignment ) INLINE Qt_QLabel_setAlignment( ::pPtr, nQt_Alignment )
|
||||
METHOD setBuddy( pBuddy ) INLINE Qt_QLabel_setBuddy( ::pPtr, pBuddy )
|
||||
METHOD setIndent( nInt ) INLINE Qt_QLabel_setIndent( ::pPtr, nInt )
|
||||
METHOD setMargin( nInt ) INLINE Qt_QLabel_setMargin( ::pPtr, nInt )
|
||||
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 setWordWrap( lOn ) INLINE Qt_QLabel_setWordWrap( ::pPtr, lOn )
|
||||
METHOD text() INLINE Qt_QLabel_text( ::pPtr )
|
||||
METHOD textFormat() INLINE Qt_QLabel_textFormat( ::pPtr )
|
||||
METHOD textInteractionFlags() INLINE Qt_QLabel_textInteractionFlags( ::pPtr )
|
||||
METHOD wordWrap() INLINE Qt_QLabel_wordWrap( ::pPtr )
|
||||
METHOD clear() INLINE Qt_QLabel_clear( ::pPtr )
|
||||
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 setText( cQString ) INLINE Qt_QLabel_setText( ::pPtr, cQString )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QLabel
|
||||
|
||||
::pPtr := Qt_QLabel( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
104
harbour/contrib/hbqt/TQLayout.prg
Normal file
104
harbour/contrib/hbqt/TQLayout.prg
Normal file
@@ -0,0 +1,104 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QLayout INHERIT QObject, QLayoutItem
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD activate() INLINE Qt_QLayout_activate( ::pPtr )
|
||||
METHOD addItem( pItem ) INLINE Qt_QLayout_addItem( ::pPtr, pItem )
|
||||
METHOD addWidget( pW ) INLINE Qt_QLayout_addWidget( ::pPtr, pW )
|
||||
METHOD contentsRect() INLINE Qt_QLayout_contentsRect( ::pPtr )
|
||||
METHOD count() INLINE Qt_QLayout_count( ::pPtr )
|
||||
METHOD expandingDirections() INLINE Qt_QLayout_expandingDirections( ::pPtr )
|
||||
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 )
|
||||
METHOD maximumSize() INLINE Qt_QLayout_maximumSize( ::pPtr )
|
||||
METHOD menuBar() INLINE Qt_QLayout_menuBar( ::pPtr )
|
||||
METHOD minimumSize() INLINE Qt_QLayout_minimumSize( ::pPtr )
|
||||
METHOD parentWidget() INLINE Qt_QLayout_parentWidget( ::pPtr )
|
||||
METHOD removeItem( pItem ) INLINE Qt_QLayout_removeItem( ::pPtr, pItem )
|
||||
METHOD removeWidget( pWidget ) INLINE Qt_QLayout_removeWidget( ::pPtr, pWidget )
|
||||
METHOD setAlignment( pW, nAlignment ) INLINE Qt_QLayout_setAlignment( ::pPtr, pW, nAlignment )
|
||||
METHOD setAlignment_1( nAlignment ) INLINE Qt_QLayout_setAlignment_1( ::pPtr, nAlignment )
|
||||
METHOD setAlignment_2( pL, nAlignment ) INLINE Qt_QLayout_setAlignment_2( ::pPtr, pL, nAlignment )
|
||||
METHOD setContentsMargins( nLeft, nTop, nRight, nBottom ) INLINE Qt_QLayout_setContentsMargins( ::pPtr, nLeft, nTop, nRight, nBottom )
|
||||
METHOD setEnabled( lEnable ) INLINE Qt_QLayout_setEnabled( ::pPtr, lEnable )
|
||||
METHOD setMenuBar( pWidget ) INLINE Qt_QLayout_setMenuBar( ::pPtr, pWidget )
|
||||
METHOD setSizeConstraint( nSizeConstraint ) INLINE Qt_QLayout_setSizeConstraint( ::pPtr, nSizeConstraint )
|
||||
METHOD setSpacing( nInt ) INLINE Qt_QLayout_setSpacing( ::pPtr, nInt )
|
||||
METHOD sizeConstraint() INLINE Qt_QLayout_sizeConstraint( ::pPtr )
|
||||
METHOD spacing() INLINE Qt_QLayout_spacing( ::pPtr )
|
||||
METHOD takeAt( nIndex ) INLINE Qt_QLayout_takeAt( ::pPtr, nIndex )
|
||||
METHOD update() INLINE Qt_QLayout_update( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QLayout
|
||||
|
||||
::pPtr := Qt_QLayout( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
94
harbour/contrib/hbqt/TQLayoutItem.prg
Normal file
94
harbour/contrib/hbqt/TQLayoutItem.prg
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QLayoutItem
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD alignment() INLINE Qt_QLayoutItem_alignment( ::pPtr )
|
||||
METHOD controlTypes() INLINE Qt_QLayoutItem_controlTypes( ::pPtr )
|
||||
METHOD expandingDirections() INLINE Qt_QLayoutItem_expandingDirections( ::pPtr )
|
||||
METHOD geometry() INLINE Qt_QLayoutItem_geometry( ::pPtr )
|
||||
METHOD hasHeightForWidth() INLINE Qt_QLayoutItem_hasHeightForWidth( ::pPtr )
|
||||
METHOD heightForWidth( nW ) INLINE Qt_QLayoutItem_heightForWidth( ::pPtr, nW )
|
||||
METHOD invalidate() INLINE Qt_QLayoutItem_invalidate( ::pPtr )
|
||||
METHOD isEmpty() INLINE Qt_QLayoutItem_isEmpty( ::pPtr )
|
||||
METHOD layout() INLINE Qt_QLayoutItem_layout( ::pPtr )
|
||||
METHOD maximumSize() INLINE Qt_QLayoutItem_maximumSize( ::pPtr )
|
||||
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 sizeHint() INLINE Qt_QLayoutItem_sizeHint( ::pPtr )
|
||||
METHOD spacerItem() INLINE Qt_QLayoutItem_spacerItem( ::pPtr )
|
||||
METHOD widget() INLINE Qt_QLayoutItem_widget( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QLayoutItem
|
||||
|
||||
::pPtr := Qt_QLayoutItem( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
123
harbour/contrib/hbqt/TQLineEdit.prg
Normal file
123
harbour/contrib/hbqt/TQLineEdit.prg
Normal file
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QLineEdit INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD alignment() INLINE Qt_QLineEdit_alignment( ::pPtr )
|
||||
METHOD backspace() INLINE Qt_QLineEdit_backspace( ::pPtr )
|
||||
METHOD completer() INLINE Qt_QLineEdit_completer( ::pPtr )
|
||||
METHOD createStandardContextMenu() INLINE Qt_QLineEdit_createStandardContextMenu( ::pPtr )
|
||||
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 cursorWordBackward( lMark ) INLINE Qt_QLineEdit_cursorWordBackward( ::pPtr, lMark )
|
||||
METHOD cursorWordForward( lMark ) INLINE Qt_QLineEdit_cursorWordForward( ::pPtr, lMark )
|
||||
METHOD del() INLINE Qt_QLineEdit_del( ::pPtr )
|
||||
METHOD deselect() INLINE Qt_QLineEdit_deselect( ::pPtr )
|
||||
METHOD displayText() INLINE Qt_QLineEdit_displayText( ::pPtr )
|
||||
METHOD dragEnabled() INLINE Qt_QLineEdit_dragEnabled( ::pPtr )
|
||||
METHOD echoMode() INLINE Qt_QLineEdit_echoMode( ::pPtr )
|
||||
METHOD end( lMark ) INLINE Qt_QLineEdit_end( ::pPtr, lMark )
|
||||
METHOD hasAcceptableInput() INLINE Qt_QLineEdit_hasAcceptableInput( ::pPtr )
|
||||
METHOD hasFrame() INLINE Qt_QLineEdit_hasFrame( ::pPtr )
|
||||
METHOD hasSelectedText() INLINE Qt_QLineEdit_hasSelectedText( ::pPtr )
|
||||
METHOD home( lMark ) INLINE Qt_QLineEdit_home( ::pPtr, lMark )
|
||||
METHOD inputMask() INLINE Qt_QLineEdit_inputMask( ::pPtr )
|
||||
METHOD insert( cNewText ) INLINE Qt_QLineEdit_insert( ::pPtr, cNewText )
|
||||
METHOD isModified() INLINE Qt_QLineEdit_isModified( ::pPtr )
|
||||
METHOD isReadOnly() INLINE Qt_QLineEdit_isReadOnly( ::pPtr )
|
||||
METHOD isRedoAvailable() INLINE Qt_QLineEdit_isRedoAvailable( ::pPtr )
|
||||
METHOD isUndoAvailable() INLINE Qt_QLineEdit_isUndoAvailable( ::pPtr )
|
||||
METHOD maxLength() INLINE Qt_QLineEdit_maxLength( ::pPtr )
|
||||
METHOD minimumSizeHint() INLINE Qt_QLineEdit_minimumSizeHint( ::pPtr )
|
||||
METHOD selectedText() INLINE Qt_QLineEdit_selectedText( ::pPtr )
|
||||
METHOD selectionStart() INLINE Qt_QLineEdit_selectionStart( ::pPtr )
|
||||
METHOD setAlignment( nFlag ) INLINE Qt_QLineEdit_setAlignment( ::pPtr, nFlag )
|
||||
METHOD setCompleter( pC ) INLINE Qt_QLineEdit_setCompleter( ::pPtr, pC )
|
||||
METHOD setCursorPosition( nInt ) INLINE Qt_QLineEdit_setCursorPosition( ::pPtr, nInt )
|
||||
METHOD setDragEnabled( lB ) INLINE Qt_QLineEdit_setDragEnabled( ::pPtr, lB )
|
||||
METHOD setEchoMode( nEchoMode ) INLINE Qt_QLineEdit_setEchoMode( ::pPtr, nEchoMode )
|
||||
METHOD setFrame( lBool ) INLINE Qt_QLineEdit_setFrame( ::pPtr, lBool )
|
||||
METHOD setInputMask( cInputMask ) INLINE Qt_QLineEdit_setInputMask( ::pPtr, cInputMask )
|
||||
METHOD setMaxLength( nInt ) INLINE Qt_QLineEdit_setMaxLength( ::pPtr, nInt )
|
||||
METHOD setModified( lBool ) INLINE Qt_QLineEdit_setModified( ::pPtr, lBool )
|
||||
METHOD setReadOnly( lBool ) INLINE Qt_QLineEdit_setReadOnly( ::pPtr, lBool )
|
||||
METHOD setSelection( nStart, nLength ) INLINE Qt_QLineEdit_setSelection( ::pPtr, nStart, nLength )
|
||||
METHOD setTextMargins( nLeft, nTop, nRight, nBottom ) INLINE Qt_QLineEdit_setTextMargins( ::pPtr, nLeft, nTop, nRight, nBottom )
|
||||
METHOD setValidator( pV ) INLINE Qt_QLineEdit_setValidator( ::pPtr, pV )
|
||||
METHOD sizeHint() INLINE Qt_QLineEdit_sizeHint( ::pPtr )
|
||||
METHOD text() INLINE Qt_QLineEdit_text( ::pPtr )
|
||||
METHOD validator() INLINE Qt_QLineEdit_validator( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QLineEdit
|
||||
|
||||
::pPtr := Qt_QLineEdit( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
106
harbour/contrib/hbqt/TQListView.prg
Normal file
106
harbour/contrib/hbqt/TQListView.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'
|
||||
|
||||
|
||||
CLASS QListView INHERIT QAbstractItemView
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD batchSize() INLINE Qt_QListView_batchSize( ::pPtr )
|
||||
METHOD clearPropertyFlags() INLINE Qt_QListView_clearPropertyFlags( ::pPtr )
|
||||
METHOD flow() INLINE Qt_QListView_flow( ::pPtr )
|
||||
METHOD gridSize() INLINE Qt_QListView_gridSize( ::pPtr )
|
||||
METHOD isRowHidden( nRow ) INLINE Qt_QListView_isRowHidden( ::pPtr, nRow )
|
||||
METHOD isSelectionRectVisible() INLINE Qt_QListView_isSelectionRectVisible( ::pPtr )
|
||||
METHOD isWrapping() INLINE Qt_QListView_isWrapping( ::pPtr )
|
||||
METHOD layoutMode() INLINE Qt_QListView_layoutMode( ::pPtr )
|
||||
METHOD modelColumn() INLINE Qt_QListView_modelColumn( ::pPtr )
|
||||
METHOD movement() INLINE Qt_QListView_movement( ::pPtr )
|
||||
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 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 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 setWordWrap( lOn ) INLINE Qt_QListView_setWordWrap( ::pPtr, lOn )
|
||||
METHOD setWrapping( lEnable ) INLINE Qt_QListView_setWrapping( ::pPtr, lEnable )
|
||||
METHOD spacing() INLINE Qt_QListView_spacing( ::pPtr )
|
||||
METHOD uniformItemSizes() INLINE Qt_QListView_uniformItemSizes( ::pPtr )
|
||||
METHOD viewMode() INLINE Qt_QListView_viewMode( ::pPtr )
|
||||
METHOD wordWrap() INLINE Qt_QListView_wordWrap( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QListView
|
||||
|
||||
::pPtr := Qt_QListView( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
123
harbour/contrib/hbqt/TQMainWindow.prg
Normal file
123
harbour/contrib/hbqt/TQMainWindow.prg
Normal file
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QMainWindow INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addDockWidget( nArea, pDockwidget ) INLINE Qt_QMainWindow_addDockWidget( ::pPtr, nArea, pDockwidget )
|
||||
METHOD addDockWidget_1( nArea, pDockwidget, nOrientation ) INLINE Qt_QMainWindow_addDockWidget_1( ::pPtr, nArea, pDockwidget, nOrientation )
|
||||
METHOD addToolBar( nArea, pToolbar ) INLINE Qt_QMainWindow_addToolBar( ::pPtr, nArea, pToolbar )
|
||||
METHOD addToolBar_1( pToolbar ) INLINE Qt_QMainWindow_addToolBar_1( ::pPtr, pToolbar )
|
||||
METHOD addToolBar_2( cTitle ) INLINE Qt_QMainWindow_addToolBar_2( ::pPtr, cTitle )
|
||||
METHOD addToolBarBreak( nArea ) INLINE Qt_QMainWindow_addToolBarBreak( ::pPtr, nArea )
|
||||
METHOD centralWidget() INLINE Qt_QMainWindow_centralWidget( ::pPtr )
|
||||
METHOD corner( nCorner ) INLINE Qt_QMainWindow_corner( ::pPtr, nCorner )
|
||||
METHOD createPopupMenu() INLINE Qt_QMainWindow_createPopupMenu( ::pPtr )
|
||||
METHOD dockOptions() INLINE Qt_QMainWindow_dockOptions( ::pPtr )
|
||||
METHOD dockWidgetArea( pDockwidget ) INLINE Qt_QMainWindow_dockWidgetArea( ::pPtr, pDockwidget )
|
||||
METHOD documentMode() INLINE Qt_QMainWindow_documentMode( ::pPtr )
|
||||
METHOD iconSize() INLINE Qt_QMainWindow_iconSize( ::pPtr )
|
||||
METHOD insertToolBar( pBefore, pToolbar ) INLINE Qt_QMainWindow_insertToolBar( ::pPtr, pBefore, pToolbar )
|
||||
METHOD insertToolBarBreak( pBefore ) INLINE Qt_QMainWindow_insertToolBarBreak( ::pPtr, pBefore )
|
||||
METHOD isAnimated() INLINE Qt_QMainWindow_isAnimated( ::pPtr )
|
||||
METHOD isDockNestingEnabled() INLINE Qt_QMainWindow_isDockNestingEnabled( ::pPtr )
|
||||
METHOD menuBar() INLINE Qt_QMainWindow_menuBar( ::pPtr )
|
||||
METHOD menuWidget() INLINE Qt_QMainWindow_menuWidget( ::pPtr )
|
||||
METHOD removeDockWidget( pDockwidget ) INLINE Qt_QMainWindow_removeDockWidget( ::pPtr, pDockwidget )
|
||||
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 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 setDocumentMode( lEnabled ) INLINE Qt_QMainWindow_setDocumentMode( ::pPtr, lEnabled )
|
||||
METHOD setIconSize( aSizeIconSize ) INLINE Qt_QMainWindow_setIconSize( ::pPtr, aSizeIconSize )
|
||||
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 )
|
||||
METHOD setTabPosition( nAreas, nTabPosition ) INLINE Qt_QMainWindow_setTabPosition( ::pPtr, nAreas, nTabPosition )
|
||||
METHOD setTabShape( nTabShape ) INLINE Qt_QMainWindow_setTabShape( ::pPtr, nTabShape )
|
||||
METHOD setToolButtonStyle( nToolButtonStyle ) INLINE Qt_QMainWindow_setToolButtonStyle( ::pPtr, nToolButtonStyle )
|
||||
METHOD setUnifiedTitleAndToolBarOnMac( lSet ) INLINE Qt_QMainWindow_setUnifiedTitleAndToolBarOnMac( ::pPtr, lSet )
|
||||
METHOD splitDockWidget( pFirst, pSecond, nOrientation ) INLINE Qt_QMainWindow_splitDockWidget( ::pPtr, pFirst, pSecond, nOrientation )
|
||||
METHOD statusBar() INLINE Qt_QMainWindow_statusBar( ::pPtr )
|
||||
METHOD tabPosition( nArea ) INLINE Qt_QMainWindow_tabPosition( ::pPtr, nArea )
|
||||
METHOD tabShape() INLINE Qt_QMainWindow_tabShape( ::pPtr )
|
||||
METHOD tabifyDockWidget( pFirst, pSecond ) INLINE Qt_QMainWindow_tabifyDockWidget( ::pPtr, pFirst, pSecond )
|
||||
METHOD toolBarArea( pToolbar ) INLINE Qt_QMainWindow_toolBarArea( ::pPtr, pToolbar )
|
||||
METHOD toolBarBreak( pToolbar ) INLINE Qt_QMainWindow_toolBarBreak( ::pPtr, pToolbar )
|
||||
METHOD toolButtonStyle() INLINE Qt_QMainWindow_toolButtonStyle( ::pPtr )
|
||||
METHOD unifiedTitleAndToolBarOnMac() INLINE Qt_QMainWindow_unifiedTitleAndToolBarOnMac( ::pPtr )
|
||||
METHOD setAnimated( lEnabled ) INLINE Qt_QMainWindow_setAnimated( ::pPtr, lEnabled )
|
||||
METHOD setDockNestingEnabled( lEnabled ) INLINE Qt_QMainWindow_setDockNestingEnabled( ::pPtr, lEnabled )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QMainWindow
|
||||
|
||||
::pPtr := Qt_QMainWindow( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
107
harbour/contrib/hbqt/TQMenu.prg
Normal file
107
harbour/contrib/hbqt/TQMenu.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'
|
||||
|
||||
|
||||
CLASS QMenu INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD actionAt( aPointPt ) INLINE Qt_QMenu_actionAt( ::pPtr, aPointPt )
|
||||
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 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 )
|
||||
METHOD addSeparator() INLINE Qt_QMenu_addSeparator( ::pPtr )
|
||||
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 hideTearOffMenu() INLINE Qt_QMenu_hideTearOffMenu( ::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 separatorsCollapsible() INLINE Qt_QMenu_separatorsCollapsible( ::pPtr )
|
||||
METHOD setActiveAction( pAct ) INLINE Qt_QMenu_setActiveAction( ::pPtr, pAct )
|
||||
METHOD setDefaultAction( pAct ) INLINE Qt_QMenu_setDefaultAction( ::pPtr, pAct )
|
||||
METHOD setIcon( cIcon ) INLINE Qt_QMenu_setIcon( ::pPtr, cIcon )
|
||||
METHOD setSeparatorsCollapsible( lCollapse ) INLINE Qt_QMenu_setSeparatorsCollapsible( ::pPtr, lCollapse )
|
||||
METHOD setTearOffEnabled( lBool ) INLINE Qt_QMenu_setTearOffEnabled( ::pPtr, lBool )
|
||||
METHOD setTitle( cTitle ) INLINE Qt_QMenu_setTitle( ::pPtr, cTitle )
|
||||
METHOD title() INLINE Qt_QMenu_title( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QMenu
|
||||
|
||||
::pPtr := Qt_QMenu( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
91
harbour/contrib/hbqt/TQMenuBar.prg
Normal file
91
harbour/contrib/hbqt/TQMenuBar.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'
|
||||
|
||||
|
||||
CLASS QMenuBar INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD activeAction() INLINE Qt_QMenuBar_activeAction( ::pPtr )
|
||||
METHOD addAction( cText ) INLINE Qt_QMenuBar_addAction( ::pPtr, cText )
|
||||
METHOD addAction_1( cText, pReceiver, pMember ) INLINE Qt_QMenuBar_addAction_1( ::pPtr, cText, pReceiver, pMember )
|
||||
METHOD addAction_2( pAction ) INLINE Qt_QMenuBar_addAction_2( ::pPtr, pAction )
|
||||
METHOD addMenu( pMenu ) INLINE Qt_QMenuBar_addMenu( ::pPtr, pMenu )
|
||||
METHOD addMenu_1( cTitle ) INLINE Qt_QMenuBar_addMenu_1( ::pPtr, cTitle )
|
||||
METHOD addMenu_2( cIcon, cTitle ) INLINE Qt_QMenuBar_addMenu_2( ::pPtr, cIcon, cTitle )
|
||||
METHOD addSeparator() INLINE Qt_QMenuBar_addSeparator( ::pPtr )
|
||||
METHOD clear() INLINE Qt_QMenuBar_clear( ::pPtr )
|
||||
METHOD insertMenu( pBefore, pMenu ) INLINE Qt_QMenuBar_insertMenu( ::pPtr, pBefore, pMenu )
|
||||
METHOD insertSeparator( pBefore ) INLINE Qt_QMenuBar_insertSeparator( ::pPtr, pBefore )
|
||||
METHOD isDefaultUp() INLINE Qt_QMenuBar_isDefaultUp( ::pPtr )
|
||||
METHOD setActiveAction( pAct ) INLINE Qt_QMenuBar_setActiveAction( ::pPtr, pAct )
|
||||
METHOD setDefaultUp( lBool ) INLINE Qt_QMenuBar_setDefaultUp( ::pPtr, lBool )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QMenuBar
|
||||
|
||||
::pPtr := Qt_QMenuBar( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
106
harbour/contrib/hbqt/TQMessageBox.prg
Normal file
106
harbour/contrib/hbqt/TQMessageBox.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'
|
||||
|
||||
|
||||
CLASS QMessageBox INHERIT QDialog
|
||||
|
||||
DATA 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 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 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 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 setIcon( nIcon ) INLINE Qt_QMessageBox_setIcon( ::pPtr, nIcon )
|
||||
METHOD setInformativeText( cText ) INLINE Qt_QMessageBox_setInformativeText( ::pPtr, cText )
|
||||
METHOD setStandardButtons( nStandardButtons ) INLINE Qt_QMessageBox_setStandardButtons( ::pPtr, nStandardButtons )
|
||||
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 )
|
||||
METHOD setWindowTitle( cTitle ) INLINE Qt_QMessageBox_setWindowTitle( ::pPtr, cTitle )
|
||||
METHOD standardButton( pButton ) INLINE Qt_QMessageBox_standardButton( ::pPtr, pButton )
|
||||
METHOD standardButtons() INLINE Qt_QMessageBox_standardButtons( ::pPtr )
|
||||
METHOD text() INLINE Qt_QMessageBox_text( ::pPtr )
|
||||
METHOD textFormat() INLINE Qt_QMessageBox_textFormat( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QMessageBox
|
||||
|
||||
::pPtr := Qt_QMessageBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
99
harbour/contrib/hbqt/TQObject.prg
Normal file
99
harbour/contrib/hbqt/TQObject.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'
|
||||
|
||||
|
||||
CLASS QObject
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD blockSignals( lBlock ) INLINE Qt_QObject_blockSignals( ::pPtr, lBlock )
|
||||
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 )
|
||||
METHOD dumpObjectInfo() INLINE Qt_QObject_dumpObjectInfo( ::pPtr )
|
||||
METHOD dumpObjectTree() INLINE Qt_QObject_dumpObjectTree( ::pPtr )
|
||||
METHOD event( pE ) INLINE Qt_QObject_event( ::pPtr, pE )
|
||||
METHOD eventFilter( pWatched, pEvent ) INLINE Qt_QObject_eventFilter( ::pPtr, pWatched, pEvent )
|
||||
METHOD inherits( pClassName ) INLINE Qt_QObject_inherits( ::pPtr, pClassName )
|
||||
METHOD installEventFilter( pFilterObj ) INLINE Qt_QObject_installEventFilter( ::pPtr, pFilterObj )
|
||||
METHOD isWidgetType() INLINE Qt_QObject_isWidgetType( ::pPtr )
|
||||
METHOD killTimer( nId ) INLINE Qt_QObject_killTimer( ::pPtr, nId )
|
||||
METHOD metaObject() INLINE Qt_QObject_metaObject( ::pPtr )
|
||||
METHOD moveToThread( pTargetThread ) INLINE Qt_QObject_moveToThread( ::pPtr, pTargetThread )
|
||||
METHOD objectName() INLINE Qt_QObject_objectName( ::pPtr )
|
||||
METHOD parent() INLINE Qt_QObject_parent( ::pPtr )
|
||||
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 signalsBlocked() INLINE Qt_QObject_signalsBlocked( ::pPtr )
|
||||
METHOD startTimer( nInterval ) INLINE Qt_QObject_startTimer( ::pPtr, nInterval )
|
||||
METHOD thread() INLINE Qt_QObject_thread( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QObject
|
||||
|
||||
::pPtr := Qt_QObject( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
85
harbour/contrib/hbqt/TQPageSetupDialog.prg
Normal file
85
harbour/contrib/hbqt/TQPageSetupDialog.prg
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QPageSetupDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD exec() INLINE Qt_QPageSetupDialog_exec( ::pPtr )
|
||||
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 setVisible( lVisible ) INLINE Qt_QPageSetupDialog_setVisible( ::pPtr, lVisible )
|
||||
METHOD testOption( nPageSetupDialogOption ) INLINE Qt_QPageSetupDialog_testOption( ::pPtr, nPageSetupDialogOption )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QPageSetupDialog
|
||||
|
||||
::pPtr := Qt_QPageSetupDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
89
harbour/contrib/hbqt/TQPaintDevice.prg
Normal file
89
harbour/contrib/hbqt/TQPaintDevice.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'
|
||||
|
||||
|
||||
CLASS QPaintDevice
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD depth() INLINE Qt_QPaintDevice_depth( ::pPtr )
|
||||
METHOD height() INLINE Qt_QPaintDevice_height( ::pPtr )
|
||||
METHOD heightMM() INLINE Qt_QPaintDevice_heightMM( ::pPtr )
|
||||
METHOD logicalDpiX() INLINE Qt_QPaintDevice_logicalDpiX( ::pPtr )
|
||||
METHOD logicalDpiY() INLINE Qt_QPaintDevice_logicalDpiY( ::pPtr )
|
||||
METHOD numColors() INLINE Qt_QPaintDevice_numColors( ::pPtr )
|
||||
METHOD paintEngine() INLINE Qt_QPaintDevice_paintEngine( ::pPtr )
|
||||
METHOD paintingActive() INLINE Qt_QPaintDevice_paintingActive( ::pPtr )
|
||||
METHOD physicalDpiX() INLINE Qt_QPaintDevice_physicalDpiX( ::pPtr )
|
||||
METHOD physicalDpiY() INLINE Qt_QPaintDevice_physicalDpiY( ::pPtr )
|
||||
METHOD width() INLINE Qt_QPaintDevice_width( ::pPtr )
|
||||
METHOD widthMM() INLINE Qt_QPaintDevice_widthMM( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QPaintDevice
|
||||
|
||||
::pPtr := Qt_QPaintDevice( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
156
harbour/contrib/hbqt/TQPainter.prg
Normal file
156
harbour/contrib/hbqt/TQPainter.prg
Normal file
@@ -0,0 +1,156 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QPainter
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
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 brushOrigin() INLINE Qt_QPainter_brushOrigin( ::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 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 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 drawPoints( pPoints, nPointCount ) INLINE Qt_QPainter_drawPoints( ::pPtr, pPoints, nPointCount )
|
||||
METHOD drawPolygon( pPoints, nPointCount, nFillRule ) INLINE Qt_QPainter_drawPolygon( ::pPtr, pPoints, nPointCount, 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 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 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 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 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 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 setClipping( lEnable ) INLINE Qt_QPainter_setClipping( ::pPtr, lEnable )
|
||||
METHOD setCompositionMode( nCompositionMode ) INLINE Qt_QPainter_setCompositionMode( ::pPtr, nCompositionMode )
|
||||
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 setViewTransformEnabled( lEnable ) INLINE Qt_QPainter_setViewTransformEnabled( ::pPtr, lEnable )
|
||||
METHOD setViewport( aRectRectangle ) INLINE Qt_QPainter_setViewport( ::pPtr, aRectRectangle )
|
||||
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_1( nX, nY, nWidth, nHeight ) INLINE Qt_QPainter_setWindow_1( ::pPtr, nX, nY, nWidth, nHeight )
|
||||
METHOD setWorldMatrixEnabled( lEnable ) INLINE Qt_QPainter_setWorldMatrixEnabled( ::pPtr, lEnable )
|
||||
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 viewTransformEnabled() INLINE Qt_QPainter_viewTransformEnabled( ::pPtr )
|
||||
METHOD viewport() INLINE Qt_QPainter_viewport( ::pPtr )
|
||||
METHOD window() INLINE Qt_QPainter_window( ::pPtr )
|
||||
METHOD worldMatrixEnabled() INLINE Qt_QPainter_worldMatrixEnabled( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QPainter
|
||||
|
||||
::pPtr := Qt_QPainter( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
86
harbour/contrib/hbqt/TQPrintDialog.prg
Normal file
86
harbour/contrib/hbqt/TQPrintDialog.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'
|
||||
|
||||
|
||||
CLASS QPrintDialog INHERIT QAbstractPrintDialog
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD done( nResult ) INLINE Qt_QPrintDialog_done( ::pPtr, nResult )
|
||||
METHOD open( pReceiver, pMember ) INLINE Qt_QPrintDialog_open( ::pPtr, pReceiver, pMember )
|
||||
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 setVisible( lVisible ) INLINE Qt_QPrintDialog_setVisible( ::pPtr, lVisible )
|
||||
METHOD testOption( nPrintDialogOption ) INLINE Qt_QPrintDialog_testOption( ::pPtr, nPrintDialogOption )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QPrintDialog
|
||||
|
||||
::pPtr := Qt_QPrintDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
79
harbour/contrib/hbqt/TQPrintPreviewDialog.prg
Normal file
79
harbour/contrib/hbqt/TQPrintPreviewDialog.prg
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QPrintPreviewDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD open( pReceiver, pMember ) INLINE Qt_QPrintPreviewDialog_open( ::pPtr, pReceiver, pMember )
|
||||
METHOD printer() INLINE Qt_QPrintPreviewDialog_printer( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QPrintPreviewDialog
|
||||
|
||||
::pPtr := Qt_QPrintPreviewDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
92
harbour/contrib/hbqt/TQProgressBar.prg
Normal file
92
harbour/contrib/hbqt/TQProgressBar.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'
|
||||
|
||||
|
||||
CLASS QProgressBar INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD alignment() INLINE Qt_QProgressBar_alignment( ::pPtr )
|
||||
METHOD format() INLINE Qt_QProgressBar_format( ::pPtr )
|
||||
METHOD invertedAppearance() INLINE Qt_QProgressBar_invertedAppearance( ::pPtr )
|
||||
METHOD isTextVisible() INLINE Qt_QProgressBar_isTextVisible( ::pPtr )
|
||||
METHOD maximum() INLINE Qt_QProgressBar_maximum( ::pPtr )
|
||||
METHOD minimum() INLINE Qt_QProgressBar_minimum( ::pPtr )
|
||||
METHOD orientation() INLINE Qt_QProgressBar_orientation( ::pPtr )
|
||||
METHOD setAlignment( nAlignment ) INLINE Qt_QProgressBar_setAlignment( ::pPtr, nAlignment )
|
||||
METHOD setFormat( cFormat ) INLINE Qt_QProgressBar_setFormat( ::pPtr, cFormat )
|
||||
METHOD setInvertedAppearance( lInvert ) INLINE Qt_QProgressBar_setInvertedAppearance( ::pPtr, lInvert )
|
||||
METHOD setTextDirection( nTextDirection ) INLINE Qt_QProgressBar_setTextDirection( ::pPtr, nTextDirection )
|
||||
METHOD setTextVisible( lVisible ) INLINE Qt_QProgressBar_setTextVisible( ::pPtr, lVisible )
|
||||
METHOD text() INLINE Qt_QProgressBar_text( ::pPtr )
|
||||
METHOD textDirection() INLINE Qt_QProgressBar_textDirection( ::pPtr )
|
||||
METHOD value() INLINE Qt_QProgressBar_value( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QProgressBar
|
||||
|
||||
::pPtr := Qt_QProgressBar( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
101
harbour/contrib/hbqt/TQProgressDialog.prg
Normal file
101
harbour/contrib/hbqt/TQProgressDialog.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'
|
||||
|
||||
|
||||
CLASS QProgressDialog INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD autoClose() INLINE Qt_QProgressDialog_autoClose( ::pPtr )
|
||||
METHOD autoReset() INLINE Qt_QProgressDialog_autoReset( ::pPtr )
|
||||
METHOD labelText() INLINE Qt_QProgressDialog_labelText( ::pPtr )
|
||||
METHOD maximum() INLINE Qt_QProgressDialog_maximum( ::pPtr )
|
||||
METHOD minimum() INLINE Qt_QProgressDialog_minimum( ::pPtr )
|
||||
METHOD minimumDuration() INLINE Qt_QProgressDialog_minimumDuration( ::pPtr )
|
||||
METHOD open( pReceiver, pMember ) INLINE Qt_QProgressDialog_open( ::pPtr, pReceiver, pMember )
|
||||
METHOD setAutoClose( lClose ) INLINE Qt_QProgressDialog_setAutoClose( ::pPtr, lClose )
|
||||
METHOD setAutoReset( lReset ) INLINE Qt_QProgressDialog_setAutoReset( ::pPtr, lReset )
|
||||
METHOD setBar( pBar ) INLINE Qt_QProgressDialog_setBar( ::pPtr, pBar )
|
||||
METHOD setCancelButton( pCancelButton ) INLINE Qt_QProgressDialog_setCancelButton( ::pPtr, pCancelButton )
|
||||
METHOD setLabel( pLabel ) INLINE Qt_QProgressDialog_setLabel( ::pPtr, pLabel )
|
||||
METHOD sizeHint() INLINE Qt_QProgressDialog_sizeHint( ::pPtr )
|
||||
METHOD value() INLINE Qt_QProgressDialog_value( ::pPtr )
|
||||
METHOD wasCanceled() INLINE Qt_QProgressDialog_wasCanceled( ::pPtr )
|
||||
METHOD cancel() INLINE Qt_QProgressDialog_cancel( ::pPtr )
|
||||
METHOD reset() INLINE Qt_QProgressDialog_reset( ::pPtr )
|
||||
METHOD setCancelButtonText( cCancelButtonText ) INLINE Qt_QProgressDialog_setCancelButtonText( ::pPtr, cCancelButtonText )
|
||||
METHOD setLabelText( cText ) INLINE Qt_QProgressDialog_setLabelText( ::pPtr, cText )
|
||||
METHOD setMaximum( nMaximum ) INLINE Qt_QProgressDialog_setMaximum( ::pPtr, nMaximum )
|
||||
METHOD setMinimum( nMinimum ) INLINE Qt_QProgressDialog_setMinimum( ::pPtr, nMinimum )
|
||||
METHOD setMinimumDuration( nMs ) INLINE Qt_QProgressDialog_setMinimumDuration( ::pPtr, nMs )
|
||||
METHOD setRange( nMinimum, nMaximum ) INLINE Qt_QProgressDialog_setRange( ::pPtr, nMinimum, nMaximum )
|
||||
METHOD setValue( nProgress ) INLINE Qt_QProgressDialog_setValue( ::pPtr, nProgress )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QProgressDialog
|
||||
|
||||
::pPtr := Qt_QProgressDialog( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
85
harbour/contrib/hbqt/TQPushButton.prg
Normal file
85
harbour/contrib/hbqt/TQPushButton.prg
Normal file
@@ -0,0 +1,85 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QPushButton INHERIT QAbstractButton
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD autoDefault() INLINE Qt_QPushButton_autoDefault( ::pPtr )
|
||||
METHOD isDefault() INLINE Qt_QPushButton_isDefault( ::pPtr )
|
||||
METHOD isFlat() INLINE Qt_QPushButton_isFlat( ::pPtr )
|
||||
METHOD menu() INLINE Qt_QPushButton_menu( ::pPtr )
|
||||
METHOD setAutoDefault( lBool ) INLINE Qt_QPushButton_setAutoDefault( ::pPtr, lBool )
|
||||
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 )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QPushButton
|
||||
|
||||
::pPtr := Qt_QPushButton( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
77
harbour/contrib/hbqt/TQRadioButton.prg
Normal file
77
harbour/contrib/hbqt/TQRadioButton.prg
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QRadioButton INHERIT QAbstractButton
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QRadioButton
|
||||
|
||||
::pPtr := Qt_QRadioButton( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
86
harbour/contrib/hbqt/TQScrollArea.prg
Normal file
86
harbour/contrib/hbqt/TQScrollArea.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'
|
||||
|
||||
|
||||
CLASS QScrollArea INHERIT QAbstractScrollArea
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD alignment() INLINE Qt_QScrollArea_alignment( ::pPtr )
|
||||
METHOD ensureVisible( nX, nY, nXmargin, nYmargin ) INLINE Qt_QScrollArea_ensureVisible( ::pPtr, nX, nY, nXmargin, nYmargin )
|
||||
METHOD ensureWidgetVisible( pChildWidget, nXmargin, nYmargin ) INLINE Qt_QScrollArea_ensureWidgetVisible( ::pPtr, pChildWidget, nXmargin, nYmargin )
|
||||
METHOD setAlignment( nQt_Alignment ) INLINE Qt_QScrollArea_setAlignment( ::pPtr, nQt_Alignment )
|
||||
METHOD setWidget( pWidget ) INLINE Qt_QScrollArea_setWidget( ::pPtr, pWidget )
|
||||
METHOD setWidgetResizable( lResizable ) INLINE Qt_QScrollArea_setWidgetResizable( ::pPtr, lResizable )
|
||||
METHOD takeWidget() INLINE Qt_QScrollArea_takeWidget( ::pPtr )
|
||||
METHOD widget() INLINE Qt_QScrollArea_widget( ::pPtr )
|
||||
METHOD widgetResizable() INLINE Qt_QScrollArea_widgetResizable( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QScrollArea
|
||||
|
||||
::pPtr := Qt_QScrollArea( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
77
harbour/contrib/hbqt/TQScrollBar.prg
Normal file
77
harbour/contrib/hbqt/TQScrollBar.prg
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QScrollBar INHERIT QAbstractSlider
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QScrollBar
|
||||
|
||||
::pPtr := Qt_QScrollBar( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
77
harbour/contrib/hbqt/TQSizeGrip.prg
Normal file
77
harbour/contrib/hbqt/TQSizeGrip.prg
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QSizeGrip INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QSizeGrip
|
||||
|
||||
::pPtr := Qt_QSizeGrip( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
81
harbour/contrib/hbqt/TQSlider.prg
Normal file
81
harbour/contrib/hbqt/TQSlider.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'
|
||||
|
||||
|
||||
CLASS QSlider INHERIT QAbstractSlider
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD setTickInterval( nTi ) INLINE Qt_QSlider_setTickInterval( ::pPtr, nTi )
|
||||
METHOD setTickPosition( nTickPosition ) INLINE Qt_QSlider_setTickPosition( ::pPtr, nTickPosition )
|
||||
METHOD tickInterval() INLINE Qt_QSlider_tickInterval( ::pPtr )
|
||||
METHOD tickPosition() INLINE Qt_QSlider_tickPosition( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QSlider
|
||||
|
||||
::pPtr := Qt_QSlider( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
90
harbour/contrib/hbqt/TQSpinBox.prg
Normal file
90
harbour/contrib/hbqt/TQSpinBox.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'
|
||||
|
||||
|
||||
CLASS QSpinBox INHERIT QAbstractSpinBox
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD cleanText() INLINE Qt_QSpinBox_cleanText( ::pPtr )
|
||||
METHOD maximum() INLINE Qt_QSpinBox_maximum( ::pPtr )
|
||||
METHOD minimum() INLINE Qt_QSpinBox_minimum( ::pPtr )
|
||||
METHOD prefix() INLINE Qt_QSpinBox_prefix( ::pPtr )
|
||||
METHOD setMaximum( nMax ) INLINE Qt_QSpinBox_setMaximum( ::pPtr, nMax )
|
||||
METHOD setMinimum( nMin ) INLINE Qt_QSpinBox_setMinimum( ::pPtr, nMin )
|
||||
METHOD setPrefix( cPrefix ) INLINE Qt_QSpinBox_setPrefix( ::pPtr, cPrefix )
|
||||
METHOD setRange( nMinimum, nMaximum ) INLINE Qt_QSpinBox_setRange( ::pPtr, nMinimum, nMaximum )
|
||||
METHOD setSingleStep( nVal ) INLINE Qt_QSpinBox_setSingleStep( ::pPtr, nVal )
|
||||
METHOD setSuffix( cSuffix ) INLINE Qt_QSpinBox_setSuffix( ::pPtr, cSuffix )
|
||||
METHOD singleStep() INLINE Qt_QSpinBox_singleStep( ::pPtr )
|
||||
METHOD suffix() INLINE Qt_QSpinBox_suffix( ::pPtr )
|
||||
METHOD value() INLINE Qt_QSpinBox_value( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QSpinBox
|
||||
|
||||
::pPtr := Qt_QSpinBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
95
harbour/contrib/hbqt/TQSplitter.prg
Normal file
95
harbour/contrib/hbqt/TQSplitter.prg
Normal file
@@ -0,0 +1,95 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QSplitter INHERIT QFrame
|
||||
|
||||
DATA 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 handle( nIndex ) INLINE Qt_QSplitter_handle( ::pPtr, nIndex )
|
||||
METHOD handleWidth() INLINE Qt_QSplitter_handleWidth( ::pPtr )
|
||||
METHOD indexOf( pWidget ) INLINE Qt_QSplitter_indexOf( ::pPtr, pWidget )
|
||||
METHOD insertWidget( nIndex, pWidget ) INLINE Qt_QSplitter_insertWidget( ::pPtr, nIndex, pWidget )
|
||||
METHOD isCollapsible( nIndex ) INLINE Qt_QSplitter_isCollapsible( ::pPtr, nIndex )
|
||||
METHOD opaqueResize() INLINE Qt_QSplitter_opaqueResize( ::pPtr )
|
||||
METHOD orientation() INLINE Qt_QSplitter_orientation( ::pPtr )
|
||||
METHOD refresh() INLINE Qt_QSplitter_refresh( ::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 )
|
||||
METHOD setOpaqueResize( lOpaque ) INLINE Qt_QSplitter_setOpaqueResize( ::pPtr, lOpaque )
|
||||
METHOD setOrientation( nQt_Orientation ) INLINE Qt_QSplitter_setOrientation( ::pPtr, nQt_Orientation )
|
||||
METHOD setStretchFactor( nIndex, nStretch ) INLINE Qt_QSplitter_setStretchFactor( ::pPtr, nIndex, nStretch )
|
||||
METHOD widget( nIndex ) INLINE Qt_QSplitter_widget( ::pPtr, nIndex )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QSplitter
|
||||
|
||||
::pPtr := Qt_QSplitter( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
115
harbour/contrib/hbqt/TQTabBar.prg
Normal file
115
harbour/contrib/hbqt/TQTabBar.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'
|
||||
|
||||
|
||||
CLASS QTabBar INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addTab( cText ) INLINE Qt_QTabBar_addTab( ::pPtr, cText )
|
||||
METHOD count() INLINE Qt_QTabBar_count( ::pPtr )
|
||||
METHOD currentIndex() INLINE Qt_QTabBar_currentIndex( ::pPtr )
|
||||
METHOD documentMode() INLINE Qt_QTabBar_documentMode( ::pPtr )
|
||||
METHOD drawBase() INLINE Qt_QTabBar_drawBase( ::pPtr )
|
||||
METHOD elideMode() INLINE Qt_QTabBar_elideMode( ::pPtr )
|
||||
METHOD expanding() INLINE Qt_QTabBar_expanding( ::pPtr )
|
||||
METHOD iconSize() INLINE Qt_QTabBar_iconSize( ::pPtr )
|
||||
METHOD insertTab( nIndex, cText ) INLINE Qt_QTabBar_insertTab( ::pPtr, nIndex, cText )
|
||||
METHOD isMovable() INLINE Qt_QTabBar_isMovable( ::pPtr )
|
||||
METHOD isTabEnabled( nIndex ) INLINE Qt_QTabBar_isTabEnabled( ::pPtr, nIndex )
|
||||
METHOD moveTab( nFrom, nTo ) INLINE Qt_QTabBar_moveTab( ::pPtr, nFrom, nTo )
|
||||
METHOD removeTab( nIndex ) INLINE Qt_QTabBar_removeTab( ::pPtr, nIndex )
|
||||
METHOD selectionBehaviorOnRemove() INLINE Qt_QTabBar_selectionBehaviorOnRemove( ::pPtr )
|
||||
METHOD setDocumentMode( lSet ) INLINE Qt_QTabBar_setDocumentMode( ::pPtr, lSet )
|
||||
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 setMovable( lMovable ) INLINE Qt_QTabBar_setMovable( ::pPtr, lMovable )
|
||||
METHOD setSelectionBehaviorOnRemove( nSelectionBehavior ) INLINE Qt_QTabBar_setSelectionBehaviorOnRemove( ::pPtr, nSelectionBehavior )
|
||||
METHOD setShape( nShape ) INLINE Qt_QTabBar_setShape( ::pPtr, nShape )
|
||||
METHOD setTabButton( nIndex, nButtonPosition, pWidget ) INLINE Qt_QTabBar_setTabButton( ::pPtr, nIndex, nButtonPosition, pWidget )
|
||||
METHOD setTabEnabled( nIndex, lEnabled ) INLINE Qt_QTabBar_setTabEnabled( ::pPtr, nIndex, lEnabled )
|
||||
METHOD setTabText( nIndex, cText ) INLINE Qt_QTabBar_setTabText( ::pPtr, nIndex, cText )
|
||||
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 tabRect( nIndex ) INLINE Qt_QTabBar_tabRect( ::pPtr, nIndex )
|
||||
METHOD tabText( nIndex ) INLINE Qt_QTabBar_tabText( ::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 )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QTabBar
|
||||
|
||||
::pPtr := Qt_QTabBar( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
115
harbour/contrib/hbqt/TQTabWidget.prg
Normal file
115
harbour/contrib/hbqt/TQTabWidget.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'
|
||||
|
||||
|
||||
CLASS QTabWidget INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addTab( pPage, cLabel ) INLINE Qt_QTabWidget_addTab( ::pPtr, pPage, cLabel )
|
||||
METHOD addTab_1( pPage, cIcon, cLabel ) INLINE Qt_QTabWidget_addTab_1( ::pPtr, pPage, cIcon, cLabel )
|
||||
METHOD clear() INLINE Qt_QTabWidget_clear( ::pPtr )
|
||||
METHOD cornerWidget( nCorner ) INLINE Qt_QTabWidget_cornerWidget( ::pPtr, nCorner )
|
||||
METHOD count() INLINE Qt_QTabWidget_count( ::pPtr )
|
||||
METHOD currentIndex() INLINE Qt_QTabWidget_currentIndex( ::pPtr )
|
||||
METHOD currentWidget() INLINE Qt_QTabWidget_currentWidget( ::pPtr )
|
||||
METHOD documentMode() INLINE Qt_QTabWidget_documentMode( ::pPtr )
|
||||
METHOD elideMode() INLINE Qt_QTabWidget_elideMode( ::pPtr )
|
||||
METHOD iconSize() INLINE Qt_QTabWidget_iconSize( ::pPtr )
|
||||
METHOD indexOf( pW ) INLINE Qt_QTabWidget_indexOf( ::pPtr, pW )
|
||||
METHOD insertTab( nIndex, pPage, cLabel ) INLINE Qt_QTabWidget_insertTab( ::pPtr, nIndex, pPage, cLabel )
|
||||
METHOD insertTab_1( nIndex, pPage, cIcon, cLabel ) INLINE Qt_QTabWidget_insertTab_1( ::pPtr, nIndex, pPage, cIcon, cLabel )
|
||||
METHOD isMovable() INLINE Qt_QTabWidget_isMovable( ::pPtr )
|
||||
METHOD isTabEnabled( nIndex ) INLINE Qt_QTabWidget_isTabEnabled( ::pPtr, nIndex )
|
||||
METHOD removeTab( nIndex ) INLINE Qt_QTabWidget_removeTab( ::pPtr, nIndex )
|
||||
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 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 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 tabPosition() INLINE Qt_QTabWidget_tabPosition( ::pPtr )
|
||||
METHOD tabShape() INLINE Qt_QTabWidget_tabShape( ::pPtr )
|
||||
METHOD tabText( nIndex ) INLINE Qt_QTabWidget_tabText( ::pPtr, nIndex )
|
||||
METHOD tabToolTip( nIndex ) INLINE Qt_QTabWidget_tabToolTip( ::pPtr, nIndex )
|
||||
METHOD tabWhatsThis( nIndex ) INLINE Qt_QTabWidget_tabWhatsThis( ::pPtr, nIndex )
|
||||
METHOD tabsClosable() INLINE Qt_QTabWidget_tabsClosable( ::pPtr )
|
||||
METHOD usesScrollButtons() INLINE Qt_QTabWidget_usesScrollButtons( ::pPtr )
|
||||
METHOD widget( nIndex ) INLINE Qt_QTabWidget_widget( ::pPtr, nIndex )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QTabWidget
|
||||
|
||||
::pPtr := Qt_QTabWidget( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
107
harbour/contrib/hbqt/TQTableView.prg
Normal file
107
harbour/contrib/hbqt/TQTableView.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'
|
||||
|
||||
|
||||
CLASS QTableView INHERIT QAbstractItemView
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD clearSpans() INLINE Qt_QTableView_clearSpans( ::pPtr )
|
||||
METHOD columnAt( nX ) INLINE Qt_QTableView_columnAt( ::pPtr, nX )
|
||||
METHOD columnSpan( nRow, nColumn ) INLINE Qt_QTableView_columnSpan( ::pPtr, nRow, nColumn )
|
||||
METHOD columnViewportPosition( nColumn ) INLINE Qt_QTableView_columnViewportPosition( ::pPtr, nColumn )
|
||||
METHOD columnWidth( nColumn ) INLINE Qt_QTableView_columnWidth( ::pPtr, nColumn )
|
||||
METHOD gridStyle() INLINE Qt_QTableView_gridStyle( ::pPtr )
|
||||
METHOD horizontalHeader() INLINE Qt_QTableView_horizontalHeader( ::pPtr )
|
||||
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 )
|
||||
METHOD isSortingEnabled() INLINE Qt_QTableView_isSortingEnabled( ::pPtr )
|
||||
METHOD rowAt( nY ) INLINE Qt_QTableView_rowAt( ::pPtr, nY )
|
||||
METHOD rowHeight( nRow ) INLINE Qt_QTableView_rowHeight( ::pPtr, nRow )
|
||||
METHOD rowSpan( nRow, nColumn ) INLINE Qt_QTableView_rowSpan( ::pPtr, nRow, nColumn )
|
||||
METHOD rowViewportPosition( nRow ) INLINE Qt_QTableView_rowViewportPosition( ::pPtr, nRow )
|
||||
METHOD setColumnHidden( nColumn, lHide ) INLINE Qt_QTableView_setColumnHidden( ::pPtr, nColumn, lHide )
|
||||
METHOD setColumnWidth( nColumn, nWidth ) INLINE Qt_QTableView_setColumnWidth( ::pPtr, nColumn, nWidth )
|
||||
METHOD setCornerButtonEnabled( lEnable ) INLINE Qt_QTableView_setCornerButtonEnabled( ::pPtr, lEnable )
|
||||
METHOD setGridStyle( nStyle ) INLINE Qt_QTableView_setGridStyle( ::pPtr, nStyle )
|
||||
METHOD setHorizontalHeader( pHeader ) INLINE Qt_QTableView_setHorizontalHeader( ::pPtr, pHeader )
|
||||
METHOD setRowHeight( nRow, nHeight ) INLINE Qt_QTableView_setRowHeight( ::pPtr, nRow, nHeight )
|
||||
METHOD setRowHidden( nRow, lHide ) INLINE Qt_QTableView_setRowHidden( ::pPtr, nRow, lHide )
|
||||
METHOD setSortingEnabled( lEnable ) INLINE Qt_QTableView_setSortingEnabled( ::pPtr, lEnable )
|
||||
METHOD setSpan( nRow, nColumn, nRowSpanCount, nColumnSpanCount ) INLINE Qt_QTableView_setSpan( ::pPtr, nRow, nColumn, nRowSpanCount, nColumnSpanCount )
|
||||
METHOD setVerticalHeader( pHeader ) INLINE Qt_QTableView_setVerticalHeader( ::pPtr, pHeader )
|
||||
METHOD setWordWrap( lOn ) INLINE Qt_QTableView_setWordWrap( ::pPtr, lOn )
|
||||
METHOD showGrid() INLINE Qt_QTableView_showGrid( ::pPtr )
|
||||
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 )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QTableView
|
||||
|
||||
::pPtr := Qt_QTableView( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
113
harbour/contrib/hbqt/TQTableWidget.prg
Normal file
113
harbour/contrib/hbqt/TQTableWidget.prg
Normal file
@@ -0,0 +1,113 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QTableWidget INHERIT QTableView
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD cellWidget( nRow, nColumn ) INLINE Qt_QTableWidget_cellWidget( ::pPtr, nRow, nColumn )
|
||||
METHOD closePersistentEditor( pItem ) INLINE Qt_QTableWidget_closePersistentEditor( ::pPtr, pItem )
|
||||
METHOD column( pItem ) INLINE Qt_QTableWidget_column( ::pPtr, pItem )
|
||||
METHOD columnCount() INLINE Qt_QTableWidget_columnCount( ::pPtr )
|
||||
METHOD currentColumn() INLINE Qt_QTableWidget_currentColumn( ::pPtr )
|
||||
METHOD currentItem() INLINE Qt_QTableWidget_currentItem( ::pPtr )
|
||||
METHOD currentRow() INLINE Qt_QTableWidget_currentRow( ::pPtr )
|
||||
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_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 )
|
||||
METHOD removeCellWidget( nRow, nColumn ) INLINE Qt_QTableWidget_removeCellWidget( ::pPtr, nRow, nColumn )
|
||||
METHOD row( pItem ) INLINE Qt_QTableWidget_row( ::pPtr, pItem )
|
||||
METHOD rowCount() INLINE Qt_QTableWidget_rowCount( ::pPtr )
|
||||
METHOD setCellWidget( nRow, nColumn, pWidget ) INLINE Qt_QTableWidget_setCellWidget( ::pPtr, nRow, nColumn, pWidget )
|
||||
METHOD setColumnCount( nColumns ) INLINE Qt_QTableWidget_setColumnCount( ::pPtr, nColumns )
|
||||
METHOD setCurrentCell( nRow, nColumn ) INLINE Qt_QTableWidget_setCurrentCell( ::pPtr, nRow, nColumn )
|
||||
METHOD setCurrentCell_1( nRow, nColumn, nCommand ) INLINE Qt_QTableWidget_setCurrentCell_1( ::pPtr, nRow, nColumn, nCommand )
|
||||
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 setItem( nRow, nColumn, pItem ) INLINE Qt_QTableWidget_setItem( ::pPtr, nRow, nColumn, pItem )
|
||||
METHOD setItemPrototype( pItem ) INLINE Qt_QTableWidget_setItemPrototype( ::pPtr, pItem )
|
||||
METHOD setRowCount( nRows ) INLINE Qt_QTableWidget_setRowCount( ::pPtr, nRows )
|
||||
METHOD setVerticalHeaderItem( nRow, pItem ) INLINE Qt_QTableWidget_setVerticalHeaderItem( ::pPtr, nRow, pItem )
|
||||
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 )
|
||||
METHOD takeVerticalHeaderItem( nRow ) INLINE Qt_QTableWidget_takeVerticalHeaderItem( ::pPtr, nRow )
|
||||
METHOD verticalHeaderItem( nRow ) INLINE Qt_QTableWidget_verticalHeaderItem( ::pPtr, nRow )
|
||||
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 )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QTableWidget
|
||||
|
||||
::pPtr := Qt_QTableWidget( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
99
harbour/contrib/hbqt/TQTableWidgetItem.prg
Normal file
99
harbour/contrib/hbqt/TQTableWidgetItem.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'
|
||||
|
||||
|
||||
CLASS QTableWidgetItem
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD checkState() INLINE Qt_QTableWidgetItem_checkState( ::pPtr )
|
||||
METHOD clone() INLINE Qt_QTableWidgetItem_clone( ::pPtr )
|
||||
METHOD column() INLINE Qt_QTableWidgetItem_column( ::pPtr )
|
||||
METHOD isSelected() INLINE Qt_QTableWidgetItem_isSelected( ::pPtr )
|
||||
METHOD row() INLINE Qt_QTableWidgetItem_row( ::pPtr )
|
||||
METHOD setCheckState( nState ) INLINE Qt_QTableWidgetItem_setCheckState( ::pPtr, nState )
|
||||
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 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 )
|
||||
METHOD setToolTip( cToolTip ) INLINE Qt_QTableWidgetItem_setToolTip( ::pPtr, cToolTip )
|
||||
METHOD setWhatsThis( cWhatsThis ) INLINE Qt_QTableWidgetItem_setWhatsThis( ::pPtr, cWhatsThis )
|
||||
METHOD sizeHint() INLINE Qt_QTableWidgetItem_sizeHint( ::pPtr )
|
||||
METHOD statusTip() INLINE Qt_QTableWidgetItem_statusTip( ::pPtr )
|
||||
METHOD tableWidget() INLINE Qt_QTableWidgetItem_tableWidget( ::pPtr )
|
||||
METHOD text() INLINE Qt_QTableWidgetItem_text( ::pPtr )
|
||||
METHOD textAlignment() INLINE Qt_QTableWidgetItem_textAlignment( ::pPtr )
|
||||
METHOD toolTip() INLINE Qt_QTableWidgetItem_toolTip( ::pPtr )
|
||||
METHOD type() INLINE Qt_QTableWidgetItem_type( ::pPtr )
|
||||
METHOD whatsThis() INLINE Qt_QTableWidgetItem_whatsThis( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QTableWidgetItem
|
||||
|
||||
::pPtr := Qt_QTableWidgetItem( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
121
harbour/contrib/hbqt/TQTextEdit.prg
Normal file
121
harbour/contrib/hbqt/TQTextEdit.prg
Normal file
@@ -0,0 +1,121 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QTextEdit INHERIT QAbstractScrollArea
|
||||
|
||||
DATA 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 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 cursorWidth() INLINE Qt_QTextEdit_cursorWidth( ::pPtr )
|
||||
METHOD document() INLINE Qt_QTextEdit_document( ::pPtr )
|
||||
METHOD documentTitle() INLINE Qt_QTextEdit_documentTitle( ::pPtr )
|
||||
METHOD ensureCursorVisible() INLINE Qt_QTextEdit_ensureCursorVisible( ::pPtr )
|
||||
METHOD find( cExp, nOptions ) INLINE Qt_QTextEdit_find( ::pPtr, cExp, nOptions )
|
||||
METHOD fontFamily() INLINE Qt_QTextEdit_fontFamily( ::pPtr )
|
||||
METHOD fontItalic() INLINE Qt_QTextEdit_fontItalic( ::pPtr )
|
||||
METHOD fontPointSize() INLINE Qt_QTextEdit_fontPointSize( ::pPtr )
|
||||
METHOD fontUnderline() INLINE Qt_QTextEdit_fontUnderline( ::pPtr )
|
||||
METHOD fontWeight() INLINE Qt_QTextEdit_fontWeight( ::pPtr )
|
||||
METHOD isReadOnly() INLINE Qt_QTextEdit_isReadOnly( ::pPtr )
|
||||
METHOD isUndoRedoEnabled() INLINE Qt_QTextEdit_isUndoRedoEnabled( ::pPtr )
|
||||
METHOD lineWrapColumnOrWidth() INLINE Qt_QTextEdit_lineWrapColumnOrWidth( ::pPtr )
|
||||
METHOD lineWrapMode() INLINE Qt_QTextEdit_lineWrapMode( ::pPtr )
|
||||
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 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 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 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 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 )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QTextEdit
|
||||
|
||||
::pPtr := Qt_QTextEdit( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
77
harbour/contrib/hbqt/TQTimeEdit.prg
Normal file
77
harbour/contrib/hbqt/TQTimeEdit.prg
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QTimeEdit INHERIT QDateTimeEdit
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QTimeEdit
|
||||
|
||||
::pPtr := Qt_QTimeEdit( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
103
harbour/contrib/hbqt/TQToolBar.prg
Normal file
103
harbour/contrib/hbqt/TQToolBar.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'
|
||||
|
||||
|
||||
CLASS QToolBar INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD actionAt( aPointP ) INLINE Qt_QToolBar_actionAt( ::pPtr, aPointP )
|
||||
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 )
|
||||
METHOD addAction_2( cIcon, cText ) INLINE Qt_QToolBar_addAction_2( ::pPtr, cIcon, cText )
|
||||
METHOD addAction_3( cText, pReceiver, pMember ) INLINE Qt_QToolBar_addAction_3( ::pPtr, cText, pReceiver, pMember )
|
||||
METHOD addAction_4( cIcon, cText, pReceiver, pMember ) INLINE Qt_QToolBar_addAction_4( ::pPtr, cIcon, cText, pReceiver, pMember )
|
||||
METHOD addSeparator() INLINE Qt_QToolBar_addSeparator( ::pPtr )
|
||||
METHOD addWidget( pWidget ) INLINE Qt_QToolBar_addWidget( ::pPtr, pWidget )
|
||||
METHOD allowedAreas() INLINE Qt_QToolBar_allowedAreas( ::pPtr )
|
||||
METHOD clear() INLINE Qt_QToolBar_clear( ::pPtr )
|
||||
METHOD iconSize() INLINE Qt_QToolBar_iconSize( ::pPtr )
|
||||
METHOD insertSeparator( pBefore ) INLINE Qt_QToolBar_insertSeparator( ::pPtr, pBefore )
|
||||
METHOD insertWidget( pBefore, pWidget ) INLINE Qt_QToolBar_insertWidget( ::pPtr, pBefore, pWidget )
|
||||
METHOD isAreaAllowed( nArea ) INLINE Qt_QToolBar_isAreaAllowed( ::pPtr, nArea )
|
||||
METHOD isFloatable() INLINE Qt_QToolBar_isFloatable( ::pPtr )
|
||||
METHOD isFloating() INLINE Qt_QToolBar_isFloating( ::pPtr )
|
||||
METHOD isMovable() INLINE Qt_QToolBar_isMovable( ::pPtr )
|
||||
METHOD orientation() INLINE Qt_QToolBar_orientation( ::pPtr )
|
||||
METHOD setAllowedAreas( nAreas ) INLINE Qt_QToolBar_setAllowedAreas( ::pPtr, nAreas )
|
||||
METHOD setFloatable( lFloatable ) INLINE Qt_QToolBar_setFloatable( ::pPtr, lFloatable )
|
||||
METHOD setMovable( lMovable ) INLINE Qt_QToolBar_setMovable( ::pPtr, lMovable )
|
||||
METHOD setOrientation( nOrientation ) INLINE Qt_QToolBar_setOrientation( ::pPtr, nOrientation )
|
||||
METHOD toggleViewAction() INLINE Qt_QToolBar_toggleViewAction( ::pPtr )
|
||||
METHOD toolButtonStyle() INLINE Qt_QToolBar_toolButtonStyle( ::pPtr )
|
||||
METHOD widgetForAction( pAction ) INLINE Qt_QToolBar_widgetForAction( ::pPtr, pAction )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QToolBar
|
||||
|
||||
::pPtr := Qt_QToolBar( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
94
harbour/contrib/hbqt/TQToolBox.prg
Normal file
94
harbour/contrib/hbqt/TQToolBox.prg
Normal file
@@ -0,0 +1,94 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QToolBox INHERIT QFrame
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addItem( pWidget, cIconSet, cText ) INLINE Qt_QToolBox_addItem( ::pPtr, pWidget, cIconSet, cText )
|
||||
METHOD addItem_1( pW, cText ) INLINE Qt_QToolBox_addItem_1( ::pPtr, pW, cText )
|
||||
METHOD count() INLINE Qt_QToolBox_count( ::pPtr )
|
||||
METHOD currentIndex() INLINE Qt_QToolBox_currentIndex( ::pPtr )
|
||||
METHOD currentWidget() INLINE Qt_QToolBox_currentWidget( ::pPtr )
|
||||
METHOD indexOf( pWidget ) INLINE Qt_QToolBox_indexOf( ::pPtr, pWidget )
|
||||
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 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 )
|
||||
METHOD setItemEnabled( nIndex, lEnabled ) INLINE Qt_QToolBox_setItemEnabled( ::pPtr, nIndex, lEnabled )
|
||||
METHOD setItemIcon( nIndex, cIcon ) INLINE Qt_QToolBox_setItemIcon( ::pPtr, nIndex, cIcon )
|
||||
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 )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QToolBox
|
||||
|
||||
::pPtr := Qt_QToolBox( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
87
harbour/contrib/hbqt/TQToolButton.prg
Normal file
87
harbour/contrib/hbqt/TQToolButton.prg
Normal file
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QToolButton INHERIT QAbstractButton
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD arrowType() INLINE Qt_QToolButton_arrowType( ::pPtr )
|
||||
METHOD autoRaise() INLINE Qt_QToolButton_autoRaise( ::pPtr )
|
||||
METHOD defaultAction() INLINE Qt_QToolButton_defaultAction( ::pPtr )
|
||||
METHOD menu() INLINE Qt_QToolButton_menu( ::pPtr )
|
||||
METHOD popupMode() INLINE Qt_QToolButton_popupMode( ::pPtr )
|
||||
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 toolButtonStyle() INLINE Qt_QToolButton_toolButtonStyle( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QToolButton
|
||||
|
||||
::pPtr := Qt_QToolButton( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
108
harbour/contrib/hbqt/TQTreeView.prg
Normal file
108
harbour/contrib/hbqt/TQTreeView.prg
Normal file
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QTreeView INHERIT QAbstractItemView
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD allColumnsShowFocus() INLINE Qt_QTreeView_allColumnsShowFocus( ::pPtr )
|
||||
METHOD autoExpandDelay() INLINE Qt_QTreeView_autoExpandDelay( ::pPtr )
|
||||
METHOD columnAt( nX ) INLINE Qt_QTreeView_columnAt( ::pPtr, nX )
|
||||
METHOD columnViewportPosition( nColumn ) INLINE Qt_QTreeView_columnViewportPosition( ::pPtr, nColumn )
|
||||
METHOD columnWidth( nColumn ) INLINE Qt_QTreeView_columnWidth( ::pPtr, nColumn )
|
||||
METHOD expandsOnDoubleClick() INLINE Qt_QTreeView_expandsOnDoubleClick( ::pPtr )
|
||||
METHOD header() INLINE Qt_QTreeView_header( ::pPtr )
|
||||
METHOD indentation() INLINE Qt_QTreeView_indentation( ::pPtr )
|
||||
METHOD isAnimated() INLINE Qt_QTreeView_isAnimated( ::pPtr )
|
||||
METHOD isColumnHidden( nColumn ) INLINE Qt_QTreeView_isColumnHidden( ::pPtr, nColumn )
|
||||
METHOD isHeaderHidden() INLINE Qt_QTreeView_isHeaderHidden( ::pPtr )
|
||||
METHOD isSortingEnabled() INLINE Qt_QTreeView_isSortingEnabled( ::pPtr )
|
||||
METHOD itemsExpandable() INLINE Qt_QTreeView_itemsExpandable( ::pPtr )
|
||||
METHOD rootIsDecorated() INLINE Qt_QTreeView_rootIsDecorated( ::pPtr )
|
||||
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 setExpandsOnDoubleClick( lEnable ) INLINE Qt_QTreeView_setExpandsOnDoubleClick( ::pPtr, lEnable )
|
||||
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 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 wordWrap() INLINE Qt_QTreeView_wordWrap( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QTreeView
|
||||
|
||||
::pPtr := Qt_QTreeView( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
109
harbour/contrib/hbqt/TQTreeWidget.prg
Normal file
109
harbour/contrib/hbqt/TQTreeWidget.prg
Normal file
@@ -0,0 +1,109 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QTreeWidget INHERIT QTreeView
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addTopLevelItem( pItem ) INLINE Qt_QTreeWidget_addTopLevelItem( ::pPtr, pItem )
|
||||
METHOD closePersistentEditor( pItem, nColumn ) INLINE Qt_QTreeWidget_closePersistentEditor( ::pPtr, pItem, nColumn )
|
||||
METHOD columnCount() INLINE Qt_QTreeWidget_columnCount( ::pPtr )
|
||||
METHOD currentColumn() INLINE Qt_QTreeWidget_currentColumn( ::pPtr )
|
||||
METHOD currentItem() INLINE Qt_QTreeWidget_currentItem( ::pPtr )
|
||||
METHOD editItem( pItem, nColumn ) INLINE Qt_QTreeWidget_editItem( ::pPtr, pItem, nColumn )
|
||||
METHOD headerItem() INLINE Qt_QTreeWidget_headerItem( ::pPtr )
|
||||
METHOD indexOfTopLevelItem( pItem ) INLINE Qt_QTreeWidget_indexOfTopLevelItem( ::pPtr, pItem )
|
||||
METHOD insertTopLevelItem( nIndex, pItem ) INLINE Qt_QTreeWidget_insertTopLevelItem( ::pPtr, nIndex, pItem )
|
||||
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_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 )
|
||||
METHOD openPersistentEditor( pItem, nColumn ) INLINE Qt_QTreeWidget_openPersistentEditor( ::pPtr, pItem, nColumn )
|
||||
METHOD removeItemWidget( pItem, nColumn ) INLINE Qt_QTreeWidget_removeItemWidget( ::pPtr, pItem, nColumn )
|
||||
METHOD setColumnCount( nColumns ) INLINE Qt_QTreeWidget_setColumnCount( ::pPtr, nColumns )
|
||||
METHOD setCurrentItem( pItem ) INLINE Qt_QTreeWidget_setCurrentItem( ::pPtr, pItem )
|
||||
METHOD setCurrentItem_1( pItem, nColumn ) INLINE Qt_QTreeWidget_setCurrentItem_1( ::pPtr, pItem, nColumn )
|
||||
METHOD setCurrentItem_2( pItem, nColumn, nCommand ) INLINE Qt_QTreeWidget_setCurrentItem_2( ::pPtr, pItem, nColumn, nCommand )
|
||||
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 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 )
|
||||
METHOD takeTopLevelItem( nIndex ) INLINE Qt_QTreeWidget_takeTopLevelItem( ::pPtr, nIndex )
|
||||
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 )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QTreeWidget
|
||||
|
||||
::pPtr := Qt_QTreeWidget( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
117
harbour/contrib/hbqt/TQTreeWidgetItem.prg
Normal file
117
harbour/contrib/hbqt/TQTreeWidgetItem.prg
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QTreeWidgetItem
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addChild( pChild ) INLINE Qt_QTreeWidgetItem_addChild( ::pPtr, pChild )
|
||||
METHOD checkState( nColumn ) INLINE Qt_QTreeWidgetItem_checkState( ::pPtr, nColumn )
|
||||
METHOD child( nIndex ) INLINE Qt_QTreeWidgetItem_child( ::pPtr, nIndex )
|
||||
METHOD childCount() INLINE Qt_QTreeWidgetItem_childCount( ::pPtr )
|
||||
METHOD childIndicatorPolicy() INLINE Qt_QTreeWidgetItem_childIndicatorPolicy( ::pPtr )
|
||||
METHOD clone() INLINE Qt_QTreeWidgetItem_clone( ::pPtr )
|
||||
METHOD columnCount() INLINE Qt_QTreeWidgetItem_columnCount( ::pPtr )
|
||||
METHOD indexOfChild( pChild ) INLINE Qt_QTreeWidgetItem_indexOfChild( ::pPtr, pChild )
|
||||
METHOD insertChild( nIndex, pChild ) INLINE Qt_QTreeWidgetItem_insertChild( ::pPtr, nIndex, pChild )
|
||||
METHOD isDisabled() INLINE Qt_QTreeWidgetItem_isDisabled( ::pPtr )
|
||||
METHOD isExpanded() INLINE Qt_QTreeWidgetItem_isExpanded( ::pPtr )
|
||||
METHOD isFirstColumnSpanned() INLINE Qt_QTreeWidgetItem_isFirstColumnSpanned( ::pPtr )
|
||||
METHOD isHidden() INLINE Qt_QTreeWidgetItem_isHidden( ::pPtr )
|
||||
METHOD isSelected() INLINE Qt_QTreeWidgetItem_isSelected( ::pPtr )
|
||||
METHOD parent() INLINE Qt_QTreeWidgetItem_parent( ::pPtr )
|
||||
METHOD removeChild( pChild ) INLINE Qt_QTreeWidgetItem_removeChild( ::pPtr, pChild )
|
||||
METHOD setCheckState( nColumn, nState ) INLINE Qt_QTreeWidgetItem_setCheckState( ::pPtr, nColumn, nState )
|
||||
METHOD setChildIndicatorPolicy( nPolicy ) INLINE Qt_QTreeWidgetItem_setChildIndicatorPolicy( ::pPtr, nPolicy )
|
||||
METHOD setDisabled( lDisabled ) INLINE Qt_QTreeWidgetItem_setDisabled( ::pPtr, lDisabled )
|
||||
METHOD setExpanded( lExpand ) INLINE Qt_QTreeWidgetItem_setExpanded( ::pPtr, lExpand )
|
||||
METHOD setFirstColumnSpanned( lSpan ) INLINE Qt_QTreeWidgetItem_setFirstColumnSpanned( ::pPtr, lSpan )
|
||||
METHOD setHidden( lHide ) INLINE Qt_QTreeWidgetItem_setHidden( ::pPtr, lHide )
|
||||
METHOD setIcon( nColumn, cIcon ) INLINE Qt_QTreeWidgetItem_setIcon( ::pPtr, nColumn, cIcon )
|
||||
METHOD setSelected( lSelect ) INLINE Qt_QTreeWidgetItem_setSelected( ::pPtr, lSelect )
|
||||
METHOD setSizeHint( nColumn, aSizeSize ) INLINE Qt_QTreeWidgetItem_setSizeHint( ::pPtr, nColumn, aSizeSize )
|
||||
METHOD setStatusTip( nColumn, cStatusTip ) INLINE Qt_QTreeWidgetItem_setStatusTip( ::pPtr, nColumn, cStatusTip )
|
||||
METHOD setText( nColumn, cText ) INLINE Qt_QTreeWidgetItem_setText( ::pPtr, nColumn, cText )
|
||||
METHOD setTextAlignment( nColumn, nAlignment ) INLINE Qt_QTreeWidgetItem_setTextAlignment( ::pPtr, nColumn, nAlignment )
|
||||
METHOD setToolTip( nColumn, cToolTip ) INLINE Qt_QTreeWidgetItem_setToolTip( ::pPtr, nColumn, cToolTip )
|
||||
METHOD setWhatsThis( nColumn, cWhatsThis ) INLINE Qt_QTreeWidgetItem_setWhatsThis( ::pPtr, nColumn, cWhatsThis )
|
||||
METHOD sizeHint( nColumn ) INLINE Qt_QTreeWidgetItem_sizeHint( ::pPtr, nColumn )
|
||||
METHOD sortChildren( nColumn, nOrder ) INLINE Qt_QTreeWidgetItem_sortChildren( ::pPtr, nColumn, nOrder )
|
||||
METHOD statusTip( nColumn ) INLINE Qt_QTreeWidgetItem_statusTip( ::pPtr, nColumn )
|
||||
METHOD takeChild( nIndex ) INLINE Qt_QTreeWidgetItem_takeChild( ::pPtr, nIndex )
|
||||
METHOD text( nColumn ) INLINE Qt_QTreeWidgetItem_text( ::pPtr, nColumn )
|
||||
METHOD textAlignment( nColumn ) INLINE Qt_QTreeWidgetItem_textAlignment( ::pPtr, nColumn )
|
||||
METHOD toolTip( nColumn ) INLINE Qt_QTreeWidgetItem_toolTip( ::pPtr, nColumn )
|
||||
METHOD treeWidget() INLINE Qt_QTreeWidgetItem_treeWidget( ::pPtr )
|
||||
METHOD type() INLINE Qt_QTreeWidgetItem_type( ::pPtr )
|
||||
METHOD whatsThis( nColumn ) INLINE Qt_QTreeWidgetItem_whatsThis( ::pPtr, nColumn )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QTreeWidgetItem
|
||||
|
||||
::pPtr := Qt_QTreeWidgetItem( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
77
harbour/contrib/hbqt/TQVBoxLayout.prg
Normal file
77
harbour/contrib/hbqt/TQVBoxLayout.prg
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QVBoxLayout INHERIT QBoxLayout
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QVBoxLayout
|
||||
|
||||
::pPtr := Qt_QVBoxLayout( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
106
harbour/contrib/hbqt/TQWebPage.prg
Normal file
106
harbour/contrib/hbqt/TQWebPage.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'
|
||||
|
||||
|
||||
CLASS QWebPage INHERIT QObject
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD action( nWebAction ) INLINE Qt_QWebPage_action( ::pPtr, nWebAction )
|
||||
METHOD createStandardContextMenu() INLINE Qt_QWebPage_createStandardContextMenu( ::pPtr )
|
||||
METHOD currentFrame() INLINE Qt_QWebPage_currentFrame( ::pPtr )
|
||||
METHOD findText( cSubString, nFindFlags ) INLINE Qt_QWebPage_findText( ::pPtr, cSubString, nFindFlags )
|
||||
METHOD focusNextPrevChild( lNext ) INLINE Qt_QWebPage_focusNextPrevChild( ::pPtr, lNext )
|
||||
METHOD forwardUnsupportedContent() INLINE Qt_QWebPage_forwardUnsupportedContent( ::pPtr )
|
||||
METHOD history() INLINE Qt_QWebPage_history( ::pPtr )
|
||||
METHOD isContentEditable() INLINE Qt_QWebPage_isContentEditable( ::pPtr )
|
||||
METHOD isModified() INLINE Qt_QWebPage_isModified( ::pPtr )
|
||||
METHOD linkDelegationPolicy() INLINE Qt_QWebPage_linkDelegationPolicy( ::pPtr )
|
||||
METHOD mainFrame() INLINE Qt_QWebPage_mainFrame( ::pPtr )
|
||||
METHOD networkAccessManager() INLINE Qt_QWebPage_networkAccessManager( ::pPtr )
|
||||
METHOD pluginFactory() INLINE Qt_QWebPage_pluginFactory( ::pPtr )
|
||||
METHOD selectedText() INLINE Qt_QWebPage_selectedText( ::pPtr )
|
||||
METHOD setContentEditable( lEditable ) INLINE Qt_QWebPage_setContentEditable( ::pPtr, lEditable )
|
||||
METHOD setForwardUnsupportedContent( lForward ) INLINE Qt_QWebPage_setForwardUnsupportedContent( ::pPtr, lForward )
|
||||
METHOD setLinkDelegationPolicy( nLinkDelegationPolicy ) INLINE Qt_QWebPage_setLinkDelegationPolicy( ::pPtr, nLinkDelegationPolicy )
|
||||
METHOD setNetworkAccessManager( pManager ) INLINE Qt_QWebPage_setNetworkAccessManager( ::pPtr, pManager )
|
||||
METHOD setPluginFactory( pFactory ) INLINE Qt_QWebPage_setPluginFactory( ::pPtr, pFactory )
|
||||
METHOD setView( pView ) INLINE Qt_QWebPage_setView( ::pPtr, pView )
|
||||
METHOD setViewportSize( aSizeSize ) INLINE Qt_QWebPage_setViewportSize( ::pPtr, aSizeSize )
|
||||
METHOD settings() INLINE Qt_QWebPage_settings( ::pPtr )
|
||||
METHOD supportsExtension( nExtension ) INLINE Qt_QWebPage_supportsExtension( ::pPtr, nExtension )
|
||||
METHOD swallowContextMenuEvent( pEvent ) INLINE Qt_QWebPage_swallowContextMenuEvent( ::pPtr, pEvent )
|
||||
METHOD triggerAction( nWebAction, lChecked ) INLINE Qt_QWebPage_triggerAction( ::pPtr, nWebAction, lChecked )
|
||||
METHOD undoStack() INLINE Qt_QWebPage_undoStack( ::pPtr )
|
||||
METHOD updatePositionDependentActions( aPointPos ) INLINE Qt_QWebPage_updatePositionDependentActions( ::pPtr, aPointPos )
|
||||
METHOD view() INLINE Qt_QWebPage_view( ::pPtr )
|
||||
METHOD viewportSize() INLINE Qt_QWebPage_viewportSize( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QWebPage
|
||||
|
||||
::pPtr := Qt_QWebPage( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
96
harbour/contrib/hbqt/TQWebView.prg
Normal file
96
harbour/contrib/hbqt/TQWebView.prg
Normal file
@@ -0,0 +1,96 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QWebView INHERIT QWidget
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD findText( cSubString, nOptions ) INLINE Qt_QWebView_findText( ::pPtr, cSubString, nOptions )
|
||||
METHOD history() INLINE Qt_QWebView_history( ::pPtr )
|
||||
METHOD isModified() INLINE Qt_QWebView_isModified( ::pPtr )
|
||||
METHOD page() INLINE Qt_QWebView_page( ::pPtr )
|
||||
METHOD pageAction( nAction ) INLINE Qt_QWebView_pageAction( ::pPtr, nAction )
|
||||
METHOD selectedText() INLINE Qt_QWebView_selectedText( ::pPtr )
|
||||
METHOD setPage( pPage ) INLINE Qt_QWebView_setPage( ::pPtr, pPage )
|
||||
METHOD setTextSizeMultiplier( nFactor ) INLINE Qt_QWebView_setTextSizeMultiplier( ::pPtr, nFactor )
|
||||
METHOD setZoomFactor( nFactor ) INLINE Qt_QWebView_setZoomFactor( ::pPtr, nFactor )
|
||||
METHOD settings() INLINE Qt_QWebView_settings( ::pPtr )
|
||||
METHOD textSizeMultiplier() INLINE Qt_QWebView_textSizeMultiplier( ::pPtr )
|
||||
METHOD title() INLINE Qt_QWebView_title( ::pPtr )
|
||||
METHOD triggerPageAction( nAction, lChecked ) INLINE Qt_QWebView_triggerPageAction( ::pPtr, nAction, lChecked )
|
||||
METHOD zoomFactor() INLINE Qt_QWebView_zoomFactor( ::pPtr )
|
||||
METHOD back() INLINE Qt_QWebView_back( ::pPtr )
|
||||
METHOD forward() INLINE Qt_QWebView_forward( ::pPtr )
|
||||
METHOD print( pPrinter ) INLINE Qt_QWebView_print( ::pPtr, pPrinter )
|
||||
METHOD reload() INLINE Qt_QWebView_reload( ::pPtr )
|
||||
METHOD stop() INLINE Qt_QWebView_stop( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QWebView
|
||||
|
||||
::pPtr := Qt_QWebView( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
259
harbour/contrib/hbqt/TQWidget.prg
Normal file
259
harbour/contrib/hbqt/TQWidget.prg
Normal file
@@ -0,0 +1,259 @@
|
||||
/*
|
||||
* $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'
|
||||
|
||||
|
||||
CLASS QWidget INHERIT QObject, QPaintDevice
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD acceptDrops() INLINE Qt_QWidget_acceptDrops( ::pPtr )
|
||||
METHOD accessibleDescription() INLINE Qt_QWidget_accessibleDescription( ::pPtr )
|
||||
METHOD accessibleName() INLINE Qt_QWidget_accessibleName( ::pPtr )
|
||||
METHOD activateWindow() INLINE Qt_QWidget_activateWindow( ::pPtr )
|
||||
METHOD addAction( pAction ) INLINE Qt_QWidget_addAction( ::pPtr, pAction )
|
||||
METHOD adjustSize() INLINE Qt_QWidget_adjustSize( ::pPtr )
|
||||
METHOD autoFillBackground() INLINE Qt_QWidget_autoFillBackground( ::pPtr )
|
||||
METHOD backgroundRole() INLINE Qt_QWidget_backgroundRole( ::pPtr )
|
||||
METHOD baseSize() INLINE Qt_QWidget_baseSize( ::pPtr )
|
||||
METHOD childAt( nX, nY ) INLINE Qt_QWidget_childAt( ::pPtr, nX, nY )
|
||||
METHOD childAt_1( aPointP ) INLINE Qt_QWidget_childAt_1( ::pPtr, aPointP )
|
||||
METHOD childrenRect() INLINE Qt_QWidget_childrenRect( ::pPtr )
|
||||
METHOD clearFocus() INLINE Qt_QWidget_clearFocus( ::pPtr )
|
||||
METHOD clearMask() INLINE Qt_QWidget_clearMask( ::pPtr )
|
||||
METHOD contentsRect() INLINE Qt_QWidget_contentsRect( ::pPtr )
|
||||
METHOD contextMenuPolicy() INLINE Qt_QWidget_contextMenuPolicy( ::pPtr )
|
||||
METHOD ensurePolished() INLINE Qt_QWidget_ensurePolished( ::pPtr )
|
||||
METHOD focusPolicy() INLINE Qt_QWidget_focusPolicy( ::pPtr )
|
||||
METHOD focusProxy() INLINE Qt_QWidget_focusProxy( ::pPtr )
|
||||
METHOD focusWidget() INLINE Qt_QWidget_focusWidget( ::pPtr )
|
||||
METHOD foregroundRole() INLINE Qt_QWidget_foregroundRole( ::pPtr )
|
||||
METHOD frameGeometry() INLINE Qt_QWidget_frameGeometry( ::pPtr )
|
||||
METHOD frameSize() INLINE Qt_QWidget_frameSize( ::pPtr )
|
||||
METHOD grabKeyboard() INLINE Qt_QWidget_grabKeyboard( ::pPtr )
|
||||
METHOD grabMouse() INLINE Qt_QWidget_grabMouse( ::pPtr )
|
||||
METHOD graphicsProxyWidget() INLINE Qt_QWidget_graphicsProxyWidget( ::pPtr )
|
||||
METHOD hasFocus() INLINE Qt_QWidget_hasFocus( ::pPtr )
|
||||
METHOD hasMouseTracking() INLINE Qt_QWidget_hasMouseTracking( ::pPtr )
|
||||
METHOD height() INLINE Qt_QWidget_height( ::pPtr )
|
||||
METHOD heightForWidth( nW ) INLINE Qt_QWidget_heightForWidth( ::pPtr, nW )
|
||||
METHOD inputContext() INLINE Qt_QWidget_inputContext( ::pPtr )
|
||||
METHOD insertAction( pBefore, pAction ) INLINE Qt_QWidget_insertAction( ::pPtr, pBefore, pAction )
|
||||
METHOD isActiveWindow() INLINE Qt_QWidget_isActiveWindow( ::pPtr )
|
||||
METHOD isAncestorOf( pChild ) INLINE Qt_QWidget_isAncestorOf( ::pPtr, pChild )
|
||||
METHOD isEnabled() INLINE Qt_QWidget_isEnabled( ::pPtr )
|
||||
METHOD isEnabledTo( pAncestor ) INLINE Qt_QWidget_isEnabledTo( ::pPtr, pAncestor )
|
||||
METHOD isFullScreen() INLINE Qt_QWidget_isFullScreen( ::pPtr )
|
||||
METHOD isHidden() INLINE Qt_QWidget_isHidden( ::pPtr )
|
||||
METHOD isMaximized() INLINE Qt_QWidget_isMaximized( ::pPtr )
|
||||
METHOD isMinimized() INLINE Qt_QWidget_isMinimized( ::pPtr )
|
||||
METHOD isModal() INLINE Qt_QWidget_isModal( ::pPtr )
|
||||
METHOD isVisible() INLINE Qt_QWidget_isVisible( ::pPtr )
|
||||
METHOD isVisibleTo( pAncestor ) INLINE Qt_QWidget_isVisibleTo( ::pPtr, pAncestor )
|
||||
METHOD isWindow() INLINE Qt_QWidget_isWindow( ::pPtr )
|
||||
METHOD isWindowModified() INLINE Qt_QWidget_isWindowModified( ::pPtr )
|
||||
METHOD layout() INLINE Qt_QWidget_layout( ::pPtr )
|
||||
METHOD layoutDirection() INLINE Qt_QWidget_layoutDirection( ::pPtr )
|
||||
METHOD mapFrom( pParent, aPointPos ) INLINE Qt_QWidget_mapFrom( ::pPtr, pParent, aPointPos )
|
||||
METHOD mapFromGlobal( aPointPos ) INLINE Qt_QWidget_mapFromGlobal( ::pPtr, aPointPos )
|
||||
METHOD mapFromParent( aPointPos ) INLINE Qt_QWidget_mapFromParent( ::pPtr, aPointPos )
|
||||
METHOD mapTo( pParent, aPointPos ) INLINE Qt_QWidget_mapTo( ::pPtr, pParent, aPointPos )
|
||||
METHOD mapToGlobal( aPointPos ) INLINE Qt_QWidget_mapToGlobal( ::pPtr, aPointPos )
|
||||
METHOD mapToParent( aPointPos ) INLINE Qt_QWidget_mapToParent( ::pPtr, aPointPos )
|
||||
METHOD maximumHeight() INLINE Qt_QWidget_maximumHeight( ::pPtr )
|
||||
METHOD maximumSize() INLINE Qt_QWidget_maximumSize( ::pPtr )
|
||||
METHOD maximumWidth() INLINE Qt_QWidget_maximumWidth( ::pPtr )
|
||||
METHOD minimumHeight() INLINE Qt_QWidget_minimumHeight( ::pPtr )
|
||||
METHOD minimumSize() INLINE Qt_QWidget_minimumSize( ::pPtr )
|
||||
METHOD minimumSizeHint() INLINE Qt_QWidget_minimumSizeHint( ::pPtr )
|
||||
METHOD minimumWidth() INLINE Qt_QWidget_minimumWidth( ::pPtr )
|
||||
METHOD move( aPointQPoint ) INLINE Qt_QWidget_move( ::pPtr, aPointQPoint )
|
||||
METHOD move_1( nX, nY ) INLINE Qt_QWidget_move_1( ::pPtr, nX, nY )
|
||||
METHOD nativeParentWidget() INLINE Qt_QWidget_nativeParentWidget( ::pPtr )
|
||||
METHOD nextInFocusChain() INLINE Qt_QWidget_nextInFocusChain( ::pPtr )
|
||||
METHOD normalGeometry() INLINE Qt_QWidget_normalGeometry( ::pPtr )
|
||||
METHOD paintEngine() INLINE Qt_QWidget_paintEngine( ::pPtr )
|
||||
METHOD parentWidget() INLINE Qt_QWidget_parentWidget( ::pPtr )
|
||||
METHOD pos() INLINE Qt_QWidget_pos( ::pPtr )
|
||||
METHOD rect() INLINE Qt_QWidget_rect( ::pPtr )
|
||||
METHOD releaseKeyboard() INLINE Qt_QWidget_releaseKeyboard( ::pPtr )
|
||||
METHOD releaseMouse() INLINE Qt_QWidget_releaseMouse( ::pPtr )
|
||||
METHOD releaseShortcut( nId ) INLINE Qt_QWidget_releaseShortcut( ::pPtr, nId )
|
||||
METHOD removeAction( pAction ) INLINE Qt_QWidget_removeAction( ::pPtr, pAction )
|
||||
METHOD repaint( nX, nY, nW, nH ) INLINE Qt_QWidget_repaint( ::pPtr, nX, nY, nW, nH )
|
||||
METHOD repaint_1( aRectRect ) INLINE Qt_QWidget_repaint_1( ::pPtr, aRectRect )
|
||||
METHOD resize( aSizeQSize ) INLINE Qt_QWidget_resize( ::pPtr, aSizeQSize )
|
||||
METHOD resize_1( nW, nH ) INLINE Qt_QWidget_resize_1( ::pPtr, nW, nH )
|
||||
METHOD scroll( nDx, nDy ) INLINE Qt_QWidget_scroll( ::pPtr, nDx, nDy )
|
||||
METHOD scroll_1( nDx, nDy, aRectR ) INLINE Qt_QWidget_scroll_1( ::pPtr, nDx, nDy, aRectR )
|
||||
METHOD setAcceptDrops( lOn ) INLINE Qt_QWidget_setAcceptDrops( ::pPtr, lOn )
|
||||
METHOD setAccessibleDescription( cDescription ) INLINE Qt_QWidget_setAccessibleDescription( ::pPtr, cDescription )
|
||||
METHOD setAccessibleName( cName ) INLINE Qt_QWidget_setAccessibleName( ::pPtr, cName )
|
||||
METHOD setAttribute( nAttribute, lOn ) INLINE Qt_QWidget_setAttribute( ::pPtr, nAttribute, lOn )
|
||||
METHOD setAutoFillBackground( lEnabled ) INLINE Qt_QWidget_setAutoFillBackground( ::pPtr, lEnabled )
|
||||
METHOD setBackgroundRole( nRole ) INLINE Qt_QWidget_setBackgroundRole( ::pPtr, nRole )
|
||||
METHOD setBaseSize( aSizeQSize ) INLINE Qt_QWidget_setBaseSize( ::pPtr, aSizeQSize )
|
||||
METHOD setBaseSize_1( nBasew, nBaseh ) INLINE Qt_QWidget_setBaseSize_1( ::pPtr, nBasew, nBaseh )
|
||||
METHOD setContentsMargins( nLeft, nTop, nRight, nBottom ) INLINE Qt_QWidget_setContentsMargins( ::pPtr, nLeft, nTop, nRight, nBottom )
|
||||
METHOD setContextMenuPolicy( nPolicy ) INLINE Qt_QWidget_setContextMenuPolicy( ::pPtr, nPolicy )
|
||||
METHOD setFixedHeight( nH ) INLINE Qt_QWidget_setFixedHeight( ::pPtr, nH )
|
||||
METHOD setFixedSize( aSizeS ) INLINE Qt_QWidget_setFixedSize( ::pPtr, aSizeS )
|
||||
METHOD setFixedSize_1( nW, nH ) INLINE Qt_QWidget_setFixedSize_1( ::pPtr, nW, nH )
|
||||
METHOD setFixedWidth( nW ) INLINE Qt_QWidget_setFixedWidth( ::pPtr, nW )
|
||||
METHOD setFocus( nReason ) INLINE Qt_QWidget_setFocus( ::pPtr, nReason )
|
||||
METHOD setFocusPolicy( nPolicy ) INLINE Qt_QWidget_setFocusPolicy( ::pPtr, nPolicy )
|
||||
METHOD setFocusProxy( pW ) INLINE Qt_QWidget_setFocusProxy( ::pPtr, pW )
|
||||
METHOD setForegroundRole( nRole ) INLINE Qt_QWidget_setForegroundRole( ::pPtr, nRole )
|
||||
METHOD setGeometry( aRectQRect ) INLINE Qt_QWidget_setGeometry( ::pPtr, aRectQRect )
|
||||
METHOD setGeometry_1( nX, nY, nW, nH ) INLINE Qt_QWidget_setGeometry_1( ::pPtr, nX, nY, nW, nH )
|
||||
METHOD setInputContext( pContext ) INLINE Qt_QWidget_setInputContext( ::pPtr, pContext )
|
||||
METHOD setLayout( pLayout ) INLINE Qt_QWidget_setLayout( ::pPtr, pLayout )
|
||||
METHOD setLayoutDirection( nDirection ) INLINE Qt_QWidget_setLayoutDirection( ::pPtr, nDirection )
|
||||
METHOD setMaximumHeight( nMaxh ) INLINE Qt_QWidget_setMaximumHeight( ::pPtr, nMaxh )
|
||||
METHOD setMaximumSize( aSizeQSize ) INLINE Qt_QWidget_setMaximumSize( ::pPtr, aSizeQSize )
|
||||
METHOD setMaximumSize_1( nMaxw, nMaxh ) INLINE Qt_QWidget_setMaximumSize_1( ::pPtr, nMaxw, nMaxh )
|
||||
METHOD setMaximumWidth( nMaxw ) INLINE Qt_QWidget_setMaximumWidth( ::pPtr, nMaxw )
|
||||
METHOD setMinimumHeight( nMinh ) INLINE Qt_QWidget_setMinimumHeight( ::pPtr, nMinh )
|
||||
METHOD setMinimumSize( aSizeQSize ) INLINE Qt_QWidget_setMinimumSize( ::pPtr, aSizeQSize )
|
||||
METHOD setMinimumSize_1( nMinw, nMinh ) INLINE Qt_QWidget_setMinimumSize_1( ::pPtr, nMinw, nMinh )
|
||||
METHOD setMinimumWidth( nMinw ) INLINE Qt_QWidget_setMinimumWidth( ::pPtr, nMinw )
|
||||
METHOD setMouseTracking( lEnable ) INLINE Qt_QWidget_setMouseTracking( ::pPtr, lEnable )
|
||||
METHOD setParent( pParent ) INLINE Qt_QWidget_setParent( ::pPtr, pParent )
|
||||
METHOD setParent_1( pParent, nF ) INLINE Qt_QWidget_setParent_1( ::pPtr, pParent, nF )
|
||||
METHOD setShortcutAutoRepeat( nId, lEnable ) INLINE Qt_QWidget_setShortcutAutoRepeat( ::pPtr, nId, lEnable )
|
||||
METHOD setShortcutEnabled( nId, lEnable ) INLINE Qt_QWidget_setShortcutEnabled( ::pPtr, nId, lEnable )
|
||||
METHOD setSizeIncrement( aSizeQSize ) INLINE Qt_QWidget_setSizeIncrement( ::pPtr, aSizeQSize )
|
||||
METHOD setSizeIncrement_1( nW, nH ) INLINE Qt_QWidget_setSizeIncrement_1( ::pPtr, nW, nH )
|
||||
METHOD setSizePolicy( nHorizontal, nVertical ) INLINE Qt_QWidget_setSizePolicy( ::pPtr, nHorizontal, nVertical )
|
||||
METHOD setStatusTip( cQString ) INLINE Qt_QWidget_setStatusTip( ::pPtr, cQString )
|
||||
METHOD setStyle( pStyle ) INLINE Qt_QWidget_setStyle( ::pPtr, pStyle )
|
||||
METHOD setToolTip( cQString ) INLINE Qt_QWidget_setToolTip( ::pPtr, cQString )
|
||||
METHOD setUpdatesEnabled( lEnable ) INLINE Qt_QWidget_setUpdatesEnabled( ::pPtr, lEnable )
|
||||
METHOD setWhatsThis( cQString ) INLINE Qt_QWidget_setWhatsThis( ::pPtr, cQString )
|
||||
METHOD setWindowFilePath( cFilePath ) INLINE Qt_QWidget_setWindowFilePath( ::pPtr, cFilePath )
|
||||
METHOD setWindowFlags( nType ) INLINE Qt_QWidget_setWindowFlags( ::pPtr, nType )
|
||||
METHOD setWindowIcon( cIcon ) INLINE Qt_QWidget_setWindowIcon( ::pPtr, cIcon )
|
||||
METHOD setWindowIconText( cQString ) INLINE Qt_QWidget_setWindowIconText( ::pPtr, cQString )
|
||||
METHOD setWindowModality( nWindowModality ) INLINE Qt_QWidget_setWindowModality( ::pPtr, nWindowModality )
|
||||
METHOD setWindowOpacity( nLevel ) INLINE Qt_QWidget_setWindowOpacity( ::pPtr, nLevel )
|
||||
METHOD setWindowRole( cRole ) INLINE Qt_QWidget_setWindowRole( ::pPtr, cRole )
|
||||
METHOD setWindowState( nWindowState ) INLINE Qt_QWidget_setWindowState( ::pPtr, nWindowState )
|
||||
METHOD setWindowSurface( pSurface ) INLINE Qt_QWidget_setWindowSurface( ::pPtr, pSurface )
|
||||
METHOD size() INLINE Qt_QWidget_size( ::pPtr )
|
||||
METHOD sizeHint() INLINE Qt_QWidget_sizeHint( ::pPtr )
|
||||
METHOD sizeIncrement() INLINE Qt_QWidget_sizeIncrement( ::pPtr )
|
||||
METHOD stackUnder( pW ) INLINE Qt_QWidget_stackUnder( ::pPtr, pW )
|
||||
METHOD statusTip() INLINE Qt_QWidget_statusTip( ::pPtr )
|
||||
METHOD style() INLINE Qt_QWidget_style( ::pPtr )
|
||||
METHOD styleSheet() INLINE Qt_QWidget_styleSheet( ::pPtr )
|
||||
METHOD testAttribute( nAttribute ) INLINE Qt_QWidget_testAttribute( ::pPtr, nAttribute )
|
||||
METHOD toolTip() INLINE Qt_QWidget_toolTip( ::pPtr )
|
||||
METHOD underMouse() INLINE Qt_QWidget_underMouse( ::pPtr )
|
||||
METHOD unsetCursor() INLINE Qt_QWidget_unsetCursor( ::pPtr )
|
||||
METHOD unsetLayoutDirection() INLINE Qt_QWidget_unsetLayoutDirection( ::pPtr )
|
||||
METHOD unsetLocale() INLINE Qt_QWidget_unsetLocale( ::pPtr )
|
||||
METHOD update( nX, nY, nW, nH ) INLINE Qt_QWidget_update( ::pPtr, nX, nY, nW, nH )
|
||||
METHOD update_1( aRectRect ) INLINE Qt_QWidget_update_1( ::pPtr, aRectRect )
|
||||
METHOD updateGeometry() INLINE Qt_QWidget_updateGeometry( ::pPtr )
|
||||
METHOD updatesEnabled() INLINE Qt_QWidget_updatesEnabled( ::pPtr )
|
||||
METHOD whatsThis() INLINE Qt_QWidget_whatsThis( ::pPtr )
|
||||
METHOD width() INLINE Qt_QWidget_width( ::pPtr )
|
||||
METHOD window() INLINE Qt_QWidget_window( ::pPtr )
|
||||
METHOD windowFilePath() INLINE Qt_QWidget_windowFilePath( ::pPtr )
|
||||
METHOD windowFlags() INLINE Qt_QWidget_windowFlags( ::pPtr )
|
||||
METHOD windowIconText() INLINE Qt_QWidget_windowIconText( ::pPtr )
|
||||
METHOD windowModality() INLINE Qt_QWidget_windowModality( ::pPtr )
|
||||
METHOD windowOpacity() INLINE Qt_QWidget_windowOpacity( ::pPtr )
|
||||
METHOD windowRole() INLINE Qt_QWidget_windowRole( ::pPtr )
|
||||
METHOD windowState() INLINE Qt_QWidget_windowState( ::pPtr )
|
||||
METHOD windowTitle() INLINE Qt_QWidget_windowTitle( ::pPtr )
|
||||
METHOD windowType() INLINE Qt_QWidget_windowType( ::pPtr )
|
||||
METHOD x() INLINE Qt_QWidget_x( ::pPtr )
|
||||
METHOD y() INLINE Qt_QWidget_y( ::pPtr )
|
||||
METHOD close() INLINE Qt_QWidget_close( ::pPtr )
|
||||
METHOD hide() INLINE Qt_QWidget_hide( ::pPtr )
|
||||
METHOD lower() INLINE Qt_QWidget_lower( ::pPtr )
|
||||
METHOD raise() INLINE Qt_QWidget_raise( ::pPtr )
|
||||
METHOD repaint_2() INLINE Qt_QWidget_repaint_2( ::pPtr )
|
||||
METHOD setDisabled( lDisable ) INLINE Qt_QWidget_setDisabled( ::pPtr, lDisable )
|
||||
METHOD setEnabled( lEnable ) INLINE Qt_QWidget_setEnabled( ::pPtr, lEnable )
|
||||
METHOD setFocus_1() INLINE Qt_QWidget_setFocus_1( ::pPtr )
|
||||
METHOD setHidden( lHidden ) INLINE Qt_QWidget_setHidden( ::pPtr, lHidden )
|
||||
METHOD setStyleSheet( cStyleSheet ) INLINE Qt_QWidget_setStyleSheet( ::pPtr, cStyleSheet )
|
||||
METHOD setVisible( lVisible ) INLINE Qt_QWidget_setVisible( ::pPtr, lVisible )
|
||||
METHOD setWindowModified( lModified ) INLINE Qt_QWidget_setWindowModified( ::pPtr, lModified )
|
||||
METHOD setWindowTitle( cTitle ) INLINE Qt_QWidget_setWindowTitle( ::pPtr, cTitle )
|
||||
METHOD show() INLINE Qt_QWidget_show( ::pPtr )
|
||||
METHOD showFullScreen() INLINE Qt_QWidget_showFullScreen( ::pPtr )
|
||||
METHOD showMaximized() INLINE Qt_QWidget_showMaximized( ::pPtr )
|
||||
METHOD showMinimized() INLINE Qt_QWidget_showMinimized( ::pPtr )
|
||||
METHOD showNormal() INLINE Qt_QWidget_showNormal( ::pPtr )
|
||||
METHOD update_2() INLINE Qt_QWidget_update_2( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QWidget
|
||||
|
||||
::pPtr := Qt_QWidget( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
106
harbour/contrib/hbqt/TQWizard.prg
Normal file
106
harbour/contrib/hbqt/TQWizard.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'
|
||||
|
||||
|
||||
CLASS QWizard INHERIT QDialog
|
||||
|
||||
DATA pPtr
|
||||
|
||||
METHOD New()
|
||||
|
||||
METHOD addPage( pPage ) INLINE Qt_QWizard_addPage( ::pPtr, pPage )
|
||||
METHOD button( nWizardButton ) INLINE Qt_QWizard_button( ::pPtr, nWizardButton )
|
||||
METHOD buttonText( nWizardButton ) INLINE Qt_QWizard_buttonText( ::pPtr, nWizardButton )
|
||||
METHOD currentId() INLINE Qt_QWizard_currentId( ::pPtr )
|
||||
METHOD currentPage() INLINE Qt_QWizard_currentPage( ::pPtr )
|
||||
METHOD hasVisitedPage( nId ) INLINE Qt_QWizard_hasVisitedPage( ::pPtr, nId )
|
||||
METHOD nextId() INLINE Qt_QWizard_nextId( ::pPtr )
|
||||
METHOD options() INLINE Qt_QWizard_options( ::pPtr )
|
||||
METHOD page( nId ) INLINE Qt_QWizard_page( ::pPtr, nId )
|
||||
METHOD removePage( nId ) INLINE Qt_QWizard_removePage( ::pPtr, nId )
|
||||
METHOD setButton( nWizardButton, pButton ) INLINE Qt_QWizard_setButton( ::pPtr, nWizardButton, pButton )
|
||||
METHOD setButtonText( nWizardButton, cText ) INLINE Qt_QWizard_setButtonText( ::pPtr, nWizardButton, cText )
|
||||
METHOD setDefaultProperty( pClassName, pProperty, pChangedSignal ) INLINE Qt_QWizard_setDefaultProperty( ::pPtr, pClassName, pProperty, pChangedSignal )
|
||||
METHOD setOption( nWizardOption, lOn ) INLINE Qt_QWizard_setOption( ::pPtr, nWizardOption, lOn )
|
||||
METHOD setOptions( nWizardOptions ) INLINE Qt_QWizard_setOptions( ::pPtr, nWizardOptions )
|
||||
METHOD setPage( nId, pPage ) INLINE Qt_QWizard_setPage( ::pPtr, nId, pPage )
|
||||
METHOD setStartId( nId ) INLINE Qt_QWizard_setStartId( ::pPtr, nId )
|
||||
METHOD setSubTitleFormat( nFormat ) INLINE Qt_QWizard_setSubTitleFormat( ::pPtr, nFormat )
|
||||
METHOD setTitleFormat( nFormat ) INLINE Qt_QWizard_setTitleFormat( ::pPtr, nFormat )
|
||||
METHOD setWizardStyle( nWizardStyle ) INLINE Qt_QWizard_setWizardStyle( ::pPtr, nWizardStyle )
|
||||
METHOD startId() INLINE Qt_QWizard_startId( ::pPtr )
|
||||
METHOD subTitleFormat() INLINE Qt_QWizard_subTitleFormat( ::pPtr )
|
||||
METHOD testOption( nWizardOption ) INLINE Qt_QWizard_testOption( ::pPtr, nWizardOption )
|
||||
METHOD titleFormat() INLINE Qt_QWizard_titleFormat( ::pPtr )
|
||||
METHOD validateCurrentPage() INLINE Qt_QWizard_validateCurrentPage( ::pPtr )
|
||||
METHOD wizardStyle() INLINE Qt_QWizard_wizardStyle( ::pPtr )
|
||||
METHOD back() INLINE Qt_QWizard_back( ::pPtr )
|
||||
METHOD next() INLINE Qt_QWizard_next( ::pPtr )
|
||||
METHOD restart() INLINE Qt_QWizard_restart( ::pPtr )
|
||||
|
||||
ENDCLASS
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
METHOD New( pParent ) CLASS QWizard
|
||||
|
||||
::pPtr := Qt_QWizard( pParent )
|
||||
|
||||
RETURN Self
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -55,12 +55,14 @@ QMenu.qth
|
||||
QMenuBar.qth
|
||||
QMessageBox.qth
|
||||
QObject.qth
|
||||
QPaintDevice.qth
|
||||
QPageSetupDialog.qth
|
||||
QPainter.qth
|
||||
QPen.qth
|
||||
QPrintDialog.qth
|
||||
QPrintPreviewDialog.qth
|
||||
QProgressBar.qth
|
||||
QProgressDialog.qth
|
||||
QPushButton.qth
|
||||
QRadioButton.qth
|
||||
QScrollArea.qth
|
||||
@@ -83,6 +85,9 @@ QTreeView.qth
|
||||
QTreeWidget.qth
|
||||
QTreeWidgetItem.qth
|
||||
QVBoxLayout.qth
|
||||
QWebPage.qth
|
||||
QWidget.qth
|
||||
QWizard.qth
|
||||
QWebView.qth
|
||||
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
* 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
|
||||
*
|
||||
@@ -49,10 +50,13 @@
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifndef __HBQT_H
|
||||
#define __HBQT_H
|
||||
|
||||
|
||||
#define QT_VERSION 0x040500
|
||||
|
||||
#include <Qt/qglobal.h>
|
||||
@@ -114,6 +118,7 @@
|
||||
#define hbqt_par_QMenu( n ) ( ( QMenu* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QMenuBar( n ) ( ( QMenuBar* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QMessageBox( n ) ( ( QMessageBox* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QMovie( n ) ( ( QMovie* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QObject( n ) ( ( QObject* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QPageSetupDialog( n ) ( ( QPageSetupDialog* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QPainter( n ) ( ( QPainter* ) hb_parptr( n ) )
|
||||
@@ -125,6 +130,7 @@
|
||||
#define hbqt_par_QPrintPreviewDialog( n ) ( ( QPrintPreviewDialog* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QPrinter( n ) ( ( QPrinter* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QProgressBar( n ) ( ( QProgressBar* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QProgressDialog( n ) ( ( QProgressDialog* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QPushButton( n ) ( ( QPushButton* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QRect( n ) ( ( QRect* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QRectF( n ) ( ( QRectF* ) hb_parptr( n ) )
|
||||
@@ -154,7 +160,13 @@
|
||||
#define hbqt_par_QWebView( n ) ( ( QWebView* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QWidget( n ) ( ( QWidget* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QWindowSurface( n ) ( ( QWindowSurface* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QWizard( n ) ( ( QWizard* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QWizardPage( n ) ( ( QWizardPage* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QWSEvent( n ) ( ( QWSEvent* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QWebPage( n ) ( ( QWebPage* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QNetworkAccessManager( n ) ( ( QNetworkAccessManager* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QWebPluginFactory( n ) ( ( QWebPluginFactory* ) hb_parptr( n ) )
|
||||
#define hbqt_par_QContextMenuEvent( n ) ( ( QContextMenuEvent* ) hb_parptr( n ) )
|
||||
|
||||
#define hbqt_par_QIcon( n ) ( ( QIcon ) hb_parc( n ) )
|
||||
#define hbqt_par_QString( n ) ( ( QString ) hb_parc( n ) )
|
||||
@@ -177,6 +189,9 @@ QRect hbqt_const_QRect( int );
|
||||
QSize hbqt_const_QSize( int );
|
||||
QPoint hbqt_const_QPoint( int );
|
||||
|
||||
void hb_ToOutDebug( const char * sTraceMsg, ... );
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* __HBQT_H */
|
||||
|
||||
|
||||
@@ -4,9 +4,10 @@
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT base routines
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 Viktor Szakats <harbour 01 syenar.hu>
|
||||
* 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
|
||||
@@ -49,6 +50,7 @@
|
||||
* If you do not wish that, delete this exception notice.
|
||||
*
|
||||
*/
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbapi.h"
|
||||
|
||||
@@ -63,3 +65,4 @@ HB_FUNC( QT_VERSION_STR )
|
||||
{
|
||||
hb_retc_const( QT_VERSION_STR );
|
||||
}
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,181 +55,181 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*
|
||||
* Constructed[ 18/21 [ 85.71% ] ]
|
||||
*
|
||||
* *** Unconvered Prototypes ***
|
||||
* -----------------------------
|
||||
*
|
||||
* QIcon icon () const
|
||||
* void setShortcut ( const QKeySequence & key )
|
||||
* QKeySequence shortcut () const
|
||||
*/
|
||||
|
||||
|
||||
#include <QtGui/QAbstractButton>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
bool autoExclusive () const
|
||||
*/
|
||||
* QAbstractButton ( QWidget * parent = 0 )
|
||||
* ~QAbstractButton ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* bool autoExclusive () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_AUTOEXCLUSIVE )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractButton( 1 )->autoExclusive() );
|
||||
hb_retl( hbqt_par_QAbstractButton( 1 )->autoExclusive( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool autoRepeat () const
|
||||
*/
|
||||
* bool autoRepeat () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_AUTOREPEAT )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractButton( 1 )->autoRepeat() );
|
||||
hb_retl( hbqt_par_QAbstractButton( 1 )->autoRepeat( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int autoRepeatDelay () const
|
||||
*/
|
||||
* int autoRepeatDelay () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_AUTOREPEATDELAY )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractButton( 1 )->autoRepeatDelay() );
|
||||
hb_retni( hbqt_par_QAbstractButton( 1 )->autoRepeatDelay( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int autoRepeatInterval () const
|
||||
*/
|
||||
* int autoRepeatInterval () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_AUTOREPEATINTERVAL )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractButton( 1 )->autoRepeatInterval() );
|
||||
hb_retni( hbqt_par_QAbstractButton( 1 )->autoRepeatInterval( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QButtonGroup * group () const
|
||||
*/
|
||||
* QButtonGroup * group () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_GROUP )
|
||||
{
|
||||
hb_retptr( ( QButtonGroup* ) hbqt_par_QAbstractButton( 1 )->group() );
|
||||
hb_retptr( ( QButtonGroup* ) hbqt_par_QAbstractButton( 1 )->group( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isCheckable () const
|
||||
*/
|
||||
* QSize iconSize () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_ICONSIZE )
|
||||
{
|
||||
hbqt_ret_QSize( hbqt_par_QAbstractButton( 1 )->iconSize( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool isCheckable () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_ISCHECKABLE )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractButton( 1 )->isCheckable() );
|
||||
hb_retl( hbqt_par_QAbstractButton( 1 )->isCheckable( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isChecked () const
|
||||
*/
|
||||
* bool isChecked () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_ISCHECKED )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractButton( 1 )->isChecked() );
|
||||
hb_retl( hbqt_par_QAbstractButton( 1 )->isChecked( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isDown () const
|
||||
*/
|
||||
* bool isDown () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_ISDOWN )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractButton( 1 )->isDown() );
|
||||
hb_retl( hbqt_par_QAbstractButton( 1 )->isDown( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setAutoExclusive ( bool )
|
||||
*/
|
||||
* void setAutoExclusive ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_SETAUTOEXCLUSIVE )
|
||||
{
|
||||
hbqt_par_QAbstractButton( 1 )->setAutoExclusive( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setAutoRepeat ( bool )
|
||||
*/
|
||||
* void setAutoRepeat ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_SETAUTOREPEAT )
|
||||
{
|
||||
hbqt_par_QAbstractButton( 1 )->setAutoRepeat( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setAutoRepeatDelay ( int )
|
||||
*/
|
||||
* void setAutoRepeatDelay ( int )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_SETAUTOREPEATDELAY )
|
||||
{
|
||||
hbqt_par_QAbstractButton( 1 )->setAutoRepeatDelay( hb_parni( 2 ) );
|
||||
hbqt_par_QAbstractButton( 1 )->setAutoRepeatDelay( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setAutoRepeatInterval ( int )
|
||||
*/
|
||||
* void setAutoRepeatInterval ( int )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_SETAUTOREPEATINTERVAL )
|
||||
{
|
||||
hbqt_par_QAbstractButton( 1 )->setAutoRepeatInterval( hb_parni( 2 ) );
|
||||
hbqt_par_QAbstractButton( 1 )->setAutoRepeatInterval( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setCheckable ( bool )
|
||||
*/
|
||||
* void setCheckable ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_SETCHECKABLE )
|
||||
{
|
||||
hbqt_par_QAbstractButton( 1 )->setCheckable( hb_parl( 2 ) );
|
||||
hbqt_par_QAbstractButton( 1 )->setCheckable( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setDown ( bool )
|
||||
*/
|
||||
* void setDown ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_SETDOWN )
|
||||
{
|
||||
hbqt_par_QAbstractButton( 1 )->setDown( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setIcon ( const QIcon & icon )
|
||||
*/
|
||||
* void setIcon ( const QIcon & icon )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_SETICON )
|
||||
{
|
||||
hbqt_par_QAbstractButton( 1 )->setIcon( QIcon( hbqt_par_QString( 2 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setText ( const QString & text )
|
||||
*/
|
||||
* void setText ( const QString & text )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_SETTEXT )
|
||||
{
|
||||
hbqt_par_QAbstractButton( 1 )->setText( hbqt_par_QString( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QString text () const
|
||||
*/
|
||||
* QString text () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_TEXT )
|
||||
{
|
||||
QString str1 = hbqt_par_QAbstractButton( 1 )->text();
|
||||
QByteArray ba = str1.toLatin1();
|
||||
const char * c_str2 = ba.data();
|
||||
hb_retc( c_str2 );
|
||||
hb_retc( hbqt_par_QAbstractButton( 1 )->text( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
void animateClick ( int msec = 100 )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_ANIMATECLICK )
|
||||
{
|
||||
hbqt_par_QAbstractButton( 1 )->animateClick( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void click ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_CLICK )
|
||||
{
|
||||
hbqt_par_QAbstractButton( 1 )->click();
|
||||
}
|
||||
|
||||
/*
|
||||
void setChecked ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_SETCHECKED )
|
||||
{
|
||||
hbqt_par_QAbstractButton( 1 )->setChecked( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void toggle ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTBUTTON_TOGGLE )
|
||||
{
|
||||
hbqt_par_QAbstractButton( 1 )->toggle();
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,322 +55,389 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*
|
||||
* Constructed[ 43/54 [ 79.63% ] ]
|
||||
*
|
||||
* *** Unconvered Prototypes ***
|
||||
* -----------------------------
|
||||
*
|
||||
* void closePersistentEditor ( const QModelIndex & index )
|
||||
* QModelIndex currentIndex () const
|
||||
* virtual QModelIndex indexAt ( const QPoint & point ) const = 0
|
||||
* QWidget * indexWidget ( const QModelIndex & index ) const
|
||||
* QAbstractItemDelegate * itemDelegate ( const QModelIndex & index ) const
|
||||
* void openPersistentEditor ( const QModelIndex & index )
|
||||
* QModelIndex rootIndex () const
|
||||
* virtual void scrollTo ( const QModelIndex & index, ScrollHint hint = EnsureVisible ) = 0
|
||||
* void setIndexWidget ( const QModelIndex & index, QWidget * widget )
|
||||
* QSize sizeHintForIndex ( const QModelIndex & index ) const
|
||||
* virtual QRect visualRect ( const QModelIndex & index ) const = 0
|
||||
*/
|
||||
|
||||
|
||||
#include <QtGui/QAbstractItemView>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
bool alternatingRowColors () const
|
||||
*/
|
||||
* QAbstractItemView ( QWidget * parent = 0 )
|
||||
* ~QAbstractItemView ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* bool alternatingRowColors () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_ALTERNATINGROWCOLORS )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractItemView( 1 )->alternatingRowColors() );
|
||||
hb_retl( hbqt_par_QAbstractItemView( 1 )->alternatingRowColors( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int autoScrollMargin () const
|
||||
*/
|
||||
* int autoScrollMargin () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_AUTOSCROLLMARGIN )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->autoScrollMargin() );
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->autoScrollMargin( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
DragDropMode dragDropMode () const
|
||||
*/
|
||||
* DragDropMode dragDropMode () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_DRAGDROPMODE )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->dragDropMode() );
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->dragDropMode( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool dragDropOverwriteMode () const
|
||||
*/
|
||||
* bool dragDropOverwriteMode () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_DRAGDROPOVERWRITEMODE )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractItemView( 1 )->dragDropOverwriteMode() );
|
||||
hb_retl( hbqt_par_QAbstractItemView( 1 )->dragDropOverwriteMode( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool dragEnabled () const
|
||||
*/
|
||||
* bool dragEnabled () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_DRAGENABLED )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractItemView( 1 )->dragEnabled() );
|
||||
hb_retl( hbqt_par_QAbstractItemView( 1 )->dragEnabled( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
EditTriggers editTriggers () const
|
||||
*/
|
||||
* EditTriggers editTriggers () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_EDITTRIGGERS )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->editTriggers() );
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->editTriggers( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool hasAutoScroll () const
|
||||
*/
|
||||
* bool hasAutoScroll () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_HASAUTOSCROLL )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractItemView( 1 )->hasAutoScroll() );
|
||||
hb_retl( hbqt_par_QAbstractItemView( 1 )->hasAutoScroll( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
ScrollMode horizontalScrollMode () const
|
||||
*/
|
||||
* ScrollMode horizontalScrollMode () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_HORIZONTALSCROLLMODE )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->horizontalScrollMode() );
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->horizontalScrollMode( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QAbstractItemDelegate * itemDelegate () const
|
||||
*/
|
||||
* QSize iconSize () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_ICONSIZE )
|
||||
{
|
||||
hbqt_ret_QSize( hbqt_par_QAbstractItemView( 1 )->iconSize( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QAbstractItemDelegate * itemDelegate () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATE )
|
||||
{
|
||||
hbqt_ret_QAbstractItemDelegate( hbqt_par_QAbstractItemView( 1 )->itemDelegate() );
|
||||
hb_retptr( ( QAbstractItemDelegate* ) hbqt_par_QAbstractItemView( 1 )->itemDelegate( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QAbstractItemDelegate * itemDelegateForColumn ( int column ) const
|
||||
*/
|
||||
* QAbstractItemDelegate * itemDelegateForColumn ( int column ) const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATEFORCOLUMN )
|
||||
{
|
||||
hbqt_ret_QAbstractItemDelegate( hbqt_par_QAbstractItemView( 1 )->itemDelegateForColumn( hb_parni( 2 ) ) );
|
||||
hb_retptr( ( QAbstractItemDelegate* ) hbqt_par_QAbstractItemView( 1 )->itemDelegateForColumn( hb_parni( 2 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QAbstractItemDelegate * itemDelegateForRow ( int row ) const
|
||||
*/
|
||||
* QAbstractItemDelegate * itemDelegateForRow ( int row ) const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_ITEMDELEGATEFORROW )
|
||||
{
|
||||
hbqt_ret_QAbstractItemDelegate( hbqt_par_QAbstractItemView( 1 )->itemDelegateForRow( hb_parni( 2 ) ) );
|
||||
hb_retptr( ( QAbstractItemDelegate* ) hbqt_par_QAbstractItemView( 1 )->itemDelegateForRow( hb_parni( 2 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QAbstractItemModel * model () const
|
||||
*/
|
||||
* virtual void keyboardSearch ( const QString & search )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_KEYBOARDSEARCH )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->keyboardSearch( hbqt_par_QString( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QAbstractItemModel * model () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_MODEL )
|
||||
{
|
||||
hbqt_ret_QAbstractItemModel( hbqt_par_QAbstractItemView( 1 )->model() );
|
||||
hb_retptr( ( QAbstractItemModel* ) hbqt_par_QAbstractItemView( 1 )->model( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QAbstractItemView::SelectionBehavior selectionBehavior () const
|
||||
*/
|
||||
* QAbstractItemView::SelectionBehavior selectionBehavior () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTIONBEHAVIOR )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->selectionBehavior() );
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->selectionBehavior( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QAbstractItemView::SelectionMode selectionMode () const
|
||||
*/
|
||||
* QAbstractItemView::SelectionMode selectionMode () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTIONMODE )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->selectionMode() );
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->selectionMode( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QItemSelectionModel * selectionModel () const
|
||||
*/
|
||||
* QItemSelectionModel * selectionModel () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SELECTIONMODEL )
|
||||
{
|
||||
hb_retptr( ( QItemSelectionModel* ) hbqt_par_QAbstractItemView( 1 )->selectionModel() );
|
||||
hb_retptr( ( QItemSelectionModel* ) hbqt_par_QAbstractItemView( 1 )->selectionModel( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setAlternatingRowColors ( bool enable )
|
||||
*/
|
||||
* void setAlternatingRowColors ( bool enable )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETALTERNATINGROWCOLORS )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setAlternatingRowColors( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setAutoScroll ( bool enable )
|
||||
*/
|
||||
* void setAutoScroll ( bool enable )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETAUTOSCROLL )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setAutoScroll( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setAutoScrollMargin ( int margin )
|
||||
*/
|
||||
* void setAutoScrollMargin ( int margin )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETAUTOSCROLLMARGIN )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setAutoScrollMargin( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setDragDropMode ( DragDropMode behavior )
|
||||
*/
|
||||
* void setDragDropMode ( DragDropMode behavior )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETDRAGDROPMODE )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setDragDropMode( ( QAbstractItemView::DragDropMode ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setDragDropOverwriteMode ( bool overwrite )
|
||||
*/
|
||||
* void setDragDropOverwriteMode ( bool overwrite )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETDRAGDROPOVERWRITEMODE )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setDragDropOverwriteMode( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setDragEnabled ( bool enable )
|
||||
*/
|
||||
* void setDragEnabled ( bool enable )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETDRAGENABLED )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setDragEnabled( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setDropIndicatorShown ( bool enable )
|
||||
*/
|
||||
* void setDropIndicatorShown ( bool enable )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETDROPINDICATORSHOWN )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setDropIndicatorShown( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setEditTriggers ( EditTriggers triggers )
|
||||
*/
|
||||
* void setEditTriggers ( EditTriggers triggers )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETEDITTRIGGERS )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setEditTriggers( ( QAbstractItemView::EditTrigger ) hb_parni( 2 ) );
|
||||
hbqt_par_QAbstractItemView( 1 )->setEditTriggers( ( QAbstractItemView::EditTriggers ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setHorizontalScrollMode ( ScrollMode mode )
|
||||
*/
|
||||
* void setHorizontalScrollMode ( ScrollMode mode )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETHORIZONTALSCROLLMODE )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setHorizontalScrollMode( ( QAbstractItemView::ScrollMode ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setItemDelegate ( QAbstractItemDelegate * delegate )
|
||||
*/
|
||||
* void setIconSize ( const QSize & size )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETICONSIZE )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setIconSize( hbqt_const_QSize( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setItemDelegate ( QAbstractItemDelegate * delegate )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETITEMDELEGATE )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setItemDelegate( hbqt_par_QAbstractItemDelegate( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setItemDelegateForColumn ( int column, QAbstractItemDelegate * delegate )
|
||||
*/
|
||||
* void setItemDelegateForColumn ( int column, QAbstractItemDelegate * delegate )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETITEMDELEGATEFORCOLUMN )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setItemDelegateForColumn( hb_parni( 2 ), hbqt_par_QAbstractItemDelegate( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setItemDelegateForRow ( int row, QAbstractItemDelegate * delegate )
|
||||
*/
|
||||
* void setItemDelegateForRow ( int row, QAbstractItemDelegate * delegate )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETITEMDELEGATEFORROW )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setItemDelegateForRow( hb_parni(2), hbqt_par_QAbstractItemDelegate( 3 ) );
|
||||
hbqt_par_QAbstractItemView( 1 )->setItemDelegateForRow( hb_parni( 2 ), hbqt_par_QAbstractItemDelegate( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setSelectionBehavior ( QAbstractItemView::SelectionBehavior behavior )
|
||||
*/
|
||||
* virtual void setModel ( QAbstractItemModel * model )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETMODEL )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setModel( hbqt_par_QAbstractItemModel( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setSelectionBehavior ( QAbstractItemView::SelectionBehavior behavior )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETSELECTIONBEHAVIOR )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setSelectionBehavior( ( QAbstractItemView::SelectionBehavior ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setSelectionMode ( QAbstractItemView::SelectionMode mode )
|
||||
*/
|
||||
* void setSelectionMode ( QAbstractItemView::SelectionMode mode )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETSELECTIONMODE )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setSelectionMode( ( QAbstractItemView::SelectionMode ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setTabKeyNavigation ( bool enable )
|
||||
*/
|
||||
* virtual void setSelectionModel ( QItemSelectionModel * selectionModel )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETSELECTIONMODEL )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setSelectionModel( hbqt_par_QItemSelectionModel( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setTabKeyNavigation ( bool enable )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETTABKEYNAVIGATION )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setTabKeyNavigation( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setTextElideMode ( Qt::TextElideMode mode )
|
||||
*/
|
||||
* void setTextElideMode ( Qt::TextElideMode mode )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETTEXTELIDEMODE )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setTextElideMode( ( Qt::TextElideMode ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setVerticalScrollMode ( ScrollMode mode )
|
||||
*/
|
||||
* void setVerticalScrollMode ( ScrollMode mode )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SETVERTICALSCROLLMODE )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->setVerticalScrollMode( ( QAbstractItemView::ScrollMode ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool showDropIndicator () const
|
||||
*/
|
||||
* bool showDropIndicator () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SHOWDROPINDICATOR )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractItemView( 1 )->showDropIndicator() );
|
||||
hb_retl( hbqt_par_QAbstractItemView( 1 )->showDropIndicator( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool tabKeyNavigation () const
|
||||
*/
|
||||
* virtual int sizeHintForColumn ( int column ) const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SIZEHINTFORCOLUMN )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->sizeHintForColumn( hb_parni( 2 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* virtual int sizeHintForRow ( int row ) const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SIZEHINTFORROW )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->sizeHintForRow( hb_parni( 2 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool tabKeyNavigation () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_TABKEYNAVIGATION )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractItemView( 1 )->tabKeyNavigation() );
|
||||
hb_retl( hbqt_par_QAbstractItemView( 1 )->tabKeyNavigation( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
Qt::TextElideMode textElideMode () const
|
||||
*/
|
||||
* Qt::TextElideMode textElideMode () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_TEXTELIDEMODE )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->textElideMode() );
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->textElideMode( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
ScrollMode verticalScrollMode () const
|
||||
*/
|
||||
* ScrollMode verticalScrollMode () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_VERTICALSCROLLMODE )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->verticalScrollMode() );
|
||||
hb_retni( hbqt_par_QAbstractItemView( 1 )->verticalScrollMode( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void clearSelection ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_CLEARSELECTION )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->clearSelection();
|
||||
}
|
||||
|
||||
/*
|
||||
void scrollToBottom ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SCROLLTOBOTTOM )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->scrollToBottom();
|
||||
}
|
||||
|
||||
/*
|
||||
void scrollToTop ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTITEMVIEW_SCROLLTOTOP )
|
||||
{
|
||||
hbqt_par_QAbstractItemView( 1 )->scrollToTop();
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,82 +55,114 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*
|
||||
* Constructed[ 10/11 [ 90.91% ] ]
|
||||
*
|
||||
* *** Unconvered Prototypes ***
|
||||
* -----------------------------
|
||||
*
|
||||
* void setOptionTabs ( const QList<QWidget *> & tabs )
|
||||
*/
|
||||
|
||||
|
||||
#include <QtGui/QAbstractPrintDialog>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
int fromPage () const
|
||||
*/
|
||||
* QAbstractPrintDialog ( QPrinter * printer, QWidget * parent = 0 )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTPRINTDIALOG )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* virtual int exec () = 0
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTPRINTDIALOG_EXEC )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->exec( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int fromPage () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTPRINTDIALOG_FROMPAGE )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->fromPage() );
|
||||
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->fromPage( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int maxPage () const
|
||||
*/
|
||||
* int maxPage () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTPRINTDIALOG_MAXPAGE )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->maxPage() );
|
||||
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->maxPage( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int minPage () const
|
||||
*/
|
||||
* int minPage () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTPRINTDIALOG_MINPAGE )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->minPage() );
|
||||
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->minPage( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
PrintRange printRange () const
|
||||
*/
|
||||
* PrintRange printRange () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTPRINTDIALOG_PRINTRANGE )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->printRange() );
|
||||
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->printRange( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QPrinter * printer () const
|
||||
*/
|
||||
* QPrinter * printer () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTPRINTDIALOG_PRINTER )
|
||||
{
|
||||
hbqt_ret_QPrinter( hbqt_par_QAbstractPrintDialog( 1 )->printer() );
|
||||
hb_retptr( ( QPrinter* ) hbqt_par_QAbstractPrintDialog( 1 )->printer( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setFromTo ( int from, int to )
|
||||
*/
|
||||
* void setFromTo ( int from, int to )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTPRINTDIALOG_SETFROMTO )
|
||||
{
|
||||
hbqt_par_QAbstractPrintDialog( 1 )->setFromTo( hb_parni( 2 ), hb_parni( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setMinMax ( int min, int max )
|
||||
*/
|
||||
* void setMinMax ( int min, int max )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTPRINTDIALOG_SETMINMAX )
|
||||
{
|
||||
hbqt_par_QAbstractPrintDialog( 1 )->setMinMax( hb_parni( 2 ), hb_parni( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setPrintRange ( PrintRange range )
|
||||
*/
|
||||
* void setPrintRange ( PrintRange range )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTPRINTDIALOG_SETPRINTRANGE )
|
||||
{
|
||||
hbqt_par_QAbstractPrintDialog( 1 )->setPrintRange( ( QAbstractPrintDialog::PrintRange ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int toPage () const
|
||||
*/
|
||||
* int toPage () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTPRINTDIALOG_TOPAGE )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->toPage() );
|
||||
hb_retni( hbqt_par_QAbstractPrintDialog( 1 )->toPage( ) );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,117 +55,147 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*
|
||||
* Constructed[ 14/15 [ 93.33% ] ]
|
||||
*
|
||||
* *** Unconvered Prototypes ***
|
||||
* -----------------------------
|
||||
*
|
||||
* QWidgetList scrollBarWidgets ( Qt::Alignment alignment )
|
||||
*/
|
||||
|
||||
|
||||
#include <QtGui/QAbstractScrollArea>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
void addScrollBarWidget ( QWidget * widget, Qt::Alignment alignment )
|
||||
*/
|
||||
* QAbstractScrollArea ( QWidget * parent = 0 )
|
||||
* ~QAbstractScrollArea ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* void addScrollBarWidget ( QWidget * widget, Qt::Alignment alignment )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_ADDSCROLLBARWIDGET )
|
||||
{
|
||||
QWidget * par2 = ( QWidget * ) hb_parptr( 2 );
|
||||
int par3 = hb_parni( 3 );
|
||||
hbqt_par_QAbstractScrollArea( 1 )->addScrollBarWidget ( par2, ( Qt::Alignment ) par3 );
|
||||
hbqt_par_QAbstractScrollArea( 1 )->addScrollBarWidget( hbqt_par_QWidget( 2 ), ( Qt::Alignment ) hb_parni( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QWidget * cornerWidget () const
|
||||
*/
|
||||
* QWidget * cornerWidget () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_CORNERWIDGET )
|
||||
{
|
||||
hb_retptr( ( QWidget* ) hbqt_par_QAbstractScrollArea( 1 )->cornerWidget() );
|
||||
hb_retptr( ( QWidget* ) hbqt_par_QAbstractScrollArea( 1 )->cornerWidget( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QScrollBar * horizontalScrollBar () const
|
||||
*/
|
||||
* QScrollBar * horizontalScrollBar () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_HORIZONTALSCROLLBAR )
|
||||
{
|
||||
hb_retptr( ( QScrollBar* ) hbqt_par_QAbstractScrollArea( 1 )->horizontalScrollBar() );
|
||||
hb_retptr( ( QScrollBar* ) hbqt_par_QAbstractScrollArea( 1 )->horizontalScrollBar( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
Qt::ScrollBarPolicy horizontalScrollBarPolicy () const
|
||||
*/
|
||||
* Qt::ScrollBarPolicy horizontalScrollBarPolicy () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_HORIZONTALSCROLLBARPOLICY )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractScrollArea( 1 )->horizontalScrollBarPolicy() );
|
||||
hb_retni( hbqt_par_QAbstractScrollArea( 1 )->horizontalScrollBarPolicy( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setCornerWidget ( QWidget * widget )
|
||||
*/
|
||||
* QSize maximumViewportSize () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_MAXIMUMVIEWPORTSIZE )
|
||||
{
|
||||
hbqt_ret_QSize( hbqt_par_QAbstractScrollArea( 1 )->maximumViewportSize( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setCornerWidget ( QWidget * widget )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_SETCORNERWIDGET )
|
||||
{
|
||||
hbqt_par_QAbstractScrollArea( 1 )->setCornerWidget( hbqt_par_QWidget( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setHorizontalScrollBar ( QScrollBar * scrollBar )
|
||||
*/
|
||||
* void setHorizontalScrollBar ( QScrollBar * scrollBar )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_SETHORIZONTALSCROLLBAR )
|
||||
{
|
||||
hbqt_par_QAbstractScrollArea( 1 )->setHorizontalScrollBar( hbqt_par_QScrollBar( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setHorizontalScrollBarPolicy ( Qt::ScrollBarPolicy )
|
||||
*/
|
||||
* void setHorizontalScrollBarPolicy ( Qt::ScrollBarPolicy )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_SETHORIZONTALSCROLLBARPOLICY )
|
||||
{
|
||||
hbqt_par_QAbstractScrollArea( 1 )->setHorizontalScrollBarPolicy( ( Qt::ScrollBarPolicy ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setVerticalScrollBar ( QScrollBar * scrollBar )
|
||||
*/
|
||||
* void setVerticalScrollBar ( QScrollBar * scrollBar )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_SETVERTICALSCROLLBAR )
|
||||
{
|
||||
hbqt_par_QAbstractScrollArea( 1 )->setVerticalScrollBar( hbqt_par_QScrollBar( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setVerticalScrollBarPolicy ( Qt::ScrollBarPolicy )
|
||||
*/
|
||||
* void setVerticalScrollBarPolicy ( Qt::ScrollBarPolicy )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_SETVERTICALSCROLLBARPOLICY )
|
||||
{
|
||||
hbqt_par_QAbstractScrollArea( 1 )->setVerticalScrollBarPolicy( ( Qt::ScrollBarPolicy ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setViewport ( QWidget * widget )
|
||||
*/
|
||||
* void setViewport ( QWidget * widget )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_SETVIEWPORT )
|
||||
{
|
||||
hbqt_par_QAbstractScrollArea( 1 )->setViewport( hbqt_par_QWidget( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QScrollBar * verticalScrollBar () const
|
||||
*/
|
||||
* QScrollBar * verticalScrollBar () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_VERTICALSCROLLBAR )
|
||||
{
|
||||
hb_retptr( ( QScrollBar* ) hbqt_par_QAbstractScrollArea( 1 )->verticalScrollBar() );
|
||||
hb_retptr( ( QScrollBar* ) hbqt_par_QAbstractScrollArea( 1 )->verticalScrollBar( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
Qt::ScrollBarPolicy verticalScrollBarPolicy () const
|
||||
*/
|
||||
* Qt::ScrollBarPolicy verticalScrollBarPolicy () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_VERTICALSCROLLBARPOLICY )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractScrollArea( 1 )->verticalScrollBarPolicy() );
|
||||
hb_retni( hbqt_par_QAbstractScrollArea( 1 )->verticalScrollBarPolicy( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QWidget * viewport () const
|
||||
*/
|
||||
* QWidget * viewport () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSCROLLAREA_VIEWPORT )
|
||||
{
|
||||
hb_retptr( ( QWidget* ) hbqt_par_QAbstractScrollArea( 1 )->viewport() );
|
||||
hb_retptr( ( QWidget* ) hbqt_par_QAbstractScrollArea( 1 )->viewport( ) );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,203 +55,202 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
#include <QtGui/QAbstractSlider>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
bool hasTracking () const
|
||||
*/
|
||||
* QAbstractSlider ( QWidget * parent = 0 )
|
||||
* ~QAbstractSlider ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* bool hasTracking () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_HASTRACKING )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractSlider( 1 )->hasTracking() );
|
||||
hb_retl( hbqt_par_QAbstractSlider( 1 )->hasTracking( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool invertedAppearance () const
|
||||
*/
|
||||
* bool invertedAppearance () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_INVERTEDAPPEARANCE )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractSlider( 1 )->invertedAppearance() );
|
||||
hb_retl( hbqt_par_QAbstractSlider( 1 )->invertedAppearance( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool invertedControls () const
|
||||
*/
|
||||
* bool invertedControls () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_INVERTEDCONTROLS )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractSlider( 1 )->invertedControls() );
|
||||
hb_retl( hbqt_par_QAbstractSlider( 1 )->invertedControls( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isSliderDown () const
|
||||
*/
|
||||
* bool isSliderDown () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_ISSLIDERDOWN )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractSlider( 1 )->isSliderDown() );
|
||||
hb_retl( hbqt_par_QAbstractSlider( 1 )->isSliderDown( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int maximum () const
|
||||
*/
|
||||
* int maximum () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_MAXIMUM )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->maximum() );
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->maximum( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int minimum () const
|
||||
*/
|
||||
* int minimum () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_MINIMUM )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->minimum() );
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->minimum( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
Qt::Orientation orientation () const
|
||||
*/
|
||||
* Qt::Orientation orientation () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_ORIENTATION )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->orientation() );
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->orientation( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int pageStep () const
|
||||
*/
|
||||
* int pageStep () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_PAGESTEP )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->pageStep() );
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->pageStep( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setInvertedAppearance ( bool )
|
||||
*/
|
||||
* void setInvertedAppearance ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SETINVERTEDAPPEARANCE )
|
||||
{
|
||||
hbqt_par_QAbstractSlider( 1 )->setInvertedAppearance( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setInvertedControls ( bool )
|
||||
*/
|
||||
* void setInvertedControls ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SETINVERTEDCONTROLS )
|
||||
{
|
||||
hbqt_par_QAbstractSlider( 1 )->setInvertedControls( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setMaximum ( int )
|
||||
*/
|
||||
* void setMaximum ( int )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SETMAXIMUM )
|
||||
{
|
||||
hbqt_par_QAbstractSlider( 1 )->setMaximum( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setMinimum ( int )
|
||||
*/
|
||||
* void setMinimum ( int )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SETMINIMUM )
|
||||
{
|
||||
hbqt_par_QAbstractSlider( 1 )->setMinimum( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setPageStep ( int )
|
||||
*/
|
||||
* void setPageStep ( int )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SETPAGESTEP )
|
||||
{
|
||||
hbqt_par_QAbstractSlider( 1 )->setPageStep( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setRange ( int min, int max )
|
||||
*/
|
||||
* void setRange ( int min, int max )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SETRANGE )
|
||||
{
|
||||
hbqt_par_QAbstractSlider( 1 )->setRange( hb_parni( 2 ), hb_parni( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setSingleStep ( int )
|
||||
*/
|
||||
* void setSingleStep ( int )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SETSINGLESTEP )
|
||||
{
|
||||
hbqt_par_QAbstractSlider( 1 )->setSingleStep( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setSliderDown ( bool )
|
||||
*/
|
||||
* void setSliderDown ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SETSLIDERDOWN )
|
||||
{
|
||||
hbqt_par_QAbstractSlider( 1 )->setSliderDown( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setSliderPosition ( int )
|
||||
*/
|
||||
* void setSliderPosition ( int )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SETSLIDERPOSITION )
|
||||
{
|
||||
hbqt_par_QAbstractSlider( 1 )->setSliderPosition( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setTracking ( bool enable )
|
||||
*/
|
||||
* void setTracking ( bool enable )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SETTRACKING )
|
||||
{
|
||||
hbqt_par_QAbstractSlider( 1 )->setTracking( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int singleStep () const
|
||||
*/
|
||||
* int singleStep () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SINGLESTEP )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->singleStep() );
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->singleStep( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int sliderPosition () const
|
||||
*/
|
||||
* int sliderPosition () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SLIDERPOSITION )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->sliderPosition() );
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->sliderPosition( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void triggerAction ( SliderAction action )
|
||||
*/
|
||||
* void triggerAction ( SliderAction action )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_TRIGGERACTION )
|
||||
{
|
||||
hbqt_par_QAbstractSlider( 1 )->triggerAction( ( QAbstractSlider::SliderAction ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int value () const
|
||||
*/
|
||||
* int value () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_VALUE )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->value() );
|
||||
hb_retni( hbqt_par_QAbstractSlider( 1 )->value( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setOrientation ( Qt::Orientation )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SETORIENTATION )
|
||||
{
|
||||
hbqt_par_QAbstractSlider( 1 )->setOrientation( ( Qt::Orientation ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setValue ( int )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSLIDER_SETVALUE )
|
||||
{
|
||||
hbqt_par_QAbstractSlider( 1 )->setValue( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,240 +55,202 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
#include <QtGui/QAbstractSpinBox>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
Qt::Alignment alignment () const
|
||||
*/
|
||||
* QAbstractSpinBox ( QWidget * parent = 0 )
|
||||
* ~QAbstractSpinBox ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::Alignment alignment () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_ALIGNMENT )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractSpinBox( 1 )->alignment() );
|
||||
hb_retni( hbqt_par_QAbstractSpinBox( 1 )->alignment( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
ButtonSymbols buttonSymbols () const
|
||||
*/
|
||||
* ButtonSymbols buttonSymbols () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_BUTTONSYMBOLS )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractSpinBox( 1 )->buttonSymbols() );
|
||||
hb_retni( hbqt_par_QAbstractSpinBox( 1 )->buttonSymbols( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
CorrectionMode correctionMode () const
|
||||
*/
|
||||
* CorrectionMode correctionMode () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_CORRECTIONMODE )
|
||||
{
|
||||
hb_retni( hbqt_par_QAbstractSpinBox( 1 )->correctionMode() );
|
||||
hb_retni( hbqt_par_QAbstractSpinBox( 1 )->correctionMode( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
virtual void fixup ( QString & input ) const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_FIXUP )
|
||||
{
|
||||
QString par2 = hb_parc( 2 );
|
||||
hbqt_par_QAbstractSpinBox( 1 )->fixup( par2 );
|
||||
}
|
||||
|
||||
/*
|
||||
bool hasAcceptableInput () const
|
||||
*/
|
||||
* bool hasAcceptableInput () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_HASACCEPTABLEINPUT )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractSpinBox( 1 )->hasAcceptableInput() );
|
||||
hb_retl( hbqt_par_QAbstractSpinBox( 1 )->hasAcceptableInput( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool hasFrame () const
|
||||
*/
|
||||
* bool hasFrame () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_HASFRAME )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractSpinBox( 1 )->hasFrame() );
|
||||
hb_retl( hbqt_par_QAbstractSpinBox( 1 )->hasFrame( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void interpretText ()
|
||||
*/
|
||||
* void interpretText ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_INTERPRETTEXT )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->interpretText();
|
||||
hbqt_par_QAbstractSpinBox( 1 )->interpretText( );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isAccelerated () const
|
||||
*/
|
||||
* bool isAccelerated () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_ISACCELERATED )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractSpinBox( 1 )->isAccelerated() );
|
||||
hb_retl( hbqt_par_QAbstractSpinBox( 1 )->isAccelerated( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isReadOnly () const
|
||||
*/
|
||||
* bool isReadOnly () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_ISREADONLY )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractSpinBox( 1 )->isReadOnly() );
|
||||
hb_retl( hbqt_par_QAbstractSpinBox( 1 )->isReadOnly( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool keyboardTracking () const
|
||||
*/
|
||||
* bool keyboardTracking () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_KEYBOARDTRACKING )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractSpinBox( 1 )->keyboardTracking() );
|
||||
hb_retl( hbqt_par_QAbstractSpinBox( 1 )->keyboardTracking( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setAccelerated ( bool on )
|
||||
*/
|
||||
* void setAccelerated ( bool on )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_SETACCELERATED )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->setAccelerated( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setAlignment ( Qt::Alignment flag )
|
||||
*/
|
||||
* void setAlignment ( Qt::Alignment flag )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_SETALIGNMENT )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->setAlignment( ( Qt::Alignment ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setButtonSymbols ( ButtonSymbols bs )
|
||||
*/
|
||||
* void setButtonSymbols ( ButtonSymbols bs )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_SETBUTTONSYMBOLS )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->setButtonSymbols( ( QAbstractSpinBox::ButtonSymbols ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setCorrectionMode ( CorrectionMode cm )
|
||||
*/
|
||||
* void setCorrectionMode ( CorrectionMode cm )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_SETCORRECTIONMODE )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->setCorrectionMode( ( QAbstractSpinBox::CorrectionMode ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setFrame ( bool )
|
||||
*/
|
||||
* void setFrame ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_SETFRAME )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->setFrame( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setKeyboardTracking ( bool kt )
|
||||
*/
|
||||
* void setKeyboardTracking ( bool kt )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_SETKEYBOARDTRACKING )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->setKeyboardTracking( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setReadOnly ( bool r )
|
||||
*/
|
||||
* void setReadOnly ( bool r )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_SETREADONLY )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->setReadOnly( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setSpecialValueText ( const QString & txt )
|
||||
*/
|
||||
* void setSpecialValueText ( const QString & txt )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_SETSPECIALVALUETEXT )
|
||||
{
|
||||
QString par2 = hb_parc( 2 );
|
||||
hbqt_par_QAbstractSpinBox( 1 )->setSpecialValueText( par2 );
|
||||
hbqt_par_QAbstractSpinBox( 1 )->setSpecialValueText( hbqt_par_QString( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setWrapping ( bool w )
|
||||
*/
|
||||
* void setWrapping ( bool w )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_SETWRAPPING )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->setWrapping( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QString specialValueText () const
|
||||
*/
|
||||
* QString specialValueText () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_SPECIALVALUETEXT )
|
||||
{
|
||||
hb_retc( hbqt_par_QAbstractSpinBox( 1 )->specialValueText().toLatin1().data() );
|
||||
hb_retc( hbqt_par_QAbstractSpinBox( 1 )->specialValueText( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
virtual void stepBy ( int steps )
|
||||
*/
|
||||
* virtual void stepBy ( int steps )
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_STEPBY )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->stepBy( hb_parni(2) );
|
||||
hbqt_par_QAbstractSpinBox( 1 )->stepBy( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QString text () const
|
||||
*/
|
||||
* QString text () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_TEXT )
|
||||
{
|
||||
hb_retc( hbqt_par_QAbstractSpinBox( 1 )->text().toLatin1().data() );
|
||||
hb_retc( hbqt_par_QAbstractSpinBox( 1 )->text( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
virtual QValidator::State validate ( QString & input, int & pos ) const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_VALIDATE )
|
||||
{
|
||||
QAbstractSpinBox * par1 = ( QAbstractSpinBox * ) hb_parptr( 1 );
|
||||
QString par2 = hb_parc( 2 );
|
||||
int par3 = hb_parni( 3 );
|
||||
int i = par1->validate( par2, par3 );
|
||||
hb_retni( i );
|
||||
}
|
||||
|
||||
/*
|
||||
bool wrapping () const
|
||||
*/
|
||||
* bool wrapping () const
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_WRAPPING )
|
||||
{
|
||||
hb_retl( hbqt_par_QAbstractSpinBox( 1 )->wrapping() );
|
||||
hb_retl( hbqt_par_QAbstractSpinBox( 1 )->wrapping( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
virtual void clear ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_CLEAR )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->clear();
|
||||
}
|
||||
|
||||
/*
|
||||
void selectAll ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_SELECTALL )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->selectAll();
|
||||
}
|
||||
|
||||
/*
|
||||
void stepDown ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_STEPDOWN )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->stepDown();
|
||||
}
|
||||
|
||||
/*
|
||||
void stepUp ()
|
||||
*/
|
||||
HB_FUNC( QT_QABSTRACTSPINBOX_STEPUP )
|
||||
{
|
||||
hbqt_par_QAbstractSpinBox( 1 )->stepUp();
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,369 +55,324 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*
|
||||
* Constructed[ 34/45 [ 75.56% ] ]
|
||||
*
|
||||
* *** Unconvered Prototypes ***
|
||||
* -----------------------------
|
||||
*
|
||||
* QList<QGraphicsWidget *> associatedGraphicsWidgets () const
|
||||
* QList<QWidget *> associatedWidgets () const
|
||||
* QVariant data () const
|
||||
* QFont font () const
|
||||
* QIcon icon () const
|
||||
* void setData ( const QVariant & userData )
|
||||
* void setFont ( const QFont & font )
|
||||
* void setShortcut ( const QKeySequence & shortcut )
|
||||
* void setShortcuts ( const QList<QKeySequence> & shortcuts )
|
||||
* QKeySequence shortcut () const
|
||||
* QList<QKeySequence> shortcuts () const
|
||||
*/
|
||||
|
||||
|
||||
#include <QtGui/QAction>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
QAction ( QObject * parent ) [1]
|
||||
QAction ( const QString & text, QObject * parent ) [2]
|
||||
QAction ( const QIcon & icon, const QString & text, QObject * parent ) [3]
|
||||
*/
|
||||
* QAction ( QObject * parent )
|
||||
* QAction ( const QString & text, QObject * parent )
|
||||
* QAction ( const QIcon & icon, const QString & text, QObject * parent )
|
||||
* ~QAction ()
|
||||
*/
|
||||
HB_FUNC( QT_QACTION )
|
||||
{
|
||||
if( hb_param( 1, HB_IT_POINTER ) )
|
||||
if( HB_ISPOINTER( 1 ) )
|
||||
hb_retptr( new QAction( hbqt_par_QObject( 1 ) ) );
|
||||
else if( hb_param( 2, HB_IT_POINTER ) )
|
||||
else if( HB_ISPOINTER( 2 ) )
|
||||
hb_retptr( new QAction( hbqt_par_QString( 1 ), hbqt_par_QObject( 2 ) ) );
|
||||
else if( hb_param( 3, HB_IT_POINTER ) )
|
||||
else if( HB_ISPOINTER( 3 ) )
|
||||
hb_retptr( new QAction( hbqt_par_QIcon( 1 ), hbqt_par_QString( 2 ), hbqt_par_QObject( 3 ) ) );
|
||||
}
|
||||
|
||||
#if 0
|
||||
HB_FUNC( QT_QACTION_1 )
|
||||
{
|
||||
hb_retptr( new QAction( hbqt_par_QObject( 1 ) ) );
|
||||
}
|
||||
HB_FUNC( QT_QACTION_2 )
|
||||
{
|
||||
QAction * action = NULL;
|
||||
QString text = hb_parc( 1 );
|
||||
QObject * parent = ( QObject * ) hb_parptr( 2 );
|
||||
action = new QAction ( text, parent );
|
||||
hb_retptr( ( QAction * ) action );
|
||||
}
|
||||
HB_FUNC( QT_QACTION_3 )
|
||||
{
|
||||
QAction * action = NULL;
|
||||
QString icon = hb_parc( 1 );
|
||||
QString text = hb_parc( 2 );
|
||||
QObject * parent = ( QObject * ) hb_parptr( 3 );
|
||||
action = new QAction ( QIcon( icon ), text, parent );
|
||||
hb_retptr( ( QAction * ) action );
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
QActionGroup * actionGroup () const
|
||||
*/
|
||||
* QActionGroup * actionGroup () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_ACTIONGROUP )
|
||||
{
|
||||
hb_retptr( ( QActionGroup* ) hbqt_par_QAction( 1 )->actionGroup() );
|
||||
hb_retptr( ( QActionGroup* ) hbqt_par_QAction( 1 )->actionGroup( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void activate ( ActionEvent event )
|
||||
*/
|
||||
* void activate ( ActionEvent event )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_ACTIVATE )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->activate( ( QAction::ActionEvent ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool autoRepeat () const
|
||||
*/
|
||||
* bool autoRepeat () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_AUTOREPEAT )
|
||||
{
|
||||
hb_retl( hbqt_par_QAction( 1 )->autoRepeat() );
|
||||
hb_retl( hbqt_par_QAction( 1 )->autoRepeat( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QString iconText () const
|
||||
*/
|
||||
* QString iconText () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_ICONTEXT )
|
||||
{
|
||||
hb_retc( hbqt_par_QAction( 1 )->iconText().toLatin1().data() );
|
||||
hb_retc( hbqt_par_QAction( 1 )->iconText( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isCheckable () const
|
||||
*/
|
||||
* bool isCheckable () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_ISCHECKABLE )
|
||||
{
|
||||
hb_retl( hbqt_par_QAction( 1 )->isCheckable() );
|
||||
hb_retl( hbqt_par_QAction( 1 )->isCheckable( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isChecked () const
|
||||
*/
|
||||
* bool isChecked () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_ISCHECKED )
|
||||
{
|
||||
hb_retl( hbqt_par_QAction( 1 )->isChecked() );
|
||||
hb_retl( hbqt_par_QAction( 1 )->isChecked( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isEnabled () const
|
||||
*/
|
||||
* bool isEnabled () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_ISENABLED )
|
||||
{
|
||||
hb_retl( hbqt_par_QAction( 1 )->isEnabled() );
|
||||
hb_retl( hbqt_par_QAction( 1 )->isEnabled( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isIconVisibleInMenu () const
|
||||
*/
|
||||
* bool isIconVisibleInMenu () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_ISICONVISIBLEINMENU )
|
||||
{
|
||||
hb_retl( hbqt_par_QAction( 1 )->isIconVisibleInMenu() );
|
||||
hb_retl( hbqt_par_QAction( 1 )->isIconVisibleInMenu( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isSeparator () const
|
||||
*/
|
||||
* bool isSeparator () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_ISSEPARATOR )
|
||||
{
|
||||
hb_retl( hbqt_par_QAction( 1 )->isSeparator() );
|
||||
hb_retl( hbqt_par_QAction( 1 )->isSeparator( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isVisible () const
|
||||
*/
|
||||
* bool isVisible () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_ISVISIBLE )
|
||||
{
|
||||
hb_retl( hbqt_par_QAction( 1 )->isVisible() );
|
||||
hb_retl( hbqt_par_QAction( 1 )->isVisible( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QMenu * menu () const
|
||||
*/
|
||||
* QMenu * menu () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_MENU )
|
||||
{
|
||||
hb_retptr( ( QMenu* ) hbqt_par_QAction( 1 )->menu() );
|
||||
hb_retptr( ( QMenu* ) hbqt_par_QAction( 1 )->menu( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
MenuRole menuRole () const
|
||||
*/
|
||||
* MenuRole menuRole () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_MENUROLE )
|
||||
{
|
||||
hb_retni( hbqt_par_QAction( 1 )->menuRole() );
|
||||
hb_retni( hbqt_par_QAction( 1 )->menuRole( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QWidget * parentWidget () const
|
||||
*/
|
||||
* QWidget * parentWidget () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_PARENTWIDGET )
|
||||
{
|
||||
hb_retptr( ( QWidget* ) hbqt_par_QAction( 1 )->parentWidget() );
|
||||
hb_retptr( ( QWidget* ) hbqt_par_QAction( 1 )->parentWidget( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setActionGroup ( QActionGroup * group )
|
||||
*/
|
||||
* void setActionGroup ( QActionGroup * group )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETACTIONGROUP )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setActionGroup( hbqt_par_QActionGroup( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setAutoRepeat ( bool )
|
||||
*/
|
||||
* void setAutoRepeat ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETAUTOREPEAT )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setAutoRepeat( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setCheckable ( bool )
|
||||
*/
|
||||
* void setCheckable ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETCHECKABLE )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setCheckable( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setIconText ( const QString & text )
|
||||
*/
|
||||
* void setIcon ( const QIcon & icon )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETICON )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setIcon( QIcon( hbqt_par_QString( 2 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setIconText ( const QString & text )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETICONTEXT )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setIconText( hbqt_par_QString( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setIconVisibleInMenu ( bool visible )
|
||||
*/
|
||||
* void setIconVisibleInMenu ( bool visible )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETICONVISIBLEINMENU )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setIconVisibleInMenu( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setMenu ( QMenu * menu )
|
||||
*/
|
||||
* void setMenu ( QMenu * menu )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETMENU )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setMenu( hbqt_par_QMenu( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setMenuRole ( MenuRole menuRole )
|
||||
*/
|
||||
* void setMenuRole ( MenuRole menuRole )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETMENUROLE )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setMenuRole( ( QAction::MenuRole ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setSeparator ( bool b )
|
||||
*/
|
||||
* void setSeparator ( bool b )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETSEPARATOR )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setSeparator( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setShortcutContext ( Qt::ShortcutContext context )
|
||||
*/
|
||||
* void setShortcutContext ( Qt::ShortcutContext context )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETSHORTCUTCONTEXT )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setShortcutContext( ( Qt::ShortcutContext ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setShortcuts ( QKeySequence::StandardKey key )
|
||||
*/
|
||||
* void setShortcuts ( QKeySequence::StandardKey key )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETSHORTCUTS )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setShortcuts( ( QKeySequence::StandardKey ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setStatusTip ( const QString & statusTip )
|
||||
*/
|
||||
* void setStatusTip ( const QString & statusTip )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETSTATUSTIP )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setStatusTip( hbqt_par_QString( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setText ( const QString & text )
|
||||
*/
|
||||
* void setText ( const QString & text )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETTEXT )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setText( hbqt_par_QString( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setToolTip ( const QString & tip )
|
||||
*/
|
||||
* void setToolTip ( const QString & tip )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETTOOLTIP )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setToolTip( hbqt_par_QString( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setWhatsThis ( const QString & what )
|
||||
*/
|
||||
* void setWhatsThis ( const QString & what )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETWHATSTHIS )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setWhatsThis( hbqt_par_QString( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
Qt::ShortcutContext shortcutContext () const
|
||||
*/
|
||||
* Qt::ShortcutContext shortcutContext () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SHORTCUTCONTEXT )
|
||||
{
|
||||
hb_retni( hbqt_par_QAction( 1 )->shortcutContext() );
|
||||
hb_retni( hbqt_par_QAction( 1 )->shortcutContext( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool showStatusText ( QWidget * widget = 0 )
|
||||
*/
|
||||
* bool showStatusText ( QWidget * widget = 0 )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SHOWSTATUSTEXT )
|
||||
{
|
||||
hb_retl( hbqt_par_QAction( 1 )->showStatusText( hbqt_par_QWidget( 2 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QString statusTip () const
|
||||
*/
|
||||
* QString statusTip () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_STATUSTIP )
|
||||
{
|
||||
hb_retc( hbqt_par_QAction( 1 )->statusTip().toLatin1().data() );
|
||||
hb_retc( hbqt_par_QAction( 1 )->statusTip( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
QString text () const
|
||||
*/
|
||||
* QString text () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_TEXT )
|
||||
{
|
||||
hb_retc( hbqt_par_QAction( 1 )->text().toLatin1().data() );
|
||||
hb_retc( hbqt_par_QAction( 1 )->text( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
QString toolTip () const
|
||||
*/
|
||||
* QString toolTip () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_TOOLTIP )
|
||||
{
|
||||
hb_retc( hbqt_par_QAction( 1 )->toolTip().toLatin1().data() );
|
||||
hb_retc( hbqt_par_QAction( 1 )->toolTip( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
QString whatsThis () const
|
||||
*/
|
||||
* QString whatsThis () const
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_WHATSTHIS )
|
||||
{
|
||||
hb_retc( hbqt_par_QAction( 1 )->whatsThis().toLatin1().data() );
|
||||
hb_retc( hbqt_par_QAction( 1 )->whatsThis( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
void hover ()
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_HOVER )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->hover();
|
||||
}
|
||||
|
||||
/*
|
||||
void setChecked ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETCHECKED )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setChecked( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setDisabled ( bool b )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETDISABLED )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setDisabled( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setEnabled ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETENABLED )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setEnabled( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setVisible ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_SETVISIBLE )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->setVisible( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void toggle ()
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_TOGGLE )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->toggle();
|
||||
}
|
||||
|
||||
/*
|
||||
void trigger ()
|
||||
*/
|
||||
HB_FUNC( QT_QACTION_TRIGGER )
|
||||
{
|
||||
hbqt_par_QAction( 1 )->trigger();
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -53,6 +53,32 @@
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*
|
||||
* Constructed[ 6/9 [ 66.67% ] ]
|
||||
*
|
||||
* *** Unconvered Prototypes ***
|
||||
* -----------------------------
|
||||
*
|
||||
* virtual void commitData ( QSessionManager & manager )
|
||||
* virtual bool macEventFilter ( EventHandlerCallRef, EventRef )
|
||||
* virtual void saveState ( QSessionManager & manager )
|
||||
*
|
||||
* *** Commented out protos which construct fine but do not compile ***
|
||||
*
|
||||
* // virtual bool qwsEventFilter ( QWSEvent * )
|
||||
* // int qwsProcessEvent ( QWSEvent * )
|
||||
* // void qwsSetCustomColors ( QRgb * colortable, int start, int numColors )
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#include "hbapi.h"
|
||||
#include "hbinit.h"
|
||||
#include "hbdefs.h"
|
||||
@@ -63,19 +89,22 @@
|
||||
#include "hbdate.h"
|
||||
#include "hbapierr.h"
|
||||
|
||||
#include "hbqt.h"
|
||||
|
||||
#if QT_VERSION >= 0x040500
|
||||
|
||||
#include <QtGui/QApplication>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
void release_codeblocks();
|
||||
|
||||
static QApplication * app = NULL;
|
||||
static bool hbqtinit = false;
|
||||
|
||||
/*
|
||||
* QApplication ( int & argc, char ** argv )
|
||||
* QApplication ( int & argc, char ** argv, bool GUIenabled )
|
||||
* QApplication ( int & argc, char ** argv, Type type )
|
||||
* QApplication ( Display * display, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0 )
|
||||
* QApplication ( Display * display, int & argc, char ** argv, Qt::HANDLE visual = 0, Qt::HANDLE colormap = 0 )
|
||||
* virtual ~QApplication ()
|
||||
*/
|
||||
|
||||
#if 0
|
||||
HB_FUNC( QT_QAPPLICATION )
|
||||
{
|
||||
@@ -98,29 +127,6 @@ HB_FUNC( QT_QAPPLICATION )
|
||||
hb_retptr( ( QApplication * ) app );
|
||||
}
|
||||
|
||||
HB_FUNC( QT_QAPPLICATION_EXEC )
|
||||
{
|
||||
hb_retni( app->exec() );
|
||||
}
|
||||
|
||||
HB_FUNC( QT_QAPPLICATION_SETSTYLE )
|
||||
{
|
||||
app->setStyle( hb_parc( 2 ) );
|
||||
}
|
||||
|
||||
HB_FUNC( QT_QAPPLICATION_QUIT )
|
||||
{
|
||||
app->quit();
|
||||
}
|
||||
|
||||
/*
|
||||
void aboutQt ()
|
||||
*/
|
||||
HB_FUNC( QT_QAPPLICATION_ABOUTQT )
|
||||
{
|
||||
app->aboutQt();
|
||||
}
|
||||
|
||||
static void hbqt_Exit( void * cargo )
|
||||
{
|
||||
HB_SYMBOL_UNUSED( cargo );
|
||||
@@ -166,5 +172,77 @@ HB_CALL_ON_STARTUP_END( _hb_hbqt_init_ )
|
||||
#pragma data_seg()
|
||||
#endif
|
||||
|
||||
HB_FUNC( QT_QAPPLICATION_EXEC )
|
||||
{
|
||||
hb_retni( app->exec() );
|
||||
}
|
||||
|
||||
HB_FUNC( QT_QAPPLICATION_SETSTYLE )
|
||||
{
|
||||
app->setStyle( hb_parc( 2 ) );
|
||||
}
|
||||
|
||||
HB_FUNC( QT_QAPPLICATION_QUIT )
|
||||
{
|
||||
app->quit();
|
||||
}
|
||||
|
||||
HB_FUNC( QT_QAPPLICATION_ABOUTQT )
|
||||
{
|
||||
app->aboutQt();
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* QInputContext * inputContext () const
|
||||
*/
|
||||
HB_FUNC( QT_QAPPLICATION_INPUTCONTEXT )
|
||||
{
|
||||
hb_retptr( ( QInputContext* ) hbqt_par_QApplication( 1 )->inputContext( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool isSessionRestored () const
|
||||
*/
|
||||
HB_FUNC( QT_QAPPLICATION_ISSESSIONRESTORED )
|
||||
{
|
||||
hb_retl( hbqt_par_QApplication( 1 )->isSessionRestored( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QString sessionId () const
|
||||
*/
|
||||
HB_FUNC( QT_QAPPLICATION_SESSIONID )
|
||||
{
|
||||
hb_retc( hbqt_par_QApplication( 1 )->sessionId( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
* QString sessionKey () const
|
||||
*/
|
||||
HB_FUNC( QT_QAPPLICATION_SESSIONKEY )
|
||||
{
|
||||
hb_retc( hbqt_par_QApplication( 1 )->sessionKey( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setInputContext ( QInputContext * inputContext )
|
||||
*/
|
||||
HB_FUNC( QT_QAPPLICATION_SETINPUTCONTEXT )
|
||||
{
|
||||
hbqt_par_QApplication( 1 )->setInputContext( hbqt_par_QInputContext( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QString styleSheet () const
|
||||
*/
|
||||
HB_FUNC( QT_QAPPLICATION_STYLESHEET )
|
||||
{
|
||||
hb_retc( hbqt_par_QApplication( 1 )->styleSheet( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,162 +55,187 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
#include <QtGui/QBoxLayout>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
QBoxLayout ( Direction dir, QWidget * parent = 0 )
|
||||
*/
|
||||
* QBoxLayout ( Direction dir, QWidget * parent = 0 )
|
||||
* ~QBoxLayout ()
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT )
|
||||
{
|
||||
hb_retptr( ( QBoxLayout* ) new QBoxLayout( ( QBoxLayout::Direction ) hb_parni( 1 ), hbqt_par_QWidget( 2 ) ) );
|
||||
hb_retptr( ( QBoxLayout* ) new QBoxLayout( ( QBoxLayout::Direction ) hb_parni( 1 ),
|
||||
hbqt_par_QWidget( 2 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void addLayout ( QLayout * layout, int stretch = 0 )
|
||||
*/
|
||||
* void addLayout ( QLayout * layout, int stretch = 0 )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_ADDLAYOUT )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->addLayout( hbqt_par_QLayout( 2 ), hb_parni( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void addSpacerItem ( QSpacerItem * spacerItem )
|
||||
*/
|
||||
* void addSpacerItem ( QSpacerItem * spacerItem )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_ADDSPACERITEM )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->addSpacerItem( hbqt_par_QSpacerItem( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void addSpacing ( int size )
|
||||
*/
|
||||
* void addSpacing ( int size )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_ADDSPACING )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->addSpacing( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void addStretch ( int stretch = 0 )
|
||||
*/
|
||||
* void addStretch ( int stretch = 0 )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_ADDSTRETCH )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->addStretch( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void addStrut ( int size )
|
||||
*/
|
||||
* void addStrut ( int size )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_ADDSTRUT )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->addStrut( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void addWidget ( QWidget * widget, int stretch = 0, Qt::Alignment alignment = 0 )
|
||||
*/
|
||||
* void addWidget ( QWidget * widget, int stretch = 0, Qt::Alignment alignment = 0 )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_ADDWIDGET )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->addWidget( hbqt_par_QWidget( 2 ), hb_parni( 3 ), ( Qt::Alignment ) hb_parni( 4 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
Direction direction () const
|
||||
*/
|
||||
* Direction direction () const
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_DIRECTION )
|
||||
{
|
||||
hb_retni( hbqt_par_QBoxLayout( 1 )->direction() );
|
||||
hb_retni( hbqt_par_QBoxLayout( 1 )->direction( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void insertLayout ( int index, QLayout * layout, int stretch = 0 )
|
||||
*/
|
||||
* void insertLayout ( int index, QLayout * layout, int stretch = 0 )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_INSERTLAYOUT )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->insertLayout( hb_parni( 2 ), hbqt_par_QLayout( 3 ), hb_parni( 4 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void insertSpacerItem ( int index, QSpacerItem * spacerItem )
|
||||
*/
|
||||
* void insertSpacerItem ( int index, QSpacerItem * spacerItem )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_INSERTSPACERITEM )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->insertSpacerItem( hb_parni( 2 ), hbqt_par_QSpacerItem( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void insertSpacing ( int index, int size )
|
||||
*/
|
||||
* void insertSpacing ( int index, int size )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_INSERTSPACING )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->insertSpacing( hb_parni( 2 ), hb_parni( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void insertStretch ( int index, int stretch = 0 )
|
||||
*/
|
||||
* void insertStretch ( int index, int stretch = 0 )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_INSERTSTRETCH )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->insertStretch( hb_parni( 2 ), hb_parni( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void insertWidget ( int index, QWidget * widget, int stretch = 0, Qt::Alignment alignment = 0 )
|
||||
*/
|
||||
* void insertWidget ( int index, QWidget * widget, int stretch = 0, Qt::Alignment alignment = 0 )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_INSERTWIDGET )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->insertWidget( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hb_parni( 5 ), ( Qt::Alignment ) hb_parni( 6 ) );
|
||||
hbqt_par_QBoxLayout( 1 )->insertWidget( hb_parni( 2 ), hbqt_par_QWidget( 3 ), hb_parni( 4 ), ( Qt::Alignment ) hb_parni( 5 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setDirection ( Direction direction )
|
||||
*/
|
||||
* virtual void invalidate ()
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_INVALIDATE )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->invalidate( );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setDirection ( Direction direction )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_SETDIRECTION )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->setDirection( ( QBoxLayout::Direction ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setSpacing ( int spacing )
|
||||
*/
|
||||
* void setSpacing ( int spacing )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_SETSPACING )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->setSpacing( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setStretch ( int index, int stretch )
|
||||
*/
|
||||
* void setStretch ( int index, int stretch )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_SETSTRETCH )
|
||||
{
|
||||
hbqt_par_QBoxLayout( 1 )->setStretch( hb_parni( 2 ), hb_parni( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool setStretchFactor ( QWidget * widget, int stretch )
|
||||
*/
|
||||
* bool setStretchFactor ( QWidget * widget, int stretch )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_SETSTRETCHFACTOR )
|
||||
{
|
||||
hb_retl( hbqt_par_QBoxLayout( 1 )->setStretchFactor( hbqt_par_QWidget( 2 ), hb_parni( 3 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int spacing () const
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_SPACING )
|
||||
* bool setStretchFactor ( QLayout * layout, int stretch )
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_SETSTRETCHFACTOR_1 )
|
||||
{
|
||||
hb_retni( hbqt_par_QBoxLayout( 1 )->spacing() );
|
||||
hb_retl( hbqt_par_QBoxLayout( 1 )->setStretchFactor( hbqt_par_QLayout( 2 ), hb_parni( 3 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int stretch ( int index ) const
|
||||
*/
|
||||
* int spacing () const
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_SPACING )
|
||||
{
|
||||
hb_retni( hbqt_par_QBoxLayout( 1 )->spacing( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int stretch ( int index ) const
|
||||
*/
|
||||
HB_FUNC( QT_QBOXLAYOUT_STRETCH )
|
||||
{
|
||||
hb_retni( hbqt_par_QBoxLayout( 1 )->stretch( hb_parni( 2 ) ) );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
143
harbour/contrib/hbqt/hbqt_qbrush.cpp
Normal file
143
harbour/contrib/hbqt/hbqt_qbrush.cpp
Normal file
@@ -0,0 +1,143 @@
|
||||
/*
|
||||
* $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 "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*
|
||||
* Constructed[ 4/14 [ 28.57% ] ]
|
||||
*
|
||||
* *** Unconvered Prototypes ***
|
||||
* -----------------------------
|
||||
*
|
||||
* const QColor & color () const
|
||||
* const QMatrix & matrix () const
|
||||
* void setColor ( const QColor & color )
|
||||
* void setMatrix ( const QMatrix & matrix )
|
||||
* void setTexture ( const QPixmap & pixmap )
|
||||
* void setTextureImage ( const QImage & image )
|
||||
* void setTransform ( const QTransform & matrix )
|
||||
* QPixmap texture () const
|
||||
* QImage textureImage () const
|
||||
* QTransform transform () const
|
||||
*
|
||||
* *** Commented out protos which construct fine but do not compile ***
|
||||
*
|
||||
* //const QGradient * gradient () const
|
||||
*/
|
||||
|
||||
|
||||
#include <QtGui/QBrush>
|
||||
|
||||
|
||||
/*
|
||||
* QBrush ()
|
||||
* QBrush ( Qt::BrushStyle style )
|
||||
* QBrush ( const QColor & color, Qt::BrushStyle style = Qt::SolidPattern )
|
||||
* QBrush ( Qt::GlobalColor color, Qt::BrushStyle style = Qt::SolidPattern )
|
||||
* QBrush ( const QColor & color, const QPixmap & pixmap )
|
||||
* QBrush ( Qt::GlobalColor color, const QPixmap & pixmap )
|
||||
* QBrush ( const QPixmap & pixmap )
|
||||
* QBrush ( const QImage & image )
|
||||
* QBrush ( const QBrush & other )
|
||||
* QBrush ( const QGradient & gradient )
|
||||
* ~QBrush ()
|
||||
*/
|
||||
HB_FUNC( QT_QBRUSH )
|
||||
{
|
||||
hb_retptr( ( QBrush* ) new QBrush() );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool isOpaque () const
|
||||
*/
|
||||
HB_FUNC( QT_QBRUSH_ISOPAQUE )
|
||||
{
|
||||
hb_retl( hbqt_par_QBrush( 1 )->isOpaque( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setColor ( Qt::GlobalColor color )
|
||||
*/
|
||||
HB_FUNC( QT_QBRUSH_SETCOLOR )
|
||||
{
|
||||
hbqt_par_QBrush( 1 )->setColor( ( Qt::GlobalColor ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setStyle ( Qt::BrushStyle style )
|
||||
*/
|
||||
HB_FUNC( QT_QBRUSH_SETSTYLE )
|
||||
{
|
||||
hbqt_par_QBrush( 1 )->setStyle( ( Qt::BrushStyle ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::BrushStyle style () const
|
||||
*/
|
||||
HB_FUNC( QT_QBRUSH_STYLE )
|
||||
{
|
||||
hb_retni( hbqt_par_QBrush( 1 )->style( ) );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,218 +55,174 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*
|
||||
* Constructed[ 16/28 [ 57.14% ] ]
|
||||
*
|
||||
* *** Unconvered Prototypes ***
|
||||
* -----------------------------
|
||||
*
|
||||
* QMap<QDate, QTextCharFormat> dateTextFormat () const
|
||||
* QTextCharFormat dateTextFormat ( const QDate & date ) const
|
||||
* QTextCharFormat headerTextFormat () const
|
||||
* QDate maximumDate () const
|
||||
* QDate minimumDate () const
|
||||
* QDate selectedDate () const
|
||||
* void setDateTextFormat ( const QDate & date, const QTextCharFormat & format )
|
||||
* void setHeaderTextFormat ( const QTextCharFormat & format )
|
||||
* void setMaximumDate ( const QDate & date )
|
||||
* void setMinimumDate ( const QDate & date )
|
||||
* void setWeekdayTextFormat ( Qt::DayOfWeek dayOfWeek, const QTextCharFormat & format )
|
||||
* QTextCharFormat weekdayTextFormat ( Qt::DayOfWeek dayOfWeek ) const
|
||||
*/
|
||||
|
||||
|
||||
#include <QtGui/QCalendarWidget>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
QCalendarWidget( QWidget * parent = 0 )
|
||||
*/
|
||||
* QCalendarWidget ( QWidget * parent = 0 )
|
||||
* ~QCalendarWidget ()
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET )
|
||||
{
|
||||
hb_retptr( ( QCalendarWidget* ) new QCalendarWidget( hbqt_par_QWidget( 1 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int dateEditAcceptDelay () const
|
||||
*/
|
||||
* int dateEditAcceptDelay () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_DATEEDITACCEPTDELAY )
|
||||
{
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->dateEditAcceptDelay() );
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->dateEditAcceptDelay( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
Qt::DayOfWeek firstDayOfWeek () const
|
||||
*/
|
||||
* Qt::DayOfWeek firstDayOfWeek () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_FIRSTDAYOFWEEK )
|
||||
{
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->firstDayOfWeek() );
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->firstDayOfWeek( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
HorizontalHeaderFormat horizontalHeaderFormat () const
|
||||
*/
|
||||
* HorizontalHeaderFormat horizontalHeaderFormat () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_HORIZONTALHEADERFORMAT )
|
||||
{
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->horizontalHeaderFormat() );
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->horizontalHeaderFormat( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isDateEditEnabled () const
|
||||
*/
|
||||
* bool isDateEditEnabled () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_ISDATEEDITENABLED )
|
||||
{
|
||||
hb_retl( hbqt_par_QCalendarWidget( 1 )->isDateEditEnabled() );
|
||||
hb_retl( hbqt_par_QCalendarWidget( 1 )->isDateEditEnabled( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isGridVisible () const
|
||||
*/
|
||||
* bool isGridVisible () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_ISGRIDVISIBLE )
|
||||
{
|
||||
hb_retl( hbqt_par_QCalendarWidget( 1 )->isGridVisible() );
|
||||
hb_retl( hbqt_par_QCalendarWidget( 1 )->isGridVisible( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isNavigationBarVisible () const
|
||||
*/
|
||||
* bool isNavigationBarVisible () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_ISNAVIGATIONBARVISIBLE )
|
||||
{
|
||||
hb_retl( hbqt_par_QCalendarWidget( 1 )->isNavigationBarVisible() );
|
||||
hb_retl( hbqt_par_QCalendarWidget( 1 )->isNavigationBarVisible( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int monthShown () const
|
||||
*/
|
||||
* int monthShown () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_MONTHSHOWN )
|
||||
{
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->monthShown() );
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->monthShown( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
SelectionMode selectionMode () const
|
||||
*/
|
||||
* SelectionMode selectionMode () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SELECTIONMODE )
|
||||
{
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->selectionMode() );
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->selectionMode( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setDateEditAcceptDelay( int delay )
|
||||
*/
|
||||
* void setDateEditAcceptDelay ( int delay )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETDATEEDITACCEPTDELAY )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->setDateEditAcceptDelay( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setDateEditEnabled( bool enable )
|
||||
*/
|
||||
* void setDateEditEnabled ( bool enable )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETDATEEDITENABLED )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->setDateEditEnabled( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setFirstDayOfWeek( Qt::DayOfWeek dayOfWeek )
|
||||
*/
|
||||
* void setFirstDayOfWeek ( Qt::DayOfWeek dayOfWeek )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETFIRSTDAYOFWEEK )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->setFirstDayOfWeek( (Qt::DayOfWeek) hb_parni( 2 ) );
|
||||
hbqt_par_QCalendarWidget( 1 )->setFirstDayOfWeek( ( Qt::DayOfWeek ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setHorizontalHeaderFormat( HorizontalHeaderFormat format )
|
||||
*/
|
||||
* void setHorizontalHeaderFormat ( HorizontalHeaderFormat format )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETHORIZONTALHEADERFORMAT )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->setHorizontalHeaderFormat( ( QCalendarWidget::HorizontalHeaderFormat ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setSelectionMode( SelectionMode mode )
|
||||
*/
|
||||
* void setSelectionMode ( SelectionMode mode )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETSELECTIONMODE )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->setSelectionMode( (QCalendarWidget::SelectionMode) hb_parni( 2 ) );
|
||||
hbqt_par_QCalendarWidget( 1 )->setSelectionMode( ( QCalendarWidget::SelectionMode ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setVerticalHeaderFormat( VerticalHeaderFormat format )
|
||||
*/
|
||||
* void setVerticalHeaderFormat ( VerticalHeaderFormat format )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETVERTICALHEADERFORMAT )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->setVerticalHeaderFormat( ( QCalendarWidget::VerticalHeaderFormat ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
VerticalHeaderFormat verticalHeaderFormat () const
|
||||
*/
|
||||
* VerticalHeaderFormat verticalHeaderFormat () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_VERTICALHEADERFORMAT )
|
||||
{
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->verticalHeaderFormat() );
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->verticalHeaderFormat( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int yearShown () const
|
||||
*/
|
||||
* int yearShown () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_YEARSHOWN )
|
||||
{
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->yearShown() );
|
||||
hb_retni( hbqt_par_QCalendarWidget( 1 )->yearShown( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setCurrentPage( int year, int month )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETCURRENTPAGE )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->setCurrentPage( hb_parni( 2 ), hb_parni( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setGridVisible( bool show )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETGRIDVISIBLE )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->setGridVisible( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setNavigationBarVisible( bool visible )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETNAVIGATIONBARVISIBLE )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->setNavigationBarVisible( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void showNextMonth ()
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SHOWNEXTMONTH )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->showNextMonth();
|
||||
}
|
||||
|
||||
/*
|
||||
void showNextYear ()
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SHOWNEXTYEAR )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->showNextYear();
|
||||
}
|
||||
|
||||
/*
|
||||
void showPreviousMonth ()
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SHOWPREVIOUSMONTH )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->showPreviousMonth();
|
||||
}
|
||||
|
||||
/*
|
||||
void showPreviousYear ()
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SHOWPREVIOUSYEAR )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->showPreviousYear();
|
||||
}
|
||||
|
||||
/*
|
||||
void showSelectedDate ()
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SHOWSELECTEDDATE )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->showSelectedDate();
|
||||
}
|
||||
|
||||
/*
|
||||
void showToday ()
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SHOWTODAY )
|
||||
{
|
||||
hbqt_par_QCalendarWidget( 1 )->showToday();
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,51 +55,65 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
#include <QtGui/QCheckBox>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
QCheckBox ( QWidget * parent = 0 )
|
||||
QCheckBox ( const QString & text, QWidget * parent = 0 )
|
||||
*/
|
||||
* QCheckBox ( QWidget * parent = 0 )
|
||||
* QCheckBox ( const QString & text, QWidget * parent = 0 )
|
||||
*/
|
||||
HB_FUNC( QT_QCHECKBOX )
|
||||
{
|
||||
hb_retptr( ( QCheckBox* ) new QCheckBox( hbqt_par_QWidget( 1 ) ) );
|
||||
if( hb_pcount() >= 1 && HB_ISCHAR( 1 ) )
|
||||
{
|
||||
hb_retptr( ( QCheckBox* ) new QCheckBox( hbqt_par_QString( 1 ), hbqt_par_QWidget( 2 ) ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
hb_retptr( ( QCheckBox* ) new QCheckBox( hbqt_par_QWidget( 1 ) ) );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
Qt::CheckState checkState () const
|
||||
*/
|
||||
* Qt::CheckState checkState () const
|
||||
*/
|
||||
HB_FUNC( QT_QCHECKBOX_CHECKSTATE )
|
||||
{
|
||||
hb_retni( hbqt_par_QCheckBox( 1 )->checkState() );
|
||||
hb_retni( hbqt_par_QCheckBox( 1 )->checkState( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isTristate () const
|
||||
*/
|
||||
* bool isTristate () const
|
||||
*/
|
||||
HB_FUNC( QT_QCHECKBOX_ISTRISTATE )
|
||||
{
|
||||
hb_retl( hbqt_par_QCheckBox( 1 )->isTristate() );
|
||||
hb_retl( hbqt_par_QCheckBox( 1 )->isTristate( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setCheckState ( Qt::CheckState state )
|
||||
*/
|
||||
* void setCheckState ( Qt::CheckState state )
|
||||
*/
|
||||
HB_FUNC( QT_QCHECKBOX_SETCHECKSTATE )
|
||||
{
|
||||
hbqt_par_QCheckBox( 1 )->setCheckState( ( Qt::CheckState ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setTristate ( bool y = true )
|
||||
*/
|
||||
* void setTristate ( bool y = true )
|
||||
*/
|
||||
HB_FUNC( QT_QCHECKBOX_SETTRISTATE )
|
||||
{
|
||||
hbqt_par_QCheckBox( 1 )->setTristate( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
428
harbour/contrib/hbqt/hbqt_qcolor.cpp
Normal file
428
harbour/contrib/hbqt/hbqt_qcolor.cpp
Normal file
@@ -0,0 +1,428 @@
|
||||
/*
|
||||
* $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 "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*
|
||||
* Constructed[ 40/56 [ 71.43% ] ]
|
||||
*
|
||||
* *** Unconvered Prototypes ***
|
||||
* -----------------------------
|
||||
*
|
||||
* QColor convertTo ( Spec colorSpec ) const
|
||||
* QColor darker ( int factor = 200 ) const
|
||||
* void getCmyk ( int * c, int * m, int * y, int * k, int * a = 0 )
|
||||
* void getCmykF ( qreal * c, qreal * m, qreal * y, qreal * k, qreal * a = 0 )
|
||||
* void getHsv ( int * h, int * s, int * v, int * a = 0 ) const
|
||||
* void getHsvF ( qreal * h, qreal * s, qreal * v, qreal * a = 0 ) const
|
||||
* void getRgb ( int * r, int * g, int * b, int * a = 0 ) const
|
||||
* void getRgbF ( qreal * r, qreal * g, qreal * b, qreal * a = 0 ) const
|
||||
* QColor lighter ( int factor = 150 ) const
|
||||
* QRgb rgb () const
|
||||
* QRgb rgba () const
|
||||
* void setRgb ( QRgb rgb )
|
||||
* void setRgba ( QRgb rgba )
|
||||
* QColor toCmyk () const
|
||||
* QColor toHsv () const
|
||||
* QColor toRgb () const
|
||||
*/
|
||||
|
||||
|
||||
#include <QtGui/QColor>
|
||||
|
||||
/*
|
||||
QColor ()
|
||||
QColor ( int r, int g, int b, int a = 255 )
|
||||
QColor ( QRgb color )
|
||||
QColor ( const QString & name )
|
||||
QColor ( const char * name )
|
||||
QColor ( const QColor & color )
|
||||
QColor ( Qt::GlobalColor color )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
* int alpha () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_ALPHA )
|
||||
{
|
||||
hb_retni( hbqt_par_QColor( 1 )->alpha( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* qreal alphaF () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_ALPHAF )
|
||||
{
|
||||
hb_retnd( hbqt_par_QColor( 1 )->alphaF( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int black () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_BLACK )
|
||||
{
|
||||
hb_retni( hbqt_par_QColor( 1 )->black( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* qreal blackF () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_BLACKF )
|
||||
{
|
||||
hb_retnd( hbqt_par_QColor( 1 )->blackF( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int blue () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_BLUE )
|
||||
{
|
||||
hb_retni( hbqt_par_QColor( 1 )->blue( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* qreal blueF () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_BLUEF )
|
||||
{
|
||||
hb_retnd( hbqt_par_QColor( 1 )->blueF( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int cyan () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_CYAN )
|
||||
{
|
||||
hb_retni( hbqt_par_QColor( 1 )->cyan( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* qreal cyanF () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_CYANF )
|
||||
{
|
||||
hb_retnd( hbqt_par_QColor( 1 )->cyanF( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int green () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_GREEN )
|
||||
{
|
||||
hb_retni( hbqt_par_QColor( 1 )->green( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* qreal greenF () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_GREENF )
|
||||
{
|
||||
hb_retnd( hbqt_par_QColor( 1 )->greenF( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int hue () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_HUE )
|
||||
{
|
||||
hb_retni( hbqt_par_QColor( 1 )->hue( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* qreal hueF () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_HUEF )
|
||||
{
|
||||
hb_retnd( hbqt_par_QColor( 1 )->hueF( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool isValid () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_ISVALID )
|
||||
{
|
||||
hb_retl( hbqt_par_QColor( 1 )->isValid( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int magenta () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_MAGENTA )
|
||||
{
|
||||
hb_retni( hbqt_par_QColor( 1 )->magenta( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* qreal magentaF () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_MAGENTAF )
|
||||
{
|
||||
hb_retnd( hbqt_par_QColor( 1 )->magentaF( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QString name () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_NAME )
|
||||
{
|
||||
hb_retc( hbqt_par_QColor( 1 )->name( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
* int red () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_RED )
|
||||
{
|
||||
hb_retni( hbqt_par_QColor( 1 )->red( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* qreal redF () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_REDF )
|
||||
{
|
||||
hb_retnd( hbqt_par_QColor( 1 )->redF( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int saturation () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SATURATION )
|
||||
{
|
||||
hb_retni( hbqt_par_QColor( 1 )->saturation( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* qreal saturationF () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SATURATIONF )
|
||||
{
|
||||
hb_retnd( hbqt_par_QColor( 1 )->saturationF( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setAlpha ( int alpha )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETALPHA )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setAlpha( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setAlphaF ( qreal alpha )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETALPHAF )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setAlphaF( hb_parnd( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setBlue ( int blue )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETBLUE )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setBlue( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setBlueF ( qreal blue )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETBLUEF )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setBlueF( hb_parnd( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setCmyk ( int c, int m, int y, int k, int a = 255 )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETCMYK )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setCmyk( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ), hb_parni( 6 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setCmykF ( qreal c, qreal m, qreal y, qreal k, qreal a = 1.0 )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETCMYKF )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setCmykF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ), hb_parnd( 6 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setGreen ( int green )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETGREEN )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setGreen( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setGreenF ( qreal green )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETGREENF )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setGreenF( hb_parnd( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setHsv ( int h, int s, int v, int a = 255 )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETHSV )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setHsv( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setHsvF ( qreal h, qreal s, qreal v, qreal a = 1.0 )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETHSVF )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setHsvF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setNamedColor ( const QString & name )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETNAMEDCOLOR )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setNamedColor( hbqt_par_QString( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setRed ( int red )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETRED )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setRed( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setRedF ( qreal red )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETREDF )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setRedF( hb_parnd( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setRgb ( int r, int g, int b, int a = 255 )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETRGB )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setRgb( hb_parni( 2 ), hb_parni( 3 ), hb_parni( 4 ), hb_parni( 5 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setRgbF ( qreal r, qreal g, qreal b, qreal a = 1.0 )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SETRGBF )
|
||||
{
|
||||
hbqt_par_QColor( 1 )->setRgbF( hb_parnd( 2 ), hb_parnd( 3 ), hb_parnd( 4 ), hb_parnd( 5 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* Spec spec () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_SPEC )
|
||||
{
|
||||
hb_retni( hbqt_par_QColor( 1 )->spec( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int value () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_VALUE )
|
||||
{
|
||||
hb_retni( hbqt_par_QColor( 1 )->value( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* qreal valueF () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_VALUEF )
|
||||
{
|
||||
hb_retnd( hbqt_par_QColor( 1 )->valueF( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int yellow () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_YELLOW )
|
||||
{
|
||||
hb_retni( hbqt_par_QColor( 1 )->yellow( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* qreal yellowF () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLOR_YELLOWF )
|
||||
{
|
||||
hb_retnd( hbqt_par_QColor( 1 )->yellowF( ) );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,59 +55,101 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*
|
||||
* Constructed[ 7/10 [ 70.00% ] ]
|
||||
*
|
||||
* *** Unconvered Prototypes ***
|
||||
* -----------------------------
|
||||
*
|
||||
* QColor currentColor () const
|
||||
* QColor selectedColor () const
|
||||
* void setCurrentColor ( const QColor & color )
|
||||
*/
|
||||
|
||||
|
||||
#include <QtGui/QColorDialog>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
/*
|
||||
QColorDialog ( QWidget * parent = 0 )
|
||||
QColorDialog ( const QColor & initial, QWidget * parent = 0 )
|
||||
*/
|
||||
* QColorDialog ( QWidget * parent = 0 )
|
||||
* QColorDialog ( const QColor & initial, QWidget * parent = 0 )
|
||||
* ~QColorDialog ()
|
||||
*/
|
||||
HB_FUNC( QT_QCOLORDIALOG )
|
||||
{
|
||||
hb_retptr( ( QColorDialog* ) new QColorDialog( hbqt_par_QWidget( 1 ) ) );
|
||||
if( hb_pcount() >= 1 && HB_ISNUM( 1 ) )
|
||||
{
|
||||
hb_retptr( ( QColorDialog* ) new QColorDialog( hb_parni( 1 ),
|
||||
hbqt_par_QWidget( 2 ) ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
hb_retptr( ( QColorDialog* ) new QColorDialog( hbqt_par_QWidget( 1 ) ) );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
void open ()
|
||||
*/
|
||||
* void open ()
|
||||
*/
|
||||
HB_FUNC( QT_QCOLORDIALOG_OPEN )
|
||||
{
|
||||
hbqt_par_QColorDialog( 1 )->open ( );
|
||||
hbqt_par_QColorDialog( 1 )->open( );
|
||||
}
|
||||
|
||||
/*
|
||||
ColorDialogOptions options () const
|
||||
*/
|
||||
* void open ( QObject * receiver, const char * member )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLORDIALOG_OPEN_1 )
|
||||
{
|
||||
hbqt_par_QColorDialog( 1 )->open( hbqt_par_QObject( 2 ), hbqt_par_char( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* ColorDialogOptions options () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLORDIALOG_OPTIONS )
|
||||
{
|
||||
hb_retni( hbqt_par_QColorDialog( 1 )->options() );
|
||||
hb_retni( hbqt_par_QColorDialog( 1 )->options( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setOption ( ColorDialogOption option, bool on = true )
|
||||
*/
|
||||
* void setOption ( ColorDialogOption option, bool on = true )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLORDIALOG_SETOPTION )
|
||||
{
|
||||
hbqt_par_QColorDialog( 1 )->setOption( ( QColorDialog::ColorDialogOption ) hb_parni( 2 ), hb_parl( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setOptions ( ColorDialogOptions options )
|
||||
*/
|
||||
* void setOptions ( ColorDialogOptions options )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLORDIALOG_SETOPTIONS )
|
||||
{
|
||||
hbqt_par_QColorDialog( 1 )->setOptions( ( QColorDialog::ColorDialogOptions ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool testOption ( ColorDialogOption option ) const
|
||||
*/
|
||||
* virtual void setVisible ( bool visible )
|
||||
*/
|
||||
HB_FUNC( QT_QCOLORDIALOG_SETVISIBLE )
|
||||
{
|
||||
hbqt_par_QColorDialog( 1 )->setVisible( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool testOption ( ColorDialogOption option ) const
|
||||
*/
|
||||
HB_FUNC( QT_QCOLORDIALOG_TESTOPTION )
|
||||
{
|
||||
hb_retl( hbqt_par_QColorDialog( 1 )->testOption( ( QColorDialog::ColorDialogOption ) hb_parni( 2 ) ) );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,323 +55,381 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*
|
||||
* Constructed[ 42/53 [ 79.25% ] ]
|
||||
*
|
||||
* *** Unconvered Prototypes ***
|
||||
* -----------------------------
|
||||
*
|
||||
* void addItem ( const QString & text, const QVariant & userData = QVariant() )
|
||||
* void addItem ( const QIcon & icon, const QString & text, const QVariant & userData = QVariant() )
|
||||
* void addItems ( const QStringList & texts )
|
||||
* void insertItem ( int index, const QString & text, const QVariant & userData = QVariant() )
|
||||
* void insertItem ( int index, const QIcon & icon, const QString & text, const QVariant & userData = QVariant() )
|
||||
* void insertItems ( int index, const QStringList & list )
|
||||
* QVariant itemData ( int index, int role = Qt::UserRole ) const
|
||||
* QIcon itemIcon ( int index ) const
|
||||
* QModelIndex rootModelIndex () const
|
||||
* void setItemData ( int index, const QVariant & value, int role = Qt::UserRole )
|
||||
* void setRootModelIndex ( const QModelIndex & index )
|
||||
*/
|
||||
|
||||
|
||||
#include <QtGui/QComboBox>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
QComboBox( QWidget * parent = 0 )
|
||||
*/
|
||||
* QComboBox ( QWidget * parent = 0 )
|
||||
* ~QComboBox ()
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX )
|
||||
{
|
||||
hb_retptr( ( QComboBox* ) new QComboBox( hbqt_par_QWidget( 1 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void addItem( const QString & text, const QVariant & userData = QVariant() )
|
||||
void addItem( const QIcon & icon, const QString & text, const QVariant & userData = QVariant() )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_ADDITEM )
|
||||
* QCompleter * completer () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_COMPLETER )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->addItem( hbqt_par_QString( 2 ) );
|
||||
hb_retptr( ( QCompleter* ) hbqt_par_QComboBox( 1 )->completer( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int count () const
|
||||
*/
|
||||
* int count () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_COUNT )
|
||||
{
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->count() );
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->count( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int currentIndex () const
|
||||
*/
|
||||
* int currentIndex () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_CURRENTINDEX )
|
||||
{
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->currentIndex() );
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->currentIndex( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QString currentText () const
|
||||
*/
|
||||
* QString currentText () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_CURRENTTEXT )
|
||||
{
|
||||
hb_retc( hbqt_par_QComboBox( 1 )->currentText().toLatin1().data() );
|
||||
hb_retc( hbqt_par_QComboBox( 1 )->currentText( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
bool duplicatesEnabled () const
|
||||
*/
|
||||
* bool duplicatesEnabled () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_DUPLICATESENABLED )
|
||||
{
|
||||
hb_retl( hbqt_par_QComboBox( 1 )->duplicatesEnabled() );
|
||||
hb_retl( hbqt_par_QComboBox( 1 )->duplicatesEnabled( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool hasFrame () const
|
||||
*/
|
||||
* bool hasFrame () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_HASFRAME )
|
||||
{
|
||||
hb_retl( hbqt_par_QComboBox( 1 )->hasFrame() );
|
||||
hb_retl( hbqt_par_QComboBox( 1 )->hasFrame( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
InsertPolicy insertPolicy () const
|
||||
*/
|
||||
* virtual void hidePopup ()
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_HIDEPOPUP )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->hidePopup( );
|
||||
}
|
||||
|
||||
/*
|
||||
* QSize iconSize () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_ICONSIZE )
|
||||
{
|
||||
hbqt_ret_QSize( hbqt_par_QComboBox( 1 )->iconSize( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* InsertPolicy insertPolicy () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_INSERTPOLICY )
|
||||
{
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->insertPolicy() );
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->insertPolicy( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void insertSeparator( int index )
|
||||
*/
|
||||
* void insertSeparator ( int index )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_INSERTSEPARATOR )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->insertSeparator( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isEditable () const
|
||||
*/
|
||||
* bool isEditable () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_ISEDITABLE )
|
||||
{
|
||||
hb_retl( hbqt_par_QComboBox( 1 )->isEditable() );
|
||||
hb_retl( hbqt_par_QComboBox( 1 )->isEditable( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QAbstractItemDelegate * itemDelegate () const
|
||||
*/
|
||||
* QAbstractItemDelegate * itemDelegate () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_ITEMDELEGATE )
|
||||
{
|
||||
hb_retptr( ( QAbstractItemDelegate * ) hbqt_par_QComboBox( 1 )->itemDelegate() );
|
||||
hb_retptr( ( QAbstractItemDelegate* ) hbqt_par_QComboBox( 1 )->itemDelegate( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QString itemText( int index ) const
|
||||
*/
|
||||
* QString itemText ( int index ) const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_ITEMTEXT )
|
||||
{
|
||||
hb_retc( hbqt_par_QComboBox( 1 )->itemText( hb_parni( 2 ) ).toLatin1().data() );
|
||||
hb_retc( hbqt_par_QComboBox( 1 )->itemText( hb_parni( 2 )).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
QLineEdit * lineEdit () const
|
||||
*/
|
||||
* QLineEdit * lineEdit () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_LINEEDIT )
|
||||
{
|
||||
hb_retptr( ( QLineEdit* ) hbqt_par_QComboBox( 1 )->lineEdit() );
|
||||
hb_retptr( ( QLineEdit* ) hbqt_par_QComboBox( 1 )->lineEdit( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int maxCount () const
|
||||
*/
|
||||
* int maxCount () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_MAXCOUNT )
|
||||
{
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->maxCount() );
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->maxCount( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int maxVisibleItems () const
|
||||
*/
|
||||
* int maxVisibleItems () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_MAXVISIBLEITEMS )
|
||||
{
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->maxVisibleItems() );
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->maxVisibleItems( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int minimumContentsLength () const
|
||||
*/
|
||||
* int minimumContentsLength () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_MINIMUMCONTENTSLENGTH )
|
||||
{
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->minimumContentsLength() );
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->minimumContentsLength( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QAbstractItemModel * model () const
|
||||
*/
|
||||
* QAbstractItemModel * model () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_MODEL )
|
||||
{
|
||||
hb_retptr( ( QAbstractItemModel* ) hbqt_par_QComboBox( 1 )->model() );
|
||||
hb_retptr( ( QAbstractItemModel* ) hbqt_par_QComboBox( 1 )->model( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int modelColumn () const
|
||||
*/
|
||||
* int modelColumn () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_MODELCOLUMN )
|
||||
{
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->modelColumn() );
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->modelColumn( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void removeItem( int index )
|
||||
*/
|
||||
* void removeItem ( int index )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_REMOVEITEM )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->removeItem ( hb_parni( 2 ) );
|
||||
hbqt_par_QComboBox( 1 )->removeItem( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setDuplicatesEnabled( bool enable )
|
||||
*/
|
||||
* void setCompleter ( QCompleter * completer )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETCOMPLETER )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setCompleter( hbqt_par_QCompleter( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setDuplicatesEnabled ( bool enable )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETDUPLICATESENABLED )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setDuplicatesEnabled( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setEditable( bool editable )
|
||||
*/
|
||||
* void setEditable ( bool editable )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETEDITABLE )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setEditable( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setFrame( bool )
|
||||
*/
|
||||
* void setFrame ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETFRAME )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setFrame( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setInsertPolicy( InsertPolicy policy )
|
||||
*/
|
||||
* void setIconSize ( const QSize & size )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETICONSIZE )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setIconSize( hbqt_const_QSize( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setInsertPolicy ( InsertPolicy policy )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETINSERTPOLICY )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setInsertPolicy( ( QComboBox::InsertPolicy ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setItemDelegate( QAbstractItemDelegate * delegate )
|
||||
*/
|
||||
* void setItemDelegate ( QAbstractItemDelegate * delegate )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETITEMDELEGATE )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setItemDelegate( hbqt_par_QAbstractItemDelegate( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setItemText( int index, const QString & text )
|
||||
*/
|
||||
* void setItemIcon ( int index, const QIcon & icon )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETITEMICON )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setItemIcon( hb_parni( 2 ), QIcon( hbqt_par_QString( 3 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setItemText ( int index, const QString & text )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETITEMTEXT )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setItemText( hb_parni( 2 ), hbqt_par_QString( 3 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setLineEdit( QLineEdit * edit )
|
||||
*/
|
||||
* void setLineEdit ( QLineEdit * edit )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETLINEEDIT )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setLineEdit( hbqt_par_QLineEdit( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setMaxCount( int max )
|
||||
*/
|
||||
* void setMaxCount ( int max )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETMAXCOUNT )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setMaxCount( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setMaxVisibleItems( int maxItems )
|
||||
*/
|
||||
* void setMaxVisibleItems ( int maxItems )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETMAXVISIBLEITEMS )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setMaxVisibleItems( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setMinimumContentsLength( int characters )
|
||||
*/
|
||||
* void setMinimumContentsLength ( int characters )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETMINIMUMCONTENTSLENGTH )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setMinimumContentsLength( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setModel( QAbstractItemModel * model )
|
||||
*/
|
||||
* void setModel ( QAbstractItemModel * model )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETMODEL )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setModel( hbqt_par_QAbstractItemModel( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setModelColumn( int visibleColumn )
|
||||
*/
|
||||
* void setModelColumn ( int visibleColumn )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETMODELCOLUMN )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setModelColumn( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setSizeAdjustPolicy( SizeAdjustPolicy policy )
|
||||
*/
|
||||
* void setSizeAdjustPolicy ( SizeAdjustPolicy policy )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETSIZEADJUSTPOLICY )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setSizeAdjustPolicy( ( QComboBox::SizeAdjustPolicy ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setView( QAbstractItemView * itemView )
|
||||
*/
|
||||
* void setValidator ( const QValidator * validator )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETVALIDATOR )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setValidator( hbqt_par_QValidator( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setView ( QAbstractItemView * itemView )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETVIEW )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setView( hbqt_par_QAbstractItemView( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
SizeAdjustPolicy sizeAdjustPolicy () const
|
||||
*/
|
||||
* virtual void showPopup ()
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SHOWPOPUP )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->showPopup( );
|
||||
}
|
||||
|
||||
/*
|
||||
* SizeAdjustPolicy sizeAdjustPolicy () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SIZEADJUSTPOLICY )
|
||||
{
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->sizeAdjustPolicy() );
|
||||
hb_retni( hbqt_par_QComboBox( 1 )->sizeAdjustPolicy( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QAbstractItemView * view () const
|
||||
*/
|
||||
* const QValidator * validator () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_VALIDATOR )
|
||||
{
|
||||
hb_retptr( ( QValidator* ) hbqt_par_QComboBox( 1 )->validator( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QAbstractItemView * view () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_VIEW )
|
||||
{
|
||||
hb_retptr( ( QAbstractItemView* ) hbqt_par_QComboBox( 1 )->view() );
|
||||
hb_retptr( ( QAbstractItemView* ) hbqt_par_QComboBox( 1 )->view( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void clear ()
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_CLEAR )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->clear();
|
||||
}
|
||||
|
||||
/*
|
||||
void clearEditText ()
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_CLEAREDITTEXT )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->clearEditText();
|
||||
}
|
||||
|
||||
/*
|
||||
void setCurrentIndex( int index )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETCURRENTINDEX )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setCurrentIndex( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setEditText( const QString & text )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMBOBOX_SETEDITTEXT )
|
||||
{
|
||||
hbqt_par_QComboBox( 1 )->setEditText( hbqt_par_QString( 2 ) );
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,52 +55,43 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
#include <QtGui/QCommandLinkButton>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
QCommandLinkButton ( QWidget * parent = 0 )
|
||||
QCommandLinkButton ( const QString & text, QWidget * parent = 0 )
|
||||
QCommandLinkButton ( const QString & text, const QString & description, QWidget * parent = 0 )
|
||||
*/
|
||||
* QCommandLinkButton ( QWidget * parent = 0 )
|
||||
* QCommandLinkButton ( const QString & text, QWidget * parent = 0 )
|
||||
* QCommandLinkButton ( const QString & text, const QString & description, QWidget * parent = 0 )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMMANDLINKBUTTON )
|
||||
{
|
||||
hb_retptr( ( QCommandLinkButton* ) new QCommandLinkButton( hbqt_par_QWidget( 1 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
QString description () const
|
||||
*/
|
||||
* QString description () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMMANDLINKBUTTON_DESCRIPTION )
|
||||
{
|
||||
hb_retc( hbqt_par_QCommandLinkButton( 1 )->description().toLatin1().data() );
|
||||
hb_retc( hbqt_par_QCommandLinkButton( 1 )->description( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
void setDescription ( const QString & description )
|
||||
*/
|
||||
* void setDescription ( const QString & description )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMMANDLINKBUTTON_SETDESCRIPTION )
|
||||
{
|
||||
hbqt_par_QCommandLinkButton( 1 )->setDescription( hbqt_par_QString( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isFlat () const
|
||||
*/
|
||||
HB_FUNC( QT_QCOMMANDLINKBUTTON_ISFLAT )
|
||||
{
|
||||
hb_retl( hbqt_par_QCommandLinkButton( 1 )->isFlat() );
|
||||
}
|
||||
|
||||
/*
|
||||
void setFlat ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QCOMMANDLINKBUTTON_SETFLAT )
|
||||
{
|
||||
hbqt_par_QCommandLinkButton( 1 )->setFlat( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,9 +55,50 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*
|
||||
* Constructed[ 1/2 [ 50.00% ] ]
|
||||
*
|
||||
* *** Unconvered Prototypes ***
|
||||
* -----------------------------
|
||||
*
|
||||
* EventFilter setEventFilter ( EventFilter filter )
|
||||
*
|
||||
* *** Commented out protos which construct fine but do not compile ***
|
||||
*
|
||||
* // bool filterEvent ( void * message, long * result )
|
||||
* // virtual bool winEventFilter ( MSG * msg, long * result )
|
||||
*/
|
||||
|
||||
|
||||
#include <QtCore/QCoreApplication>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
* QCoreApplication ( int & argc, char ** argv )
|
||||
* ~QCoreApplication ()
|
||||
*/
|
||||
#if 0
|
||||
HB_FUNC( QT_QCOREAPPLICATION )
|
||||
{
|
||||
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* virtual bool notify ( QObject * receiver, QEvent * event )
|
||||
*/
|
||||
HB_FUNC( QT_QCOREAPPLICATION_NOTIFY )
|
||||
{
|
||||
hb_retl( hbqt_par_QCoreApplication( 1 )->notify( hbqt_par_QObject( 2 ), hbqt_par_QEvent( 3 ) ) );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,320 +0,0 @@
|
||||
/*
|
||||
* $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 "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
#if QT_VERSION >= 0x040500
|
||||
|
||||
#include <QtGui/QCalendarWidget>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
/*
|
||||
QCalendarWidget( QWidget * parent = 0 )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET )
|
||||
{
|
||||
QCalendarWidget * cal = NULL;
|
||||
QWidget * parent = ( QWidget* ) hb_parptr( 1 );
|
||||
cal = new QCalendarWidget( parent );
|
||||
hb_retptr( ( QCalendarWidget* ) cal );
|
||||
}
|
||||
|
||||
/*
|
||||
int dateEditAcceptDelay () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_DATEEDITACCEPTDELAY )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
int i = par1->dateEditAcceptDelay();
|
||||
hb_retni( i );
|
||||
}
|
||||
|
||||
/*
|
||||
Qt::DayOfWeek firstDayOfWeek () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_FIRSTDAYOFWEEK )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
int i = par1->firstDayOfWeek();
|
||||
hb_retni( i );
|
||||
}
|
||||
|
||||
/*
|
||||
HorizontalHeaderFormat horizontalHeaderFormat () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_HORIZONTALHEADERFORMAT )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
int i = par1->horizontalHeaderFormat();
|
||||
hb_retni( i );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isDateEditEnabled () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_ISDATEEDITENABLED )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
bool b = par1->isDateEditEnabled();
|
||||
hb_retl( b );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isGridVisible () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_ISGRIDVISIBLE )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
bool b = par1->isGridVisible();
|
||||
hb_retl( b );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isNavigationBarVisible () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_ISNAVIGATIONBARVISIBLE )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
bool b = par1->isNavigationBarVisible();
|
||||
hb_retl( b );
|
||||
}
|
||||
|
||||
/*
|
||||
int monthShown () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_MONTHSHOWN )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
int i = par1->monthShown();
|
||||
hb_retni( i );
|
||||
}
|
||||
|
||||
/*
|
||||
SelectionMode selectionMode () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SELECTIONMODE )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
int i = par1->selectionMode();
|
||||
hb_retni( i );
|
||||
}
|
||||
|
||||
/*
|
||||
void setDateEditAcceptDelay( int delay )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETDATEEDITACCEPTDELAY )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
int par2 = hb_parni( 2 );
|
||||
par1->setDateEditAcceptDelay( par2 );
|
||||
}
|
||||
|
||||
/*
|
||||
void setDateEditEnabled( bool enable )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETDATEEDITENABLED )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
bool par2 = hb_parl( 2 );
|
||||
par1->setDateEditEnabled( par2 );
|
||||
}
|
||||
|
||||
/*
|
||||
void setFirstDayOfWeek( Qt::DayOfWeek dayOfWeek )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETFIRSTDAYOFWEEK )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
int par2 = hb_parni( 2 );
|
||||
par1->setFirstDayOfWeek( ( Qt::DayOfWeek ) par2 );
|
||||
}
|
||||
|
||||
/*
|
||||
void setHorizontalHeaderFormat( HorizontalHeaderFormat format )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETHORIZONTALHEADERFORMAT )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
int par2 = hb_parni( 2 );
|
||||
par1->setHorizontalHeaderFormat( ( QCalendarWidget::HorizontalHeaderFormat ) par2 );
|
||||
}
|
||||
|
||||
/*
|
||||
void setSelectionMode( SelectionMode mode )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETSELECTIONMODE )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
int par2 = hb_parni( 2 );
|
||||
par1->setSelectionMode( ( QCalendarWidget::SelectionMode ) par2 );
|
||||
}
|
||||
|
||||
/*
|
||||
void setVerticalHeaderFormat( VerticalHeaderFormat format )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETVERTICALHEADERFORMAT )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
int par2 = hb_parni( 2 );
|
||||
par1->setVerticalHeaderFormat( ( QCalendarWidget::VerticalHeaderFormat ) par2 );
|
||||
}
|
||||
|
||||
/*
|
||||
VerticalHeaderFormat verticalHeaderFormat () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_VERTICALHEADERFORMAT )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
int i = par1->verticalHeaderFormat();
|
||||
hb_retni( i );
|
||||
}
|
||||
|
||||
/*
|
||||
int yearShown () const
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_YEARSHOWN )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
int i = par1->yearShown();
|
||||
hb_retni( i );
|
||||
}
|
||||
|
||||
/*
|
||||
void setCurrentPage( int year, int month )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETCURRENTPAGE )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
int par2 = hb_parni( 2 );
|
||||
int par3 = hb_parni( 3 );
|
||||
par1->setCurrentPage( par2, par3 );
|
||||
}
|
||||
|
||||
/*
|
||||
void setGridVisible( bool show )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETGRIDVISIBLE )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
bool par2 = hb_parl( 2 );
|
||||
par1->setGridVisible( par2 );
|
||||
}
|
||||
|
||||
/*
|
||||
void setNavigationBarVisible( bool visible )
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SETNAVIGATIONBARVISIBLE )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
bool par2 = hb_parl( 2 );
|
||||
par1->setNavigationBarVisible( par2 );
|
||||
}
|
||||
|
||||
/*
|
||||
void showNextMonth ()
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SHOWNEXTMONTH )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
par1->showNextMonth();
|
||||
}
|
||||
|
||||
/*
|
||||
void showNextYear ()
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SHOWNEXTYEAR )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
par1->showNextYear();
|
||||
}
|
||||
|
||||
/*
|
||||
void showPreviousMonth ()
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SHOWPREVIOUSMONTH )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
par1->showPreviousMonth();
|
||||
}
|
||||
|
||||
/*
|
||||
void showPreviousYear ()
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SHOWPREVIOUSYEAR )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
par1->showPreviousYear();
|
||||
}
|
||||
|
||||
/*
|
||||
void showSelectedDate ()
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SHOWSELECTEDDATE )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
par1->showSelectedDate();
|
||||
}
|
||||
|
||||
/*
|
||||
void showToday ()
|
||||
*/
|
||||
HB_FUNC( QT_QCALENDARWIDGET_SHOWTODAY )
|
||||
{
|
||||
QCalendarWidget * par1 = ( QCalendarWidget * ) hb_parptr( 1 );
|
||||
par1->showToday();
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,19 +55,26 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
#include <QtGui/QDateEdit>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
QDateEdit ( QWidget * parent = 0 )
|
||||
QDateEdit ( const QDate & date, QWidget * parent = 0 )
|
||||
*/
|
||||
* QDateEdit ( QWidget * parent = 0 )
|
||||
* QDateEdit ( const QDate & date, QWidget * parent = 0 )
|
||||
*/
|
||||
HB_FUNC( QT_QDATEEDIT )
|
||||
{
|
||||
hb_retptr( ( QDateEdit* ) new QDateEdit( hbqt_par_QWidget( 1 ) ) );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,21 +55,238 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
/*
|
||||
* Constructed[ 23/41 [ 56.10% ] ]
|
||||
*
|
||||
* *** Unconvered Prototypes ***
|
||||
* -----------------------------
|
||||
*
|
||||
* QDate date () const
|
||||
* QDateTime dateTime () const
|
||||
* QDate maximumDate () const
|
||||
* QDateTime maximumDateTime () const
|
||||
* QTime maximumTime () const
|
||||
* QDate minimumDate () const
|
||||
* QDateTime minimumDateTime () const
|
||||
* QTime minimumTime () const
|
||||
* void setDateRange ( const QDate & min, const QDate & max )
|
||||
* void setDateTimeRange ( const QDateTime & min, const QDateTime & max )
|
||||
* void setMaximumDate ( const QDate & max )
|
||||
* void setMaximumDateTime ( const QDateTime & dt )
|
||||
* void setMaximumTime ( const QTime & max )
|
||||
* void setMinimumDate ( const QDate & min )
|
||||
* void setMinimumDateTime ( const QDateTime & dt )
|
||||
* void setMinimumTime ( const QTime & min )
|
||||
* void setTimeRange ( const QTime & min, const QTime & max )
|
||||
* QTime time () const
|
||||
*/
|
||||
|
||||
|
||||
#include <QtGui/QDateTimeEdit>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
QDateTimeEdit ( QWidget * parent = 0 )
|
||||
QDateTimeEdit ( const QDateTime & datetime, QWidget * parent = 0 )
|
||||
QDateTimeEdit ( const QDate & date, QWidget * parent = 0 )
|
||||
QDateTimeEdit ( const QTime & time, QWidget * parent = 0 )
|
||||
*/
|
||||
* QDateTimeEdit ( QWidget * parent = 0 )
|
||||
* QDateTimeEdit ( const QDateTime & datetime, QWidget * parent = 0 )
|
||||
* QDateTimeEdit ( const QDate & date, QWidget * parent = 0 )
|
||||
* QDateTimeEdit ( const QTime & time, QWidget * parent = 0 )
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT )
|
||||
{
|
||||
hb_retptr( ( QDateTimeEdit* ) new QDateTimeEdit( hbqt_par_QWidget( 1 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool calendarPopup () const
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_CALENDARPOPUP )
|
||||
{
|
||||
hb_retl( hbqt_par_QDateTimeEdit( 1 )->calendarPopup( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QCalendarWidget * calendarWidget () const
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_CALENDARWIDGET )
|
||||
{
|
||||
hb_retptr( ( QCalendarWidget* ) hbqt_par_QDateTimeEdit( 1 )->calendarWidget( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void clearMaximumDate ()
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_CLEARMAXIMUMDATE )
|
||||
{
|
||||
hbqt_par_QDateTimeEdit( 1 )->clearMaximumDate( );
|
||||
}
|
||||
|
||||
/*
|
||||
* void clearMaximumDateTime ()
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_CLEARMAXIMUMDATETIME )
|
||||
{
|
||||
hbqt_par_QDateTimeEdit( 1 )->clearMaximumDateTime( );
|
||||
}
|
||||
|
||||
/*
|
||||
* void clearMaximumTime ()
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_CLEARMAXIMUMTIME )
|
||||
{
|
||||
hbqt_par_QDateTimeEdit( 1 )->clearMaximumTime( );
|
||||
}
|
||||
|
||||
/*
|
||||
* void clearMinimumDate ()
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_CLEARMINIMUMDATE )
|
||||
{
|
||||
hbqt_par_QDateTimeEdit( 1 )->clearMinimumDate( );
|
||||
}
|
||||
|
||||
/*
|
||||
* void clearMinimumDateTime ()
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_CLEARMINIMUMDATETIME )
|
||||
{
|
||||
hbqt_par_QDateTimeEdit( 1 )->clearMinimumDateTime( );
|
||||
}
|
||||
|
||||
/*
|
||||
* void clearMinimumTime ()
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_CLEARMINIMUMTIME )
|
||||
{
|
||||
hbqt_par_QDateTimeEdit( 1 )->clearMinimumTime( );
|
||||
}
|
||||
|
||||
/*
|
||||
* Section currentSection () const
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_CURRENTSECTION )
|
||||
{
|
||||
hb_retni( hbqt_par_QDateTimeEdit( 1 )->currentSection( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int currentSectionIndex () const
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_CURRENTSECTIONINDEX )
|
||||
{
|
||||
hb_retni( hbqt_par_QDateTimeEdit( 1 )->currentSectionIndex( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QString displayFormat () const
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_DISPLAYFORMAT )
|
||||
{
|
||||
hb_retc( hbqt_par_QDateTimeEdit( 1 )->displayFormat( ).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
* Sections displayedSections () const
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_DISPLAYEDSECTIONS )
|
||||
{
|
||||
hb_retni( hbqt_par_QDateTimeEdit( 1 )->displayedSections( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* Section sectionAt ( int index ) const
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_SECTIONAT )
|
||||
{
|
||||
hb_retni( hbqt_par_QDateTimeEdit( 1 )->sectionAt( hb_parni( 2 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int sectionCount () const
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_SECTIONCOUNT )
|
||||
{
|
||||
hb_retni( hbqt_par_QDateTimeEdit( 1 )->sectionCount( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* QString sectionText ( Section section ) const
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_SECTIONTEXT )
|
||||
{
|
||||
hb_retc( hbqt_par_QDateTimeEdit( 1 )->sectionText( ( QDateTimeEdit::Section ) hb_parni( 2 )).toLatin1().data() );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setCalendarPopup ( bool enable )
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_SETCALENDARPOPUP )
|
||||
{
|
||||
hbqt_par_QDateTimeEdit( 1 )->setCalendarPopup( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setCalendarWidget ( QCalendarWidget * calendarWidget )
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_SETCALENDARWIDGET )
|
||||
{
|
||||
hbqt_par_QDateTimeEdit( 1 )->setCalendarWidget( hbqt_par_QCalendarWidget( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setCurrentSection ( Section section )
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_SETCURRENTSECTION )
|
||||
{
|
||||
hbqt_par_QDateTimeEdit( 1 )->setCurrentSection( ( QDateTimeEdit::Section ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setCurrentSectionIndex ( int index )
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_SETCURRENTSECTIONINDEX )
|
||||
{
|
||||
hbqt_par_QDateTimeEdit( 1 )->setCurrentSectionIndex( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setDisplayFormat ( const QString & format )
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_SETDISPLAYFORMAT )
|
||||
{
|
||||
hbqt_par_QDateTimeEdit( 1 )->setDisplayFormat( hbqt_par_QString( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setSelectedSection ( Section section )
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_SETSELECTEDSECTION )
|
||||
{
|
||||
hbqt_par_QDateTimeEdit( 1 )->setSelectedSection( ( QDateTimeEdit::Section ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setTimeSpec ( Qt::TimeSpec spec )
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_SETTIMESPEC )
|
||||
{
|
||||
hbqt_par_QDateTimeEdit( 1 )->setTimeSpec( ( Qt::TimeSpec ) hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* Qt::TimeSpec timeSpec () const
|
||||
*/
|
||||
HB_FUNC( QT_QDATETIMEEDIT_TIMESPEC )
|
||||
{
|
||||
hb_retni( hbqt_par_QDateTimeEdit( 1 )->timeSpec( ) );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,42 +1,42 @@
|
||||
/*
|
||||
* $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
|
||||
@@ -44,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -55,18 +55,66 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
#include <QtGui/QDial>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
QDial ( QWidget * parent = 0 )
|
||||
*/
|
||||
* QDial ( QWidget * parent = 0 )
|
||||
* ~QDial ()
|
||||
*/
|
||||
HB_FUNC( QT_QDIAL )
|
||||
{
|
||||
hb_retptr( ( QDial* ) new QDial( hbqt_par_QWidget( 1 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* int notchSize () const
|
||||
*/
|
||||
HB_FUNC( QT_QDIAL_NOTCHSIZE )
|
||||
{
|
||||
hb_retni( hbqt_par_QDial( 1 )->notchSize( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* qreal notchTarget () const
|
||||
*/
|
||||
HB_FUNC( QT_QDIAL_NOTCHTARGET )
|
||||
{
|
||||
hb_retnd( hbqt_par_QDial( 1 )->notchTarget( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool notchesVisible () const
|
||||
*/
|
||||
HB_FUNC( QT_QDIAL_NOTCHESVISIBLE )
|
||||
{
|
||||
hb_retl( hbqt_par_QDial( 1 )->notchesVisible( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setNotchTarget ( double target )
|
||||
*/
|
||||
HB_FUNC( QT_QDIAL_SETNOTCHTARGET )
|
||||
{
|
||||
hbqt_par_QDial( 1 )->setNotchTarget( hb_parnd( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* bool wrapping () const
|
||||
*/
|
||||
HB_FUNC( QT_QDIAL_WRAPPING )
|
||||
{
|
||||
hb_retl( hbqt_par_QDial( 1 )->wrapping( ) );
|
||||
}
|
||||
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
@@ -1,41 +1,42 @@
|
||||
/*
|
||||
* $Id$
|
||||
*/
|
||||
|
||||
/*
|
||||
|
||||
/*
|
||||
* Harbour Project source code:
|
||||
* QT wrapper main header
|
||||
*
|
||||
* Copyright 2009 {list of individual authors and e-mail addresses}
|
||||
*
|
||||
* 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
|
||||
@@ -43,7 +44,7 @@
|
||||
* 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.
|
||||
@@ -54,106 +55,106 @@
|
||||
#include "hbapi.h"
|
||||
#include "hbqt.h"
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#if QT_VERSION >= 0x040500
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
#include <QtGui/QDialog>
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
QDialog ( QWidget * parent = 0, Qt::WindowFlags f = 0 )
|
||||
*/
|
||||
* QDialog ( QWidget * parent = 0, Qt::WindowFlags f = 0 )
|
||||
* ~QDialog ()
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG )
|
||||
{
|
||||
hb_retptr( new QDialog( hbqt_par_QWidget( 1 ), ( Qt::WindowFlags ) hb_parni( 2 ) ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isModal () const
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_ISMODAL )
|
||||
* bool isSizeGripEnabled () const
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_ISSIZEGRIPENABLED )
|
||||
{
|
||||
hb_retl( hbqt_par_QDialog( 1 )->isModal() );
|
||||
hb_retl( hbqt_par_QDialog( 1 )->isSizeGripEnabled( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setModal ( bool modal )
|
||||
*/
|
||||
* int result () const
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_RESULT )
|
||||
{
|
||||
hb_retni( hbqt_par_QDialog( 1 )->result( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
* void setModal ( bool modal )
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_SETMODAL )
|
||||
{
|
||||
hbqt_par_QDialog( 1 )->setModal( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
bool isSizeGripEnabled () const
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_ISSIZEGRIPENABLED )
|
||||
* void setResult ( int i )
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_SETRESULT )
|
||||
{
|
||||
hb_retl( hbqt_par_QDialog( 1 )->isSizeGripEnabled() );
|
||||
hbqt_par_QDialog( 1 )->setResult( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void setSizeGripEnabled ( bool )
|
||||
*/
|
||||
* void setSizeGripEnabled ( bool )
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_SETSIZEGRIPENABLED )
|
||||
{
|
||||
hbqt_par_QDialog( 1 )->setSizeGripEnabled( hb_parl( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void QDialog::accept () [virtual slot]
|
||||
*/
|
||||
* virtual void accept ()
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_ACCEPT )
|
||||
{
|
||||
hbqt_par_QDialog( 1 )->accept();
|
||||
hbqt_par_QDialog( 1 )->accept( );
|
||||
}
|
||||
|
||||
/*
|
||||
void QDialog::done ( int r ) [virtual slot]
|
||||
*/
|
||||
* virtual void done ( int r )
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_DONE )
|
||||
{
|
||||
hbqt_par_QDialog( 1 )->done( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*
|
||||
int QDialog::exec () [slot]
|
||||
*/
|
||||
* int exec ()
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_EXEC )
|
||||
{
|
||||
hb_retni( hbqt_par_QDialog( 1 )->exec() );
|
||||
hb_retni( hbqt_par_QDialog( 1 )->exec( ) );
|
||||
}
|
||||
|
||||
/*
|
||||
void QDialog::open () [slot]
|
||||
*/
|
||||
* void open ()
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_OPEN )
|
||||
{
|
||||
hbqt_par_QDialog( 1 )->open();
|
||||
hbqt_par_QDialog( 1 )->open( );
|
||||
}
|
||||
|
||||
/*
|
||||
void QDialog::reject () [virtual slot]
|
||||
*/
|
||||
* virtual void reject ()
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_REJECT )
|
||||
{
|
||||
hbqt_par_QDialog( 1 )->reject();
|
||||
hbqt_par_QDialog( 1 )->reject( );
|
||||
}
|
||||
|
||||
/*
|
||||
int QDialog::result () const
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_RESULT )
|
||||
{
|
||||
hb_retni( hbqt_par_QDialog( 1 )->result() );
|
||||
}
|
||||
|
||||
/*
|
||||
void QDialog::setResult ( int i )
|
||||
*/
|
||||
HB_FUNC( QT_QDIALOG_SETRESULT )
|
||||
{
|
||||
hbqt_par_QDialog( 1 )->setResult( hb_parni( 2 ) );
|
||||
}
|
||||
|
||||
/*----------------------------------------------------------------------*/
|
||||
#endif
|
||||
#endif /* #if QT_VERSION >= 0x040500 */
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user