From a30f5359f03c3017fa19a6770fab32d25d22cb87 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 15 Jul 2024 19:08:22 +0900 Subject: Rename graphics class nt* related files to equivalent tq* (part 1) Signed-off-by: Michele Calgaro --- doc/html/aclock-example.html | 54 +- doc/html/annotated.html | 28 +- doc/html/appearance.html | 6 +- doc/html/biff-example.html | 6 +- doc/html/canvas-chart-example.html | 26 +- doc/html/canvas-example.html | 12 +- doc/html/chart-chartform-cpp.html | 6 +- doc/html/chart-chartform-h.html | 2 +- doc/html/chart-chartform_canvas-cpp.html | 2 +- doc/html/chart-chartform_files-cpp.html | 4 +- doc/html/chart-element-cpp.html | 8 +- doc/html/chart-element-h.html | 18 +- doc/html/chart-optionsform-cpp.html | 14 +- doc/html/chart-optionsform-h.html | 6 +- doc/html/chart-setdataform-cpp.html | 14 +- doc/html/classchart.html | 28 +- doc/html/classes.html | 28 +- doc/html/coordsys.html | 80 +- doc/html/customlayout-example.html | 4 +- doc/html/customstyles.html | 18 +- doc/html/datastreamformat.html | 10 +- doc/html/designer-manual-3.html | 66 +- doc/html/designer-manual-4.html | 24 +- doc/html/designer-manual-9.html | 2 +- doc/html/desktop-example.html | 82 +- doc/html/dialogs.html | 4 +- doc/html/drawdemo-example.html | 86 +- doc/html/drawlines-example.html | 20 +- doc/html/environment.html | 2 +- doc/html/events.html | 2 +- doc/html/eventsandfilters.html | 4 +- doc/html/examples.html | 2 +- doc/html/fileiconview-example.html | 12 +- doc/html/forever-example.html | 14 +- doc/html/functions.html | 556 ++++----- doc/html/grapher-nsplugin-example.html | 56 +- doc/html/graphics.html | 24 +- doc/html/headerfilesynonyms | 4 +- doc/html/headers.html | 24 +- doc/html/hello-example.html | 28 +- doc/html/helpviewer-example.html | 20 +- doc/html/hierarchy.html | 28 +- doc/html/i18n.html | 4 +- doc/html/images.html | 14 +- doc/html/index | 736 +++++------ doc/html/keyfeatures30.html | 4 +- doc/html/layout-example.html | 2 +- doc/html/life-example.html | 18 +- doc/html/listboxcombo-example.html | 12 +- doc/html/listviews-example.html | 14 +- doc/html/mainclasses.html | 10 +- doc/html/mdi-example.html | 26 +- doc/html/menu-example.html | 32 +- doc/html/motif-walkthrough-9.html | 2 +- doc/html/movies-example.html | 50 +- doc/html/multimedia.html | 2 +- doc/html/ntqapplication.html | 24 +- doc/html/ntqbrush.html | 239 ---- doc/html/ntqbutton.html | 6 +- doc/html/ntqcolor.html | 618 ---------- doc/html/ntqcolordialog.html | 118 -- doc/html/ntqcombobox.html | 2 +- doc/html/ntqdesktopwidget.html | 4 +- doc/html/ntqdialog.html | 2 +- doc/html/ntqevent.html | 4 +- doc/html/ntqfont.html | 910 -------------- doc/html/ntqfontdatabase.html | 322 ----- doc/html/ntqfontdialog.html | 143 --- doc/html/ntqfontinfo.html | 191 --- doc/html/ntqfontmetrics.html | 419 ------- doc/html/ntqframe.html | 18 +- doc/html/ntqglcolormap.html | 4 +- doc/html/ntqgridview.html | 6 +- doc/html/ntqheader.html | 4 +- doc/html/ntqlabel.html | 12 +- doc/html/ntqlcdnumber.html | 4 +- doc/html/ntqlistbox.html | 2 +- doc/html/ntqlistview.html | 4 +- doc/html/ntqmovie.html | 388 ------ doc/html/ntqpaintdevice.html | 464 ------- doc/html/ntqpaintdevicemetrics.html | 150 --- doc/html/ntqpainter.html | 1625 ------------------------- doc/html/ntqpalette.html | 58 +- doc/html/ntqpen.html | 36 +- doc/html/ntqpicture.html | 26 +- doc/html/ntqpixmap.html | 38 +- doc/html/ntqplatinumstyle.html | 4 +- doc/html/ntqpointarray.html | 8 +- doc/html/ntqprinter.html | 20 +- doc/html/ntqregion.html | 14 +- doc/html/ntqscrollview.html | 10 +- doc/html/ntqsimplerichtext.html | 16 +- doc/html/ntqsplashscreen.html | 4 +- doc/html/ntqsplitter.html | 2 +- doc/html/ntqsyntaxhighlighter.html | 6 +- doc/html/ntqt.html | 12 +- doc/html/ntqtabbar.html | 6 +- doc/html/ntqtabdialog.html | 2 +- doc/html/ntqtable.html | 10 +- doc/html/ntqvariant.html | 48 +- doc/html/ntqwhatsthis.html | 2 +- doc/html/ntqwizard.html | 6 +- doc/html/ntqwmatrix.html | 24 +- doc/html/opengl-overlay-x11-example.html | 2 +- doc/html/opengl-x11-overlays.html | 4 +- doc/html/picture-example.html | 52 +- doc/html/pictures.html | 8 +- doc/html/porting.html | 48 +- doc/html/progress-example.html | 60 +- doc/html/propertydocs | 10 +- doc/html/qboxlayout.html | 2 +- doc/html/qbrush-h.html | 139 --- doc/html/qbrush-members.html | 57 - doc/html/qbutton-members.html | 50 +- doc/html/qbuttongroup-members.html | 50 +- doc/html/qchar.html | 2 +- doc/html/qcheckbox-members.html | 50 +- doc/html/qchecklistitem.html | 4 +- doc/html/qcolor-h.html | 274 ----- doc/html/qcolor-members.html | 75 -- doc/html/qcolordialog-h.html | 138 --- doc/html/qcolordialog-members.html | 355 ------ doc/html/qcolordlg-w.png | Bin 23786 -> 0 bytes doc/html/qcolorgroup-members.html | 71 -- doc/html/qcolorgroup.html | 346 ------ doc/html/qcombobox-members.html | 50 +- doc/html/qcustomevent.html | 6 +- doc/html/qcustommenuitem.html | 4 +- doc/html/qdesktopwidget-members.html | 50 +- doc/html/qdial-members.html | 50 +- doc/html/qdialog-members.html | 50 +- doc/html/qdockarea-members.html | 50 +- doc/html/qdockwindow-members.html | 50 +- doc/html/qerrormessage-members.html | 50 +- doc/html/qfd-example.html | 78 +- doc/html/qfont-examples.html | 48 - doc/html/qfont-h.html | 410 ------- doc/html/qfont-members.html | 104 -- doc/html/qfontdatabase-h.html | 265 ---- doc/html/qfontdatabase-members.html | 63 - doc/html/qfontdialog-h.html | 157 --- doc/html/qfontdialog-members.html | 350 ------ doc/html/qfontdlg-w.png | Bin 4679 -> 0 bytes doc/html/qfontinfo-h.html | 136 --- doc/html/qfontinfo-members.html | 59 - doc/html/qfontmetrics-h.html | 158 --- doc/html/qfontmetrics-members.html | 68 -- doc/html/qframe-members.html | 50 +- doc/html/qglcolormap-h.html | 2 +- doc/html/qglcontext.html | 16 +- doc/html/qglwidget-members.html | 50 +- doc/html/qglwidget.html | 16 +- doc/html/qgrid-members.html | 50 +- doc/html/qgridview-members.html | 50 +- doc/html/qgroupbox-members.html | 50 +- doc/html/qhbox-members.html | 50 +- doc/html/qhbuttongroup-members.html | 50 +- doc/html/qheader-members.html | 50 +- doc/html/qhgroupbox-members.html | 50 +- doc/html/qinputdialog-members.html | 50 +- doc/html/qlabel-members.html | 50 +- doc/html/qlayoutiterator.html | 8 +- doc/html/qlcdnumber-members.html | 50 +- doc/html/qlineedit-members.html | 50 +- doc/html/qlistbox-members.html | 50 +- doc/html/qlistboxitem.html | 2 +- doc/html/qlistboxpixmap.html | 2 +- doc/html/qlistboxtext.html | 2 +- doc/html/qlistview-members.html | 50 +- doc/html/qlistviewitem.html | 10 +- doc/html/qmag-example.html | 14 +- doc/html/qmessagebox-members.html | 50 +- doc/html/qmotifdialog-members.html | 50 +- doc/html/qmotifwidget-members.html | 50 +- doc/html/qmovie-h.html | 160 --- doc/html/qmovie-members.html | 74 -- doc/html/qmovie.png | Bin 2400 -> 0 bytes doc/html/qmultilineedit-members.html | 50 +- doc/html/qnamespace-h.html | 18 +- doc/html/qnpinstance.html | 6 +- doc/html/qnpwidget-members.html | 50 +- doc/html/qpaintdevice-h.html | 450 ------- doc/html/qpaintdevice-members.html | 73 -- doc/html/qpaintdevicemetrics-h.html | 128 -- doc/html/qpaintdevicemetrics-members.html | 55 - doc/html/qpainter-h.html | 743 ----------- doc/html/qpainter-members.html | 127 -- doc/html/qpaintevent-members.html | 52 - doc/html/qpaintevent.html | 119 -- doc/html/qpalette-h.html | 4 +- doc/html/qpen-h.html | 2 +- doc/html/qpicture-h.html | 2 +- doc/html/qpicture-members.html | 50 +- doc/html/qpixmap-h.html | 4 +- doc/html/qpixmap-members.html | 50 +- doc/html/qprinter-h.html | 2 +- doc/html/qprinter-members.html | 50 +- doc/html/qprogressbar-members.html | 50 +- doc/html/qprogressdialog-members.html | 50 +- doc/html/qpushbutton-members.html | 50 +- doc/html/qradiobutton-members.html | 50 +- doc/html/qscrollbar-members.html | 50 +- doc/html/qscrollview-members.html | 50 +- doc/html/qslider-members.html | 50 +- doc/html/qspinbox-members.html | 50 +- doc/html/qsplashscreen-members.html | 50 +- doc/html/qsplitter-members.html | 50 +- doc/html/qsyntaxhighlighter-h.html | 4 +- doc/html/qt.dcf | 836 ++++++------- doc/html/qtabbar-members.html | 50 +- doc/html/qtabdialog-members.html | 50 +- doc/html/qtable-members.html | 50 +- doc/html/qtableitem.html | 2 +- doc/html/qtabwidget-members.html | 50 +- doc/html/qvbox-members.html | 50 +- doc/html/qvbuttongroup-members.html | 50 +- doc/html/qvgroupbox-members.html | 50 +- doc/html/qwerty-example.html | 32 +- doc/html/qwizard-members.html | 50 +- doc/html/qxtwidget-members.html | 50 +- doc/html/richtext-example.html | 8 +- doc/html/scribble-example.html | 28 +- doc/html/scrollview-example.html | 10 +- doc/html/shared.html | 8 +- doc/html/shclass.html | 20 +- doc/html/showimg-example.html | 24 +- doc/html/simple-application-example.html | 20 +- doc/html/simple-application.html | 16 +- doc/html/simple-font-demo-example.html | 56 +- doc/html/splitter-example.html | 22 +- doc/html/sql-overview-table4-main-cpp.html | 4 +- doc/html/sql-overview-table4-main-h.html | 4 +- doc/html/sql.html | 6 +- doc/html/statistics-example.html | 8 +- doc/html/t10-cannon-cpp.html | 28 +- doc/html/t10-cannon-h.html | 2 +- doc/html/t10-main-cpp.html | 2 +- doc/html/t11-cannon-cpp.html | 36 +- doc/html/t11-cannon-h.html | 6 +- doc/html/t11-main-cpp.html | 2 +- doc/html/t12-cannon-cpp.html | 44 +- doc/html/t12-cannon-h.html | 8 +- doc/html/t12-main-cpp.html | 2 +- doc/html/t13-cannon-cpp.html | 50 +- doc/html/t13-cannon-h.html | 8 +- doc/html/t13-gamebrd-cpp.html | 2 +- doc/html/t14-cannon-cpp.html | 58 +- doc/html/t14-cannon-h.html | 10 +- doc/html/t14-gamebrd-cpp.html | 2 +- doc/html/t7-main-cpp.html | 2 +- doc/html/t8-cannon-cpp.html | 8 +- doc/html/t8-cannon-h.html | 2 +- doc/html/t8-main-cpp.html | 2 +- doc/html/t9-cannon-cpp.html | 18 +- doc/html/t9-cannon-h.html | 2 +- doc/html/t9-main-cpp.html | 2 +- doc/html/table-statistics-statistics-cpp.html | 6 +- doc/html/tetrix-example.html | 2 +- doc/html/themes-example.html | 342 +++--- doc/html/threads.html | 12 +- doc/html/tictac-example.html | 14 +- doc/html/titleindex | 84 +- doc/html/tooltip-example.html | 26 +- doc/html/tqaction-application-example.html | 20 +- doc/html/tqbitmap-members.html | 50 +- doc/html/tqbitmap.html | 12 +- doc/html/tqbrush-h.html | 139 +++ doc/html/tqbrush-members.html | 57 + doc/html/tqbrush.html | 239 ++++ doc/html/tqcanvas-h.html | 2 +- doc/html/tqcanvas.html | 14 +- doc/html/tqcanvasellipse.html | 4 +- doc/html/tqcanvasitem.html | 6 +- doc/html/tqcanvaspixmap-members.html | 50 +- doc/html/tqcanvaspolygon.html | 4 +- doc/html/tqcanvaspolygonalitem.html | 18 +- doc/html/tqcanvasrectangle.html | 2 +- doc/html/tqcanvassprite.html | 2 +- doc/html/tqcanvastext.html | 14 +- doc/html/tqcanvasview-members.html | 50 +- doc/html/tqcanvasview.html | 4 +- doc/html/tqcolor-h.html | 274 +++++ doc/html/tqcolor-members.html | 75 ++ doc/html/tqcolor.html | 618 ++++++++++ doc/html/tqcolordialog-h.html | 138 +++ doc/html/tqcolordialog-members.html | 355 ++++++ doc/html/tqcolordialog.html | 118 ++ doc/html/tqcolordlg-w.png | Bin 0 -> 23786 bytes doc/html/tqcolordrag.html | 8 +- doc/html/tqcolorgroup-members.html | 71 ++ doc/html/tqcolorgroup.html | 346 ++++++ doc/html/tqdatabrowser-members.html | 50 +- doc/html/tqdatastream.html | 2 +- doc/html/tqdatatable-members.html | 50 +- doc/html/tqdatatable.html | 2 +- doc/html/tqdataview-members.html | 50 +- doc/html/tqdateedit-members.html | 50 +- doc/html/tqdatetimeedit-members.html | 50 +- doc/html/tqdatetimeeditbase-members.html | 50 +- doc/html/tqdir-example.html | 8 +- doc/html/tqdragobject-h.html | 2 +- doc/html/tqfiledialog-members.html | 50 +- doc/html/tqfont-examples.html | 48 + doc/html/tqfont-h.html | 410 +++++++ doc/html/tqfont-members.html | 104 ++ doc/html/tqfont.html | 910 ++++++++++++++ doc/html/tqfontdatabase-h.html | 265 ++++ doc/html/tqfontdatabase-members.html | 63 + doc/html/tqfontdatabase.html | 322 +++++ doc/html/tqfontdialog-h.html | 157 +++ doc/html/tqfontdialog-members.html | 350 ++++++ doc/html/tqfontdialog.html | 143 +++ doc/html/tqfontdlg-w.png | Bin 0 -> 4679 bytes doc/html/tqfontinfo-h.html | 136 +++ doc/html/tqfontinfo-members.html | 59 + doc/html/tqfontinfo.html | 191 +++ doc/html/tqfontmetrics-h.html | 158 +++ doc/html/tqfontmetrics-members.html | 68 ++ doc/html/tqfontmetrics.html | 419 +++++++ doc/html/tqiconset.html | 4 +- doc/html/tqiconview-h.html | 2 +- doc/html/tqiconview-members.html | 50 +- doc/html/tqiconview.html | 10 +- doc/html/tqiconviewitem.html | 4 +- doc/html/tqimage.html | 22 +- doc/html/tqimageconsumer.html | 2 +- doc/html/tqimagedecoder.html | 2 +- doc/html/tqimageformat.html | 2 +- doc/html/tqimageio.html | 4 +- doc/html/tqmainwindow-members.html | 50 +- doc/html/tqmenubar-members.html | 50 +- doc/html/tqmenubar.html | 2 +- doc/html/tqmenudata-h.html | 2 +- doc/html/tqmovie-h.html | 160 +++ doc/html/tqmovie-members.html | 74 ++ doc/html/tqmovie.html | 388 ++++++ doc/html/tqmovie.png | Bin 0 -> 2400 bytes doc/html/tqpaintdevice-h.html | 450 +++++++ doc/html/tqpaintdevice-members.html | 73 ++ doc/html/tqpaintdevice.html | 464 +++++++ doc/html/tqpaintdevicemetrics-h.html | 128 ++ doc/html/tqpaintdevicemetrics-members.html | 55 + doc/html/tqpaintdevicemetrics.html | 150 +++ doc/html/tqpainter-h.html | 743 +++++++++++ doc/html/tqpainter-members.html | 127 ++ doc/html/tqpainter.html | 1625 +++++++++++++++++++++++++ doc/html/tqpaintevent-members.html | 52 + doc/html/tqpaintevent.html | 119 ++ doc/html/tqpopupmenu-members.html | 50 +- doc/html/tqpopupmenu.html | 4 +- doc/html/tqsizegrip-members.html | 50 +- doc/html/tqsizegrip.html | 2 +- doc/html/tqstatusbar-members.html | 50 +- doc/html/tqstatusbar.html | 2 +- doc/html/tqstring.html | 4 +- doc/html/tqstyle.html | 16 +- doc/html/tqstyleoption.html | 4 +- doc/html/tqstylesheet.html | 4 +- doc/html/tqstylesheetitem.html | 26 +- doc/html/tqtextbrowser-h.html | 2 +- doc/html/tqtextbrowser-members.html | 50 +- doc/html/tqtextedit-members.html | 50 +- doc/html/tqtextedit.html | 26 +- doc/html/tqtextview-members.html | 50 +- doc/html/tqtimeedit-members.html | 50 +- doc/html/tqtoolbar-members.html | 50 +- doc/html/tqtoolbox-members.html | 50 +- doc/html/tqtoolbutton-members.html | 50 +- doc/html/tqtooltip.html | 4 +- doc/html/tqvaluelist.html | 4 +- doc/html/tqwidget-h.html | 8 +- doc/html/tqwidget-members.html | 50 +- doc/html/tqwidget.html | 84 +- doc/html/tqwidgetstack-members.html | 50 +- doc/html/tqworkspace-members.html | 50 +- doc/html/trivial-nsplugin-example.html | 12 +- doc/html/tutorial1-02.html | 8 +- doc/html/tutorial1-03.html | 2 +- doc/html/tutorial1-04.html | 2 +- doc/html/tutorial1-05.html | 4 +- doc/html/tutorial1-06.html | 2 +- doc/html/tutorial1-08.html | 12 +- doc/html/tutorial1-09.html | 26 +- doc/html/tutorial1-10.html | 24 +- doc/html/tutorial1-11.html | 18 +- doc/html/tutorial1-12.html | 10 +- doc/html/tutorial1-13.html | 12 +- doc/html/tutorial1-14.html | 16 +- doc/html/tutorial2-03.html | 18 +- doc/html/tutorial2-05.html | 2 +- doc/html/tutorial2-08.html | 16 +- doc/html/tutorial2-09.html | 20 +- doc/html/whatsthis | 30 +- doc/html/xform-example.html | 66 +- 394 files changed, 15670 insertions(+), 15670 deletions(-) delete mode 100644 doc/html/ntqbrush.html delete mode 100644 doc/html/ntqcolor.html delete mode 100644 doc/html/ntqcolordialog.html delete mode 100644 doc/html/ntqfont.html delete mode 100644 doc/html/ntqfontdatabase.html delete mode 100644 doc/html/ntqfontdialog.html delete mode 100644 doc/html/ntqfontinfo.html delete mode 100644 doc/html/ntqfontmetrics.html delete mode 100644 doc/html/ntqmovie.html delete mode 100644 doc/html/ntqpaintdevice.html delete mode 100644 doc/html/ntqpaintdevicemetrics.html delete mode 100644 doc/html/ntqpainter.html delete mode 100644 doc/html/qbrush-h.html delete mode 100644 doc/html/qbrush-members.html delete mode 100644 doc/html/qcolor-h.html delete mode 100644 doc/html/qcolor-members.html delete mode 100644 doc/html/qcolordialog-h.html delete mode 100644 doc/html/qcolordialog-members.html delete mode 100644 doc/html/qcolordlg-w.png delete mode 100644 doc/html/qcolorgroup-members.html delete mode 100644 doc/html/qcolorgroup.html delete mode 100644 doc/html/qfont-examples.html delete mode 100644 doc/html/qfont-h.html delete mode 100644 doc/html/qfont-members.html delete mode 100644 doc/html/qfontdatabase-h.html delete mode 100644 doc/html/qfontdatabase-members.html delete mode 100644 doc/html/qfontdialog-h.html delete mode 100644 doc/html/qfontdialog-members.html delete mode 100644 doc/html/qfontdlg-w.png delete mode 100644 doc/html/qfontinfo-h.html delete mode 100644 doc/html/qfontinfo-members.html delete mode 100644 doc/html/qfontmetrics-h.html delete mode 100644 doc/html/qfontmetrics-members.html delete mode 100644 doc/html/qmovie-h.html delete mode 100644 doc/html/qmovie-members.html delete mode 100644 doc/html/qmovie.png delete mode 100644 doc/html/qpaintdevice-h.html delete mode 100644 doc/html/qpaintdevice-members.html delete mode 100644 doc/html/qpaintdevicemetrics-h.html delete mode 100644 doc/html/qpaintdevicemetrics-members.html delete mode 100644 doc/html/qpainter-h.html delete mode 100644 doc/html/qpainter-members.html delete mode 100644 doc/html/qpaintevent-members.html delete mode 100644 doc/html/qpaintevent.html create mode 100644 doc/html/tqbrush-h.html create mode 100644 doc/html/tqbrush-members.html create mode 100644 doc/html/tqbrush.html create mode 100644 doc/html/tqcolor-h.html create mode 100644 doc/html/tqcolor-members.html create mode 100644 doc/html/tqcolor.html create mode 100644 doc/html/tqcolordialog-h.html create mode 100644 doc/html/tqcolordialog-members.html create mode 100644 doc/html/tqcolordialog.html create mode 100644 doc/html/tqcolordlg-w.png create mode 100644 doc/html/tqcolorgroup-members.html create mode 100644 doc/html/tqcolorgroup.html create mode 100644 doc/html/tqfont-examples.html create mode 100644 doc/html/tqfont-h.html create mode 100644 doc/html/tqfont-members.html create mode 100644 doc/html/tqfont.html create mode 100644 doc/html/tqfontdatabase-h.html create mode 100644 doc/html/tqfontdatabase-members.html create mode 100644 doc/html/tqfontdatabase.html create mode 100644 doc/html/tqfontdialog-h.html create mode 100644 doc/html/tqfontdialog-members.html create mode 100644 doc/html/tqfontdialog.html create mode 100644 doc/html/tqfontdlg-w.png create mode 100644 doc/html/tqfontinfo-h.html create mode 100644 doc/html/tqfontinfo-members.html create mode 100644 doc/html/tqfontinfo.html create mode 100644 doc/html/tqfontmetrics-h.html create mode 100644 doc/html/tqfontmetrics-members.html create mode 100644 doc/html/tqfontmetrics.html create mode 100644 doc/html/tqmovie-h.html create mode 100644 doc/html/tqmovie-members.html create mode 100644 doc/html/tqmovie.html create mode 100644 doc/html/tqmovie.png create mode 100644 doc/html/tqpaintdevice-h.html create mode 100644 doc/html/tqpaintdevice-members.html create mode 100644 doc/html/tqpaintdevice.html create mode 100644 doc/html/tqpaintdevicemetrics-h.html create mode 100644 doc/html/tqpaintdevicemetrics-members.html create mode 100644 doc/html/tqpaintdevicemetrics.html create mode 100644 doc/html/tqpainter-h.html create mode 100644 doc/html/tqpainter-members.html create mode 100644 doc/html/tqpainter.html create mode 100644 doc/html/tqpaintevent-members.html create mode 100644 doc/html/tqpaintevent.html (limited to 'doc/html') diff --git a/doc/html/aclock-example.html b/doc/html/aclock-example.html index 06360b92c..e0f5d3839 100644 --- a/doc/html/aclock-example.html +++ b/doc/html/aclock-example.html @@ -62,10 +62,10 @@ public: protected: void updateMask(); - void paintEvent( TQPaintEvent *); + void paintEvent( TQPaintEvent *); void mousePressEvent( TQMouseEvent *); void mouseMoveEvent( TQMouseEvent *); - void drawClock( TQPainter* ); + void drawClock( TQPainter* ); private slots: void timeout(); @@ -97,7 +97,7 @@ private: #include "aclock.h" #include <tqtimer.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <tqbitmap.h> // @@ -158,12 +158,12 @@ void AnalogClock::timeout() } -void AnalogClock::paintEvent( TQPaintEvent * ) +void AnalogClock::paintEvent( TQPaintEvent * ) { if ( autoMask() ) return; - TQPainter paint( this ); - paint.setBrush( colorGroup().foreground() ); + TQPainter paint( this ); + paint.setBrush( colorGroup().foreground() ); drawClock( &paint ); } @@ -175,14 +175,14 @@ void AnalogClock::updateMask() // paint clock mask TQBitmap bm( size() ); bm.fill( color0 ); //transparent - TQPainter paint; - paint.begin( &bm, this ); - paint.setBrush( color1 ); // use non-transparent color - paint.setPen( color1 ); + TQPainter paint; + paint.begin( &bm, this ); + paint.setBrush( color1 ); // use non-transparent color + paint.setPen( color1 ); drawClock( &paint ); - paint.end(); + paint.end(); setMask( bm ); } @@ -191,37 +191,37 @@ void AnalogClock::updateMask() // paint clock mask // the a centered square, as big as possible. The painter's pen and // brush colors are used. // -void AnalogClock::drawClock( TQPainter *paint ) +void AnalogClock::drawClock( TQPainter *paint ) { - paint->save(); + paint->save(); - paint->setWindow( -500,-500, 1000,1000 ); + paint->setWindow( -500,-500, 1000,1000 ); - TQRect v = paint->viewport(); + TQRect v = paint->viewport(); int d = TQMIN( v.width(), v.height() ); - paint->setViewport( v.left() + (v.width()-d)/2, + paint->setViewport( v.left() + (v.width()-d)/2, v.top() + (v.height()-d)/2, d, d ); TQPointArray pts; - paint->save(); - paint->rotate( 30*(time.hour()%12-3) + time.minute()/2 ); + paint->save(); + paint->rotate( 30*(time.hour()%12-3) + time.minute()/2 ); pts.setPoints( 4, -20,0, 0,-20, 300,0, 0,20 ); - paint->drawConvexPolygon( pts ); - paint->restore(); + paint->drawConvexPolygon( pts ); + paint->restore(); - paint->save(); - paint->rotate( (time.minute()-15)*6 ); + paint->save(); + paint->rotate( (time.minute()-15)*6 ); pts.setPoints( 4, -10,0, 0,-10, 400,0, 0,10 ); - paint->drawConvexPolygon( pts ); - paint->restore(); + paint->drawConvexPolygon( pts ); + paint->restore(); for ( int i=0; i<12; i++ ) { - paint->drawLine( 440,0, 460,0 ); - paint->rotate( 30 ); + paint->drawLine( 440,0, 460,0 ); + paint->rotate( 30 ); } - paint->restore(); + paint->restore(); } diff --git a/doc/html/annotated.html b/doc/html/annotated.html index 0c8c79a81..fa9802195 100644 --- a/doc/html/annotated.html +++ b/doc/html/annotated.html @@ -53,7 +53,7 @@ body { background: #ffffff; color: black; } TQBitValInternal class, used with TQBitArray TQBitmapMonochrome (1-bit depth) pixmaps TQBoxLayoutLines up child widgets horizontally or vertically -TQBrushDefines the fill pattern of shapes drawn by a TQPainter +TQBrushDefines the fill pattern of shapes drawn by a TQPainter TQBufferI/O device that operates on a TQByteArray TQButtonThe abstract base class of button widgets, providing functionality common to buttons TQButtonGroupOrganizes TQButton widgets in a group @@ -84,10 +84,10 @@ body { background: #ffffff; color: black; } TQChildEventEvent parameters for child object events TQClipboardAccess to the window system clipboard TQCloseEventParameters that describe a close event -TQColorColors based on RGB or HSV values -TQColorDialogDialog widget for specifying colors +TQColorColors based on RGB or HSV values +TQColorDialogDialog widget for specifying colors TQColorDragDrag and drop object for transferring colors -TQColorGroupGroup of widget colors +TQColorGroupGroup of widget colors TQComboBoxCombined button and popup list TQComboTableItemMeans of using comboboxes in TQTables TQCommonStyleEncapsulates the common Look and Feel of a GUI @@ -151,11 +151,11 @@ body { background: #ffffff; color: black; } TQFilePreviewFile previewing in TQFileDialog TQFocusDataMaintains the list of widgets in the focus chain TQFocusEventEvent parameters for widget focus events -TQFontFont used for drawing text -TQFontDatabaseInformation about the fonts available in the underlying window system -TQFontDialogDialog widget for selecting a font -TQFontInfoGeneral information about fonts -TQFontMetricsFont metrics information +TQFontFont used for drawing text +TQFontDatabaseInformation about the fonts available in the underlying window system +TQFontDialogDialog widget for selecting a font +TQFontInfoGeneral information about fonts +TQFontMetricsFont metrics information TQFrameThe base class of widgets that can have a frame TQFtpImplementation of the FTP protocol TQGLNamespace for miscellaneous identifiers in the TQt OpenGL module @@ -247,7 +247,7 @@ body { background: #ffffff; color: black; } TQMotifWidgetThe TQWidget API for Xt/Motif widgets TQMouseEventParameters that describe a mouse event TQMoveEventEvent parameters for move events -TQMovieIncremental loading of animations or images, signalling as it progresses +TQMovieIncremental loading of animations or images, signalling as it progresses TQMutexAccess serialization between threads TQMutexLockerSimplifies locking and unlocking TQMutexes TQNPInstanceTQObject that is a web browser plugin @@ -261,10 +261,10 @@ body { background: #ffffff; color: black; } TQObjectListTQPtrList of TQObjects TQObjectListIteratorIterator for TQObjectLists TQPNGImagePackerCreates well-compressed PNG animations -TQPaintDeviceThe base class of objects that can be painted -TQPaintDeviceMetricsInformation about a paint device -TQPaintEventEvent parameters for paint events -TQPainterDoes low-level painting e.g. on widgets +TQPaintDeviceThe base class of objects that can be painted +TQPaintDeviceMetricsInformation about a paint device +TQPaintEventEvent parameters for paint events +TQPainterDoes low-level painting e.g. on widgets TQPairValue-based template class that provides a pair of elements TQPaletteColor groups for each widget state TQPenDefines how a TQPainter should draw lines and outlines of shapes diff --git a/doc/html/appearance.html b/doc/html/appearance.html index 68140959b..3d43b3b2e 100644 --- a/doc/html/appearance.html +++ b/doc/html/appearance.html @@ -39,11 +39,11 @@ style. TQBoxLayoutLines up child widgets horizontally or vertically TQButtonGroupOrganizes TQButton widgets in a group TQCDEStyleCDE look and feel -TQColorColors based on RGB or HSV values -TQColorGroupGroup of widget colors +TQColorColors based on RGB or HSV values +TQColorGroupGroup of widget colors TQCommonStyleEncapsulates the common Look and Feel of a GUI TQCursorMouse cursor with an arbitrary shape -TQFontFont used for drawing text +TQFontFont used for drawing text TQGLayoutIteratorAbstract base class of internal layout iterators TQGridSimple geometry management of its children TQGridLayoutLays out widgets in a grid diff --git a/doc/html/biff-example.html b/doc/html/biff-example.html index 565fa41a3..a701c594c 100644 --- a/doc/html/biff-example.html +++ b/doc/html/biff-example.html @@ -63,7 +63,7 @@ public: protected: void timerEvent( TQTimerEvent * ); - void paintEvent( TQPaintEvent * ); + void paintEvent( TQPaintEvent * ); void mousePressEvent( TQMouseEvent * ); private: @@ -95,7 +95,7 @@ how two images (hasmail_bmp_data and nomail_bmp_data, both fro #include "biff.h" #include <tqstring.h> #include <tqfileinfo.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <unistd.h> #include <stdlib.h> @@ -144,7 +144,7 @@ how two images (hasmail_bmp_data and nomail_bmp_data, both fro } -void Biff::paintEvent( TQPaintEvent * ) +void Biff::paintEvent( TQPaintEvent * ) { if ( gotMail ) bitBlt( this, 0, 0, &hasNewMail ); diff --git a/doc/html/canvas-chart-example.html b/doc/html/canvas-chart-example.html index 7e54b4599..19d8b9a16 100644 --- a/doc/html/canvas-chart-example.html +++ b/doc/html/canvas-chart-example.html @@ -67,7 +67,7 @@ SOURCES += element.cpp \

#ifndef ELEMENT_H
 #define ELEMENT_H
 
-#include <ntqcolor.h>
+#include <tqcolor.h>
 #include <ntqnamespace.h>
 #include <tqstring.h>
 #include <tqvaluevector.h>
@@ -92,7 +92,7 @@ public:
     Element( double value = INVALID, TQColor valueColor = TQt::gray,
              int valuePattern = TQt::SolidPattern,
              const TQString& label = TQString::null,
-             TQColor labelColor = TQt::black ) {
+             TQColor labelColor = TQt::black ) {
         init( value, valueColor, valuePattern, label, labelColor );
         for ( int i = 0; i < MAX_PROPOINTS * 2; ++i )
             m_propoints[i] = NO_PROPORTION;
@@ -102,24 +102,24 @@ public:
     bool isValid() const { return m_value > EPSILON; }
 
     double value() const { return m_value; }
-    TQColor valueColor() const { return m_valueColor; }
+    TQColor valueColor() const { return m_valueColor; }
     int valuePattern() const { return m_valuePattern; }
     TQString label() const { return m_label; }
-    TQColor labelColor() const { return m_labelColor; }
+    TQColor labelColor() const { return m_labelColor; }
     double proX( int index ) const;
     double proY( int index ) const;
 
     void set( double value = INVALID, TQColor valueColor = TQt::gray,
               int valuePattern = TQt::SolidPattern,
               const TQString& label = TQString::null,
-              TQColor labelColor = TQt::black ) {
+              TQColor labelColor = TQt::black ) {
         init( value, valueColor, valuePattern, label, labelColor );
     }
     void setValue( double value ) { m_value = value; }
-    void setValueColor( TQColor valueColor ) { m_valueColor = valueColor; }
+    void setValueColor( TQColor valueColor ) { m_valueColor = valueColor; }
     void setValuePattern( int valuePattern );
     void setLabel( const TQString& label ) { m_label = label; }
-    void setLabelColor( TQColor labelColor ) { m_labelColor = labelColor; }
+    void setLabelColor( TQColor labelColor ) { m_labelColor = labelColor; }
     void setProX( int index, double value );
     void setProY( int index, double value );
 
@@ -136,10 +136,10 @@ private:
                const TQString& label, TQColor labelColor );
 
     double m_value;
-    TQColor m_valueColor;
+    TQColor m_valueColor;
     int m_valuePattern;
     TQString m_label;
-    TQColor m_labelColor;
+    TQColor m_labelColor;
     double m_propoints[2 * MAX_PROPOINTS];
 };
 
@@ -236,7 +236,7 @@ private:
     ChartType m_chartType;
     AddValuesType m_addValues;
     int m_decimalPlaces;
-    TQFont m_font;
+    TQFont m_font;
 };
 
 #endif
@@ -254,8 +254,8 @@ private:
 #include <ntqcombobox.h>
 #include <tqfile.h>
 #include <tqfiledialog.h>
-#include <ntqfont.h>
-#include <ntqfontdialog.h>
+#include <tqfont.h>
+#include <tqfontdialog.h>
 #include <tqmenubar.h>
 #include <ntqmessagebox.h>
 #include <ntqpixmap.h>
@@ -713,7 +713,7 @@ void ChartForm::updateChartType( TQAc
 void ChartForm::optionsSetFont()
 {
     bool ok;
-    TQFont font = TQFontDialog::getFont( &ok, m_font, this );
+    TQFont font = TQFontDialog::getFont( &ok, m_font, this );
     if ( ok ) {
         m_font = font;
         drawElements();
diff --git a/doc/html/canvas-example.html b/doc/html/canvas-example.html
index 5a6431723..d14444d2f 100644
--- a/doc/html/canvas-example.html
+++ b/doc/html/canvas-example.html
@@ -139,7 +139,7 @@ private:
 #include <ntqmessagebox.h>
 #include <tqmenubar.h>
 #include <ntqapplication.h>
-#include <ntqpainter.h>
+#include <tqpainter.h>
 #include <ntqprinter.h>
 #include <ntqlabel.h>
 #include <tqimage.h>
@@ -178,7 +178,7 @@ public:
     int rtti () const { return imageRTTI; }
     bool hit( const TQPoint&) const;
 protected:
-    void drawShape( TQPainter & );
+    void drawShape( TQPainter & );
 private:
     TQImage image;
     TQPixmap pixmap;
@@ -194,9 +194,9 @@ private:
 }
 
 
-void ImageItem::drawShape( TQPainter &p )
+void ImageItem::drawShape( TQPainter &p )
 {
-    p.drawPixmap( int(x()), int(y()), pixmap );
+    p.drawPixmap( int(x()), int(y()), pixmap );
 }
 
 bool ImageItem::hit( const TQPoint &p ) const
@@ -650,7 +650,7 @@ void Main::print()
 {
     if ( !printer ) printer = new TQPrinter;
     if ( printer->setup(this) ) {
-        TQPainter pp(printer);
+        TQPainter pp(printer);
         canvas.drawArea(TQRect(0,0,canvas.width(),canvas.height()),&pp,FALSE);
     }
 }
@@ -804,7 +804,7 @@ void Main::addMesh()
     int x0 = 0;
     int y0 = 0;
 
-    if ( !tb ) tb = new TQBrush( TQt::red );
+    if ( !tb ) tb = new TQBrush( TQt::red );
     if ( !tp ) tp = new TQPen( TQt::black );
 
     int nodecount = 0;
diff --git a/doc/html/chart-chartform-cpp.html b/doc/html/chart-chartform-cpp.html
index 89a849922..f7b4bcff2 100644
--- a/doc/html/chart-chartform-cpp.html
+++ b/doc/html/chart-chartform-cpp.html
@@ -42,8 +42,8 @@ body { background: #ffffff; color: black; }
 #include <ntqcombobox.h>
 #include <tqfile.h>
 #include <tqfiledialog.h>
-#include <ntqfont.h>
-#include <ntqfontdialog.h>
+#include <tqfont.h>
+#include <tqfontdialog.h>
 #include <tqmenubar.h>
 #include <ntqmessagebox.h>
 #include <ntqpixmap.h>
@@ -501,7 +501,7 @@ void ChartForm::updateChartType( TQAc
 void ChartForm::optionsSetFont()
 {
     bool ok;
-    TQFont font = TQFontDialog::getFont( &ok, m_font, this );
+    TQFont font = TQFontDialog::getFont( &ok, m_font, this );
     if ( ok ) {
         m_font = font;
         drawElements();
diff --git a/doc/html/chart-chartform-h.html b/doc/html/chart-chartform-h.html
index a438e5430..75ff19e97 100644
--- a/doc/html/chart-chartform-h.html
+++ b/doc/html/chart-chartform-h.html
@@ -118,7 +118,7 @@ private:
     ChartType m_chartType;
     AddValuesType m_addValues;
     int m_decimalPlaces;
-    TQFont m_font;
+    TQFont m_font;
 };
 
 #endif
diff --git a/doc/html/chart-chartform_canvas-cpp.html b/doc/html/chart-chartform_canvas-cpp.html
index 0c4fa1ae5..ffa470ec8 100644
--- a/doc/html/chart-chartform_canvas-cpp.html
+++ b/doc/html/chart-chartform_canvas-cpp.html
@@ -35,7 +35,7 @@ body { background: #ffffff; color: black; }
 
#include "canvastext.h"
 #include "chartform.h"
 
-#include <ntqbrush.h>
+#include <tqbrush.h>
 #include <tqcanvas.h>
 
 #include <math.h> // sin, cos
diff --git a/doc/html/chart-chartform_files-cpp.html b/doc/html/chart-chartform_files-cpp.html
index a00fbddde..4dec516af 100644
--- a/doc/html/chart-chartform_files-cpp.html
+++ b/doc/html/chart-chartform_files-cpp.html
@@ -37,7 +37,7 @@ body { background: #ffffff; color: black; }
 
 #include <tqfile.h>
 #include <tqfiledialog.h>
-#include <ntqpainter.h>
+#include <tqpainter.h>
 #include <ntqprinter.h>
 #include <tqstatusbar.h>
 
@@ -136,7 +136,7 @@ void ChartForm::filePrint()
     if ( !m_printer )
         m_printer = new TQPrinter;
     if ( m_printer->setup() ) {
-        TQPainter painter( m_printer );
+        TQPainter painter( m_printer );
         m_canvas->drawArea( TQRect( 0, 0, m_canvas->width(), m_canvas->height() ),
                             &painter, FALSE );
         if ( !m_printer->outputFileName().isEmpty() )
diff --git a/doc/html/chart-element-cpp.html b/doc/html/chart-element-cpp.html
index 3ee388b98..258d6cff2 100644
--- a/doc/html/chart-element-cpp.html
+++ b/doc/html/chart-element-cpp.html
@@ -122,14 +122,14 @@ TQTextStream &operator>>( TQTextStream
         double value = fields[0].toDouble( &ok );
         if ( !ok )
             errors++;
-        TQColor valueColor = TQColor( fields[1] );
-        if ( !valueColor.isValid() )
+        TQColor valueColor = TQColor( fields[1] );
+        if ( !valueColor.isValid() )
             errors++;
         int valuePattern = fields[2].toInt( &ok );
         if ( !ok )
             errors++;
-        TQColor labelColor = TQColor( fields[3] );
-        if ( !labelColor.isValid() )
+        TQColor labelColor = TQColor( fields[3] );
+        if ( !labelColor.isValid() )
             errors++;
         TQStringList propoints = TQStringList::split( PROPOINT_SEP, fields[4] );
         TQString label = data.section( FIELD_SEP, 5 );
diff --git a/doc/html/chart-element-h.html b/doc/html/chart-element-h.html
index 70497a784..bb5bebe8e 100644
--- a/doc/html/chart-element-h.html
+++ b/doc/html/chart-element-h.html
@@ -35,7 +35,7 @@ body { background: #ffffff; color: black; }
 
#ifndef ELEMENT_H
 #define ELEMENT_H
 
-#include <ntqcolor.h>
+#include <tqcolor.h>
 #include <ntqnamespace.h>
 #include <tqstring.h>
 #include <tqvaluevector.h>
@@ -60,7 +60,7 @@ public:
     Element( double value = INVALID, TQColor valueColor = TQt::gray,
              int valuePattern = TQt::SolidPattern,
              const TQString& label = TQString::null,
-             TQColor labelColor = TQt::black ) {
+             TQColor labelColor = TQt::black ) {
         init( value, valueColor, valuePattern, label, labelColor );
         for ( int i = 0; i < MAX_PROPOINTS * 2; ++i )
             m_propoints[i] = NO_PROPORTION;
@@ -70,24 +70,24 @@ public:
     bool isValid() const { return m_value > EPSILON; }
 
     double value() const { return m_value; }
-    TQColor valueColor() const { return m_valueColor; }
+    TQColor valueColor() const { return m_valueColor; }
     int valuePattern() const { return m_valuePattern; }
     TQString label() const { return m_label; }
-    TQColor labelColor() const { return m_labelColor; }
+    TQColor labelColor() const { return m_labelColor; }
     double proX( int index ) const;
     double proY( int index ) const;
 
     void set( double value = INVALID, TQColor valueColor = TQt::gray,
               int valuePattern = TQt::SolidPattern,
               const TQString& label = TQString::null,
-              TQColor labelColor = TQt::black ) {
+              TQColor labelColor = TQt::black ) {
         init( value, valueColor, valuePattern, label, labelColor );
     }
     void setValue( double value ) { m_value = value; }
-    void setValueColor( TQColor valueColor ) { m_valueColor = valueColor; }
+    void setValueColor( TQColor valueColor ) { m_valueColor = valueColor; }
     void setValuePattern( int valuePattern );
     void setLabel( const TQString& label ) { m_label = label; }
-    void setLabelColor( TQColor labelColor ) { m_labelColor = labelColor; }
+    void setLabelColor( TQColor labelColor ) { m_labelColor = labelColor; }
     void setProX( int index, double value );
     void setProY( int index, double value );
 
@@ -104,10 +104,10 @@ private:
                const TQString& label, TQColor labelColor );
 
     double m_value;
-    TQColor m_valueColor;
+    TQColor m_valueColor;
     int m_valuePattern;
     TQString m_label;
-    TQColor m_labelColor;
+    TQColor m_labelColor;
     double m_propoints[2 * MAX_PROPOINTS];
 };
 
diff --git a/doc/html/chart-optionsform-cpp.html b/doc/html/chart-optionsform-cpp.html
index 6401a5423..e6c2b89c6 100644
--- a/doc/html/chart-optionsform-cpp.html
+++ b/doc/html/chart-optionsform-cpp.html
@@ -36,7 +36,7 @@ body { background: #ffffff; color: black; }
 
 #include <ntqbuttongroup.h>
 #include <ntqcombobox.h>
-#include <ntqfontdialog.h>
+#include <tqfontdialog.h>
 #include <ntqframe.h>
 #include <tqimage.h>
 #include <ntqlabel.h>
@@ -150,19 +150,19 @@ body { background: #ffffff; color: black; }
 void OptionsForm::chooseFont()
 {
     bool ok;
-    TQFont font = TQFontDialog::getFont( &ok, m_font, this );
+    TQFont font = TQFontDialog::getFont( &ok, m_font, this );
     if ( ok )
         setFont( font );
 }
 
 
-void OptionsForm::setFont( TQFont font )
+void OptionsForm::setFont( TQFont font )
 {
-    TQString label = font.family() + " " +
-                    TQString::number( font.pointSize() ) + "pt";
-    if ( font.bold() )
+    TQString label = font.family() + " " +
+                    TQString::number( font.pointSize() ) + "pt";
+    if ( font.bold() )
         label += " Bold";
-    if ( font.italic() )
+    if ( font.italic() )
         label += " Italic";
     fontTextLabel->setText( label );
     m_font = font;
diff --git a/doc/html/chart-optionsform-h.html b/doc/html/chart-optionsform-h.html
index ebffe490a..3816533cf 100644
--- a/doc/html/chart-optionsform-h.html
+++ b/doc/html/chart-optionsform-h.html
@@ -57,8 +57,8 @@ public:
                  bool modal = FALSE, WFlags f = 0 );
     ~OptionsForm() {}
 
-    TQFont font() const { return m_font; }
-    void setFont( TQFont font );
+    TQFont font() const { return m_font; }
+    void setFont( TQFont font );
 
     TQLabel *chartTypeTextLabel;
     TQComboBox *chartTypeComboBox;
@@ -87,7 +87,7 @@ protected:
     TQHBoxLayout *buttonsLayout;
 
 private:
-    TQFont m_font;
+    TQFont m_font;
 };
 
 #endif
diff --git a/doc/html/chart-setdataform-cpp.html b/doc/html/chart-setdataform-cpp.html
index bc911fe24..737eb5574 100644
--- a/doc/html/chart-setdataform-cpp.html
+++ b/doc/html/chart-setdataform-cpp.html
@@ -35,7 +35,7 @@ body { background: #ffffff; color: black; }
 
#include "setdataform.h"
 #include "chartform.h"
 
-#include <ntqcolordialog.h>
+#include <tqcolordialog.h>
 #include <ntqcombobox.h>
 #include <ntqlayout.h>
 #include <ntqpixmap.h>
@@ -154,10 +154,10 @@ const int MAX_PATTERNS = 14;
                 TQString( "%1" ).arg( element.value(), 0, 'f',
                                      m_decimalPlaces ) );
 
-        TQColor color = element.valueColor();
+        TQColor color = element.valueColor();
         pix.fill( color );
         table->setPixmap( i, 1, pix );
-        table->setText( i, 1, color.name() );
+        table->setText( i, 1, color.name() );
 
         TQComboBox *combobox = new TQComboBox;
         for ( int j = 0; j < MAX_PATTERNS; ++j )
@@ -170,7 +170,7 @@ const int MAX_PATTERNS = 14;
         color = element.labelColor();
         pix.fill( color );
         table->setPixmap( i, 4, pix );
-        table->setText( i, 4, color.name() );
+        table->setText( i, 4, color.name() );
     }
 
 }
@@ -209,14 +209,14 @@ void SetDataForm::setColor( int row, int col )
     if ( !( col == 1 || col == 4 ) )
         return;
 
-    TQColor color = TQColorDialog::getColor(
+    TQColor color = TQColorDialog::getColor(
                         TQColor( table->text( row, col ) ),
                         this, "color dialog" );
-    if ( color.isValid() ) {
+    if ( color.isValid() ) {
         TQPixmap pix = table->pixmap( row, col );
         pix.fill( color );
         table->setPixmap( row, col, pix );
-        table->setText( row, col, color.name() );
+        table->setText( row, col, color.name() );
     }
 }
 
diff --git a/doc/html/classchart.html b/doc/html/classchart.html
index 5030512f4..dde8fead6 100644
--- a/doc/html/classchart.html
+++ b/doc/html/classchart.html
@@ -33,10 +33,10 @@ body { background: #ffffff; color: black; }
 

- + - + @@ -70,7 +70,7 @@ body { background: #ffffff; color: black; } - + @@ -172,9 +172,9 @@ body { background: #ffffff; color: black; } - + - + @@ -231,8 +231,8 @@ body { background: #ffffff; color: black; } - - + + @@ -240,10 +240,10 @@ body { background: #ffffff; color: black; } - - - - + + + + @@ -268,10 +268,10 @@ body { background: #ffffff; color: black; } - + - - + + diff --git a/doc/html/classes.html b/doc/html/classes.html index eb80188de..e01c669d2 100644 --- a/doc/html/classes.html +++ b/doc/html/classes.html @@ -335,7 +335,7 @@ classes, see TQt's Main Classes. TQToolTip -TQBrush +TQBrush TQDragMoveEvent @@ -513,7 +513,7 @@ classes, see TQt's Main Classes. TQCanvasRectangle -TQFont +TQFont TQMapConstIterator @@ -524,7 +524,7 @@ classes, see TQt's Main Classes. TQCanvasSpline -TQFontDatabase +TQFontDatabase TQMapIterator @@ -535,7 +535,7 @@ classes, see TQt's Main Classes. TQCanvasSprite -TQFontDialog +TQFontDialog TQMemArray @@ -546,7 +546,7 @@ classes, see TQt's Main Classes. TQCanvasText -TQFontInfo +TQFontInfo TQMenuBar @@ -568,7 +568,7 @@ classes, see TQt's Main Classes. TQCDEStyle -TQFontMetrics +TQFontMetrics TQMessageBox @@ -665,7 +665,7 @@ classes, see TQt's Main Classes. TQWindowsStyle -TQColor +TQColor TQGLayoutIterator @@ -676,7 +676,7 @@ classes, see TQt's Main Classes. TQWizard -TQColorDialog +TQColorDialog TQGLColormap @@ -698,7 +698,7 @@ classes, see TQt's Main Classes. TQWorkspace -TQColorGroup +TQColorGroup TQGLFormat @@ -724,7 +724,7 @@ classes, see TQt's Main Classes. TQGrid -TQMovie +TQMovie TQSqlPropertyMap @@ -866,7 +866,7 @@ classes, see TQt's Main Classes. TQHttp P -TQPaintDevice +TQPaintDevice TQStyle @@ -877,7 +877,7 @@ classes, see TQt's Main Classes. TQHttpHeader -TQPaintDeviceMetrics +TQPaintDeviceMetrics TQStyleFactory @@ -888,7 +888,7 @@ classes, see TQt's Main Classes. TQHttpRequestHeader -TQPainter +TQPainter TQStyleOption @@ -899,7 +899,7 @@ classes, see TQt's Main Classes. TQHttpResponseHeader -TQPaintEvent +TQPaintEvent TQStylePlugin diff --git a/doc/html/coordsys.html b/doc/html/coordsys.html index 8a9facf7d..86c4d9449 100644 --- a/doc/html/coordsys.html +++ b/doc/html/coordsys.html @@ -33,9 +33,9 @@ body { background: #ffffff; color: black; } -

A paint device in TQt is a drawable 2D +

A paint device in TQt is a drawable 2D surface. TQWidget, TQPixmap, TQPicture and TQPrinter are all -paint devices. A TQPainter is an object which can draw on such +paint devices. A TQPainter is an object which can draw on such devices.

The default coordinate system of a paint device has its origin at the top left corner. X increases to the right and Y increases downwards. @@ -49,20 +49,20 @@ left corner of a paint device.

The rectangle and the line were drawn by this code (with the grid added and colors touched up in the illustration):

-    void MyWidget::paintEvent( TQPaintEvent * )
+    void MyWidget::paintEvent( TQPaintEvent * )
     {
-        TQPainter p( this );
-        p.setPen( darkGray );
-        p.drawRect( 1,2, 5,4 );
-        p.setPen( lightGray );
-        p.drawLine( 9,2, 7,7 );
+        TQPainter p( this );
+        p.setPen( darkGray );
+        p.drawRect( 1,2, 5,4 );
+        p.setPen( lightGray );
+        p.drawLine( 9,2, 7,7 );
     }
 

Note that all of the pixels drawn by drawRect() are inside the size specified (5*4 pixels). This is different from some toolkits; in TQt the size you specify exactly encompasses the pixels drawn. This -applies to all the relevant functions in TQPainter. +applies to all the relevant functions in TQPainter.

Similarly, the drawLine() call draws both endpoints of the line, not just one.

Here are the classes that relate most closely to the coordinate @@ -71,7 +71,7 @@ system: TQPoint A single 2D point in the coordinate system. Most functions in TQt that deal with points can accept either a TQPoint argument -or two ints, for example TQPainter::drawPoint(). +or two ints, for example TQPainter::drawPoint(). TQSize A single 2D vector. Internally, TQPoint and TQSize are the same, but a point is not the same as a size, so both classes exist. @@ -84,12 +84,12 @@ ints, for example TQWidget::setGeometry( An arbitrary set of points, including all the normal set operations, e.g. TQRegion::intersect(), and also a less usual function to return a list of rectangles whose union is -equal to the region. TQRegion is used e.g. by TQPainter::setClipRegion(), TQWidget::repaint() and TQPaintEvent::region(). - TQPainter +equal to the region. TQRegion is used e.g. by TQPainter::setClipRegion(), TQWidget::repaint() and TQPaintEvent::region(). + TQPainter The class that paints. It can paint on any device with the -same code. There are differences between devices, TQPrinter::newPage() is a good example, but TQPainter works the +same code. There are differences between devices, TQPrinter::newPage() is a good example, but TQPainter works the same way on all devices. - TQPaintDevice + TQPaintDevice A device on which TQPainter can paint. There are two internal devices, both pixel-based, and two external devices, TQPrinter and TQPicture (which records TQPainter commands to a file or other TQIODevice, and plays them back). Other @@ -97,7 +97,7 @@ devices can be defined.

Transformations

-

Although TQt's default coordinate system works as described above, TQPainter also supports arbitrary transformations. +

Although TQt's default coordinate system works as described above, TQPainter also supports arbitrary transformations.

This transformation engine is a three-step pipeline, closely following the model outlined in books such as Foley & Van Dam and the @@ -105,13 +105,13 @@ the model outlined in books such as coverage; here we give just a brief overview and an example.

The first step uses the world transformation matrix. Use this matrix to orient and position your objects in your model. TQt provides -methods such as TQPainter::rotate(), TQPainter::scale(), TQPainter::translate() and so on to operate on this matrix. -

TQPainter::save() and TQPainter::restore() save and restore this -matrix. You can also use TQWMatrix objects, TQPainter::worldMatrix() and TQPainter::setWorldMatrix() to store and +methods such as TQPainter::rotate(), TQPainter::scale(), TQPainter::translate() and so on to operate on this matrix. +

TQPainter::save() and TQPainter::restore() save and restore this +matrix. You can also use TQWMatrix objects, TQPainter::worldMatrix() and TQPainter::setWorldMatrix() to store and use named matrices.

The second step uses the window. The window describes the view boundaries in model coordinates. The matrix positions the objects -and TQPainter::setWindow() positions the window, deciding what +and TQPainter::setWindow() positions the window, deciding what coordinates will be visible. (If you have 3D experience, the window is what's usually called projection in 3D.)

The third step uses the viewport. The viewport too, describes the view @@ -122,12 +122,12 @@ you are drawing, which is usually appropriate. For printing this function is vital, since very few printers can print over the entire physical page.

So each object to be drawn is transformed into model -coordinates using TQPainter::worldMatrix(), then positioned -on the drawing device using TQPainter::window() and -TQPainter::viewport(). +coordinates using TQPainter::worldMatrix(), then positioned +on the drawing device using TQPainter::window() and +TQPainter::viewport().

It is perfectly possible to do without one or two of the stages. If, -for example, your goal is to draw something scaled, then just using TQPainter::scale() makes perfect sense. If your goal is to use a -fixed-size coordinate system, TQPainter::setWindow() is +for example, your goal is to draw something scaled, then just using TQPainter::scale() makes perfect sense. If your goal is to use a +fixed-size coordinate system, TQPainter::setWindow() is ideal. And so on.

Here is a short example that uses all three mechanisms: the function that draws the clock face in the aclock/aclock.cpp example. We @@ -135,23 +135,23 @@ recommend compiling and running the example before you read any further. In particular, try resizing the window to different sizes.

-

    void AnalogClock::drawClock( TQPainter *paint )
+
    void AnalogClock::drawClock( TQPainter *paint )
     {
-        paint->save();
+        paint->save();
 

Firstly, we save the painter's state, so that the calling function is guaranteed not to be disturbed by the transformations we're going to use. -

        paint->setWindow( -500,-500, 1000,1000 );
+

        paint->setWindow( -500,-500, 1000,1000 );
 

We set the model coordinate system we want a 1000*1000 window where 0,0 is in the middle. -

        TQRect v = paint->viewport();
+

        TQRect v = paint->viewport();
         int d = TQMIN( v.width(), v.height() );
 

The device may not be square and we want the clock to be, so we find its current viewport and compute its shortest side. -

        paint->setViewport( v.left() + (v.width()-d)/2,
+

        paint->setViewport( v.left() + (v.width()-d)/2,
                             v.top() + (v.height()-d)/2, d, d );
 

Then we set a new square viewport, centered in the old one. @@ -165,41 +165,41 @@ possible square that'll fit in the output device.

Next come three drawing blocks, one for the hour hand, one for the minute hand and finally one for the clock face itself. First we draw the hour hand: -

        paint->save();
-        paint->rotate( 30*(time.hour()%12-3) + time.minute()/2 );
+

        paint->save();
+        paint->rotate( 30*(time.hour()%12-3) + time.minute()/2 );
 

We save the painter and then rotate it so that one axis points along the hour hand.

        pts.setPoints( 4, -20,0,  0,-20, 300,0, 0,20 );
-        paint->drawConvexPolygon( pts );
+        paint->drawConvexPolygon( pts );
 

We set pts to a four-point polygon that looks like the hour hand at three o'clock, and draw it. Because of the rotation, it's drawn pointed in the right direction. -

        paint->restore();
+

        paint->restore();
 

We restore the saved painter, undoing the rotation. We could also call rotate( -30 ) but that might introduce rounding errors, so it's better to use save() and restore(). Next, the minute hand, drawn almost the same way: -

        paint->save();
-        paint->rotate( (time.minute()-15)*6 );
+

        paint->save();
+        paint->rotate( (time.minute()-15)*6 );
         pts.setPoints( 4, -10,0, 0,-10, 400,0, 0,10 );
-        paint->drawConvexPolygon( pts );
-        paint->restore();
+        paint->drawConvexPolygon( pts );
+        paint->restore();
 

The only differences are how the rotation angle is computed and the shape of the polygon.

The last part to be drawn is the clock face itself.

        for ( int i=0; i<12; i++ ) {
-            paint->drawLine( 440,0, 460,0 );
-            paint->rotate( 30 );
+            paint->drawLine( 440,0, 460,0 );
+            paint->rotate( 30 );
         }
 

Twelve short hour lines at thirty-degree intervals. At the end of that, the painter is rotated in a way which isn't very useful, but we're done with painting so that doesn't matter. -

        paint->restore();
+

        paint->restore();
     }
 

The final line of the function restores the painter, so that the diff --git a/doc/html/customlayout-example.html b/doc/html/customlayout-example.html index 8427c6586..e40ad039f 100644 --- a/doc/html/customlayout-example.html +++ b/doc/html/customlayout-example.html @@ -757,11 +757,11 @@ CardLayout::~CardLayout() #include <ntqapplication.h> #include <ntqlabel.h> -#include <ntqcolor.h> +#include <tqcolor.h> #include <ntqgroupbox.h> #include <ntqpushbutton.h> #include <ntqmultilineedit.h> -#include <ntqcolor.h> +#include <tqcolor.h> int main( int argc, char **argv ) { diff --git a/doc/html/customstyles.html b/doc/html/customstyles.html index 6ff40962f..cf5827fb0 100644 --- a/doc/html/customstyles.html +++ b/doc/html/customstyles.html @@ -80,9 +80,9 @@ public: ~CustomStyle(); void drawPrimitive( PrimitiveElement pe, - TQPainter *p, + TQPainter *p, const TQRect & r, - const TQColorGroup & cg, + const TQColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & = TQStyleOption::Default ) const; @@ -109,9 +109,9 @@ CustomStyle::~CustomStyle() } void CustomStyle::drawPrimitive( PrimitiveElement pe, - TQPainter * p, + TQPainter * p, const TQRect & r, - const TQColorGroup & cg, + const TQColorGroup & cg, SFlags flags, const TQStyleOption & opt ) const { @@ -155,13 +155,13 @@ void CustomStyle::drawPrimitive( PrimitiveElement pe, // use different colors to indicate that the arrow is // enabled/disabled if ( flags & Style_Enabled ) { - p->setPen( cg.mid() ); - p->setBrush( cg.brush( TQColorGroup::ButtonText ) ); + p->setPen( cg.mid() ); + p->setBrush( cg.brush( TQColorGroup::ButtonText ) ); } else { - p->setPen( cg.buttonText() ); - p->setBrush( cg.brush( TQColorGroup::Mid ) ); + p->setPen( cg.buttonText() ); + p->setBrush( cg.brush( TQColorGroup::Mid ) ); } - p->drawPolygon( pa ); + p->drawPolygon( pa ); } else { // let the base style handle the other primitives TQWindowsStyle::drawPrimitive( pe, p, r, cg, flags, data ); diff --git a/doc/html/datastreamformat.html b/doc/html/datastreamformat.html index b4c678eb7..7862c79db 100644 --- a/doc/html/datastreamformat.html +++ b/doc/html/datastreamformat.html @@ -85,7 +85,7 @@ The null string is represented as (TQ_UINT32) 0. TQBrush

  • The brush style (TQ_UINT8) -
  • The brush color (TQColor) +
  • The brush color (TQColor)
  • If style is CustomPattern, the brush pixmap (TQPixmap)
TQByteArray @@ -99,11 +99,11 @@ The null string is represented as (TQ_UINT32) 0.
  • The string bytes including the terminating 0 The null string is represented as (TQ_UINT32) 0. - TQColor + TQColor
    • RGB value serialized as a TQ_UINT32
    TQColorGroup
      -
    • foreground (TQBrush) +
    • foreground (TQBrush)
    • button (TQBrush)
    • light (TQBrush)
    • midLight (TQBrush) @@ -156,7 +156,7 @@ that.
    TQPalette @@ -164,7 +164,7 @@ that.
    • The pen styles (TQ_UINT8)
    • The pen width (TQ_UINT8) -
    • The pen color (TQColor) +
    • The pen color (TQColor)
    TQPicture
      diff --git a/doc/html/designer-manual-3.html b/doc/html/designer-manual-3.html index 51e2bb3aa..7234bf50c 100644 --- a/doc/html/designer-manual-3.html +++ b/doc/html/designer-manual-3.html @@ -263,16 +263,16 @@ body { background: #ffffff; color: black; }
      • class TQString;

      • class TQColor;

      Adding Includes

      -

      Our form will also need some included files. Includes may be added in the declaration, or (for preference) in the implementation. Right click "Includes (in Implementation)", then click Edit. Use the dialog that pops up to enter "ntqcolor.h" and "tqstring.h". Since we're going to use the clipboard we'll need access to the global clipboard object via TQApplication, so also add "ntqapplication.h" and "tqclipboard.h". We'll also be doing some drawing (e.g. the color swatches), so add "ntqpainter.h" too, then close the dialog.

      +

      Our form will also need some included files. Includes may be added in the declaration, or (for preference) in the implementation. Right click "Includes (in Implementation)", then click Edit. Use the dialog that pops up to enter "tqcolor.h" and "tqstring.h". Since we're going to use the clipboard we'll need access to the global clipboard object via TQApplication, so also add "ntqapplication.h" and "tqclipboard.h". We'll also be doing some drawing (e.g. the color swatches), so add "tqpainter.h" too, then close the dialog.

      When entering include files you can include double quotes or angle brackets if you wish; if you don't use either TQt Designer will put in double quotes automatically.

      You should now have added the following includes (in implementation):

      -
      • "ntqcolor.h"

        +
        • "tqcolor.h"

        • "tqstring.h"

        • "ntqapplication.h"

        • "tqclipboard.h"

          -
        • "ntqpainter.h"

          +
        • "tqpainter.h"

        Signals and Slots Connections

        Most of the signals and slots connections were created automatically by the main window wizard when we created the main form. We have added some new actions since then, and we need to ensure that they are connected to slots so that we can code their behavior.

        @@ -385,11 +385,11 @@ body { background: #ffffff; color: black; } int row = 0; TQMap<TQString,TQColor>::ConstIterator it; for ( it = m_colors.constBegin(); it != m_colors.constEnd(); ++it ) { - TQColor color = it.data(); + TQColor color = it.data(); pixmap.fill( color ); colorTable->setText( row, COL_NAME, it.key() ); colorTable->setPixmap( row, COL_NAME, pixmap ); - colorTable->setText( row, COL_HEX, color.name().upper() ); + colorTable->setText( row, COL_HEX, color.name().upper() ); if ( m_show_web ) { TQCheckTableItem *item = new TQCheckTableItem( colorTable, "" ); item->setChecked( isWebColor( color ) ); @@ -422,17 +422,17 @@ body { background: #ffffff; color: black; } }

  • This function is at the heart of the application. It visually presents the data to the user. If the table is "dirty" (e.g. if the user has added or deleted colors in the icon view, or has opened a color file) we will populate the table. We start by deleting the contents of every cell. Next we change the number of rows to equal the number of colors in the colors map. For each color we want to display a little square that shows the color, so we create a pixmap of the required size.

    -

    We now create an iterator for our colors map, and iterate over every color. The colors map has the user's color names as its keys, and TQColor instances as values. We retrieve the color and fill our pixmap with that color. We then set the "Name" column (column COL_NAME), to have the color's name (it.key()) and the pixmap we've just filled with that color. TQColor's name() function returns a string that is the hex representation of a color, e.g. "#12AB2F"; we retrieve this and set the second ("Hex") column to this value.

    +

    We now create an iterator for our colors map, and iterate over every color. The colors map has the user's color names as its keys, and TQColor instances as values. We retrieve the color and fill our pixmap with that color. We then set the "Name" column (column COL_NAME), to have the color's name (it.key()) and the pixmap we've just filled with that color. TQColor's name() function returns a string that is the hex representation of a color, e.g. "#12AB2F"; we retrieve this and set the second ("Hex") column to this value.

    If the user wants to see if which colors are web colors we create a TQCheckTableItem, and check it if it is a web color. (We'll cover isWebColor() shortly.) We then insert this TQCheckTableItem into the "Web" column.

    Having populated the table we call adjustColumn() to ensure that each column is just wide enough to show its widest entry, and show or hide the "Web" column depending on the user's preference.

    Finally we set m_table_dirty to FALSE, since it is now up-to-date.

    If the icon view is "dirty" we clear() it of any existing data. We then iterate over each color in our colors map. For each color we create a new TQIconViewItem; we label the item with the user's color name and provide a pixmap (generated by colorSwatch(), covered shortly) in the relevant color. Finally we set m_icons_dirty to "FALSE", since it is now up-to-date.

    isWebColor()

    -
        bool MainForm::isWebColor( TQColor color )
    +
        bool MainForm::isWebColor( TQColor color )
         {
    -        int r = color.red();
    -        int g = color.green();
    -        int b = color.blue();
    +        int r = color.red();
    +        int g = color.green();
    +        int b = color.blue();
     
             return ( ( r ==   0 || r ==  51 || r == 102 ||
                        r == 153 || r == 204 || r == 255 ) &&
    @@ -444,20 +444,20 @@ body { background: #ffffff; color: black; }
     

    The 216 web colors are those colors whose RGB (Red, Green, Blue) values are all in the set (0, 51, 102, 153, 204, 255).

    colorSwatch()

    -
        TQPixmap MainForm::colorSwatch( const TQColor color )
    +
        TQPixmap MainForm::colorSwatch( const TQColor color )
         {
             TQPixmap pixmap( 80, 80 );
             pixmap.fill( white );
    -        TQPainter painter;
    -        painter.begin( &pixmap );
    -        painter.setPen( NoPen );
    -        painter.setBrush( color );
    -        painter.drawEllipse( 0, 0, 80, 80 );
    -        painter.end();
    +        TQPainter painter;
    +        painter.begin( &pixmap );
    +        painter.setPen( NoPen );
    +        painter.setBrush( color );
    +        painter.drawEllipse( 0, 0, 80, 80 );
    +        painter.end();
             return pixmap;
         }
     
    -

    We create a pixmap of a suitable size and fill it with white. We then create a TQPainter which we'll use to paint on the pixmap. We don't want a pen because we don't want an outline around the shape we draw. We draw an ellipse (which will be circular since we draw in an 80 x 80 pixel square). We return the resultant pixmap.

    +

    We create a pixmap of a suitable size and fill it with white. We then create a TQPainter which we'll use to paint on the pixmap. We don't want a pen because we don't want an outline around the shape we draw. We draw an ellipse (which will be circular since we draw in an 80 x 80 pixel square). We return the resultant pixmap.

    Creating main.cpp

    Now that we've entered some of the code it would be nice to build and run the application to get a feel for the progress we've made. To do this we need to create a main() function. In TQt we typically create a small main.cpp file for the main() function. We can ask TQt Designer to create this file for us.

    Click File|New to invoke the New File dialog. Click "C++ Main-File", then click OK. The Configure Main-File dialog appears, listing the all the forms in the project. We've only got one form, "MainForm", so it is already highlighted. Click OK to create a main.cpp file that loads our MainForm.

    @@ -527,13 +527,13 @@ body { background: #ffffff; color: black; }

    By default any function that it typed directly into the code editor becomes a public function. To change this, right click the function's name in Object Explorer's Members list, and click Properties to invoke the Edit Functions dialog. This dialog can be used to change various attributes of the function, including changing it into a slot.

        void MainForm::changedColor( const TQString& name )
         {
    -        TQColor color = m_colors[name];
    -        int r = color.red();
    -        int g = color.green();
    -        int b = color.blue();
    +        TQColor color = m_colors[name];
    +        int r = color.red();
    +        int g = color.green();
    +        int b = color.blue();
             statusBar()->message( TQString( "%1 \"%2\" (%3,%4,%5)%6 {%7 %8 %9}" ).
                                   arg( name ).
    -                              arg( color.name().upper() ).
    +                              arg( color.name().upper() ).
                                   arg( r ).arg( g ).arg( b ).
                                   arg( isWebColor( color ) ? " web" : "" ).
                                   arg( r / 255.0, 1, 'f', 3 ).
    @@ -672,7 +672,7 @@ RED WHITESPACE GREEN WHITESPACE BLUE WHITESPACE NAME
     

    The file may also include comment lines; these begin with '!' for example.

    There are numerous approaches we could have taken to parsing these files, but we've opted for a simple regular expression (regex). The regex is more "liberal" regarding the whitespace in the input than the format demands.

    -

    If a line matches the regex we create a new entry in the m_colors TQMap, setting its text to be the name of the color (regex.cap( 4 )), and its value to be a new TQColor created from the red, green and blue values. Lines that don't match the regex are treated as comments and are stored in the m_comments string list. (When we save the file we write all the comments out first even if they appeared in the middle of the file.)

    +

    If a line matches the regex we create a new entry in the m_colors TQMap, setting its text to be the name of the color (regex.cap( 4 )), and its value to be a new TQColor created from the red, green and blue values. Lines that don't match the regex are treated as comments and are stored in the m_comments string list. (When we save the file we write all the comments out first even if they appeared in the middle of the file.)

    Once we've populated the m_colors map we mark the visible view as "dirty" and call populate() to update it. We then mark the visible view as not dirty and the non-visible view as dirty. This ensures that when user changes the view, the view they switch to will be updated. We could have simply marked both views as dirty and updated them both, but it is more efficient to update "lazily", after all the user may only ever use one view, so why waste their time updating the other one.

    Since we're using TQFile and TQRegExp we need to include the relevant headers. (Right click "Includes (in Implementation)", then click New. Type "tqfile.h" and press Enter. Repeat this process to add "tqregexp.h".)

    You should now have added the following declarations to your includes (in implementation):

    @@ -729,11 +729,11 @@ Captures: cap(1) cap(2) cap(3) cap(4) stream << m_comments.join( "\n" ) << "\n"; TQMap<TQString,TQColor>::ConstIterator it; for ( it = m_colors.constBegin(); it != m_colors.constEnd(); ++it ) { - TQColor color = it.data(); + TQColor color = it.data(); stream << TQString( "%1 %2 %3\t\t%4" ). - arg( color.red(), 3 ). - arg( color.green(), 3 ). - arg( color.blue(), 3 ). + arg( color.red(), 3 ). + arg( color.green(), 3 ). + arg( color.blue(), 3 ). arg( it.key() ) << "\n"; } file.close(); @@ -822,15 +822,15 @@ Captures: cap(1) cap(2) cap(3) cap(4) text = item->text(); } if ( ! text.isNull() ) { - TQColor color = m_colors[text]; + TQColor color = m_colors[text]; switch ( m_clip_as ) { - case CLIP_AS_HEX: text = color.name(); break; + case CLIP_AS_HEX: text = color.name(); break; case CLIP_AS_NAME: break; case CLIP_AS_RGB: text = TQString( "%1,%2,%3" ). - arg( color.red() ). - arg( color.green() ). - arg( color.blue() ); + arg( color.red() ). + arg( color.green() ). + arg( color.blue() ); break; } clipboard->setText( text ); diff --git a/doc/html/designer-manual-4.html b/doc/html/designer-manual-4.html index e7871d8d7..4da644520 100644 --- a/doc/html/designer-manual-4.html +++ b/doc/html/designer-manual-4.html @@ -120,7 +120,7 @@ body { background: #ffffff; color: black; }

    The situation is different for variables. If you add these to Members, Class Variables, they will be included as private variables in the class definition. If you type them at the top of the .ui.h file they will be form-global variables.

    We'll start by adding some includes.

    -
        #include <ntqcolor.h>
    +
        #include <tqcolor.h>
         #include <tqmap.h>
         #include <tqstring.h>
     
    @@ -151,9 +151,9 @@ body { background: #ffffff; color: black; }

    Using the Dialog

    The ColorNameForm dialog will be called from the main form. The caller will firstly call one of TQt's static "choose a color" dialogs, and if the user chooses a color, will then invoke our custom dialog. Since we're going to use a "choose a color" dialog we will need the appropriate header file. We'll also be accessing the dialog's colorLabel (to set it to the chosen color), and the dialog's line edit (to retrieve the color name), so we'll need appropriate headers for these too.

    Click "MainForm" in the Project Overview window so that Object Explorer shows the main form's objects.

    -

    Click Object Explorer's Members tab. Right click "Includes (in Implementation)", then click Edit to invoke the Edit Includes (in Implementation) dialog. Click Add then enter "ntqcolordialog.h". Click Add again, and enter "ntqlabel.h". Similarly add "ntqlineedit.h". We also need to include the header for the form we've just created, so add "colornameform.h", and since it is our last entry press Enter, then click Close.

    +

    Click Object Explorer's Members tab. Right click "Includes (in Implementation)", then click Edit to invoke the Edit Includes (in Implementation) dialog. Click Add then enter "tqcolordialog.h". Click Add again, and enter "ntqlabel.h". Similarly add "ntqlineedit.h". We also need to include the header for the form we've just created, so add "colornameform.h", and since it is our last entry press Enter, then click Close.

    You should now have added the following declarations to your includes (in implementation):

    -
    • "ntqcolordialog.h"

      +
      • "tqcolordialog.h"

      • "ntqlabel.h"

      • "ntqlineedit.h"

      • "colornameform.h"

        @@ -161,7 +161,7 @@ body { background: #ffffff; color: black; }
        editAdd()
            void MainForm::editAdd()
             {
        -        TQColor color = white;
        +        TQColor color = white;
                 if ( ! m_colors.isEmpty() ) {
                     TQWidget *visible = colorWidgetStack->visibleWidget();
                     if ( visible == tablePage )
        @@ -170,8 +170,8 @@ body { background: #ffffff; color: black; }
                     else
                         color = colorIconView->currentItem()->text();
                 }
        -        color = TQColorDialog::getColor( color, this );
        -        if ( color.isValid() ) {
        +        color = TQColorDialog::getColor( color, this );
        +        if ( color.isValid() ) {
                     TQPixmap pixmap( 80, 10 );
                     pixmap.fill( color );
                     ColorNameForm *colorForm = new ColorNameForm( this, "color", TRUE );
        @@ -186,7 +186,7 @@ body { background: #ffffff; color: black; }
                         colorTable->insertRows( row, 1 );
                         colorTable->setText( row, COL_NAME, name );
                         colorTable->setPixmap( row, COL_NAME, pixmap );
        -                colorTable->setText( row, COL_HEX, color.name().upper() );
        +                colorTable->setText( row, COL_HEX, color.name().upper() );
                         if ( m_show_web ) {
                             TQCheckTableItem *item = new TQCheckTableItem( colorTable, "" );
                             item->setChecked( isWebColor( color ) );
        @@ -201,7 +201,7 @@ body { background: #ffffff; color: black; }
                 }
             }
         
        -

        The code for this function is quite long, but it isn't difficult. We start by setting a default color to white. If there are any colors in the m_colors map we set the default color to be the current color showing in the current view. We then invoke TQt's static getColor() dialog, passing it the default color. (If the user cancels an invalid color is returned.)

        +

        The code for this function is quite long, but it isn't difficult. We start by setting a default color to white. If there are any colors in the m_colors map we set the default color to be the current color showing in the current view. We then invoke TQt's static getColor() dialog, passing it the default color. (If the user cancels an invalid color is returned.)

        If the user chose a color we want to show their chosen color in our custom dialog, so we create a pixmap and fill it with their chosen color. We create an instance of our ColorNameForm as a modal dialog (third argument is TRUE). We then call its setColors() function to set the colors in the m_colors map (so that the validate() function will work correctly). We set its colorLabel's pixmap to the pixmap we've just created, i.e. to a rectangle in the user's chosen color.

        We execute (exec()) the dialog. If the user clicks OK (and the color name they've entered is valid), the call will return a true value. In this case we retrieve the name they've entered from the line edit and create a new entry in the m_colors map using the name the user has given and the color they chose.

        At this point we could simply mark the views "dirty" and call repopulate. Instead we'll add the new color to each view directly and save the overhead of a full update (which might be considerable if we have thousands of colors).

        @@ -487,21 +487,21 @@ body { background: #ffffff; color: black; }
      • "tqclipboard.h"

      • "ntqmessagebox.h"

      • "tqstatusbar.h"

        -
      • "ntqpainter.h"

        +
      • "tqpainter.h"

      • "tqstring.h"

        -
      • "ntqcolor.h"

        +
      • "tqcolor.h"

      • "ntqapplication.h"

      • "tqfiledialog.h"

      • "tqfile.h"

      • "tqregexp.h"

        -
      • "ntqcolordialog.h"

        +
      • "tqcolordialog.h"

      • "colornameform.h"

      • "ntqcheckbox.h"

      • "ntqradiobutton.h"

      • "tqsettings.h"

      ColorNameForm Members

      We put all the ColorNameForm declarations in the source code file. The file colornameform.ui.h should begin with the following declarations:

      -
          #include <ntqcolor.h>
      +
          #include <tqcolor.h>
           #include <tqmap.h>
           #include <tqstring.h>
       
      diff --git a/doc/html/designer-manual-9.html b/doc/html/designer-manual-9.html
      index c24856a8b..3a212b29a 100644
      --- a/doc/html/designer-manual-9.html
      +++ b/doc/html/designer-manual-9.html
      @@ -200,7 +200,7 @@ myform.h: myform.ui
       

      TQt has equivalents for most GTK+ widgets, but Glade also supports GNOME, whose goal is to provide a complete desktop environment. Because TQt's scope is narrower, when TQt Designer encounters a widget it cannot convert, it replaces it with a label that indicates the problem. For example, a GnomePaperSelector will be replaced by a TQLabel whose text is "GnomePaperSelector?" in red. If you are porting to KDE, you might want to use the corresponding KDE widget.

      Other GTK+/GNOME widgets are only supported in certain contexts. For example, the GnomeDruid can be embedded in another widget, whereas the corresponding TQWizard class cannot.

    • Message boxes and other high-level dialogs

      -

      Glade supports editing of GnomeMessageBox, GtkFileSelection, GtkFontSelectionDialog and others. This is trivially achieved in TQt by means of a TQMessageBox dialog, a TQFileDialog, a TQFontDialog, etc., in C++ code.

      +

      Glade supports editing of GnomeMessageBox, GtkFileSelection, GtkFontSelectionDialog and others. This is trivially achieved in TQt by means of a TQMessageBox dialog, a TQFileDialog, a TQFontDialog, etc., in C++ code.

    • Stand-alone popup menus

      TQt Designer only supports popup menus inside a TQMainWindow. If you need a stand-alone popup menu (presumably a context menu), you can easily write code that does this using TQPopupMenu.

    • Size policy parameters

      diff --git a/doc/html/desktop-example.html b/doc/html/desktop-example.html index fffc382c8..64ccac086 100644 --- a/doc/html/desktop-example.html +++ b/doc/html/desktop-example.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

      The desktop demo contains three routines, each of which draws -something on the desktop. It does some nice stuff with TQPainter, +something on the desktop. It does some nice stuff with TQPainter, and also demonstrates how one can treat the desktop as a widget like any other.


      @@ -51,7 +51,7 @@ any other. #include <tqimage.h> #include <tqbitmap.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <ntqapplication.h> #include <tqdropsite.h> #include <tqdragobject.h> @@ -109,12 +109,12 @@ void poly() yvel[i] = velocity(i); } - TQPainter paint; - paint.begin( d ); // start painting desktop + TQPainter paint; + paint.begin( d ); // start painting desktop for ( int ntimes=0; ntimes<2000; ntimes++ ) { - paint.setBrush( TQColor(kindaRand()%360, 180, 255, TQColor::Hsv) ); - paint.drawPolygon( a[head] ); + paint.setBrush( TQColor(kindaRand()%360, 180, 255, TQColor::Hsv) ); + paint.drawPolygon( a[head] ); if ( ++tail >= maxcurves ) tail = 0; @@ -147,7 +147,7 @@ void poly() a[head].setPoint( i, x, y ); } } - paint.end(); // painting done + paint.end(); // painting done delete[] a; } @@ -190,39 +190,39 @@ void rotate() // void generateStone( TQPixmap *pm, - const TQColor &c1, const TQColor &c2, const TQColor &c3 ) + const TQColor &c1, const TQColor &c2, const TQColor &c3 ) { - TQPainter p; + TQPainter p; TQPen p1 ( c1, 0 ); TQPen p2 ( c2, 0 ); TQPen p3 ( c3, 0 ); - p.begin( pm ); + p.begin( pm ); for( int i = 0 ; i < pm->width() ; i++ ) for( int j = 0 ; j < pm->height() ; j++ ) { int r = kindaRand(); if ( r < KINDA_RAND_MAX / 3 ) - p.setPen( p1 ); + p.setPen( p1 ); else if ( r < KINDA_RAND_MAX / 3 * 2 ) - p.setPen( p2 ); + p.setPen( p2 ); else - p.setPen( p3 ); - p.drawPoint( i,j ); + p.setPen( p3 ); + p.drawPoint( i,j ); } - p.end(); + p.end(); } -void drawShadeText( TQPainter *p, int x, int y, const char *text, - const TQColor &topColor, const TQColor &bottomColor, +void drawShadeText( TQPainter *p, int x, int y, const char *text, + const TQColor &topColor, const TQColor &bottomColor, int sw = 2 ) { - if ( !p->isActive() ) + if ( !p->isActive() ) return; - p->setPen( bottomColor ); - p->drawText( x+sw, y+sw, text ); - p->setPen( topColor ); - p->drawText( x, y, text ); + p->setPen( bottomColor ); + p->drawText( x+sw, y+sw, text ); + p->setPen( topColor ); + p->drawText( x, y, text ); } // NOTE: desktop drag/drop is experimental @@ -232,7 +232,7 @@ class DesktopWidget : public TQWidget, private TQDro public: DesktopWidget( const char *s, TQWidget *parent=0, const char *name=0 ); ~DesktopWidget(); - void paintEvent( TQPaintEvent * ); + void paintEvent( TQPaintEvent * ); void dragEnterEvent( TQDragEnterEvent *e ) { @@ -276,11 +276,11 @@ DesktopWidget::~DesktopWidget() delete pm; } -void DesktopWidget::paintEvent( TQPaintEvent * ) +void DesktopWidget::paintEvent( TQPaintEvent * ) { - TQColor c1 = backgroundColor(); - TQColor c2 = c1.light(104); - TQColor c3 = c1.dark(106); + TQColor c1 = backgroundColor(); + TQColor c2 = c1.light(104); + TQColor c3 = c1.dark(106); if ( !pm ) { pm = new TQPixmap( 64, 64 ); generateStone( pm, c1, c2, c3 ); @@ -292,10 +292,10 @@ void DesktopWidget::paintEvent( width()/2 - br.width()/2; int y = height()/2 - br.height()/2; offscreen.fill( this, x, y ); - TQPainter p; - p.begin( &offscreen ); + TQPainter p; + p.begin( &offscreen ); drawShadeText( &p, -br.x(), -br.y(), text, c2, c3, 3 ); - p.end(); + p.end(); bitBlt( this, x, y, &offscreen ); } @@ -311,16 +311,16 @@ void desktopText( const char *s = "Trolltech" ) { const int border = 20; - TQColor c1 = tqApp->palette().inactive().background(); - TQColor c2 = c1.light(104); - TQColor c3 = c1.dark(106); + TQColor c1 = tqApp->palette().inactive().background(); + TQColor c2 = c1.light(104); + TQColor c3 = c1.dark(106); TQPixmap pm(10,10); - TQPainter p; - p.begin( &pm ); - TQRect r = p.fontMetrics().boundingRect( s ); - p.end(); + TQPainter p; + p.begin( &pm ); + TQRect r = p.fontMetrics().boundingRect( s ); + p.end(); int appWidth = tqApp->desktop()->width(); int appHeight = tqApp->desktop()->height(); @@ -331,9 +331,9 @@ void desktopText( const char *s = "Trolltech" ) pm.resize( r.size() + TQSize( border*2, border*2 ) ); generateStone( &pm, c1, c2, c3 ); - p.begin( &pm ); + p.begin( &pm ); drawShadeText( &p, -r.x() + border, -r.y() + border, s, c2, c3 ); - p.end(); + p.end(); tqApp->desktop()->setBackgroundPixmap( pm ); } @@ -347,8 +347,8 @@ int main( int argc, char **argv ) TQApplication app( argc, argv ); if ( argc > 1 ) { - TQFont f( "charter", 96, TQFont::Black ); - f.setStyleHint( TQFont::Times ); + TQFont f( "charter", 96, TQFont::Black ); + f.setStyleHint( TQFont::Times ); app.setFont( f ); } diff --git a/doc/html/dialogs.html b/doc/html/dialogs.html index 4155d4a65..d81d4f6c7 100644 --- a/doc/html/dialogs.html +++ b/doc/html/dialogs.html @@ -36,11 +36,11 @@ body { background: #ffffff; color: black; } boxes, generally.

      -
      TQColorDialogDialog widget for specifying colors +
      TQColorDialogDialog widget for specifying colors
      TQDialogThe base class of dialog windows
      TQErrorMessageError message display dialog
      TQFileDialogDialogs that allow users to select files or directories -
      TQFontDialogDialog widget for selecting a font +
      TQFontDialogDialog widget for selecting a font
      TQInputDialogSimple convenience dialog to get a single value from the user
      TQMessageBoxModal dialog with a short message, an icon, and some buttons
      TQProgressDialogFeedback on the progress of a slow operation diff --git a/doc/html/drawdemo-example.html b/doc/html/drawdemo-example.html index 07c90e8c4..5ecd477c6 100644 --- a/doc/html/drawdemo-example.html +++ b/doc/html/drawdemo-example.html @@ -48,7 +48,7 @@ You can easily add you own drawing functions. *****************************************************************************/ #include <tqwidget.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <ntqprinter.h> #include <ntqpushbutton.h> #include <ntqradiobutton.h> @@ -66,12 +66,12 @@ You can easily add you own drawing functions. // The coordinate system x=(0..500), y=(0..500) spans the paint device. // -void drawColorWheel( TQPainter *p ) +void drawColorWheel( TQPainter *p ) { - TQFont f( "times", 18, TQFont::Bold ); - p->setFont( f ); - p->setPen( TQt::black ); - p->setWindow( 0, 0, 500, 500 ); // defines coordinate system + TQFont f( "times", 18, TQFont::Bold ); + p->setFont( f ); + p->setPen( TQt::black ); + p->setWindow( 0, 0, 500, 500 ); // defines coordinate system for ( int i=0; i<36; i++ ) { // draws 36 rotated rectangles @@ -79,16 +79,16 @@ void drawColorWheel( TQPainter *p ) matrix.translate( 250.0F, 250.0F ); // move to center matrix.shear( 0.0F, 0.3F ); // twist it matrix.rotate( (float)i*10 ); // rotate 0,10,20,.. degrees - p->setWorldMatrix( matrix ); // use this world matrix + p->setWorldMatrix( matrix ); // use this world matrix - TQColor c; - c.setHsv( i*10, 255, 255 ); // rainbow effect - p->setBrush( c ); // solid fill with color c - p->drawRect( 70, -10, 80, 10 ); // draw the rectangle + TQColor c; + c.setHsv( i*10, 255, 255 ); // rainbow effect + p->setBrush( c ); // solid fill with color c + p->drawRect( 70, -10, 80, 10 ); // draw the rectangle TQString n; n.sprintf( "H=%d", i*10 ); - p->drawText( 80+70+5, 0, n ); // draw the hue number + p->drawText( 80+70+5, 0, n ); // draw the hue number } } @@ -97,7 +97,7 @@ void drawColorWheel( TQPainter *p ) // This function draws a few lines of text using different fonts. // -void drawFonts( TQPainter *p ) +void drawFonts( TQPainter *p ) { static const char *fonts[] = { "Helvetica", "Courier", "Times", 0 }; static int sizes[] = { 10, 12, 18, 24, 36, 0 }; @@ -106,12 +106,12 @@ void drawFonts( TQPainter *p ) while ( fonts[f] ) { int s = 0; while ( sizes[s] ) { - TQFont font( fonts[f], sizes[s] ); - p->setFont( font ); - TQFontMetrics fm = p->fontMetrics(); - y += fm.ascent(); - p->drawText( 10, y, "Quartz Glyph Job Vex'd Cwm Finks" ); - y += fm.descent(); + TQFont font( fonts[f], sizes[s] ); + p->setFont( font ); + TQFontMetrics fm = p->fontMetrics(); + y += fm.ascent(); + p->drawText( 10, y, "Quartz Glyph Job Vex'd Cwm Finks" ); + y += fm.descent(); s++; } f++; @@ -123,22 +123,22 @@ void drawFonts( TQPainter *p ) // This function draws some shapes // -void drawShapes( TQPainter *p ) +void drawShapes( TQPainter *p ) { - TQBrush b1( TQt::blue ); - TQBrush b2( TQt::green, TQt::Dense6Pattern ); // green 12% fill - TQBrush b3( TQt::NoBrush ); // void brush - TQBrush b4( TQt::CrossPattern ); // black cross pattern - - p->setPen( TQt::red ); - p->setBrush( b1 ); - p->drawRect( 10, 10, 200, 100 ); - p->setBrush( b2 ); - p->drawRoundRect( 10, 150, 200, 100, 20, 20 ); - p->setBrush( b3 ); - p->drawEllipse( 250, 10, 200, 100 ); - p->setBrush( b4 ); - p->drawPie( 250, 150, 200, 100, 45*16, 90*16 ); + TQBrush b1( TQt::blue ); + TQBrush b2( TQt::green, TQt::Dense6Pattern ); // green 12% fill + TQBrush b3( TQt::NoBrush ); // void brush + TQBrush b4( TQt::CrossPattern ); // black cross pattern + + p->setPen( TQt::red ); + p->setBrush( b1 ); + p->drawRect( 10, 10, 200, 100 ); + p->setBrush( b2 ); + p->drawRoundRect( 10, 150, 200, 100, 20, 20 ); + p->setBrush( b3 ); + p->drawEllipse( 250, 10, 200, 100 ); + p->setBrush( b4 ); + p->drawPie( 250, 150, 200, 100, 45*16, 90*16 ); } @@ -178,8 +178,8 @@ public slots: void updateIt( int ); void printIt(); protected: - void drawIt( TQPainter * ); - void paintEvent( TQPaintEvent * ); + void drawIt( TQPainter * ); + void paintEvent( TQPaintEvent * ); void resizeEvent( TQResizeEvent * ); private: TQPrinter *printer; @@ -209,13 +209,13 @@ private: int maxheight = 10; int i; const char *n; - TQFontMetrics fm = bgroup->fontMetrics(); + TQFontMetrics fm = bgroup->fontMetrics(); // Find out the longest function description. // Here we make use of the last "0,0"-entry in the // ourDrawFunctions-array. for ( i=0; (n=ourDrawFunctions[i].name) != 0; i++ ) { - int w = fm.width( n ); + int w = fm.width( n ); maxwidth = TQMAX(w,maxwidth); // TQMAX is a macro defined in ntqglobal.h // and returns the biggest of to values. // Due to its macro nature one should use it with care and with @@ -295,7 +295,7 @@ void DrawView::updateIt( int index ) // Calls the drawing function as specified by the radio buttons. // -void DrawView::drawIt( TQPainter *p ) +void DrawView::drawIt( TQPainter *p ) { (*ourDrawFunctions[drawindex].f)(p); } @@ -307,8 +307,8 @@ void DrawView::drawIt( TQPainterDrawView::printIt() { if ( printer->setup( this ) ) { - TQPainter paint; - if( !paint.begin( printer ) ) + TQPainter paint; + if( !paint.begin( printer ) ) return; drawIt( &paint ); } @@ -318,9 +318,9 @@ void DrawView::printIt() // Called when the widget needs to be updated. // -void DrawView::paintEvent( TQPaintEvent * ) +void DrawView::paintEvent( TQPaintEvent * ) { - TQPainter paint( this ); + TQPainter paint( this ); drawIt( &paint ); } diff --git a/doc/html/drawlines-example.html b/doc/html/drawlines-example.html index 2b66bbb56..34c40d1d8 100644 --- a/doc/html/drawlines-example.html +++ b/doc/html/drawlines-example.html @@ -50,7 +50,7 @@ release the button, and watch the lines get drawn. *****************************************************************************/ #include <tqwidget.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <ntqapplication.h> #include <stdlib.h> @@ -69,13 +69,13 @@ public: ConnectWidget( TQWidget *parent=0, const char *name=0 ); ~ConnectWidget(); protected: - void paintEvent( TQPaintEvent * ); + void paintEvent( TQPaintEvent * ); void mousePressEvent( TQMouseEvent *); void mouseReleaseEvent( TQMouseEvent *); void mouseMoveEvent( TQMouseEvent *); private: TQPoint *points; // point array - TQColor *colors; // color array + TQColor *colors; // color array int count; // count = number of points bool down; // TRUE if mouse down }; @@ -92,7 +92,7 @@ private: count = 0; down = FALSE; points = new TQPoint[MAXPOINTS]; - colors = new TQColor[MAXCOLORS]; + colors = new TQColor[MAXCOLORS]; for ( int i=0; i<MAXCOLORS; i++ ) // init color array colors[i] = TQColor( rand()&255, rand()&255, rand()&255 ); } @@ -108,13 +108,13 @@ ConnectWidget::~ConnectWidget() // Handles paint events for the connect widget. // -void ConnectWidget::paintEvent( TQPaintEvent * ) +void ConnectWidget::paintEvent( TQPaintEvent * ) { - TQPainter paint( this ); + TQPainter paint( this ); for ( int i=0; i<count-1; i++ ) { // connect all points for ( int j=i+1; j<count; j++ ) { - paint.setPen( colors[rand()%MAXCOLORS] ); // set random pen color - paint.drawLine( points[i], points[j] ); // draw line + paint.setPen( colors[rand()%MAXCOLORS] ); // set random pen color + paint.drawLine( points[i], points[j] ); // draw line } } } @@ -150,9 +150,9 @@ ConnectWidget::~ConnectWidget() void ConnectWidget::mouseMoveEvent( TQMouseEvent *e ) { if ( down && count < MAXPOINTS ) { - TQPainter paint( this ); + TQPainter paint( this ); points[count++] = e->pos(); // add point - paint.drawPoint( e->pos() ); // plot point + paint.drawPoint( e->pos() ); // plot point } } diff --git a/doc/html/environment.html b/doc/html/environment.html index eb889ebd1..20170e681 100644 --- a/doc/html/environment.html +++ b/doc/html/environment.html @@ -39,7 +39,7 @@ event handling, access to system settings, TQClipboardAccess to the window system clipboard
      TQDesktopWidgetAccess to screen information on multi-head systems
      TQEventThe base class of all event classes. Event objects contain event parameters -
      TQFontDatabaseInformation about the fonts available in the underlying window system +
      TQFontDatabaseInformation about the fonts available in the underlying window system
      TQMimeSourceFactoryExtensible provider of mime-typed data
      TQMutexAccess serialization between threads
      TQMutexLockerSimplifies locking and unlocking TQMutexes diff --git a/doc/html/events.html b/doc/html/events.html index 014b78329..27801d85c 100644 --- a/doc/html/events.html +++ b/doc/html/events.html @@ -54,7 +54,7 @@ and Signals and Slots.
      TQKeyEventDescribes a key event
      TQMouseEventParameters that describe a mouse event
      TQMoveEventEvent parameters for move events -
      TQPaintEventEvent parameters for paint events +
      TQPaintEventEvent parameters for paint events
      TQResizeEventEvent parameters for resize events
      TQShowEventEvent which is sent when a widget is shown
      TQTabletEventParameters that describe a Tablet event diff --git a/doc/html/eventsandfilters.html b/doc/html/eventsandfilters.html index 2f40d036d..caea373ab 100644 --- a/doc/html/eventsandfilters.html +++ b/doc/html/eventsandfilters.html @@ -45,7 +45,7 @@ from other sources, e.g. TQTimerEvent, and some application program. TQt is symmetric, as usual, so you can send events in exactly the same ways as TQt's own event loop does.

      Most events types have special classes, most commonly TQResizeEvent, -TQPaintEvent, TQMouseEvent, TQKeyEvent and TQCloseEvent. +TQPaintEvent, TQMouseEvent, TQKeyEvent and TQCloseEvent. There are many others, perhaps forty or so, but most are rather odd.

      Each class subclasses TQEvent and adds event-specific functions; see, for example, TQResizeEvent. In the case of TQResizeEvent, TQResizeEvent::size() and TQResizeEvent::oldSize() are added. @@ -57,7 +57,7 @@ event delivery mechanisms are flexible. The documentation for TQApplication::notify() concisely tells the whole story, here we will explain enough for 99% of applications.

      The normal way for an event to be delivered is by calling a virtual -function. For example, TQPaintEvent is delivered by calling TQWidget::paintEvent(). This virtual function is responsible for +function. For example, TQPaintEvent is delivered by calling TQWidget::paintEvent(). This virtual function is responsible for reacting appropriately, normally by repainting the widget. If you do not perform all the necessary work in your implementation of the virtual function, you may need to call the base class's diff --git a/doc/html/examples.html b/doc/html/examples.html index 2b676fc43..fe8684369 100644 --- a/doc/html/examples.html +++ b/doc/html/examples.html @@ -46,7 +46,7 @@ in a line-by-line coverage please refer to the tutorials

      TQt Modules: Assorted Examples diff --git a/doc/html/fileiconview-example.html b/doc/html/fileiconview-example.html index 3a22ab16a..bc63cc7bc 100644 --- a/doc/html/fileiconview-example.html +++ b/doc/html/fileiconview-example.html @@ -195,7 +195,7 @@ public: virtual void dragLeft(); void viewModeChanged( TQtFileIconView::ViewMode m ); - void paintItem( TQPainter *p, const TQColorGroup &cg ); + void paintItem( TQPainter *p, const TQColorGroup &cg ); protected: virtual void dropped( TQDropEvent *e, const TQValueList<TQIconDragItem> & ); @@ -226,7 +226,7 @@ protected: *****************************************************************************/ #include "tqfileiconview.h" -#include <ntqpainter.h> +#include <tqpainter.h> #include <tqstringlist.h> #include <ntqpixmap.h> #include <tqmime.h> @@ -548,12 +548,12 @@ static void cleanup() iconView(), TQ_SLOT( openFolder() ) ); } -void TQtFileIconViewItem::paintItem( TQPainter *p, const TQColorGroup &cg ) +void TQtFileIconViewItem::paintItem( TQPainter *p, const TQColorGroup &cg ) { if ( itemFileInfo->isSymLink() ) { - TQFont f( p->font() ); - f.setItalic( TRUE ); - p->setFont( f ); + TQFont f( p->font() ); + f.setItalic( TRUE ); + p->setFont( f ); } TQIconViewItem::paintItem( p, cg ); diff --git a/doc/html/forever-example.html b/doc/html/forever-example.html index 2ef77fd5b..6c08b1648 100644 --- a/doc/html/forever-example.html +++ b/doc/html/forever-example.html @@ -67,7 +67,7 @@ class Forever : public TQWidget public: Forever( TQWidget *parent=0, const char *name=0 ); protected: - void paintEvent( TQPaintEvent * ); + void paintEvent( TQPaintEvent * ); void timerEvent( TQTimerEvent * ); private slots: void updateCaption(); @@ -93,7 +93,7 @@ private: *****************************************************************************/ #include <tqtimer.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <ntqapplication.h> #include <stdlib.h> // defines rand() function @@ -138,21 +138,21 @@ void Forever::updateCaption() // Handles paint events for the Forever widget. // -void Forever::paintEvent( TQPaintEvent * ) +void Forever::paintEvent( TQPaintEvent * ) { - TQPainter paint( this ); // painter object + TQPainter paint( this ); // painter object int w = width(); int h = height(); if(w <= 0 || h <= 0) return; - paint.setPen( NoPen ); // do not draw outline - paint.setBrush( colors[rand() % numColors]);// set random brush color + paint.setPen( NoPen ); // do not draw outline + paint.setBrush( colors[rand() % numColors]);// set random brush color TQPoint p1( rand()%w, rand()%h ); // p1 = top left TQPoint p2( rand()%w, rand()%h ); // p2 = bottom right TQRect r( p1, p2 ); - paint.drawRect( r ); // draw filled rectangle + paint.drawRect( r ); // draw filled rectangle } // diff --git a/doc/html/functions.html b/doc/html/functions.html index f89fb1336..653d99ab6 100644 --- a/doc/html/functions.html +++ b/doc/html/functions.html @@ -138,7 +138,7 @@ abort: TQImage
    • allItems: TQCanvas
    • allWidgets: TQApplication
    • alloc: - TQColor
    • allowedInContext: + TQColor
    • allowedInContext: TQStyleSheetItem
    • allowsErrorInteraction: TQSessionManager
    • allowsInteraction: TQSessionManager
    • alpha: @@ -205,7 +205,7 @@ abort: TQVariant
    • asUInt: TQVariant
    • asULongLong: TQVariant
    • ascent: - TQFontMetrics
    • ascii: + TQFontMetrics
    • ascii: TQKeyEvent TQString
    • assign: TQMemArray
    • assistantClosed: TQAssistantClient
    • assistantOpened: @@ -242,16 +242,16 @@ abort: back: TQValueList TQValueVector TQWizard
    • backButton: TQWizard
    • background: - TQColorGroup
    • backgroundBrush: + TQColorGroup
    • backgroundBrush: TQWidget
    • backgroundColor: - TQCanvas TQMovie TQPainter
    • backgroundMode: - TQPainter TQWidget
    • backgroundOrigin: + TQCanvas TQMovie TQPainter
    • backgroundMode: + TQPainter TQWidget
    • backgroundOrigin: TQWidget
    • backgroundPixmap: TQCanvas
    • backspace: TQLineEdit TQMultiLineEdit
    • backward: TQTextBrowser
    • backwardAvailable: TQTextBrowser
    • base: - TQColorGroup
    • baseName: + TQColorGroup
    • baseName: TQFileInfo
    • baseSize: TQWidget
    • beep: TQApplication
    • beforeDelete: @@ -259,7 +259,7 @@ back: TQDataBrowser TQDataTable
    • beforeSeek: TQSqlQuery
    • beforeUpdate: TQDataBrowser TQDataTable
    • begin: - TQMap TQMemArray TQPainter TQValueList TQValueVector
    • beginEdit: + TQMap TQMemArray TQPainter TQValueList TQValueVector
    • beginEdit: TQTable
    • beginGroup: TQSettings
    • beginInsert: TQDataTable
    • beginTransaction: @@ -267,14 +267,14 @@ back: TQDataTable
    • bind: TQSocketDevice
    • bindValue: TQSqlQuery
    • bitBlt: - TQImage TQPaintDevice
    • bitOrder: + TQImage TQPaintDevice
    • bitOrder: TQImage
    • bitmap: TQCursor
    • bits: TQImage
    • blockSignals: TQObject
    • blocking: TQSocketDevice
    • blue: - TQColor
    • bold: - TQFont TQFontDatabase TQFontInfo TQTextEdit
    • bottom: + TQColor
    • bold: + TQFont TQFontDatabase TQFontInfo TQTextEdit
    • bottom: TQDoubleValidator TQIntValidator TQRect
    • bottomDock: TQMainWindow
    • bottomEdge: TQCanvasSprite
    • bottomLeft: @@ -288,18 +288,18 @@ back: TQDataBrowser
    • boundaryChecking: TQDataBrowser
    • boundedTo: TQSize
    • boundingRect: - TQCanvasItem TQCanvasPolygonalItem TQCanvasSprite TQCanvasText TQFontMetrics TQPainter TQPicture TQPointArray TQRegion
    • boundingRectAdvanced: + TQCanvasItem TQCanvasPolygonalItem TQCanvasSprite TQCanvasText TQFontMetrics TQPainter TQPicture TQPointArray TQRegion
    • boundingRectAdvanced: TQCanvasItem
    • boxLayout: TQDockWindow
    • brightText: - TQColorGroup
    • brush: - TQCanvasPolygonalItem TQColorGroup TQPainter TQPalette
    • brushOrigin: - TQPainter
    • bsearch: + TQColorGroup
    • brush: + TQCanvasPolygonalItem TQColorGroup TQPainter TQPalette
    • brushOrigin: + TQPainter
    • bsearch: TQMemArray TQPtrVector
    • buddy: TQLabel
    • buffer: TQBuffer
    • button: - TQColorGroup TQMouseEvent
    • buttonSymbols: + TQColorGroup TQMouseEvent
    • buttonSymbols: TQSpinBox
    • buttonText: - TQColorGroup TQMessageBox
    • byteOrder: + TQColorGroup TQMessageBox
    • byteOrder: TQDataStream
    • bytesAvailable: TQFtp TQHttp TQSocket TQSocketDevice
    • bytesPerLine: TQImage
    • bytesToWrite: @@ -358,7 +358,7 @@ c: TQTabDialog TQTabWidget
    • changed: TQImageConsumer
    • charAt: TQTextEdit
    • charWidth: - TQFontMetrics
    • characters: + TQFontMetrics
    • characters: TQXmlContentHandler
    • checkConnectArgs: TQObject
    • checkConnection: TQNetworkProtocol
    • checkListItem: @@ -385,7 +385,7 @@ c: TQMetaObject TQObject
    • cleanDirPath: TQDir
    • cleanText: TQSpinBox
    • cleanup: - TQColor TQCursor
    • clear: + TQColor TQCursor
    • clear: TQAccel TQAsciiCache TQAsciiDict TQCache TQClipboard TQComboBox TQDict TQDomNode TQIconView TQIntCache TQIntDict TQLabel TQLineEdit TQListBox TQListView TQMap TQMenuBar TQMenuData TQObjectCleanupHandler TQPixmapCache TQPopupMenu TQPtrCollection TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQSplashScreen TQSqlCursor TQSqlField TQSqlForm TQSqlRecord TQStatusBar TQTextEdit TQToolBar TQToolTip TQTranslator TQValueList TQValueVector TQVariant TQXmlAttributes
    • clearArguments: TQProcess
    • clearBit: TQBitArray
    • clearCell: @@ -407,7 +407,7 @@ c: TQDataBrowser TQDataView TQSqlForm TQSqlRecord
    • clearWFlags: TQWidget
    • clicked: TQButton TQButtonGroup TQCheckBox TQHeader TQIconView TQListBox TQListView TQPushButton TQRadioButton TQTable TQTextEdit TQWhatsThis
    • clipRegion: - TQPainter TQWidget
    • clipboard: + TQPainter TQWidget
    • clipboard: TQApplication
    • clipper: TQScrollView
    • cloneNode: TQDomNode
    • close: @@ -421,7 +421,7 @@ c: TQProcess
    • closed: TQCanvasSpline
    • closingDown: TQApplication
    • cmd: - TQPaintDevice
    • codec: + TQPaintDevice
    • codec: TQTextStream
    • codecForCStrings: TQTextCodec
    • codecForContent: TQTextCodec
    • codecForIndex: @@ -437,10 +437,10 @@ c: TQListView
    • collidesWith: TQCanvasItem
    • collisions: TQCanvas TQCanvasItem
    • color: - TQBrush TQCanvasText TQColorGroup TQImage TQPalette TQPen TQStyleOption TQStyleSheetItem TQTextEdit
    • colorGroup: + TQBrush TQCanvasText TQColorGroup TQImage TQPalette TQPen TQStyleOption TQStyleSheetItem TQTextEdit
    • colorGroup: TQWidget
    • colorMode: TQPrinter
    • colorNames: - TQColor
    • colorSpec: + TQColor
    • colorSpec: TQApplication
    • colorTable: TQImage
    • colormap: TQGLWidget
    • columnAlignment: @@ -481,10 +481,10 @@ c: TQAccel TQMenuData TQPopupMenu
    • connectNotify: TQObject
    • connectOptions: TQSqlDatabase
    • connectResize: - TQMovie
    • connectStatus: - TQMovie
    • connectToHost: + TQMovie
    • connectStatus: + TQMovie
    • connectToHost: TQFtp TQSocket
    • connectUpdate: - TQMovie
    • connected: + TQMovie
    • connected: TQSocket
    • connectionClosed: TQSocket
    • connectionStateChanged: TQNetworkProtocol TQUrlOperator
    • constBegin: @@ -577,7 +577,7 @@ c: TQTable
    • current: TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQDir TQGLayoutIterator TQIntCacheIterator TQIntDictIterator TQLayoutIterator TQListViewItemIterator TQPtrDictIterator TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack
    • currentAlignmentChanged: TQTextEdit
    • currentAllocContext: - TQColor
    • currentChanged: + TQColor
    • currentChanged: TQDataBrowser TQDataTable TQIconView TQListBox TQListView TQTabDialog TQTabWidget TQTable TQToolBox
    • currentColorChanged: TQTextEdit
    • currentColumn: TQTable
    • currentCommand: @@ -626,14 +626,14 @@ c: TQMultiLineEdit
    • cursorWordBackward: TQLineEdit TQMultiLineEdit
    • cursorWordForward: TQLineEdit TQMultiLineEdit
    • customColor: - TQColorDialog
    • customCount: - TQColorDialog
    • customEvent: + TQColorDialog
    • customCount: + TQColorDialog
    • customEvent: TQObject
    • customWhatsThis: TQWidget
    • customize: TQMainWindow
    • cut: TQLineEdit TQTextEdit
    • dark: - TQColor TQColorGroup
    • data: + TQColor TQColorGroup
    • data: TQClipboard TQCustomEvent TQDomCharacterData TQDomProcessingInstruction TQIconDragItem TQMapConstIterator TQMapIterator TQMemArray TQMimeSourceFactory TQNetworkProtocol TQPicture TQPtrVector TQSqlResult TQUrlOperator TQXmlInputSource
    • dataChanged: TQClipboard
    • dataReadProgress: TQHttp
    • dataSendProgress: @@ -652,7 +652,7 @@ dark: TQDate
    • daysInYear: TQDate
    • daysTo: TQDate TQDateTime
    • deciPointSize: - TQFont
    • decimals: + TQFont
    • decimals: TQDoubleValidator
    • declHandler: TQXmlReader
    • decode: TQColorDrag TQImageDecoder TQImageDrag TQImageFormat TQTextDrag TQUriDrag TQUrl
    • decodeLocalFiles: @@ -665,7 +665,7 @@ dark: TQTabDialog
    • defaultDepth: TQPixmap
    • defaultFactory: TQEditorFactory TQIconFactory TQMimeSourceFactory TQSqlEditorFactory
    • defaultFamily: - TQFont
    • defaultFormat: + TQFont
    • defaultFormat: TQGLFormat
    • defaultMap: TQSqlPropertyMap
    • defaultOptimization: TQPixmap
    • defaultOverlayFormat: @@ -688,20 +688,20 @@ dark: TQObject
    • deleteNetworkProtocol: TQUrlOperator
    • delta: TQWheelEvent
    • depth: - TQGLFormat TQImage TQListViewItem TQPaintDeviceMetrics TQPixmap
    • dequeue: + TQGLFormat TQImage TQListViewItem TQPaintDeviceMetrics TQPixmap
    • dequeue: TQPtrQueue
    • descent: - TQFontMetrics
    • description: + TQFontMetrics
    • description: TQImageIO
    • deselect: TQLineEdit
    • designable: TQMetaProperty
    • desktop: TQApplication
    • desktopSettingsAware: TQApplication
    • destroy: TQWidget
    • destroyAllocContext: - TQColor
    • destroyed: + TQColor
    • destroyed: TQObject
    • det: TQWMatrix
    • detach: TQBitArray TQGLColormap TQIconSet TQImage TQMap TQMemArray TQPicture TQPixmap
    • device: - TQDataStream TQGLContext TQPainter TQTabletEvent TQTextStream
    • deviceIsPixmap: + TQDataStream TQGLContext TQPainter TQTabletEvent TQTextStream
    • deviceIsPixmap: TQGLContext
    • dialMoved: TQDial
    • dialPressed: TQDial
    • dialReleased: @@ -716,15 +716,15 @@ dark: TQGLFormat
    • directSetValue: TQRangeControl
    • direction: TQBoxLayout TQChar
    • dirty: - TQFont
    • disabled: + TQFont
    • disabled: TQPalette
    • discardCommand: TQSessionManager
    • disconnect: TQObject TQSignal
    • disconnectItem: TQAccel TQMenuData TQPopupMenu
    • disconnectNotify: TQObject
    • disconnectResize: - TQMovie
    • disconnectStatus: - TQMovie
    • disconnectUpdate: - TQMovie
    • display: + TQMovie
    • disconnectStatus: + TQMovie
    • disconnectUpdate: + TQMovie
    • display: TQLCDNumber TQTimeEdit TQWhatsThis
    • displayMode: TQStyleSheetItem
    • displayText: TQLineEdit
    • doAutoScroll: @@ -763,43 +763,43 @@ dark: TQIconView TQListView TQTable
    • draggingSlider: TQScrollBar
    • draw: TQCanvasItem TQCanvasPolygonalItem TQCanvasSprite TQCanvasText TQSimpleRichText
    • drawArc: - TQPainter
    • drawArea: + TQPainter
    • drawArea: TQCanvas
    • drawBackground: TQCanvas TQIconView
    • drawButton: TQButton
    • drawButtonLabel: TQButton
    • drawChord: - TQPainter
    • drawComplexControl: + TQPainter
    • drawComplexControl: TQStyle
    • drawComplexControlMask: TQStyle
    • drawContents: TQCanvasView TQFrame TQLCDNumber TQLabel TQMenuBar TQPopupMenu TQScrollView TQSplashScreen TQTable
    • drawContentsOffset: TQListView TQScrollView
    • drawControl: TQStyle
    • drawControlMask: TQStyle
    • drawConvexPolygon: - TQPainter
    • drawCubicBezier: - TQPainter
    • drawEllipse: - TQPainter
    • drawForeground: + TQPainter
    • drawCubicBezier: + TQPainter
    • drawEllipse: + TQPainter
    • drawForeground: TQCanvas
    • drawFrame: TQFrame
    • drawImage: - TQPainter
    • drawItem: + TQPainter
    • drawItem: TQPopupMenu TQStyle
    • drawLine: - TQPainter
    • drawLineSegments: - TQPainter
    • drawPicture: - TQPainter
    • drawPie: - TQPainter
    • drawPixmap: - TQPainter
    • drawPoint: - TQPainter
    • drawPoints: - TQPainter
    • drawPolygon: - TQPainter
    • drawPolyline: - TQPainter
    • drawPrimitive: + TQPainter
    • drawLineSegments: + TQPainter
    • drawPicture: + TQPainter
    • drawPie: + TQPainter
    • drawPixmap: + TQPainter
    • drawPoint: + TQPainter
    • drawPoints: + TQPainter
    • drawPolygon: + TQPainter
    • drawPolyline: + TQPainter
    • drawPrimitive: TQStyle
    • drawRect: - TQPainter
    • drawRiffles: + TQPainter
    • drawRiffles: TQPlatinumStyle
    • drawRoundRect: - TQPainter
    • drawRubber: + TQPainter
    • drawRubber: TQIconView
    • drawShape: TQCanvasEllipse TQCanvasPolygon TQCanvasPolygonalItem TQCanvasRectangle
    • drawText: - TQPainter TQWidget
    • drawTiledPixmap: - TQPainter
    • drawWinFocusRect: - TQPainter
    • driver: + TQPainter TQWidget
    • drawTiledPixmap: + TQPainter
    • drawWinFocusRect: + TQPainter
    • driver: TQSqlDatabase TQSqlQuery TQSqlResult
    • driverName: TQSqlDatabase
    • driverText: TQSqlError
    • drivers: @@ -837,7 +837,7 @@ echoMode: TQFile
    • encodedData: TQDropEvent TQIconDrag TQMimeSource TQStoredDrag
    • encodedPathAndQuery: TQUrl
    • end: - TQImageConsumer TQLineEdit TQMap TQMemArray TQMultiLineEdit TQNPStream TQPainter TQValueList TQValueVector
    • endCDATA: + TQImageConsumer TQLineEdit TQMap TQMemArray TQMultiLineEdit TQNPStream TQPainter TQValueList TQValueVector
    • endCDATA: TQXmlLexicalHandler
    • endDTD: TQXmlLexicalHandler
    • endDocument: TQXmlContentHandler
    • endEdit: @@ -855,7 +855,7 @@ echoMode: TQTextEdit
    • ensureItemVisible: TQIconView TQListView
    • ensureVisible: TQScrollView
    • enterAllocContext: - TQColor
    • enterEvent: + TQColor
    • enterEvent: TQWidget
    • enterInstance: TQNPWidget
    • enterLoop: TQEventLoop
    • enterWhatsThisMode: @@ -873,8 +873,8 @@ echoMode: TQMap TQValueList TQValueVector TQWidget
    • eraseColor: TQWidget
    • erasePixmap: TQWidget
    • eraseRect: - TQPainter
    • erased: - TQPaintEvent
    • error: + TQPainter
    • erased: + TQPaintEvent
    • error: TQAssistantClient TQFtp TQHttp TQSocket TQSocketDevice TQStyleSheet TQXmlErrorHandler
    • errorCode: TQNetworkOperation
    • errorHandler: TQXmlReader
    • errorString: @@ -883,7 +883,7 @@ echoMode: TQObject TQWidget
    • eventFilter: TQListView TQObject TQScrollView TQSpinBox
    • eventLoop: TQApplication
    • exactMatch: - TQFont TQFontInfo TQRegExp
    • exec: + TQFont TQFontInfo TQRegExp
    • exec: TQApplication TQDialog TQEventLoop TQPopupMenu TQSqlDatabase TQSqlQuery
    • executedQuery: TQSqlQuery
    • exists: TQDir TQFile TQFileInfo
    • exit: @@ -899,8 +899,8 @@ echoMode: TQXmlDeclHandler
    • falseText: TQDataTable
    • families: - TQFontDatabase
    • family: - TQFont TQFontInfo TQTextEdit
    • fatalError: + TQFontDatabase
    • family: + TQFont TQFontInfo TQTextEdit
    • fatalError: TQXmlErrorHandler
    • feature: TQXmlReader
    • fetch: TQSqlResult
    • fetchData: @@ -919,7 +919,7 @@ falseText: TQFileDialog
    • filesSelected: TQFileDialog
    • fill: TQBitArray TQCString TQImage TQMemArray TQPixmap TQPtrVector TQString TQTextStream
    • fillRect: - TQPainter
    • filter: + TQPainter
    • filter: TQDataBrowser TQDataTable TQDir TQSqlCursor
    • filterSelected: TQFileDialog
    • find: TQAsciiCache TQAsciiDict TQButtonGroup TQCString TQCache TQDataTable TQDict TQGLColormap TQIntCache TQIntDict TQMap TQMemArray TQPixmapCache TQPtrDict TQPtrList TQPtrVector TQSqlRecordInfo TQString TQTextEdit TQValueList TQWidget
    • findFirstVisibleItem: @@ -938,20 +938,20 @@ falseText: TQBoxLayout TQGridLayout
    • finish: TQSplashScreen
    • finishButton: TQWizard
    • finished: - TQMovie TQNetworkProtocol TQThread TQUrlOperator
    • first: + TQMovie TQNetworkProtocol TQThread TQUrlOperator
    • first: TQDataBrowser TQFocusData TQPtrList TQSqlQuery TQValueList TQValueVector
    • firstChild: TQDomNode TQListView TQListViewItem
    • firstItem: TQIconView TQListBox
    • firstRecordAvailable: TQDataBrowser
    • fix: TQDateEdit
    • fixedExtent: TQDockWindow
    • fixedPitch: - TQFont TQFontInfo
    • fixup: + TQFont TQFontInfo
    • fixup: TQValidator
    • flags: TQIODevice TQTextStream
    • flavor: TQMacMime
    • flavorFor: TQMacMime
    • flavorToMime: TQMacMime
    • flush: - TQApplication TQFile TQIODevice TQPainter TQSocket
    • flushX: + TQApplication TQFile TQIODevice TQPainter TQSocket
    • flushX: TQApplication
    • focusData: TQWidget
    • focusInEvent: TQWidget
    • focusNextPrevChild: @@ -962,18 +962,18 @@ falseText: TQMacStyle
    • focusStyle: TQTable
    • focusWidget: TQApplication TQFocusData TQWidget
    • font: - TQApplication TQCanvasText TQFontDatabase TQPainter TQToolTip TQWidget
    • fontChange: + TQApplication TQCanvasText TQFontDatabase TQPainter TQToolTip TQWidget
    • fontChange: TQWidget
    • fontFamily: TQStyleSheetItem
    • fontInfo: - TQPainter TQWidget
    • fontItalic: + TQPainter TQWidget
    • fontItalic: TQStyleSheetItem
    • fontMetrics: - TQApplication TQPainter TQWidget
    • fontSize: + TQApplication TQPainter TQWidget
    • fontSize: TQStyleSheetItem
    • fontStrikeOut: TQStyleSheetItem
    • fontUnderline: TQStyleSheetItem
    • fontWeight: TQStyleSheetItem
    • forceShow: TQProgressDialog
    • foreground: - TQColorGroup
    • foregroundColor: + TQColorGroup
    • foregroundColor: TQWidget
    • form: TQDataBrowser TQDataView
    • format: TQDropEvent TQGLContext TQGLWidget TQImageDecoder TQImageIO TQMimeSource
    • formatName: @@ -986,9 +986,9 @@ falseText: TQCanvasSprite
    • frameDone: TQImageConsumer
    • frameGeometry: TQWidget
    • frameImage: - TQMovie
    • frameNumber: - TQMovie
    • framePixmap: - TQMovie
    • frameRect: + TQMovie
    • frameNumber: + TQMovie
    • framePixmap: + TQMovie
    • frameRect: TQFrame
    • frameShadow: TQFrame TQStyleOption
    • frameShape: TQFrame TQStyleOption
    • frameSize: @@ -1004,7 +1004,7 @@ falseText: TQPrinter
    • fromRawData: TQXmlInputSource
    • fromStrList: TQStringList
    • fromString: - TQDate TQDateTime TQFont TQTime
    • fromStringList: + TQDate TQDateTime TQFont TQTime
    • fromStringList: TQSqlIndex
    • fromUcs2: TQString
    • fromUnicode: TQHebrewCodec TQTextCodec TQTextEncoder
    • fromUtf8: @@ -1017,13 +1017,13 @@ gamma: TQGLContext
    • geometry: TQLayoutItem TQWidget
    • get: TQFtp TQHttp TQUrlOperator
    • getColor: - TQColorDialog
    • getCursorPosition: + TQColorDialog
    • getCursorPosition: TQTextEdit
    • getDouble: TQInputDialog
    • getExistingDirectory: TQFileDialog
    • getFirst: TQPtrList
    • getFont: - TQFontDialog
    • getHsv: - TQColor
    • getInteger: + TQFontDialog
    • getHsv: + TQColor
    • getInteger: TQInputDialog
    • getItem: TQInputDialog
    • getJavaClass: TQNPlugin
    • getJavaEnv: @@ -1039,14 +1039,14 @@ gamma: TQNPlugin
    • getPluginNameString: TQNPlugin
    • getRange: TQSplitter
    • getRgb: - TQColor
    • getRgba: - TQColorDialog
    • getSaveFileName: + TQColor
    • getRgba: + TQColorDialog
    • getSaveFileName: TQFileDialog
    • getSelection: TQTextEdit
    • getText: TQInputDialog
    • getURL: TQNPInstance
    • getURLNotify: TQNPInstance
    • getValidRect: - TQMovie
    • getVersionInfo: + TQMovie
    • getVersionInfo: TQNPlugin
    • getWFlags: TQWidget
    • getch: TQFile TQIODevice TQSocket
    • glDraw: @@ -1063,7 +1063,7 @@ gamma: TQPixmap
    • grabWindow: TQPixmap
    • greaterThan: TQUrlInfo
    • green: - TQColor
    • grep: + TQColor
    • grep: TQStringList
    • gres: TQStringList
    • gridSize: TQGridView
    • gridX: @@ -1074,7 +1074,7 @@ gamma: TQApplication
    • hScrollBarMode: TQScrollView
    • handle: - TQCursor TQFile TQFont TQPaintDevice TQPainter TQRegion TQSessionManager
    • handleError: + TQCursor TQFile TQFont TQPaintDevice TQPainter TQRegion TQSessionManager
    • handleError: TQDataBrowser TQDataTable
    • handlePosition: TQDockArea
    • handleWidth: TQSplitter
    • hasAcceptableInput: @@ -1088,7 +1088,7 @@ hScrollBarMode: TQDomNode
    • hasCancelButton: TQTabDialog
    • hasChildNodes: TQDomNode
    • hasClipping: - TQPainter
    • hasContentLength: + TQPainter
    • hasContentLength: TQHttpHeader
    • hasContentType: TQHttpHeader
    • hasDefaultButton: TQTabDialog
    • hasDockWindow: @@ -1121,16 +1121,16 @@ hScrollBarMode: TQLineEdit TQTextEdit
    • hasStaticBackground: TQScrollView
    • hasUser: TQUrl
    • hasViewXForm: - TQPainter
    • hasWorldXForm: - TQPainter
    • hash: + TQPainter
    • hasWorldXForm: + TQPainter
    • hash: TQTranslatorMessage
    • head: TQHttp TQPtrQueue
    • header: TQListView
    • headerSection: TQStyleOption
    • headerWidth: TQHeader
    • height: - TQCanvas TQCanvasEllipse TQCanvasRectangle TQCanvasSprite TQFontMetrics TQIconViewItem TQImage TQListBoxItem TQListBoxPixmap TQListBoxText TQListViewItem TQPaintDeviceMetrics TQPixmap TQRect TQSimpleRichText TQSize TQWidget
    • heightForWidth: + TQCanvas TQCanvasEllipse TQCanvasRectangle TQCanvasSprite TQFontMetrics TQIconViewItem TQImage TQListBoxItem TQListBoxPixmap TQListBoxText TQListViewItem TQPaintDeviceMetrics TQPixmap TQRect TQSimpleRichText TQSize TQWidget
    • heightForWidth: TQBoxLayout TQGridLayout TQLayoutItem TQMenuBar TQTextEdit TQWidget
    • heightMM: - TQPaintDeviceMetrics
    • help: + TQPaintDeviceMetrics
    • help: TQWizard
    • helpButton: TQWizard
    • helpButtonPressed: TQTabDialog
    • helpClicked: @@ -1143,10 +1143,10 @@ hScrollBarMode: TQStatusBar
    • hideRow: TQTable
    • highPriority: TQObject
    • highlight: - TQColorGroup
    • highlightParagraph: + TQColorGroup
    • highlightParagraph: TQSyntaxHighlighter
    • highlighted: TQComboBox TQListBox TQMenuBar TQPopupMenu TQTextBrowser
    • highlightedText: - TQColorGroup
    • hitButton: + TQColorGroup
    • hitButton: TQButton
    • home: TQDir TQFocusData TQLineEdit TQMultiLineEdit TQTextBrowser
    • homeDirPath: TQDir
    • horData: @@ -1185,7 +1185,7 @@ icon: TQImage TQImageIO TQPixmap
    • implementation: TQDomDocument
    • importNode: TQDomDocument
    • inFont: - TQFontMetrics
    • inSort: + TQFontMetrics
    • inSort: TQPtrList
    • inText: TQSimpleRichText
    • inWhatsThisMode: TQWhatsThis
    • inactive: @@ -1200,7 +1200,7 @@ icon: TQMessageBox
    • inherits: TQMetaObject TQObject
    • init: TQTableSelection
    • initialize: - TQColor TQCursor TQWindowsMime
    • initializeGL: + TQColor TQCursor TQWindowsMime
    • initializeGL: TQGLWidget
    • initializeOverlayGL: TQGLWidget
    • initialized: TQGLContext
    • inputFormatList: @@ -1229,8 +1229,8 @@ icon: TQComboBox TQListBox
    • insertStretch: TQBoxLayout
    • insertStringList: TQComboBox TQListBox
    • insertSubstitution: - TQFont
    • insertSubstitutions: - TQFont
    • insertTab: + TQFont
    • insertSubstitutions: + TQFont
    • insertTab: TQTabBar TQTabDialog TQTabWidget
    • insertTearOffHandle: TQPopupMenu
    • insertWidget: TQBoxLayout TQTable
    • inserted: @@ -1263,14 +1263,14 @@ icon: TQObject
    • isAccepted: TQCloseEvent TQContextMenuEvent TQDropEvent TQIMEvent TQIconDragEvent TQKeyEvent TQMouseEvent TQTabletEvent TQWheelEvent
    • isActionAccepted: TQDropEvent
    • isActive: - TQAccessible TQCanvasItem TQPainter TQSqlQuery TQSqlResult TQTableSelection TQTimer
    • isActiveWindow: + TQAccessible TQCanvasItem TQPainter TQSqlQuery TQSqlResult TQTableSelection TQTimer
    • isActiveWindow: TQWidget TQXtWidget
    • isAnchor: TQStyleSheetItem
    • isAsynchronous: TQIODevice
    • isAttr: TQDomAttr TQDomNode
    • isAutoRepeat: TQKeyEvent
    • isAvailable: TQSound
    • isBitmapScalable: - TQFontDatabase
    • isBuffered: + TQFontDatabase
    • isBuffered: TQIODevice
    • isCDATASection: TQDomCDATASection TQDomNode
    • isCalculated: TQSqlCursor TQSqlFieldInfo
    • isCharacterData: @@ -1288,7 +1288,7 @@ icon: TQContextMenuEvent
    • isContainer: TQWidgetPlugin
    • isContentsPreviewEnabled: TQFileDialog
    • isCopyOf: - TQFont TQPalette
    • isCurrent: + TQFont TQPalette
    • isCurrent: TQListBoxItem
    • isCustomizable: TQMainWindow
    • isDefault: TQPushButton TQStyleOption
    • isDefaultUp: @@ -1321,10 +1321,10 @@ icon: TQButton TQCheckBox TQPushButton TQRadioButton
    • isExecutable: TQFileInfo TQUrlInfo
    • isExpandable: TQListViewItem
    • isExtDev: - TQPaintDevice
    • isFile: + TQPaintDevice
    • isFile: TQFileInfo TQUrlInfo
    • isFinished: TQSound
    • isFixedPitch: - TQFontDatabase
    • isFlat: + TQFontDatabase
    • isFlat: TQGroupBox TQPushButton
    • isFocusEnabled: TQWidget
    • isForwardOnly: TQSqlQuery TQSqlResult
    • isFullScreen: @@ -1357,7 +1357,7 @@ icon: TQLineEdit TQTextEdit
    • isMovingEnabled: TQDockWindow TQHeader
    • isNotation: TQDomNode TQDomNotation
    • isNull: - TQCString TQChar TQDate TQDateTime TQDomImplementation TQDomNode TQGuardedPtr TQHostAddress TQIconSet TQImage TQMemArray TQMovie TQPicture TQPixmap TQPoint TQPtrVector TQRect TQRegion TQSize TQSqlCursor TQSqlField TQSqlQuery TQSqlRecord TQSqlResult TQString TQTime TQUuid TQVariant
    • isNumber: + TQCString TQChar TQDate TQDateTime TQDomImplementation TQDomNode TQGuardedPtr TQHostAddress TQIconSet TQImage TQMemArray TQMovie TQPicture TQPixmap TQPoint TQPtrVector TQRect TQRegion TQSize TQSqlCursor TQSqlField TQSqlQuery TQSqlRecord TQSqlResult TQString TQTime TQUuid TQVariant
    • isNumber: TQChar
    • isOn: TQAction TQButton TQCheckBox TQCheckListItem TQPushButton TQRadioButton
    • isOpen: TQAssistantClient TQIODevice TQListView TQListViewItem TQSqlDatabase TQSqlDriver
    • isOpenError: @@ -1391,7 +1391,7 @@ icon: TQTable
    • isRubberSelecting: TQListBox
    • isRunning: TQProcess
    • isScalable: - TQFontDatabase
    • isSelect: + TQFontDatabase
    • isSelect: TQSqlQuery TQSqlResult
    • isSelectable: TQIconViewItem TQListBoxItem TQListViewItem
    • isSelected: TQCanvasItem TQIconViewItem TQListBox TQListBoxItem TQListView TQListViewItem TQTable
    • isSeparator: @@ -1402,7 +1402,7 @@ icon: TQGLContext TQGLWidget
    • isShown: TQWidget
    • isSizeGripEnabled: TQDialog TQStatusBar
    • isSmoothlyScalable: - TQFontDatabase
    • isSpace: + TQFontDatabase
    • isSpace: TQChar
    • isStretchEnabled: TQHeader
    • isStretchable: TQDockWindow
    • isSupported: @@ -1422,7 +1422,7 @@ icon: TQLineEdit TQTextEdit
    • isUndoRedoEnabled: TQTextEdit
    • isUpdatesEnabled: TQWidget
    • isValid: - TQAccessibleInterface TQCanvasPixmapArray TQCanvasPolygonalItem TQColor TQDate TQDateTime TQGLContext TQGLWidget TQHttpHeader TQRect TQRegExp TQSize TQSocketDevice TQSqlQuery TQSqlResult TQTime TQUrl TQUrlInfo TQVariant
    • isVerticalSliderPressed: + TQAccessibleInterface TQCanvasPixmapArray TQCanvasPolygonalItem TQColor TQDate TQDateTime TQGLContext TQGLWidget TQHttpHeader TQRect TQRegExp TQSize TQSocketDevice TQSqlQuery TQSqlResult TQTime TQUrl TQUrlInfo TQVariant
    • isVerticalSliderPressed: TQScrollView
    • isVerticallyStretchable: TQDockWindow
    • isVirtualDesktop: TQDesktopWidget
    • isVisible: @@ -1431,7 +1431,7 @@ icon: TQObject
    • isWorking: TQDns
    • isWritable: TQFileInfo TQIODevice TQUrlInfo
    • italic: - TQFont TQFontDatabase TQFontInfo TQTextEdit
    • item: + TQFont TQFontDatabase TQFontInfo TQTextEdit
    • item: TQDomNamedNodeMap TQDomNodeList TQListBox TQStyleSheet TQTable TQToolBox
    • itemAbove: TQListViewItem
    • itemAt: TQListBox TQListView
    • itemBelow: @@ -1459,7 +1459,7 @@ join: TQChar
    • jumpTable: TQImage
    • key: - TQAccel TQFont TQIconViewItem TQKeyEvent TQListViewItem TQMapConstIterator TQMapIterator TQTableItem
    • keyPressEvent: + TQAccel TQFont TQIconViewItem TQKeyEvent TQListViewItem TQMapConstIterator TQMapIterator TQTableItem
    • keyPressEvent: TQLineEdit TQTextBrowser TQTextEdit TQWidget
    • keyReleaseEvent: TQWidget
    • keyToValue: TQMetaProperty
    • keyboardFocusTab: @@ -1484,8 +1484,8 @@ label: TQSqlQuery TQSqlResult
    • lastRead: TQFileInfo TQUrlInfo
    • lastRecordAvailable: TQDataBrowser
    • lastResortFamily: - TQFont
    • lastResortFont: - TQFont
    • lastWindowClosed: + TQFont
    • lastResortFont: + TQFont
    • lastWindowClosed: TQApplication
    • latin1: TQChar TQString
    • launch: TQProcess
    • launchFinished: @@ -1495,14 +1495,14 @@ label: TQLayoutItem TQWidget
    • layoutChanged: TQTabBar
    • layoutTabs: TQTabBar
    • leading: - TQFontMetrics
    • leapYear: + TQFontMetrics
    • leapYear: TQDate
    • leaveAllocContext: - TQColor
    • leaveEvent: + TQColor
    • leaveEvent: TQWidget
    • leaveInstance: TQNPWidget
    • leaveWhatsThisMode: TQWhatsThis
    • left: TQCString TQRect TQString
    • leftBearing: - TQFontMetrics
    • leftCol: + TQFontMetrics
    • leftCol: TQTableSelection
    • leftDock: TQMainWindow
    • leftEdge: TQCanvasSprite
    • leftJustify: @@ -1513,22 +1513,22 @@ label: TQXmlReader
    • library: TQLibrary
    • libraryPaths: TQApplication
    • light: - TQColor TQColorGroup
    • lineEdit: + TQColor TQColorGroup
    • lineEdit: TQComboBox
    • lineLength: TQMultiLineEdit
    • lineNumber: TQXmlLocator TQXmlParseException
    • lineOfChar: TQTextEdit
    • lineSpacing: - TQFontMetrics
    • lineStep: + TQFontMetrics
    • lineStep: TQDial TQRangeControl TQScrollBar TQSlider TQSpinBox
    • lineUp: TQDockArea
    • lineUpDockWindows: TQMainWindow
    • lineWidth: - TQFontMetrics TQFrame TQStyleOption
    • lines: + TQFontMetrics TQFrame TQStyleOption
    • lines: TQTextEdit
    • linesOfParagraph: TQTextEdit
    • link: - TQColorGroup
    • linkClicked: + TQColorGroup
    • linkClicked: TQTextBrowser
    • linkUnderline: TQTextEdit
    • linkVisited: - TQColorGroup
    • list: + TQColorGroup
    • list: TQFtp
    • listBox: TQComboBox TQListBoxItem
    • listChildren: TQUrlOperator
    • listInfo: @@ -1550,8 +1550,8 @@ label: TQString
    • lock: TQApplication TQMutex
    • locked: TQApplication TQMutex
    • logicalDpiX: - TQPaintDeviceMetrics
    • logicalDpiY: - TQPaintDeviceMetrics
    • logicalFontSize: + TQPaintDeviceMetrics
    • logicalDpiY: + TQPaintDeviceMetrics
    • logicalFontSize: TQStyleSheetItem
    • logicalFontSizeStep: TQStyleSheetItem
    • login: TQFtp
    • longDayName: @@ -1605,7 +1605,7 @@ m11: TQDir
    • matchedLength: TQRegExp
    • matches: TQKeySequence
    • maxColors: - TQColor
    • maxCost: + TQColor
    • maxCost: TQAsciiCache TQCache TQIntCache
    • maxCount: TQComboBox
    • maxIconWidth: TQStyleOption
    • maxItemTextLength: @@ -1615,7 +1615,7 @@ m11: TQTextEdit
    • maxPage: TQPrinter
    • maxValue: TQDateEdit TQDial TQRangeControl TQScrollBar TQSlider TQSpinBox TQTimeEdit
    • maxWidth: - TQFontMetrics
    • maximumHeight: + TQFontMetrics
    • maximumHeight: TQWidget
    • maximumSize: TQBoxLayout TQGridLayout TQLayout TQLayoutItem TQSpacerItem TQWidget TQWidgetItem
    • maximumWidth: TQWidget
    • mayGrowHorizontally: @@ -1642,16 +1642,16 @@ m11: TQEucJpCodec TQTextCodec
    • mibEnums: TQTextCodecPlugin
    • microFocusHint: TQWidget
    • mid: - TQCString TQColorGroup TQString
    • midLineWidth: + TQCString TQColorGroup TQString
    • midLineWidth: TQFrame TQStyleOption
    • midlight: - TQColorGroup
    • mightBeRichText: + TQColorGroup
    • mightBeRichText: TQStyleSheet
    • mimeFor: TQMacMime TQWindowsMime
    • mimeName: TQEucJpCodec TQEucKrCodec TQHebrewCodec TQJisCodec TQSjisCodec TQTextCodec
    • mimeSourceFactory: TQTextEdit
    • minLeftBearing: - TQFontMetrics
    • minPage: + TQFontMetrics
    • minPage: TQPrinter
    • minRightBearing: - TQFontMetrics
    • minValue: + TQFontMetrics
    • minValue: TQDateEdit TQDial TQRangeControl TQScrollBar TQSlider TQSpinBox TQTimeEdit
    • minimal: TQRegExp
    • minimumDuration: TQProgressDialog
    • minimumHeight: @@ -1706,7 +1706,7 @@ m11: TQListViewItem
    • mutex: TQMutexLocker
    • name: - TQColor TQDomAttr TQDomDocumentType TQFile TQLocale TQMetaProperty TQObject TQSqlCursor TQSqlField TQSqlFieldInfo TQSqlIndex TQStyleSheetItem TQTextCodec TQUrlInfo
    • nameFilter: + TQColor TQDomAttr TQDomDocumentType TQFile TQLocale TQMetaProperty TQObject TQSqlCursor TQSqlField TQSqlFieldInfo TQSqlIndex TQStyleSheetItem TQTextCodec TQUrlInfo
    • nameFilter: TQDir TQUrlOperator
    • nameToType: TQVariant
    • namedItem: TQDomNamedNodeMap TQDomNode
    • namedItemNS: @@ -1747,11 +1747,11 @@ name: TQNPInstance
    • nrefs: TQMemArray
    • nullText: TQDataTable TQSqlDriver
    • numBitPlanes: - TQColor
    • numBytes: + TQColor
    • numBytes: TQImage
    • numCaptures: TQRegExp
    • numClassInfo: TQMetaObject
    • numColors: - TQImage TQPaintDeviceMetrics
    • numCols: + TQImage TQPaintDeviceMetrics
    • numCols: TQDataTable TQGridLayout TQGridView TQTable TQTableSelection
    • numColumns: TQListBox
    • numCopies: TQPrinter
    • numDigits: @@ -1803,7 +1803,7 @@ object: TQString
    • operator type *: TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQPtrDictIterator TQPtrListIterator TQPtrQueue TQPtrStack
    • operator!: TQString
    • operator!=: - TQBrush TQCString TQChar TQColor TQColorGroup TQDate TQDateTime TQDir TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQFont TQGuardedPtr TQImage TQKeySequence TQMapConstIterator TQMapIterator TQMemArray TQPalette TQPen TQPoint TQPtrList TQRect TQRegExp TQRegion TQSize TQSizePolicy TQString TQTableSelection TQTime TQTranslatorMessage TQUuid TQValueList TQValueListConstIterator TQValueListIterator TQVariant TQWMatrix
    • operator&: + TQBrush TQCString TQChar TQColor TQColorGroup TQDate TQDateTime TQDir TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQFont TQGuardedPtr TQImage TQKeySequence TQMapConstIterator TQMapIterator TQMemArray TQPalette TQPen TQPoint TQPtrList TQRect TQRegExp TQRegion TQSize TQSizePolicy TQString TQTableSelection TQTime TQTranslatorMessage TQUuid TQValueList TQValueListConstIterator TQValueListIterator TQVariant TQWMatrix
    • operator&: TQBitArray TQRect TQRegion
    • operator&=: TQBitArray TQRect TQRegion
    • operator(): TQAsciiCacheIterator TQAsciiDictIterator TQCacheIterator TQDictIterator TQIntCacheIterator TQIntDictIterator TQPtrDictIterator TQPtrListIterator
    • operator*: @@ -1819,13 +1819,13 @@ object: TQPoint TQSize
    • operator/=: TQPoint TQSize
    • operator<: TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage TQUuid
    • operator<<: - TQBitArray TQBrush TQCString TQColor TQColorGroup TQCursor TQDataStream TQDate TQDateTime TQDockArea TQDomNode TQFont TQImage TQKeySequence TQMainWindow TQMap TQMemArray TQPalette TQPen TQPicture TQPixmap TQPoint TQPointArray TQRect TQRegion TQSize TQSplitter TQString TQTextStream TQTime TQUuid TQValueList TQWMatrix
    • operator<=: + TQBitArray TQBrush TQCString TQColor TQColorGroup TQCursor TQDataStream TQDate TQDateTime TQDockArea TQDomNode TQFont TQImage TQKeySequence TQMainWindow TQMap TQMemArray TQPalette TQPen TQPicture TQPixmap TQPoint TQPointArray TQRect TQRegion TQSize TQSplitter TQString TQTextStream TQTime TQUuid TQValueList TQWMatrix
    • operator<=: TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage
    • operator=: - TQAsciiCacheIterator TQAsciiDict TQBitArray TQBitVal TQBitmap TQBrush TQCString TQCacheIterator TQColor TQColorGroup TQCursor TQDeepCopy TQDict TQDir TQDomAttr TQDomCDATASection TQDomCharacterData TQDomComment TQDomDocument TQDomDocumentFragment TQDomDocumentType TQDomElement TQDomEntity TQDomEntityReference TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQDomNotation TQDomProcessingInstruction TQDomText TQFileInfo TQFont TQFontInfo TQFontMetrics TQGLColormap TQGuardedPtr TQHostAddress TQHttpHeader TQIconSet TQImage TQIntCacheIterator TQIntDict fnord TQKeySequence TQLayoutIterator TQListViewItemIterator TQLocale TQMap TQMemArray TQMovie TQObjectList TQObjectListIterator TQPair TQPalette TQPen TQPicture TQPixmap TQPointArray TQPtrDict TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack TQPtrVector TQRegExp TQRegion TQSqlCursor TQSqlError TQSqlField TQSqlFieldInfo TQSqlIndex TQSqlQuery TQSqlRecord TQStrList TQString TQStyleSheetItem TQTranslatorMessage TQUrl TQUrlInfo TQUuid TQValueList TQValueVector TQVariant
    • operator==: - TQBrush TQCString TQChar TQColor TQColorGroup TQDate TQDateTime TQDir TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQFont TQGuardedPtr TQHostAddress TQImage TQKeySequence TQMapConstIterator TQMapIterator TQMemArray TQPalette TQPen TQPoint TQPtrList TQPtrVector TQRect TQRegExp TQRegion TQSize TQSizePolicy TQSqlField TQSqlFieldInfo TQString TQTableSelection TQTime TQTranslatorMessage TQUrl TQUrlInfo TQUuid TQValueList TQValueListConstIterator TQValueListIterator TQValueVector TQVariant TQWMatrix
    • operator>: + TQAsciiCacheIterator TQAsciiDict TQBitArray TQBitVal TQBitmap TQBrush TQCString TQCacheIterator TQColor TQColorGroup TQCursor TQDeepCopy TQDict TQDir TQDomAttr TQDomCDATASection TQDomCharacterData TQDomComment TQDomDocument TQDomDocumentFragment TQDomDocumentType TQDomElement TQDomEntity TQDomEntityReference TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQDomNotation TQDomProcessingInstruction TQDomText TQFileInfo TQFont TQFontInfo TQFontMetrics TQGLColormap TQGuardedPtr TQHostAddress TQHttpHeader TQIconSet TQImage TQIntCacheIterator TQIntDict fnord TQKeySequence TQLayoutIterator TQListViewItemIterator TQLocale TQMap TQMemArray TQMovie TQObjectList TQObjectListIterator TQPair TQPalette TQPen TQPicture TQPixmap TQPointArray TQPtrDict TQPtrList TQPtrListIterator TQPtrQueue TQPtrStack TQPtrVector TQRegExp TQRegion TQSqlCursor TQSqlError TQSqlField TQSqlFieldInfo TQSqlIndex TQSqlQuery TQSqlRecord TQStrList TQString TQStyleSheetItem TQTranslatorMessage TQUrl TQUrlInfo TQUuid TQValueList TQValueVector TQVariant
    • operator==: + TQBrush TQCString TQChar TQColor TQColorGroup TQDate TQDateTime TQDir TQDomImplementation TQDomNamedNodeMap TQDomNode TQDomNodeList TQFont TQGuardedPtr TQHostAddress TQImage TQKeySequence TQMapConstIterator TQMapIterator TQMemArray TQPalette TQPen TQPoint TQPtrList TQPtrVector TQRect TQRegExp TQRegion TQSize TQSizePolicy TQSqlField TQSqlFieldInfo TQString TQTableSelection TQTime TQTranslatorMessage TQUrl TQUrlInfo TQUuid TQValueList TQValueListConstIterator TQValueListIterator TQValueVector TQVariant TQWMatrix
    • operator>: TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage TQUuid
    • operator>=: TQCString TQChar TQDate TQDateTime TQString TQTime TQTranslatorMessage
    • operator>>: - TQBitArray TQBrush TQCString TQColor TQCursor TQDataStream TQDate TQDateTime TQDockArea TQFont TQImage TQKeySequence TQMainWindow TQMap TQMemArray TQPalette TQPen TQPicture TQPixmap TQPoint TQPointArray TQRect TQRegion TQSize TQSplitter TQString TQTextStream TQTime TQUuid TQValueList TQWMatrix
    • operator[]: + TQBitArray TQBrush TQCString TQColor TQCursor TQDataStream TQDate TQDateTime TQDockArea TQFont TQImage TQKeySequence TQMainWindow TQMap TQMemArray TQPalette TQPen TQPicture TQPixmap TQPoint TQPointArray TQRect TQRegion TQSize TQSplitter TQString TQTextStream TQTime TQUuid TQValueList TQWMatrix
    • operator[]: TQAsciiCache TQAsciiDict TQBitArray TQCache TQDict TQDir TQIntCache TQIntDict TQKeySequence TQMap TQMemArray TQPtrDict TQPtrVector TQString TQValueList TQValueVector
    • operator^: TQBitArray TQRegion
    • operator^=: TQBitArray TQRegion
    • operator|: @@ -1844,8 +1844,8 @@ object: TQLCDNumber
    • overlayContext: TQGLWidget
    • overlayTransparentColor: TQGLContext
    • overline: - TQFont
    • overlinePos: - TQFontMetrics
    • overrideCursor: + TQFont
    • overlinePos: + TQFontMetrics
    • overrideCursor: TQApplication
    • ownCursor: TQWidget
    • ownFont: TQWidget
    • ownPalette: @@ -1878,7 +1878,7 @@ packImage: TQGLWidget
    • paintSection: TQHeader
    • paintSectionLabel: TQHeader
    • paintingActive: - TQPaintDevice
    • palette: + TQPaintDevice
    • palette: TQApplication TQToolTip TQWidget
    • paletteBackgroundColor: TQWidget
    • paletteBackgroundPixmap: TQWidget
    • paletteChange: @@ -1902,21 +1902,21 @@ packImage: TQTextEdit
    • path: TQDir TQHttpRequestHeader TQUrl
    • pattern: TQRegExp
    • pause: - TQMovie
    • paused: - TQMovie
    • peerAddress: + TQMovie
    • paused: + TQMovie
    • peerAddress: TQSocket TQSocketDevice
    • peerName: TQSocket
    • peerPort: TQSocket TQSocketDevice
    • pen: - TQCanvasPolygonalItem TQPainter
    • percentageVisible: + TQCanvasPolygonalItem TQPainter
    • percentageVisible: TQProgressBar
    • permission: TQFileInfo
    • permissions: TQUrlInfo
    • picture: TQIconViewItem TQLabel
    • pixel: - TQColor TQImage
    • pixelIndex: + TQColor TQImage
    • pixelIndex: TQImage
    • pixelMetric: TQStyle
    • pixelSize: - TQFont TQFontInfo
    • pixmap: - TQBrush TQButton TQCheckBox TQClipboard TQComboBox TQDragObject TQFileIconProvider TQIconSet TQIconViewItem TQLabel TQListBox TQListBoxItem TQListBoxPixmap TQListViewItem TQMenuData TQPopupMenu TQPushButton TQRadioButton TQSplashScreen TQTable TQTableItem
    • pixmapHotSpot: + TQFont TQFontInfo
    • pixmap: + TQBrush TQButton TQCheckBox TQClipboard TQComboBox TQDragObject TQFileIconProvider TQIconSet TQIconViewItem TQLabel TQListBox TQListBoxItem TQListBoxPixmap TQListViewItem TQMenuData TQPopupMenu TQPushButton TQRadioButton TQSplashScreen TQTable TQTableItem
    • pixmapHotSpot: TQDragObject
    • pixmapRect: TQIconViewItem
    • pixmapSizeChanged: TQMainWindow
    • place: @@ -1926,9 +1926,9 @@ packImage: TQGLFormat
    • play: TQPicture TQSound
    • point: TQPointArray
    • pointSize: - TQFont TQFontInfo TQTextEdit
    • pointSizeFloat: - TQFont
    • pointSizes: - TQFontDatabase
    • points: + TQFont TQFontInfo TQTextEdit
    • pointSizeFloat: + TQFont
    • pointSizes: + TQFontDatabase
    • points: TQCanvasPolygon
    • polish: TQApplication TQStyle TQWidget
    • polishPopupMenu: TQStyle
    • pop: @@ -1987,8 +1987,8 @@ packImage: TQDomDocumentType TQDomEntity TQDomNotation TQXmlParseException
    • push: TQPtrStack TQValueStack
    • pushContext: TQXmlNamespaceSupport
    • pushData: - TQMovie
    • pushSpace: - TQMovie
    • push_back: + TQMovie
    • pushSpace: + TQMovie
    • push_back: TQValueList TQValueVector
    • push_front: TQValueList
    • put: TQFtp TQUrlOperator
    • putPoints: @@ -1996,27 +1996,27 @@ packImage: TQFile TQIODevice TQSocket
    • tqAddPostRoutine: TQApplication
    • tqAlpha: - TQColor
    • tqBlue: - TQColor
    • tqChecksum: + TQColor
    • tqBlue: + TQColor
    • tqChecksum: TQMemArray
    • tqCompress: TQByteArray
    • tqDebug: TQApplication
    • qDrawPlainRect: - TQPainter
    • qDrawShadeLine: - TQPainter
    • qDrawShadePanel: - TQPainter
    • qDrawShadeRect: - TQPainter
    • qDrawWinButton: - TQPainter
    • qDrawWinPanel: - TQPainter
    • tqFatal: + TQPainter
    • qDrawShadeLine: + TQPainter
    • qDrawShadePanel: + TQPainter
    • qDrawShadeRect: + TQPainter
    • qDrawWinButton: + TQPainter
    • qDrawWinPanel: + TQPainter
    • tqFatal: TQApplication
    • tqGray: - TQColor
    • tqGreen: - TQColor
    • tqInitNetworkProtocols: + TQColor
    • tqGreen: + TQColor
    • tqInitNetworkProtocols: TQUrlOperator
    • qInstallMsgHandler: TQApplication
    • qMakePair: TQPair
    • qName: TQXmlAttributes
    • tqRed: - TQColor
    • tqRgb: - TQColor
    • tqRgba: - TQColor
    • tqSysInfo: + TQColor
    • tqRgb: + TQColor
    • tqRgba: + TQColor
    • tqSysInfo: TQApplication
    • tqSystemWarning: TQApplication
    • tqUncompress: TQByteArray
    • tqVersion: @@ -2054,12 +2054,12 @@ rBottom: TQWidget
    • raiseWidget: TQWidgetStack
    • rangeChange: TQDial TQRangeControl TQSlider TQSpinBox
    • rasterOp: - TQPainter
    • rawArg: + TQPainter
    • rawArg: TQNetworkOperation
    • rawCommand: TQFtp
    • rawCommandReply: TQFtp
    • rawMode: - TQFont TQFontInfo
    • rawName: - TQFont
    • read: + TQFont TQFontInfo
    • rawName: + TQFont
    • read: TQAsciiDict TQDict TQImageIO TQIntDict TQPtrDict TQPtrList TQPtrQueue TQPtrStack TQPtrVector TQTextStream
    • readAll: TQFile TQFtp TQHttp TQIODevice
    • readBlock: TQFtp TQHttp TQIODevice TQSocket TQSocketDevice
    • readBoolEntry: @@ -2093,17 +2093,17 @@ rBottom: TQDataView TQSqlDatabase TQSqlDriver
    • recordInfo: TQSqlDatabase TQSqlDriver
    • recordType: TQDns
    • rect: - TQAccessibleInterface TQCanvas TQCanvasRectangle TQIconViewItem TQImage TQPaintEvent TQPixmap TQRect TQStyleOption TQTab TQWidget
    • rects: + TQAccessibleInterface TQCanvas TQCanvasRectangle TQIconViewItem TQImage TQPaintEvent TQPixmap TQRect TQStyleOption TQTab TQWidget
    • rects: TQRegion
    • red: - TQColor
    • redirect: - TQPainter
    • redo: + TQColor
    • redirect: + TQPainter
    • redo: TQLineEdit TQTextEdit
    • redoAvailable: TQTextEdit
    • ref: TQString TQUrl
    • reformat: TQStatusBar
    • refresh: TQDataBrowser TQDataTable TQDataView TQDir TQFileInfo TQSplitter
    • regExp: TQRegExpValidator
    • region: - TQPaintEvent
    • registerDecoderFactory: + TQPaintEvent
    • registerDecoderFactory: TQImageDecoder
    • registerNetworkProtocol: TQNetworkProtocol
    • registerSocketNotifier: TQEventLoop
    • registerSqlDriver: @@ -2150,7 +2150,7 @@ rBottom: TQSettings
    • removeSelectedText: TQTextEdit
    • removeSelection: TQTable TQTextEdit
    • removeSubstitution: - TQFont
    • removeTab: + TQFont
    • removeTab: TQTabBar
    • removeTabToolTip: TQTabWidget
    • removeTip: TQToolTipGroup
    • removeToolTip: @@ -2189,7 +2189,7 @@ rBottom: TQMemArray
    • resetReason: TQFocusEvent
    • resetStatus: TQIODevice
    • resetXForm: - TQPainter
    • resize: + TQPainter
    • resize: TQAsciiDict TQBitArray TQCString TQCanvas TQDict TQIntDict TQMemArray TQPixmap TQPtrDict TQPtrVector TQValueVector TQWidget
    • resizeContents: TQScrollView
    • resizeData: TQTable
    • resizeEvent: @@ -2201,14 +2201,14 @@ rBottom: TQHeader
    • resized: TQCanvas TQDesktopWidget
    • resolution: TQPrinter
    • resolve: - TQFont TQLibrary
    • resolveEntity: + TQFont TQLibrary
    • resolveEntity: TQXmlEntityResolver
    • resortDir: TQFileDialog
    • responseHeaderReceived: TQHttp
    • restart: - TQMovie TQTime
    • restartCommand: + TQMovie TQTime
    • restartCommand: TQSessionManager
    • restartHint: TQSessionManager
    • restore: - TQPainter
    • restoreOverrideCursor: + TQPainter
    • restoreOverrideCursor: TQApplication
    • result: TQDialog TQSqlQuery
    • resultsReady: TQDns
    • retune: @@ -2217,11 +2217,11 @@ rBottom: TQApplication
    • rewind: TQDataSource TQIODeviceSource
    • rewindable: TQDataSource TQIODeviceSource
    • rgb: - TQColor
    • rgba: + TQColor
    • rgba: TQGLFormat
    • rheight: TQSize
    • right: TQCString TQRect TQString
    • rightBearing: - TQFontMetrics
    • rightButtonClicked: + TQFontMetrics
    • rightButtonClicked: TQIconView TQListBox TQListView
    • rightButtonPressed: TQIconView TQListBox TQListView
    • rightCol: TQTableSelection
    • rightDock: @@ -2236,7 +2236,7 @@ rBottom: TQDir
    • rootDirPath: TQDir
    • rootIsDecorated: TQListView
    • rotate: - TQPainter TQWMatrix
    • row: + TQPainter TQWMatrix
    • row: TQChar TQTableItem
    • rowAt: TQGridView TQTable
    • rowHeight: TQTable
    • rowHeightChanged: @@ -2250,15 +2250,15 @@ rBottom: TQGridLayout
    • rtti: TQCanvasEllipse TQCanvasItem TQCanvasLine TQCanvasPolygon TQCanvasPolygonalItem TQCanvasRectangle TQCanvasSpline TQCanvasSprite TQCanvasText TQCheckListItem TQCheckTableItem TQComboTableItem TQIconViewItem TQListBoxItem TQListViewItem TQTableItem
    • run: TQThread
    • running: - TQMovie TQThread
    • rwidth: + TQMovie TQThread
    • rwidth: TQSize
    • rx: TQPoint
    • ry: TQPoint
    • sRect: TQHeader
    • save: - TQDomNode TQImage TQPainter TQPicture TQPixmap TQTranslator
    • saveState: + TQDomNode TQImage TQPainter TQPicture TQPixmap TQTranslator
    • saveState: TQApplication
    • scale: - TQImage TQPainter TQSize TQWMatrix
    • scaleFont: + TQImage TQPainter TQSize TQWMatrix
    • scaleFont: TQStyleSheet
    • scaleHeight: TQImage
    • scaleWidth: TQImage
    • scanLine: @@ -2266,7 +2266,7 @@ sRect: TQDesktopWidget
    • screenGeometry: TQDesktopWidget
    • screenNumber: TQDesktopWidget
    • scriptSample: - TQFontDatabase
    • scriptable: + TQFontDatabase
    • scriptable: TQMetaProperty
    • scroll: TQWidget
    • scrollBarsEnabled: TQWorkspace
    • scrollBy: @@ -2362,8 +2362,8 @@ sRect: TQProgressDialog
    • setAutoUnload: TQLibrary
    • setBackEnabled: TQWizard
    • setBackgroundColor: - TQCanvas TQMovie TQPainter
    • setBackgroundMode: - TQPainter TQWidget
    • setBackgroundOrigin: + TQCanvas TQMovie TQPainter
    • setBackgroundMode: + TQPainter TQWidget
    • setBackgroundOrigin: TQWidget
    • setBackgroundPixmap: TQCanvas
    • setBar: TQProgressDialog
    • setBaseSize: @@ -2371,15 +2371,15 @@ sRect: TQLCDNumber
    • setBit: TQBitArray
    • setBlocking: TQSocketDevice
    • setBold: - TQFont TQTextEdit
    • setBottom: + TQFont TQTextEdit
    • setBottom: TQDoubleValidator TQIntValidator TQRect
    • setBottomItem: TQListBox
    • setBottomLeft: TQRect
    • setBottomRight: TQRect
    • setBoundaryChecking: TQDataBrowser
    • setBoundingRect: TQPicture
    • setBrush: - TQCanvasPolygonalItem TQColorGroup TQPainter TQPalette
    • setBrushOrigin: - TQPainter
    • setBuddy: + TQCanvasPolygonalItem TQColorGroup TQPainter TQPalette
    • setBrushOrigin: + TQPainter
    • setBuddy: TQLabel
    • setBuffer: TQBuffer
    • setButton: TQButtonGroup
    • setButtonSymbols: @@ -2407,9 +2407,9 @@ sRect: TQWidgetStack
    • setChildrenCollapsible: TQSplitter
    • setClickEnabled: TQHeader
    • setClipRect: - TQPainter
    • setClipRegion: - TQPainter
    • setClipping: - TQPainter
    • setCloseMode: + TQPainter
    • setClipRegion: + TQPainter
    • setClipping: + TQPainter
    • setCloseMode: TQDockWindow
    • setCodec: TQTextStream
    • setCodecForCStrings: TQTextCodec
    • setCodecForLocale: @@ -2419,7 +2419,7 @@ sRect: TQGridLayout
    • setColStretch: TQGridLayout
    • setCollapsible: TQSplitter
    • setColor: - TQBrush TQCanvasText TQColorDrag TQColorGroup TQImage TQPalette TQPen TQStyleSheetItem TQTextEdit
    • setColorMode: + TQBrush TQCanvasText TQColorDrag TQColorGroup TQImage TQPalette TQPen TQStyleSheetItem TQTextEdit
    • setColorMode: TQPrinter
    • setColorSpec: TQApplication
    • setColormap: TQGLWidget
    • setColumn: @@ -2467,7 +2467,7 @@ sRect: TQApplication
    • setCursorName: TQSqlIndex
    • setCursorPosition: TQLineEdit TQMultiLineEdit TQTextEdit
    • setCustomColor: - TQColorDialog
    • setCustomHighlighting: + TQColorDialog
    • setCustomHighlighting: TQListBoxItem
    • setDTDHandler: TQXmlReader
    • setData: TQClipboard TQCustomEvent TQDomCharacterData TQDomProcessingInstruction TQIconDragItem TQMimeSourceFactory TQPicture TQXmlInputSource
    • setDatabaseName: @@ -2546,7 +2546,7 @@ sRect: TQDialog
    • setExtensionType: TQMimeSourceFactory
    • setFalseText: TQDataTable
    • setFamily: - TQFont TQTextEdit
    • setFeature: + TQFont TQTextEdit
    • setFeature: TQXmlReader TQXmlSimpleReader
    • setFile: TQFileInfo TQUrlInfo
    • setFileName: TQImageIO TQUrl
    • setFileNames: @@ -2558,7 +2558,7 @@ sRect: TQDockWindow
    • setFixedExtentWidth: TQDockWindow
    • setFixedHeight: TQWidget
    • setFixedPitch: - TQFont
    • setFixedSize: + TQFont
    • setFixedSize: TQWidget
    • setFixedWidth: TQWidget
    • setFlags: TQIODevice
    • setFlat: @@ -2568,7 +2568,7 @@ sRect: TQWidget
    • setFocusRectPolicy: TQMacStyle
    • setFocusStyle: TQTable
    • setFont: - TQApplication TQCanvasText TQComboBox TQCustomMenuItem TQLabel TQPainter TQTabDialog TQToolTip TQWhatsThis TQWidget
    • setFontFamily: + TQApplication TQCanvasText TQComboBox TQCustomMenuItem TQLabel TQPainter TQTabDialog TQToolTip TQWhatsThis TQWidget
    • setFontFamily: TQStyleSheetItem
    • setFontItalic: TQStyleSheetItem
    • setFontSize: TQStyleSheetItem
    • setFontStrikeOut: @@ -2612,7 +2612,7 @@ sRect: TQHttp TQUrl
    • setHostName: TQSqlDatabase
    • setHour: TQTimeEdit
    • setHsv: - TQColor
    • setIODevice: + TQColor
    • setIODevice: TQImageIO
    • setIcon: TQMessageBox TQWidget
    • setIconPixmap: TQMessageBox
    • setIconProvider: @@ -2635,7 +2635,7 @@ sRect: TQComboBox
    • setInsideMargin: TQGroupBox
    • setInsideSpacing: TQGroupBox
    • setItalic: - TQFont TQTextEdit
    • setItem: + TQFont TQTextEdit
    • setItem: TQTable
    • setItemChecked: TQMenuData TQPopupMenu
    • setItemEnabled: TQAccel TQMenuBar TQMenuData TQPopupMenu TQToolBox
    • setItemIconSet: @@ -2714,7 +2714,7 @@ sRect: TQListViewItem
    • setName: TQFile TQObject TQSqlCursor TQSqlField TQSqlIndex TQUrlInfo
    • setNameFilter: TQDir TQUrlOperator
    • setNamedColor: - TQColor
    • setNamedItem: + TQColor
    • setNamedItem: TQDomNamedNodeMap
    • setNamedItemNS: TQDomNamedNodeMap
    • setNewLine: TQDockWindow
    • setNextEnabled: @@ -2749,7 +2749,7 @@ sRect: TQPrinter
    • setOutputToFile: TQPrinter
    • setOverlay: TQGLFormat
    • setOverline: - TQFont
    • setOverrideCursor: + TQFont
    • setOverrideCursor: TQApplication
    • setOverwriteMode: TQTextEdit
    • setOwner: TQUrlInfo
    • setPageOrder: @@ -2767,19 +2767,19 @@ sRect: TQSqlDatabase TQUrl
    • setPath: TQDir TQSettings TQUrl
    • setPattern: TQRegExp
    • setPen: - TQCanvasPolygonalItem TQPainter
    • setPercentageVisible: + TQCanvasPolygonalItem TQPainter
    • setPercentageVisible: TQProgressBar
    • setPermissions: TQUrlInfo
    • setPicture: TQIconViewItem TQLabel
    • setPixel: TQImage
    • setPixelAlignment: TQPNGImagePacker
    • setPixelSize: - TQFont
    • setPixmap: - TQBrush TQButton TQCheckBox TQClipboard TQDragObject TQIconSet TQIconViewItem TQLabel TQListViewItem TQMimeSourceFactory TQPushButton TQRadioButton TQSplashScreen TQTable TQTableItem
    • setPixmapRect: + TQFont
    • setPixmap: + TQBrush TQButton TQCheckBox TQClipboard TQDragObject TQIconSet TQIconViewItem TQLabel TQListViewItem TQMimeSourceFactory TQPushButton TQRadioButton TQSplashScreen TQTable TQTableItem
    • setPixmapRect: TQIconViewItem
    • setPlane: TQGLFormat
    • setPoint: TQDropEvent TQPointArray
    • setPointSize: - TQFont TQTextEdit
    • setPointSizeFloat: - TQFont
    • setPoints: + TQFont TQTextEdit
    • setPointSizeFloat: + TQFont
    • setPoints: TQCanvasLine TQCanvasPolygon
    • setPopup: TQPushButton TQToolButton
    • setPopupDelay: TQToolButton
    • setPort: @@ -2801,11 +2801,11 @@ sRect: TQSqlResult TQUrl
    • setRadioButtonExclusive: TQButtonGroup
    • setRange: TQDateEdit TQDoubleValidator TQIntValidator TQRangeControl TQSlider TQTimeEdit
    • setRasterOp: - TQPainter
    • setRawArg: + TQPainter
    • setRawArg: TQNetworkOperation
    • setRawData: TQMemArray
    • setRawMode: - TQFont
    • setRawName: - TQFont
    • setReadBufferSize: + TQFont
    • setRawName: + TQFont
    • setReadBufferSize: TQSocket
    • setReadOnly: TQDataBrowser TQLineEdit TQSqlField TQTable TQTextEdit
    • setReadable: TQUrlInfo
    • setReason: @@ -2827,7 +2827,7 @@ sRect: TQSessionManager
    • setResult: TQDialog
    • setReverseLayout: TQApplication
    • setRgb: - TQColor
    • setRgba: + TQColor
    • setRgba: TQGLFormat
    • setRight: TQRect
    • setRootIsDecorated: TQListView
    • setRow: @@ -2882,9 +2882,9 @@ sRect: TQGrid TQHBox TQIconView TQLayout
    • setSpan: TQTableItem
    • setSpecialValueText: TQSpinBox
    • setSpeed: - TQMovie
    • setSqlCursor: + TQMovie
    • setSqlCursor: TQDataBrowser TQDataTable
    • setStandardColor: - TQColorDialog
    • setStartDragDistance: + TQColorDialog
    • setStartDragDistance: TQApplication
    • setStartDragTime: TQApplication
    • setState: TQButton TQCheckListItem TQIODevice TQNetworkOperation
    • setStaticBackground: @@ -2895,21 +2895,21 @@ sRect: TQRangeControl
    • setStereo: TQGLFormat
    • setStr: TQCString
    • setStretch: - TQFont
    • setStretchEnabled: + TQFont
    • setStretchEnabled: TQHeader
    • setStretchFactor: TQBoxLayout TQHBox
    • setStretchableWidget: TQToolBar
    • setStrikeOut: - TQFont
    • setStringList: + TQFont
    • setStringList: TQComboTableItem
    • setStyle: - TQApplication TQBrush TQPen TQWidget
    • setStyleHint: - TQFont
    • setStyleSheet: + TQApplication TQBrush TQPen TQWidget
    • setStyleHint: + TQFont
    • setStyleSheet: TQTextEdit
    • setStyleStrategy: - TQFont
    • setSubtype: + TQFont
    • setSubtype: TQTextDrag
    • setSuffix: TQSpinBox
    • setSupportsMargin: TQLayout
    • setSymLink: TQUrlInfo
    • setTabArray: - TQPainter
    • setTabBar: + TQPainter
    • setTabBar: TQTabDialog TQTabWidget
    • setTabChangesFocus: TQTextEdit
    • setTabEnabled: TQTabBar TQTabDialog TQTabWidget
    • setTabIconSet: @@ -2919,7 +2919,7 @@ sRect: TQTabWidget
    • setTabShape: TQTabWidget
    • setTabStopWidth: TQTextEdit
    • setTabStops: - TQPainter
    • setTabToolTip: + TQPainter
    • setTabToolTip: TQTabWidget
    • setTagName: TQDomElement
    • setText: TQAccessibleInterface TQAction TQButton TQCanvasText TQCheckBox TQClipboard TQIconViewItem TQImage TQLabel TQLineEdit TQListBoxItem TQListViewItem TQMessageBox TQMimeSourceFactory TQPushButton TQRadioButton TQTab TQTable TQTableItem TQTextDrag TQTextEdit
    • setTextFlags: @@ -2956,7 +2956,7 @@ sRect: TQDataTable
    • setType: TQIODevice TQSqlError
    • setUnchanged: TQCanvas
    • setUnderline: - TQFont TQTextEdit
    • setUndoDepth: + TQFont TQTextEdit
    • setUndoDepth: TQTextEdit
    • setUndoRedoEnabled: TQTextEdit
    • setUnicode: TQString
    • setUnicodeCodes: @@ -2987,12 +2987,12 @@ sRect: TQStyleSheetItem TQTextEdit
    • setVerticallyStretchable: TQDockWindow
    • setViewMode: TQFileDialog
    • setViewXForm: - TQPainter
    • setViewport: - TQPainter
    • setVisible: + TQPainter
    • setViewport: + TQPainter
    • setVisible: TQAction TQCanvasItem TQListViewItem
    • setWFlags: TQWidget
    • setWakeUpDelay: TQToolTip
    • setWeight: - TQFont
    • setWhatsThis: + TQFont
    • setWhatsThis: TQAccel TQAction TQMenuData TQPopupMenu
    • setWheelScrollLines: TQApplication
    • setWhiteSpaceMode: TQStyleSheetItem
    • setWidget: @@ -3002,15 +3002,15 @@ sRect: TQRegExp
    • setWinPageSize: TQPrinter
    • setWinding: TQCanvasPolygonalItem
    • setWindow: - TQPainter
    • setWindowCreated: + TQPainter
    • setWindowCreated: TQGLContext
    • setWindowOpacity: TQWidget
    • setWindowState: TQWidget
    • setWordWrap: TQTableItem TQTextEdit
    • setWordWrapIconText: TQIconView
    • setWorkingDirectory: TQProcess
    • setWorldMatrix: - TQCanvasView TQPainter
    • setWorldXForm: - TQPainter
    • setWrapColumnOrWidth: + TQCanvasView TQPainter
    • setWorldXForm: + TQPainter
    • setWrapColumnOrWidth: TQTextEdit
    • setWrapPolicy: TQTextEdit
    • setWrapping: TQDial TQSpinBox
    • setWritable: @@ -3024,9 +3024,9 @@ sRect: TQCanvasItem
    • setf: TQTextStream
    • setup: TQListViewItem TQPrinter
    • shadow: - TQColorGroup
    • shape: + TQColorGroup
    • shape: TQCursor TQTabBar
    • shear: - TQPainter TQWMatrix
    • shell: + TQPainter TQWMatrix
    • shell: TQMotifDialog
    • shortDayName: TQDate
    • shortMonthName: TQDate
    • shortcutKey: @@ -3052,7 +3052,7 @@ sRect: TQTextCodec
    • simplifyWhiteSpace: TQCString TQString
    • singleShot: TQTimer
    • size: - TQAsciiCache TQAsciiDict TQBitArray TQCache TQCanvas TQCanvasRectangle TQDict TQFile TQFileInfo TQFontMetrics TQGLColormap TQIODevice TQIconViewItem TQImage TQIntCache TQIntDict TQMap TQMemArray TQPicture TQPixmap TQPtrDict TQPtrVector TQRect TQResizeEvent TQSocket TQSqlQuery TQSqlResult TQUrlInfo TQValueList TQValueVector TQWidget
    • sizeChange: + TQAsciiCache TQAsciiDict TQBitArray TQCache TQCanvas TQCanvasRectangle TQDict TQFile TQFileInfo TQFontMetrics TQGLColormap TQIODevice TQIconViewItem TQImage TQIntCache TQIntDict TQMap TQMemArray TQPicture TQPixmap TQPtrDict TQPtrVector TQRect TQResizeEvent TQSocket TQSqlQuery TQSqlResult TQUrlInfo TQValueList TQValueVector TQWidget
    • sizeChange: TQHeader
    • sizeFromContents: TQStyle
    • sizeHint: TQBoxLayout TQCanvasView TQCustomMenuItem TQGridLayout TQLayoutItem TQLineEdit TQProgressDialog TQSizeGrip TQSpacerItem TQTableItem TQWidget TQWidgetItem
    • sizeIncrement: @@ -3072,7 +3072,7 @@ sRect: TQIconView
    • smallDecimalPoint: TQLCDNumber
    • smoothScale: TQImage
    • smoothSizes: - TQFontDatabase
    • socket: + TQFontDatabase
    • socket: TQServerSocket TQSocket TQSocketDevice TQSocketNotifier
    • socketDevice: TQServerSocket TQSocket
    • sort: TQDataBrowser TQDataTable TQIconView TQListBox TQListView TQListViewItem TQMemArray TQPtrList TQPtrVector TQSqlCursor TQStringList
    • sortAscending: @@ -3093,7 +3093,7 @@ sRect: TQIconView TQLayout
    • specialValueText: TQSpinBox
    • specified: TQDomAttr
    • speed: - TQMovie
    • split: + TQMovie
    • split: TQStringList
    • splitName: TQXmlNamespaceSupport
    • splitText: TQDomText
    • spontaneous: @@ -3103,7 +3103,7 @@ sRect: TQString TQTranslator
    • stackUnder: TQWidget
    • standardIcon: TQMessageBox
    • standardSizes: - TQFontDatabase
    • start: + TQFontDatabase
    • start: TQNetworkProtocol TQProcess TQThread TQTime TQTimer TQUrlOperator
    • startCDATA: TQXmlLexicalHandler
    • startDTD: TQXmlLexicalHandler
    • startDocument: @@ -3130,34 +3130,34 @@ sRect: TQHttpResponseHeader
    • statusTip: TQAction
    • stencil: TQGLFormat
    • step: - TQMovie
    • stepChange: + TQMovie
    • stepChange: TQRangeControl
    • stepDown: TQSpinBox
    • stepUp: TQSpinBox
    • steps: - TQMovie
    • stereo: + TQMovie
    • stereo: TQGLFormat
    • stop: TQNetworkProtocol TQSound TQTimer TQUrlOperator
    • stored: TQMetaProperty
    • streamAsFile: TQNPInstance
    • streamDestroyed: TQNPInstance
    • stretch: - TQFont
    • strikeOut: - TQFont
    • strikeOutPos: - TQFontMetrics
    • string: + TQFont
    • strikeOut: + TQFont
    • strikeOutPos: + TQFontMetrics
    • string: TQConstString
    • stripWhiteSpace: TQCString TQString
    • style: - TQApplication TQBrush TQPen TQWidget
    • styleChange: + TQApplication TQBrush TQPen TQWidget
    • styleChange: TQWidget
    • styleHint: - TQFont TQFontInfo TQStyle
    • stylePixmap: + TQFont TQFontInfo TQStyle
    • stylePixmap: TQStyle
    • styleSheet: TQStyleSheetItem TQTextEdit
    • styleStrategy: - TQFont
    • styleString: - TQFontDatabase
    • styles: - TQFontDatabase
    • subRect: + TQFont
    • styleString: + TQFontDatabase
    • styles: + TQFontDatabase
    • subRect: TQStyle
    • subkeyList: TQSettings
    • substitute: - TQFont
    • substitutes: - TQFont
    • substitutions: - TQFont
    • substringData: + TQFont
    • substitutes: + TQFont
    • substitutions: + TQFont
    • substringData: TQDomCharacterData
    • subtract: TQRegion
    • subtractLine: TQDial TQRangeControl
    • subtractPage: @@ -3184,7 +3184,7 @@ sRect: TQDomDocumentType TQDomEntity TQDomNotation TQXmlParseException
    • tab: TQStyleOption TQTabBar
    • tabArray: - TQPainter
    • tabAt: + TQPainter
    • tabAt: TQTabBar
    • tabBar: TQTabDialog TQTabWidget
    • tabChangesFocus: TQTextEdit
    • tabIconSet: @@ -3194,7 +3194,7 @@ tab: TQTabWidget
    • tabShape: TQTabWidget
    • tabStopWidth: TQTextEdit
    • tabStops: - TQPainter
    • tabToolTip: + TQPainter
    • tabToolTip: TQTabWidget
    • tabWidth: TQStyleOption
    • table: TQTableItem
    • tables: @@ -3212,7 +3212,7 @@ tab: TQBitArray
    • testOption: TQGLFormat
    • testWFlags: TQWidget
    • text: - TQAccessibleInterface TQAction TQButton TQCanvasText TQCheckBox TQCheckListItem TQClipboard TQColorGroup TQComboBox TQComboTableItem TQDataTable TQDomElement TQIMEvent TQIconViewItem TQImage TQKeyEvent TQLabel TQLineEdit TQListBox TQListBoxItem TQListViewItem TQMenuData TQMessageBox TQPopupMenu TQPushButton TQRadioButton TQSpinBox TQSqlError TQTab TQTable TQTableItem TQTextEdit TQWhatsThis
    • textChanged: + TQAccessibleInterface TQAction TQButton TQCanvasText TQCheckBox TQCheckListItem TQClipboard TQColorGroup TQComboBox TQComboTableItem TQDataTable TQDomElement TQIMEvent TQIconViewItem TQImage TQKeyEvent TQLabel TQLineEdit TQListBox TQListBoxItem TQListViewItem TQMenuData TQMessageBox TQPopupMenu TQPushButton TQRadioButton TQSpinBox TQSqlError TQTab TQTable TQTableItem TQTextEdit TQWhatsThis
    • textChanged: TQComboBox TQLineEdit TQSpinBox TQTextEdit
    • textCursor: TQTextEdit
    • textEdit: TQSyntaxHighlighter
    • textFlags: @@ -3294,7 +3294,7 @@ tab: TQCString TQLocale TQString
    • toSize: TQVariant
    • toSizePolicy: TQVariant
    • toString: - TQDate TQDateTime TQDomDocument TQFont TQHostAddress TQHttpHeader TQLocale TQSqlCursor TQSqlRecord TQTime TQUrl TQUuid TQVariant
    • toStringList: + TQDate TQDateTime TQDomDocument TQFont TQHostAddress TQHttpHeader TQLocale TQSqlCursor TQSqlRecord TQTime TQUrl TQUuid TQVariant
    • toStringList: TQSqlRecord TQVariant
    • toText: TQDomNode
    • toTime: TQVariant
    • toTime_t: @@ -3332,7 +3332,7 @@ tab: TQDial TQHeader TQScrollBar TQSlider
    • transaction: TQSqlDatabase
    • transformationMode: TQWMatrix
    • translate: - TQApplication TQPainter TQPointArray TQRegion TQWMatrix
    • translation: + TQApplication TQPainter TQPointArray TQRegion TQWMatrix
    • translation: TQTranslatorMessage
    • transpose: TQSize TQSizePolicy
    • treeStepSize: TQListView
    • triggerUpdate: @@ -3351,8 +3351,8 @@ tab: ucs2: TQString
    • unPolish: TQStyle
    • underline: - TQFont TQTextEdit
    • underlinePos: - TQFontMetrics
    • undo: + TQFont TQTextEdit
    • underlinePos: + TQFontMetrics
    • undo: TQLineEdit TQTextEdit
    • undoAvailable: TQTextEdit
    • undoDepth: TQTextEdit
    • undock: @@ -3365,7 +3365,7 @@ ucs2: TQLibrary
    • unlock: TQApplication TQMutex
    • unparsedEntityDecl: TQXmlDTDHandler
    • unpause: - TQMovie
    • unregisterDecoderFactory: + TQMovie
    • unregisterDecoderFactory: TQImageDecoder
    • unregisterSocketNotifier: TQEventLoop
    • unsetCursor: TQWidget
    • unsetDevice: @@ -3433,7 +3433,7 @@ vScrollBarMode: TQScrollView
    • verticalSliderReleased: TQScrollView
    • viewMode: TQFileDialog
    • viewport: - TQPainter TQScrollView
    • viewportPaintEvent: + TQPainter TQScrollView
    • viewportPaintEvent: TQScrollView
    • viewportResizeEvent: TQScrollView
    • viewportSize: TQScrollView
    • viewportToContents: @@ -3453,7 +3453,7 @@ wait: TQMessageBox TQXmlErrorHandler
    • wasCanceled: TQProgressDialog
    • weekNumber: TQDate
    • weight: - TQFont TQFontDatabase TQFontInfo
    • whatsThis: + TQFont TQFontDatabase TQFontInfo
    • whatsThis: TQAccel TQAction TQMainWindow TQMenuData TQPopupMenu TQWidgetPlugin
    • whatsThisButton: TQWhatsThis
    • wheelEvent: TQWidget
    • wheelScrollLines: @@ -3464,9 +3464,9 @@ wait: TQMacStyle
    • widgetToField: TQSqlForm
    • widgets: TQWidgetFactory
    • width: - TQCanvas TQCanvasEllipse TQCanvasRectangle TQCanvasSprite TQFontMetrics TQIconViewItem TQImage TQListBoxItem TQListBoxPixmap TQListBoxText TQListViewItem TQPaintDeviceMetrics TQPen TQPixmap TQRect TQSimpleRichText TQSize TQTextStream TQWidget
    • widthChanged: + TQCanvas TQCanvasEllipse TQCanvasRectangle TQCanvasSprite TQFontMetrics TQIconViewItem TQImage TQListBoxItem TQListBoxPixmap TQListBoxText TQListViewItem TQPaintDeviceMetrics TQPen TQPixmap TQRect TQSimpleRichText TQSize TQTextStream TQWidget
    • widthChanged: TQListViewItem
    • widthMM: - TQPaintDeviceMetrics
    • widthUsed: + TQPaintDeviceMetrics
    • widthUsed: TQSimpleRichText
    • wildcard: TQRegExp
    • winEvent: TQWidget
    • winEventFilter: @@ -3475,7 +3475,7 @@ wait: TQWidget
    • winPageSize: TQPrinter
    • winding: TQCanvasPolygonalItem
    • window: - TQPainter
    • windowActivated: + TQPainter
    • windowActivated: TQWorkspace
    • windowActivationChange: TQWidget
    • windowCreated: TQGLContext
    • windowList: @@ -3485,7 +3485,7 @@ wait: TQTableItem TQTextEdit
    • wordWrapIconText: TQIconView
    • workingDirectory: TQProcess
    • worldMatrix: - TQCanvasView TQPainter
    • wrapColumnOrWidth: + TQCanvasView TQPainter
    • wrapColumnOrWidth: TQTextEdit
    • wrapPolicy: TQTextEdit
    • wrapping: TQDial TQSpinBox
    • writable: @@ -3502,32 +3502,32 @@ wait: TQProcess
    • x: TQCanvasItem TQContextMenuEvent TQIconViewItem TQMouseEvent TQPoint TQRect TQTabletEvent TQWheelEvent TQWidget
    • x11AppCells: - TQPaintDevice
    • x11AppColormap: - TQPaintDevice
    • x11AppDefaultColormap: - TQPaintDevice
    • x11AppDefaultVisual: - TQPaintDevice
    • x11AppDepth: - TQPaintDevice
    • x11AppDisplay: - TQPaintDevice
    • x11AppDpiX: - TQPaintDevice
    • x11AppDpiY: - TQPaintDevice
    • x11AppRootWindow: - TQPaintDevice
    • x11AppScreen: - TQPaintDevice
    • x11AppVisual: - TQPaintDevice
    • x11Cells: - TQPaintDevice
    • x11Colormap: - TQPaintDevice
    • x11DefaultColormap: - TQPaintDevice
    • x11DefaultVisual: - TQPaintDevice
    • x11Depth: - TQPaintDevice
    • x11Display: - TQMotif TQPaintDevice
    • x11Event: + TQPaintDevice
    • x11AppColormap: + TQPaintDevice
    • x11AppDefaultColormap: + TQPaintDevice
    • x11AppDefaultVisual: + TQPaintDevice
    • x11AppDepth: + TQPaintDevice
    • x11AppDisplay: + TQPaintDevice
    • x11AppDpiX: + TQPaintDevice
    • x11AppDpiY: + TQPaintDevice
    • x11AppRootWindow: + TQPaintDevice
    • x11AppScreen: + TQPaintDevice
    • x11AppVisual: + TQPaintDevice
    • x11Cells: + TQPaintDevice
    • x11Colormap: + TQPaintDevice
    • x11DefaultColormap: + TQPaintDevice
    • x11DefaultVisual: + TQPaintDevice
    • x11Depth: + TQPaintDevice
    • x11Display: + TQMotif TQPaintDevice
    • x11Event: TQMotifWidget TQWidget TQXtWidget
    • x11EventFilter: TQApplication
    • x11ProcessEvent: TQApplication
    • x11Screen: - TQPaintDevice
    • x11SetAppDpiX: - TQPaintDevice
    • x11SetAppDpiY: - TQPaintDevice
    • x11Visual: - TQPaintDevice
    • xForm: - TQBitmap TQImage TQPainter TQPixmap
    • xFormDev: - TQPainter
    • xTilt: + TQPaintDevice
    • x11SetAppDpiX: + TQPaintDevice
    • x11SetAppDpiY: + TQPaintDevice
    • x11Visual: + TQPaintDevice
    • xForm: + TQBitmap TQImage TQPainter TQPixmap
    • xFormDev: + TQPainter
    • xTilt: TQTabletEvent
    • xVelocity: TQCanvasItem
    • xtWidget: TQXtWidget
    • diff --git a/doc/html/grapher-nsplugin-example.html b/doc/html/grapher-nsplugin-example.html index 185c6e39d..108e9844b 100644 --- a/doc/html/grapher-nsplugin-example.html +++ b/doc/html/grapher-nsplugin-example.html @@ -75,7 +75,7 @@ Implementation: #include "ntqnp.h" // Include other TQt classes. -#include <ntqpainter.h> +#include <tqpainter.h> #include <tqtextstream.h> #include <tqbuffer.h> #include <ntqpixmap.h> @@ -251,9 +251,9 @@ void Graph::setStyle(const char* stext) void Graph::paintError(const char* e) { - TQPainter p(this); + TQPainter p(this); int w = width(); - p.drawText(w/8, 0, w-w/4, height(), AlignCenter|WordBreak, e); + p.drawText(w/8, 0, w-w/4, height(), AlignCenter|WordBreak, e); } void Graph::paintBar(TQPaintEvent* event) @@ -276,26 +276,26 @@ void Graph::paintBar(TQPaintEvent* event) const uint w = width(); const uint h = height(); - TQPainter p(this); + TQPainter p(this); - p.setClipRect(event->rect()); + p.setClipRect(event->rect()); if ( w > data.count() ) { // More pixels than data int x = 0; int i = 0; - TQFontMetrics fm=fontMetrics(); - int fh = fm.height(); + TQFontMetrics fm=fontMetrics(); + int fh = fm.height(); for (GraphModel::Datum* rowdata = data.first(); rowdata; rowdata = data.next()) { - TQColor c; - c.setHsv( (i * 255)/data.count(), 255, 255 );// rainbow effect - p.setBrush(c); + TQColor c; + c.setHsv( (i * 255)/data.count(), 255, 255 );// rainbow effect + p.setBrush(c); int bw = (w-w/4-x)/(data.count()-i); int bh = int((h-h/4-1)*rowdata[0].dbl/max); - p.drawRect( w/8+x, h-h/8-1-bh, bw, bh ); + p.drawRect( w/8+x, h-h/8-1-bh, bw, bh ); i++; x+=bw; @@ -312,12 +312,12 @@ void Graph::paintBar(TQPaintEvent* event) int bx = i*w/data.count(); if (bx > x) { - TQColor c; - c.setHsv( (x * 255)/w, 255, 255 );// rainbow effect - p.setPen(c); + TQColor c; + c.setHsv( (x * 255)/w, 255, 255 );// rainbow effect + p.setPen(c); int bh = int(h*av/n/max); - p.drawLine(x,h-1,x,h-bh); + p.drawLine(x,h-1,x,h-bh); av = 0.0; n = 0; @@ -364,23 +364,23 @@ void Graph::paintPie(TQPaintEvent* event) pm.resize(width(),height()); pm.fill(backgroundColor()); - TQPainter p(&pm); - p.setFont(font()); + TQPainter p(&pm); + p.setFont(font()); - p.setClipRect(event->rect()); + p.setClipRect(event->rect()); int i = 0; for (rowdata = data.first(); rowdata; rowdata = data.next()) { - TQColor c; + TQColor c; - c.setHsv( ( i * 255)/data.count(), 255, 255 );// rainbow effect - p.setBrush( c ); // solid fill with color c + c.setHsv( ( i * 255)/data.count(), 255, 255 );// rainbow effect + p.setBrush( c ); // solid fill with color c int a = int(( rowdata[0].dbl * 360.0 ) / total * 16.0 + 0.5); - p.drawPie( w/10, h/10, xd, yd, -apos, -a ); + p.drawPie( w/10, h/10, xd, yd, -apos, -a ); apos += a; i++; } @@ -396,22 +396,22 @@ void Graph::paintPie(TQPaintEvent* event) int y = int(sin(apos+a/2)*h*5/16 + h/2 + 0.5); // ### This causes a crash, so comment out for now - /*p.drawText(x-w/8, y-h/8, w/4, h/4, + /*p.drawText(x-w/8, y-h/8, w/4, h/4, WordBreak|AlignCenter, *rowdata[1].str);*/ apos += a; } } - TQPainter p2(this); - p2.setClipRect(event->rect()); - p2.drawPixmap(0,0,pm); + TQPainter p2(this); + p2.setClipRect(event->rect()); + p2.drawPixmap(0,0,pm); } void Graph::paintWait(TQPaintEvent*) { - TQPainter p(this); - p.drawText(rect(), AlignCenter, "Loading..."); + TQPainter p(this); + p.drawText(rect(), AlignCenter, "Loading..."); } void Graph::paintEvent(TQPaintEvent* event) diff --git a/doc/html/graphics.html b/doc/html/graphics.html index 78a0ca566..048af8b22 100644 --- a/doc/html/graphics.html +++ b/doc/html/graphics.html @@ -39,7 +39,7 @@ coordinate system.

      TQBitmapMonochrome (1-bit depth) pixmaps -
      TQBrushDefines the fill pattern of shapes drawn by a TQPainter +
      TQBrushDefines the fill pattern of shapes drawn by a TQPainter
      TQCanvas2D area that can contain TQCanvasItem objects
      TQCanvasEllipseEllipse or ellipse segment on a TQCanvas
      TQCanvasItemAbstract graphic object on a TQCanvas @@ -54,13 +54,13 @@ coordinate system.
      TQCanvasSpriteAnimated canvas item on a TQCanvas
      TQCanvasTextText object on a TQCanvas
      TQCanvasViewOn-screen view of a TQCanvas -
      TQColorColors based on RGB or HSV values -
      TQColorDialogDialog widget for specifying colors -
      TQColorGroupGroup of widget colors -
      TQFontFont used for drawing text -
      TQFontDatabaseInformation about the fonts available in the underlying window system -
      TQFontInfoGeneral information about fonts -
      TQFontMetricsFont metrics information +
      TQColorColors based on RGB or HSV values +
      TQColorDialogDialog widget for specifying colors +
      TQColorGroupGroup of widget colors +
      TQFontFont used for drawing text +
      TQFontDatabaseInformation about the fonts available in the underlying window system +
      TQFontInfoGeneral information about fonts +
      TQFontMetricsFont metrics information
      TQGLNamespace for miscellaneous identifiers in the TQt OpenGL module
      TQGLColormapUsed for installing custom colormaps into TQGLWidgets
      TQGLContextEncapsulates an OpenGL rendering context @@ -73,10 +73,10 @@ coordinate system.
      TQImageFormatIncremental image decoder for a specific image format
      TQImageFormatTypeFactory that makes TQImageFormat objects
      TQImageIOParameters for loading and saving images -
      TQMovieIncremental loading of animations or images, signalling as it progresses -
      TQPaintDeviceThe base class of objects that can be painted -
      TQPaintDeviceMetricsInformation about a paint device -
      TQPainterDoes low-level painting e.g. on widgets +
      TQMovieIncremental loading of animations or images, signalling as it progresses +
      TQPaintDeviceThe base class of objects that can be painted +
      TQPaintDeviceMetricsInformation about a paint device +
      TQPainterDoes low-level painting e.g. on widgets
      TQPaletteColor groups for each widget state
      TQPenDefines how a TQPainter should draw lines and outlines of shapes
      TQPicturePaint device that records and replays TQPainter commands diff --git a/doc/html/headerfilesynonyms b/doc/html/headerfilesynonyms index 1bc95c57c..b1a6ad4cc 100644 --- a/doc/html/headerfilesynonyms +++ b/doc/html/headerfilesynonyms @@ -58,7 +58,7 @@ qwheelevent.h ntqevent.h qtabletevent.h ntqevent.h qkeyevent.h ntqevent.h qfocusevent.h ntqevent.h -qpaintevent.h ntqevent.h +tqpaintevent.h ntqevent.h qmoveevent.h ntqevent.h qresizeevent.h ntqevent.h qcloseevent.h ntqevent.h @@ -121,7 +121,7 @@ qnpwidget.h ntqnp.h qnpinstance.h ntqnp.h qnplugin.h ntqnp.h tqobjectlistiterator.h tqobjectlist.h -qcolorgroup.h ntqpalette.h +tqcolorgroup.h ntqpalette.h qpngimagepacker.h ntqpngio.h tqptrdictiterator.h tqptrdict.h tqptrlistiterator.h tqptrlist.h diff --git a/doc/html/headers.html b/doc/html/headers.html index bd7b6ea92..9343c2576 100644 --- a/doc/html/headers.html +++ b/doc/html/headers.html @@ -47,7 +47,7 @@ body { background: #ffffff; color: black; }
    • tqbig5codec.h
    • tqbitarray.h
    • tqbitmap.h -
    • ntqbrush.h +
    • tqbrush.h
    • tqbuffer.h
    • ntqbutton.h
    • ntqbuttongroup.h @@ -56,8 +56,8 @@ body { background: #ffffff; color: black; }
    • ntqcdestyle.h
    • ntqcheckbox.h
    • tqclipboard.h -
    • ntqcolor.h -
    • ntqcolordialog.h +
    • tqcolor.h +
    • tqcolordialog.h
    • ntqcombobox.h
    • ntqcommonstyle.h
    • tqcstring.h @@ -91,11 +91,11 @@ body { background: #ffffff; color: black; }
    • tqfiledialog.h
    • tqfileinfo.h
    • ntqfocusdata.h -
    • ntqfont.h -
    • ntqfontdatabase.h -
    • ntqfontdialog.h -
    • ntqfontinfo.h -
    • ntqfontmetrics.h +
    • tqfont.h +
    • tqfontdatabase.h +
    • tqfontdialog.h +
    • tqfontinfo.h +
    • tqfontmetrics.h
    • ntqframe.h
    • tqftp.h
    • tqgb18030codec.h @@ -145,7 +145,7 @@ body { background: #ffffff; color: black; }
    • ntqmotifplusstyle.h
    • ntqmotifstyle.h
    • qmotifwidget.h -
    • ntqmovie.h +
    • tqmovie.h
    • ntqmultilineedit.h
    • tqmutex.h
    • ntqnamespace.h @@ -154,9 +154,9 @@ body { background: #ffffff; color: black; }
    • tqobject.h
    • tqobjectcleanuphandler.h
    • tqobjectlist.h -
    • ntqpaintdevice.h -
    • ntqpaintdevicemetrics.h -
    • ntqpainter.h +
    • tqpaintdevice.h +
    • tqpaintdevicemetrics.h +
    • tqpainter.h
    • tqpair.h
    • ntqpalette.h
    • ntqpen.h diff --git a/doc/html/hello-example.html b/doc/html/hello-example.html index a57cd3035..3d1dd7234 100644 --- a/doc/html/hello-example.html +++ b/doc/html/hello-example.html @@ -62,7 +62,7 @@ signals: void clicked(); protected: void mouseReleaseEvent( TQMouseEvent * ); - void paintEvent( TQPaintEvent * ); + void paintEvent( TQPaintEvent * ); private slots: void animate(); private: @@ -88,7 +88,7 @@ private: #include "hello.h" #include <ntqpushbutton.h> #include <tqtimer.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <ntqpixmap.h> @@ -139,7 +139,7 @@ void Hello::animate() pixmap is then blt'ed to the screen. */ -void Hello::paintEvent( TQPaintEvent * ) +void Hello::paintEvent( TQPaintEvent * ) { static int sin_tbl[16] = { 0, 38, 71, 92, 100, 92, 71, 38, 0, -38, -71, -92, -100, -92, -71, -38}; @@ -148,9 +148,9 @@ void Hello::paintEvent( TQFontMetrics fm = fontMetrics(); - int w = fm.width(t) + 20; - int h = fm.height() * 2; + TQFontMetrics fm = fontMetrics(); + int w = fm.width(t) + 20; + int h = fm.height() * 2; int pmx = width()/2 - w/2; int pmy = height()/2 - h/2; @@ -159,20 +159,20 @@ void Hello::paintEvent( pm.fill( this, pmx, pmy ); // 3: Paint the pixmap. Cool wave effect - TQPainter p; + TQPainter p; int x = 10; - int y = h/2 + fm.descent(); + int y = h/2 + fm.descent(); int i = 0; - p.begin( &pm ); - p.setFont( font() ); + p.begin( &pm ); + p.setFont( font() ); while ( !t[i].isNull() ) { int i16 = (b+i) & 15; - p.setPen( TQColor((15-i16)*16,255,255,TQColor::Hsv) ); - p.drawText( x, y-sin_tbl[i16]*h/800, t.mid(i,1), 1 ); - x += fm.width( t[i] ); + p.setPen( TQColor((15-i16)*16,255,255,TQColor::Hsv) ); + p.drawText( x, y-sin_tbl[i16]*h/800, t.mid(i,1), 1 ); + x += fm.width( t[i] ); i++; } - p.end(); + p.end(); // 4: Copy the pixmap to the Hello widget bitBlt( this, pmx, pmy, &pm ); diff --git a/doc/html/helpviewer-example.html b/doc/html/helpviewer-example.html index ba097e294..e57fc7eb1 100644 --- a/doc/html/helpviewer-example.html +++ b/doc/html/helpviewer-example.html @@ -138,8 +138,8 @@ private: #include <tqdatastream.h> #include <ntqprinter.h> #include <ntqsimplerichtext.h> -#include <ntqpainter.h> -#include <ntqpaintdevicemetrics.h> +#include <tqpainter.h> +#include <tqpaintdevicemetrics.h> #include <ctype.h> @@ -344,13 +344,13 @@ void HelpWindow::print() TQPrinter printer( TQPrinter::HighResolution ); printer.setFullPage(TRUE); if ( printer.setup( this ) ) { - TQPainter p( &printer ); - if( !p.isActive() ) // starting printing failed + TQPainter p( &printer ); + if( !p.isActive() ) // starting printing failed return; - TQPaintDeviceMetrics metrics(p.device()); - int dpiy = metrics.logicalDpiY(); + TQPaintDeviceMetrics metrics(p.device()); + int dpiy = metrics.logicalDpiY(); int margin = (int) ( (2/2.54)*dpiy ); // 2 cm margins - TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin ); + TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin ); TQSimpleRichText richText( browser->text(), TQFont(), browser->context(), @@ -362,9 +362,9 @@ void HelpWindow::print() do { richText.draw( &p, margin, margin, view, colorGroup() ); view.moveBy( 0, view.height() ); - p.translate( 0 , -view.height() ); - p.drawText( view.right() - p.fontMetrics().width( TQString::number(page) ), - view.bottom() + p.fontMetrics().ascent() + 5, TQString::number(page) ); + p.translate( 0 , -view.height() ); + p.drawText( view.right() - p.fontMetrics().width( TQString::number(page) ), + view.bottom() + p.fontMetrics().ascent() + 5, TQString::number(page) ); if ( view.top() - margin >= richText.height() ) break; printer.newPage(); diff --git a/doc/html/hierarchy.html b/doc/html/hierarchy.html index 6a1cb7c12..192908063 100644 --- a/doc/html/hierarchy.html +++ b/doc/html/hierarchy.html @@ -56,8 +56,8 @@ classes in the TQt API.
    • TQCanvasPixmapArray
    • TQChar
    • TQCharRef -
    • TQColor -
    • TQColorGroup +
    • TQColor +
    • TQColorGroup
    • TQConstString
    • TQDataStream
    • TQDate @@ -92,10 +92,10 @@ classes in the TQt API.
    • TQFileInfo
    • TQFilePreview
    • TQFocusData -
    • TQFont -
    • TQFontDatabase -
    • TQFontInfo -
    • TQFontMetrics +
    • TQFont +
    • TQFontDatabase +
    • TQFontInfo +
    • TQFontMetrics
    • TQGL -
    • TQPaintDeviceMetrics +
    • TQPaintDeviceMetrics
    • TQPair
    • TQPalette
    • TQPixmapCache @@ -240,7 +240,7 @@ classes in the TQt API.
    • TQStylePlugin
    • TQt
        -
      • TQBrush +
      • TQBrush
      • TQCanvasItem
        • TQCanvasPolygonalItem @@ -279,7 +279,7 @@ classes in the TQt API.
        • TQKeyEvent
        • TQMouseEvent
        • TQMoveEvent -
        • TQPaintEvent +
        • TQPaintEvent
        • TQResizeEvent
        • TQShowEvent
        • TQTabletEvent @@ -407,10 +407,10 @@ classes in the TQt API.
        • TQDial
        • TQDialog -
        • TQPainter +
        • TQPainter
        • TQPen
        • TQStyleSheetItem
        • TQSyntaxHighlighter diff --git a/doc/html/i18n.html b/doc/html/i18n.html index f2b0251f0..1a1dbca19 100644 --- a/doc/html/i18n.html +++ b/doc/html/i18n.html @@ -140,13 +140,13 @@ and completely encapsulated in TQt's text engine. This means that you don't need to have any knowledge about the writing system used in a particular language, except for the following small points:
            -

          • TQPainter::drawText( int x, int y, const TQString &str ) will always +

          • TQPainter::drawText( int x, int y, const TQString &str ) will always draw the string with it's left edge at the position specified with the x, y parameters. This will usually give you left aligned strings. Arabic and Hebrew application strings are usually right aligned, so for these languages use the version of drawText() that takes a TQRect since this will align in accordance with the language. -

          • When you write your own text input controls, use TQFontMetrics::charWidth() to determine the width of a character in a +

          • When you write your own text input controls, use TQFontMetrics::charWidth() to determine the width of a character in a string. In some languages (e.g. Arabic or languages from the Indian subcontinent), the width and shape of a glyph changes depending on the surrounding characters. Writing input controls usually requires a diff --git a/doc/html/images.html b/doc/html/images.html index b983544fc..6906cc745 100644 --- a/doc/html/images.html +++ b/doc/html/images.html @@ -36,7 +36,7 @@ body { background: #ffffff; color: black; }

            TQBitmapMonochrome (1-bit depth) pixmaps -
            TQBrushDefines the fill pattern of shapes drawn by a TQPainter +
            TQBrushDefines the fill pattern of shapes drawn by a TQPainter
            TQCanvas2D area that can contain TQCanvasItem objects
            TQCanvasEllipseEllipse or ellipse segment on a TQCanvas
            TQCanvasItemAbstract graphic object on a TQCanvas @@ -51,8 +51,8 @@ body { background: #ffffff; color: black; }
            TQCanvasSpriteAnimated canvas item on a TQCanvas
            TQCanvasTextText object on a TQCanvas
            TQCanvasViewOn-screen view of a TQCanvas -
            TQColorColors based on RGB or HSV values -
            TQColorGroupGroup of widget colors +
            TQColorColors based on RGB or HSV values +
            TQColorGroupGroup of widget colors
            TQGLNamespace for miscellaneous identifiers in the TQt OpenGL module
            TQGLColormapUsed for installing custom colormaps into TQGLWidgets
            TQGLContextEncapsulates an OpenGL rendering context @@ -65,10 +65,10 @@ body { background: #ffffff; color: black; }
            TQImageFormatIncremental image decoder for a specific image format
            TQImageFormatTypeFactory that makes TQImageFormat objects
            TQImageIOParameters for loading and saving images -
            TQMovieIncremental loading of animations or images, signalling as it progresses -
            TQPaintDeviceThe base class of objects that can be painted -
            TQPaintDeviceMetricsInformation about a paint device -
            TQPainterDoes low-level painting e.g. on widgets +
            TQMovieIncremental loading of animations or images, signalling as it progresses +
            TQPaintDeviceThe base class of objects that can be painted +
            TQPaintDeviceMetricsInformation about a paint device +
            TQPainterDoes low-level painting e.g. on widgets
            TQPaletteColor groups for each widget state
            TQPenDefines how a TQPainter should draw lines and outlines of shapes
            TQPicturePaint device that records and replays TQPainter commands diff --git a/doc/html/index b/doc/html/index index a5640e900..de67d3089 100644 --- a/doc/html/index +++ b/doc/html/index @@ -11,7 +11,7 @@ "A qt-interest mail archive search" archivesearch-example.html "A simple HTTP daemon" httpd-example.html "A simple NNTP implementation" networkprotocol-example.html -"A simple demonstration of QFont member functions" simple-font-demo-example.html +"A simple demonstration of TQFont member functions" simple-font-demo-example.html "A simple mail client" mail-example.html "A small client-server example" clientserver-example.html "A tiny SAX2 parser" tagreader-example.html @@ -443,19 +443,19 @@ "QBoxLayout::setStretchFactor" qboxlayout.html#setStretchFactor "QBoxLayout::sizeHint" qboxlayout.html#sizeHint "QBoxLayout::~QBoxLayout" qboxlayout.html#~QBoxLayout -"QBrush" ntqbrush.html -"QBrush::color" ntqbrush.html#color -"QBrush::copy" ntqbrush.html#copy -"QBrush::detach" ntqbrush.html#detach -"QBrush::operator!=" ntqbrush.html#operator!-eq -"QBrush::operator=" ntqbrush.html#operator-eq -"QBrush::operator==" ntqbrush.html#operator-eq-eq -"QBrush::pixmap" ntqbrush.html#pixmap -"QBrush::setColor" ntqbrush.html#setColor -"QBrush::setPixmap" ntqbrush.html#setPixmap -"QBrush::setStyle" ntqbrush.html#setStyle -"QBrush::style" ntqbrush.html#style -"QBrush::~QBrush" ntqbrush.html#~QBrush +"TQBrush" tqbrush.html +"TQBrush::color" tqbrush.html#color +"TQBrush::copy" tqbrush.html#copy +"TQBrush::detach" tqbrush.html#detach +"TQBrush::operator!=" tqbrush.html#operator!-eq +"TQBrush::operator=" tqbrush.html#operator-eq +"TQBrush::operator==" tqbrush.html#operator-eq-eq +"TQBrush::pixmap" tqbrush.html#pixmap +"TQBrush::setColor" tqbrush.html#setColor +"TQBrush::setPixmap" tqbrush.html#setPixmap +"TQBrush::setStyle" tqbrush.html#setStyle +"TQBrush::style" tqbrush.html#style +"TQBrush::~TQBrush" tqbrush.html#~TQBrush "TQBuffer" tqbuffer.html "TQBuffer::buffer" tqbuffer.html#buffer "TQBuffer::setBuffer" tqbuffer.html#setBuffer @@ -881,79 +881,79 @@ "QCloseEvent::accept" qcloseevent.html#accept "QCloseEvent::ignore" qcloseevent.html#ignore "QCloseEvent::isAccepted" qcloseevent.html#isAccepted -"TQColor" ntqcolor.html -"TQColor::Spec" ntqcolor.html#Spec -"TQColor::alloc" ntqcolor.html#alloc -"TQColor::blue" ntqcolor.html#blue -"TQColor::cleanup" ntqcolor.html#cleanup -"TQColor::colorNames" ntqcolor.html#colorNames -"TQColor::currentAllocContext" ntqcolor.html#currentAllocContext -"TQColor::dark" ntqcolor.html#dark -"TQColor::destroyAllocContext" ntqcolor.html#destroyAllocContext -"TQColor::enterAllocContext" ntqcolor.html#enterAllocContext -"TQColor::getHsv" ntqcolor.html#getHsv -"TQColor::getRgb" ntqcolor.html#getRgb -"TQColor::green" ntqcolor.html#green -"TQColor::initGlobalColors" ntqcolor.html#initGlobalColors -"TQColor::initialize" ntqcolor.html#initialize -"TQColor::isValid" ntqcolor.html#isValid -"TQColor::leaveAllocContext" ntqcolor.html#leaveAllocContext -"TQColor::light" ntqcolor.html#light -"TQColor::maxColors" ntqcolor.html#maxColors -"TQColor::name" ntqcolor.html#name -"TQColor::numBitPlanes" ntqcolor.html#numBitPlanes -"TQColor::operator!=" ntqcolor.html#operator!-eq -"TQColor::operator=" ntqcolor.html#operator-eq -"TQColor::operator==" ntqcolor.html#operator-eq-eq -"TQColor::pixel" ntqcolor.html#pixel -"TQColor::red" ntqcolor.html#red -"TQColor::rgb" ntqcolor.html#rgb -"TQColor::setHsv" ntqcolor.html#setHsv -"TQColor::setNamedColor" ntqcolor.html#setNamedColor -"TQColor::setRgb" ntqcolor.html#setRgb -"QColorDialog" ntqcolordialog.html -"QColorDialog::color" ntqcolordialog.html#color -"QColorDialog::customColor" ntqcolordialog.html#customColor -"QColorDialog::customCount" ntqcolordialog.html#customCount -"QColorDialog::getColor" ntqcolordialog.html#getColor -"QColorDialog::getRgba" ntqcolordialog.html#getRgba -"QColorDialog::selectColor" ntqcolordialog.html#selectColor -"QColorDialog::selectedAlpha" ntqcolordialog.html#selectedAlpha -"QColorDialog::setColor" ntqcolordialog.html#setColor -"QColorDialog::setCustomColor" ntqcolordialog.html#setCustomColor -"QColorDialog::setSelectedAlpha" ntqcolordialog.html#setSelectedAlpha -"QColorDialog::setStandardColor" ntqcolordialog.html#setStandardColor -"QColorDialog::~QColorDialog" ntqcolordialog.html#~QColorDialog +"TQColor" tqcolor.html +"TQColor::Spec" tqcolor.html#Spec +"TQColor::alloc" tqcolor.html#alloc +"TQColor::blue" tqcolor.html#blue +"TQColor::cleanup" tqcolor.html#cleanup +"TQColor::colorNames" tqcolor.html#colorNames +"TQColor::currentAllocContext" tqcolor.html#currentAllocContext +"TQColor::dark" tqcolor.html#dark +"TQColor::destroyAllocContext" tqcolor.html#destroyAllocContext +"TQColor::enterAllocContext" tqcolor.html#enterAllocContext +"TQColor::getHsv" tqcolor.html#getHsv +"TQColor::getRgb" tqcolor.html#getRgb +"TQColor::green" tqcolor.html#green +"TQColor::initGlobalColors" tqcolor.html#initGlobalColors +"TQColor::initialize" tqcolor.html#initialize +"TQColor::isValid" tqcolor.html#isValid +"TQColor::leaveAllocContext" tqcolor.html#leaveAllocContext +"TQColor::light" tqcolor.html#light +"TQColor::maxColors" tqcolor.html#maxColors +"TQColor::name" tqcolor.html#name +"TQColor::numBitPlanes" tqcolor.html#numBitPlanes +"TQColor::operator!=" tqcolor.html#operator!-eq +"TQColor::operator=" tqcolor.html#operator-eq +"TQColor::operator==" tqcolor.html#operator-eq-eq +"TQColor::pixel" tqcolor.html#pixel +"TQColor::red" tqcolor.html#red +"TQColor::rgb" tqcolor.html#rgb +"TQColor::setHsv" tqcolor.html#setHsv +"TQColor::setNamedColor" tqcolor.html#setNamedColor +"TQColor::setRgb" tqcolor.html#setRgb +"TQColorDialog" tqcolordialog.html +"TQColorDialog::color" tqcolordialog.html#color +"TQColorDialog::customColor" tqcolordialog.html#customColor +"TQColorDialog::customCount" tqcolordialog.html#customCount +"TQColorDialog::getColor" tqcolordialog.html#getColor +"TQColorDialog::getRgba" tqcolordialog.html#getRgba +"TQColorDialog::selectColor" tqcolordialog.html#selectColor +"TQColorDialog::selectedAlpha" tqcolordialog.html#selectedAlpha +"TQColorDialog::setColor" tqcolordialog.html#setColor +"TQColorDialog::setCustomColor" tqcolordialog.html#setCustomColor +"TQColorDialog::setSelectedAlpha" tqcolordialog.html#setSelectedAlpha +"TQColorDialog::setStandardColor" tqcolordialog.html#setStandardColor +"TQColorDialog::~TQColorDialog" tqcolordialog.html#~TQColorDialog "TQColorDrag" tqcolordrag.html "TQColorDrag::canDecode" tqcolordrag.html#canDecode "TQColorDrag::decode" tqcolordrag.html#decode "TQColorDrag::setColor" tqcolordrag.html#setColor -"QColorGroup" qcolorgroup.html -"QColorGroup::ColorRole" qcolorgroup.html#ColorRole -"QColorGroup::background" qcolorgroup.html#background -"QColorGroup::base" qcolorgroup.html#base -"QColorGroup::brightText" qcolorgroup.html#brightText -"QColorGroup::brush" qcolorgroup.html#brush -"QColorGroup::button" qcolorgroup.html#button -"QColorGroup::buttonText" qcolorgroup.html#buttonText -"QColorGroup::color" qcolorgroup.html#color -"QColorGroup::dark" qcolorgroup.html#dark -"QColorGroup::foreground" qcolorgroup.html#foreground -"QColorGroup::highlight" qcolorgroup.html#highlight -"QColorGroup::highlightedText" qcolorgroup.html#highlightedText -"QColorGroup::light" qcolorgroup.html#light -"QColorGroup::link" qcolorgroup.html#link -"QColorGroup::linkVisited" qcolorgroup.html#linkVisited -"QColorGroup::mid" qcolorgroup.html#mid -"QColorGroup::midlight" qcolorgroup.html#midlight -"QColorGroup::operator!=" qcolorgroup.html#operator!-eq -"QColorGroup::operator=" qcolorgroup.html#operator-eq -"QColorGroup::operator==" qcolorgroup.html#operator-eq-eq -"QColorGroup::setBrush" qcolorgroup.html#setBrush -"QColorGroup::setColor" qcolorgroup.html#setColor -"QColorGroup::shadow" qcolorgroup.html#shadow -"QColorGroup::text" qcolorgroup.html#text -"QColorGroup::~QColorGroup" qcolorgroup.html#~QColorGroup +"TQColorGroup" tqcolorgroup.html +"TQColorGroup::ColorRole" tqcolorgroup.html#ColorRole +"TQColorGroup::background" tqcolorgroup.html#background +"TQColorGroup::base" tqcolorgroup.html#base +"TQColorGroup::brightText" tqcolorgroup.html#brightText +"TQColorGroup::brush" tqcolorgroup.html#brush +"TQColorGroup::button" tqcolorgroup.html#button +"TQColorGroup::buttonText" tqcolorgroup.html#buttonText +"TQColorGroup::color" tqcolorgroup.html#color +"TQColorGroup::dark" tqcolorgroup.html#dark +"TQColorGroup::foreground" tqcolorgroup.html#foreground +"TQColorGroup::highlight" tqcolorgroup.html#highlight +"TQColorGroup::highlightedText" tqcolorgroup.html#highlightedText +"TQColorGroup::light" tqcolorgroup.html#light +"TQColorGroup::link" tqcolorgroup.html#link +"TQColorGroup::linkVisited" tqcolorgroup.html#linkVisited +"TQColorGroup::mid" tqcolorgroup.html#mid +"TQColorGroup::midlight" tqcolorgroup.html#midlight +"TQColorGroup::operator!=" tqcolorgroup.html#operator!-eq +"TQColorGroup::operator=" tqcolorgroup.html#operator-eq +"TQColorGroup::operator==" tqcolorgroup.html#operator-eq-eq +"TQColorGroup::setBrush" tqcolorgroup.html#setBrush +"TQColorGroup::setColor" tqcolorgroup.html#setColor +"TQColorGroup::shadow" tqcolorgroup.html#shadow +"TQColorGroup::text" tqcolorgroup.html#text +"TQColorGroup::~TQColorGroup" tqcolorgroup.html#~TQColorGroup "QComboBox" ntqcombobox.html "QComboBox::Policy" ntqcombobox.html#Policy "QComboBox::activated" ntqcombobox.html#activated @@ -2056,120 +2056,120 @@ "QFocusEvent::reason" qfocusevent.html#reason "QFocusEvent::resetReason" qfocusevent.html#resetReason "QFocusEvent::setReason" qfocusevent.html#setReason -"QFont" ntqfont.html -"QFont::Script" ntqfont.html#Script -"QFont::Stretch" ntqfont.html#Stretch -"QFont::StyleHint" ntqfont.html#StyleHint -"QFont::StyleStrategy" ntqfont.html#StyleStrategy -"QFont::Weight" ntqfont.html#Weight -"QFont::bold" ntqfont.html#bold -"QFont::deciPointSize" ntqfont.html#deciPointSize -"QFont::defaultFamily" ntqfont.html#defaultFamily -"QFont::dirty" ntqfont.html#dirty -"QFont::exactMatch" ntqfont.html#exactMatch -"QFont::family" ntqfont.html#family -"QFont::fixedPitch" ntqfont.html#fixedPitch -"QFont::fromString" ntqfont.html#fromString -"QFont::handle" ntqfont.html#handle -"QFont::insertSubstitution" ntqfont.html#insertSubstitution -"QFont::insertSubstitutions" ntqfont.html#insertSubstitutions -"QFont::isCopyOf" ntqfont.html#isCopyOf -"QFont::italic" ntqfont.html#italic -"QFont::key" ntqfont.html#key -"QFont::lastResortFamily" ntqfont.html#lastResortFamily -"QFont::lastResortFont" ntqfont.html#lastResortFont -"QFont::operator!=" ntqfont.html#operator!-eq -"QFont::operator=" ntqfont.html#operator-eq -"QFont::operator==" ntqfont.html#operator-eq-eq -"QFont::overline" ntqfont.html#overline -"QFont::pixelSize" ntqfont.html#pixelSize -"QFont::pointSize" ntqfont.html#pointSize -"QFont::pointSizeFloat" ntqfont.html#pointSizeFloat -"QFont::rawMode" ntqfont.html#rawMode -"QFont::rawName" ntqfont.html#rawName -"QFont::removeSubstitution" ntqfont.html#removeSubstitution -"QFont::resolve" ntqfont.html#resolve -"QFont::setBold" ntqfont.html#setBold -"QFont::setFamily" ntqfont.html#setFamily -"QFont::setFixedPitch" ntqfont.html#setFixedPitch -"QFont::setItalic" ntqfont.html#setItalic -"QFont::setOverline" ntqfont.html#setOverline -"QFont::setPixelSize" ntqfont.html#setPixelSize -"QFont::setPointSize" ntqfont.html#setPointSize -"QFont::setPointSizeFloat" ntqfont.html#setPointSizeFloat -"QFont::setRawMode" ntqfont.html#setRawMode -"QFont::setRawName" ntqfont.html#setRawName -"QFont::setStretch" ntqfont.html#setStretch -"QFont::setStrikeOut" ntqfont.html#setStrikeOut -"QFont::setStyleHint" ntqfont.html#setStyleHint -"QFont::setStyleStrategy" ntqfont.html#setStyleStrategy -"QFont::setUnderline" ntqfont.html#setUnderline -"QFont::setWeight" ntqfont.html#setWeight -"QFont::stretch" ntqfont.html#stretch -"QFont::strikeOut" ntqfont.html#strikeOut -"QFont::styleHint" ntqfont.html#styleHint -"QFont::styleStrategy" ntqfont.html#styleStrategy -"QFont::substitute" ntqfont.html#substitute -"QFont::substitutes" ntqfont.html#substitutes -"QFont::substitutions" ntqfont.html#substitutions -"QFont::toString" ntqfont.html#toString -"QFont::underline" ntqfont.html#underline -"QFont::weight" ntqfont.html#weight -"QFont::~QFont" ntqfont.html#~QFont -"QFontDatabase" ntqfontdatabase.html -"QFontDatabase::bold" ntqfontdatabase.html#bold -"QFontDatabase::families" ntqfontdatabase.html#families -"QFontDatabase::font" ntqfontdatabase.html#font -"QFontDatabase::isBitmapScalable" ntqfontdatabase.html#isBitmapScalable -"QFontDatabase::isFixedPitch" ntqfontdatabase.html#isFixedPitch -"QFontDatabase::isScalable" ntqfontdatabase.html#isScalable -"QFontDatabase::isSmoothlyScalable" ntqfontdatabase.html#isSmoothlyScalable -"QFontDatabase::italic" ntqfontdatabase.html#italic -"QFontDatabase::pointSizes" ntqfontdatabase.html#pointSizes -"QFontDatabase::scriptName" ntqfontdatabase.html#scriptName -"QFontDatabase::scriptSample" ntqfontdatabase.html#scriptSample -"QFontDatabase::smoothSizes" ntqfontdatabase.html#smoothSizes -"QFontDatabase::standardSizes" ntqfontdatabase.html#standardSizes -"QFontDatabase::styleString" ntqfontdatabase.html#styleString -"QFontDatabase::styles" ntqfontdatabase.html#styles -"QFontDatabase::weight" ntqfontdatabase.html#weight -"QFontDialog" ntqfontdialog.html -"QFontDialog::getFont" ntqfontdialog.html#getFont -"QFontInfo" ntqfontinfo.html -"QFontInfo::bold" ntqfontinfo.html#bold -"QFontInfo::exactMatch" ntqfontinfo.html#exactMatch -"QFontInfo::family" ntqfontinfo.html#family -"QFontInfo::fixedPitch" ntqfontinfo.html#fixedPitch -"QFontInfo::italic" ntqfontinfo.html#italic -"QFontInfo::operator=" ntqfontinfo.html#operator-eq -"QFontInfo::pixelSize" ntqfontinfo.html#pixelSize -"QFontInfo::pointSize" ntqfontinfo.html#pointSize -"QFontInfo::rawMode" ntqfontinfo.html#rawMode -"QFontInfo::styleHint" ntqfontinfo.html#styleHint -"QFontInfo::weight" ntqfontinfo.html#weight -"QFontInfo::~QFontInfo" ntqfontinfo.html#~QFontInfo -"QFontMetrics" ntqfontmetrics.html -"QFontMetrics::ascent" ntqfontmetrics.html#ascent -"QFontMetrics::boundingRect" ntqfontmetrics.html#boundingRect -"QFontMetrics::charWidth" ntqfontmetrics.html#charWidth -"QFontMetrics::descent" ntqfontmetrics.html#descent -"QFontMetrics::height" ntqfontmetrics.html#height -"QFontMetrics::inFont" ntqfontmetrics.html#inFont -"QFontMetrics::leading" ntqfontmetrics.html#leading -"QFontMetrics::leftBearing" ntqfontmetrics.html#leftBearing -"QFontMetrics::lineSpacing" ntqfontmetrics.html#lineSpacing -"QFontMetrics::lineWidth" ntqfontmetrics.html#lineWidth -"QFontMetrics::maxWidth" ntqfontmetrics.html#maxWidth -"QFontMetrics::minLeftBearing" ntqfontmetrics.html#minLeftBearing -"QFontMetrics::minRightBearing" ntqfontmetrics.html#minRightBearing -"QFontMetrics::operator=" ntqfontmetrics.html#operator-eq -"QFontMetrics::overlinePos" ntqfontmetrics.html#overlinePos -"QFontMetrics::rightBearing" ntqfontmetrics.html#rightBearing -"QFontMetrics::size" ntqfontmetrics.html#size -"QFontMetrics::strikeOutPos" ntqfontmetrics.html#strikeOutPos -"QFontMetrics::underlinePos" ntqfontmetrics.html#underlinePos -"QFontMetrics::width" ntqfontmetrics.html#width -"QFontMetrics::~QFontMetrics" ntqfontmetrics.html#~QFontMetrics +"TQFont" tqfont.html +"TQFont::Script" tqfont.html#Script +"TQFont::Stretch" tqfont.html#Stretch +"TQFont::StyleHint" tqfont.html#StyleHint +"TQFont::StyleStrategy" tqfont.html#StyleStrategy +"TQFont::Weight" tqfont.html#Weight +"TQFont::bold" tqfont.html#bold +"TQFont::deciPointSize" tqfont.html#deciPointSize +"TQFont::defaultFamily" tqfont.html#defaultFamily +"TQFont::dirty" tqfont.html#dirty +"TQFont::exactMatch" tqfont.html#exactMatch +"TQFont::family" tqfont.html#family +"TQFont::fixedPitch" tqfont.html#fixedPitch +"TQFont::fromString" tqfont.html#fromString +"TQFont::handle" tqfont.html#handle +"TQFont::insertSubstitution" tqfont.html#insertSubstitution +"TQFont::insertSubstitutions" tqfont.html#insertSubstitutions +"TQFont::isCopyOf" tqfont.html#isCopyOf +"TQFont::italic" tqfont.html#italic +"TQFont::key" tqfont.html#key +"TQFont::lastResortFamily" tqfont.html#lastResortFamily +"TQFont::lastResortFont" tqfont.html#lastResortFont +"TQFont::operator!=" tqfont.html#operator!-eq +"TQFont::operator=" tqfont.html#operator-eq +"TQFont::operator==" tqfont.html#operator-eq-eq +"TQFont::overline" tqfont.html#overline +"TQFont::pixelSize" tqfont.html#pixelSize +"TQFont::pointSize" tqfont.html#pointSize +"TQFont::pointSizeFloat" tqfont.html#pointSizeFloat +"TQFont::rawMode" tqfont.html#rawMode +"TQFont::rawName" tqfont.html#rawName +"TQFont::removeSubstitution" tqfont.html#removeSubstitution +"TQFont::resolve" tqfont.html#resolve +"TQFont::setBold" tqfont.html#setBold +"TQFont::setFamily" tqfont.html#setFamily +"TQFont::setFixedPitch" tqfont.html#setFixedPitch +"TQFont::setItalic" tqfont.html#setItalic +"TQFont::setOverline" tqfont.html#setOverline +"TQFont::setPixelSize" tqfont.html#setPixelSize +"TQFont::setPointSize" tqfont.html#setPointSize +"TQFont::setPointSizeFloat" tqfont.html#setPointSizeFloat +"TQFont::setRawMode" tqfont.html#setRawMode +"TQFont::setRawName" tqfont.html#setRawName +"TQFont::setStretch" tqfont.html#setStretch +"TQFont::setStrikeOut" tqfont.html#setStrikeOut +"TQFont::setStyleHint" tqfont.html#setStyleHint +"TQFont::setStyleStrategy" tqfont.html#setStyleStrategy +"TQFont::setUnderline" tqfont.html#setUnderline +"TQFont::setWeight" tqfont.html#setWeight +"TQFont::stretch" tqfont.html#stretch +"TQFont::strikeOut" tqfont.html#strikeOut +"TQFont::styleHint" tqfont.html#styleHint +"TQFont::styleStrategy" tqfont.html#styleStrategy +"TQFont::substitute" tqfont.html#substitute +"TQFont::substitutes" tqfont.html#substitutes +"TQFont::substitutions" tqfont.html#substitutions +"TQFont::toString" tqfont.html#toString +"TQFont::underline" tqfont.html#underline +"TQFont::weight" tqfont.html#weight +"TQFont::~TQFont" tqfont.html#~TQFont +"TQFontDatabase" tqfontdatabase.html +"TQFontDatabase::bold" tqfontdatabase.html#bold +"TQFontDatabase::families" tqfontdatabase.html#families +"TQFontDatabase::font" tqfontdatabase.html#font +"TQFontDatabase::isBitmapScalable" tqfontdatabase.html#isBitmapScalable +"TQFontDatabase::isFixedPitch" tqfontdatabase.html#isFixedPitch +"TQFontDatabase::isScalable" tqfontdatabase.html#isScalable +"TQFontDatabase::isSmoothlyScalable" tqfontdatabase.html#isSmoothlyScalable +"TQFontDatabase::italic" tqfontdatabase.html#italic +"TQFontDatabase::pointSizes" tqfontdatabase.html#pointSizes +"TQFontDatabase::scriptName" tqfontdatabase.html#scriptName +"TQFontDatabase::scriptSample" tqfontdatabase.html#scriptSample +"TQFontDatabase::smoothSizes" tqfontdatabase.html#smoothSizes +"TQFontDatabase::standardSizes" tqfontdatabase.html#standardSizes +"TQFontDatabase::styleString" tqfontdatabase.html#styleString +"TQFontDatabase::styles" tqfontdatabase.html#styles +"TQFontDatabase::weight" tqfontdatabase.html#weight +"TQFontDialog" tqfontdialog.html +"TQFontDialog::getFont" tqfontdialog.html#getFont +"TQFontInfo" tqfontinfo.html +"TQFontInfo::bold" tqfontinfo.html#bold +"TQFontInfo::exactMatch" tqfontinfo.html#exactMatch +"TQFontInfo::family" tqfontinfo.html#family +"TQFontInfo::fixedPitch" tqfontinfo.html#fixedPitch +"TQFontInfo::italic" tqfontinfo.html#italic +"TQFontInfo::operator=" tqfontinfo.html#operator-eq +"TQFontInfo::pixelSize" tqfontinfo.html#pixelSize +"TQFontInfo::pointSize" tqfontinfo.html#pointSize +"TQFontInfo::rawMode" tqfontinfo.html#rawMode +"TQFontInfo::styleHint" tqfontinfo.html#styleHint +"TQFontInfo::weight" tqfontinfo.html#weight +"TQFontInfo::~TQFontInfo" tqfontinfo.html#~TQFontInfo +"TQFontMetrics" tqfontmetrics.html +"TQFontMetrics::ascent" tqfontmetrics.html#ascent +"TQFontMetrics::boundingRect" tqfontmetrics.html#boundingRect +"TQFontMetrics::charWidth" tqfontmetrics.html#charWidth +"TQFontMetrics::descent" tqfontmetrics.html#descent +"TQFontMetrics::height" tqfontmetrics.html#height +"TQFontMetrics::inFont" tqfontmetrics.html#inFont +"TQFontMetrics::leading" tqfontmetrics.html#leading +"TQFontMetrics::leftBearing" tqfontmetrics.html#leftBearing +"TQFontMetrics::lineSpacing" tqfontmetrics.html#lineSpacing +"TQFontMetrics::lineWidth" tqfontmetrics.html#lineWidth +"TQFontMetrics::maxWidth" tqfontmetrics.html#maxWidth +"TQFontMetrics::minLeftBearing" tqfontmetrics.html#minLeftBearing +"TQFontMetrics::minRightBearing" tqfontmetrics.html#minRightBearing +"TQFontMetrics::operator=" tqfontmetrics.html#operator-eq +"TQFontMetrics::overlinePos" tqfontmetrics.html#overlinePos +"TQFontMetrics::rightBearing" tqfontmetrics.html#rightBearing +"TQFontMetrics::size" tqfontmetrics.html#size +"TQFontMetrics::strikeOutPos" tqfontmetrics.html#strikeOutPos +"TQFontMetrics::underlinePos" tqfontmetrics.html#underlinePos +"TQFontMetrics::width" tqfontmetrics.html#width +"TQFontMetrics::~TQFontMetrics" tqfontmetrics.html#~TQFontMetrics "QFrame" ntqframe.html "QFrame::Shadow" ntqframe.html#Shadow "QFrame::Shape" ntqframe.html#Shape @@ -4074,35 +4074,35 @@ "QMoveEvent" qmoveevent.html "QMoveEvent::oldPos" qmoveevent.html#oldPos "QMoveEvent::pos" qmoveevent.html#pos -"QMovie" ntqmovie.html -"QMovie::Status" ntqmovie.html#Status -"QMovie::backgroundColor" ntqmovie.html#backgroundColor -"QMovie::connectResize" ntqmovie.html#connectResize -"QMovie::connectStatus" ntqmovie.html#connectStatus -"QMovie::connectUpdate" ntqmovie.html#connectUpdate -"QMovie::disconnectResize" ntqmovie.html#disconnectResize -"QMovie::disconnectStatus" ntqmovie.html#disconnectStatus -"QMovie::disconnectUpdate" ntqmovie.html#disconnectUpdate -"QMovie::finished" ntqmovie.html#finished -"QMovie::frameImage" ntqmovie.html#frameImage -"QMovie::frameNumber" ntqmovie.html#frameNumber -"QMovie::framePixmap" ntqmovie.html#framePixmap -"QMovie::getValidRect" ntqmovie.html#getValidRect -"QMovie::isNull" ntqmovie.html#isNull -"QMovie::operator=" ntqmovie.html#operator-eq -"QMovie::pause" ntqmovie.html#pause -"QMovie::paused" ntqmovie.html#paused -"QMovie::pushData" ntqmovie.html#pushData -"QMovie::pushSpace" ntqmovie.html#pushSpace -"QMovie::restart" ntqmovie.html#restart -"QMovie::running" ntqmovie.html#running -"QMovie::setBackgroundColor" ntqmovie.html#setBackgroundColor -"QMovie::setSpeed" ntqmovie.html#setSpeed -"QMovie::speed" ntqmovie.html#speed -"QMovie::step" ntqmovie.html#step -"QMovie::steps" ntqmovie.html#steps -"QMovie::unpause" ntqmovie.html#unpause -"QMovie::~QMovie" ntqmovie.html#~QMovie +"TQMovie" tqmovie.html +"TQMovie::Status" tqmovie.html#Status +"TQMovie::backgroundColor" tqmovie.html#backgroundColor +"TQMovie::connectResize" tqmovie.html#connectResize +"TQMovie::connectStatus" tqmovie.html#connectStatus +"TQMovie::connectUpdate" tqmovie.html#connectUpdate +"TQMovie::disconnectResize" tqmovie.html#disconnectResize +"TQMovie::disconnectStatus" tqmovie.html#disconnectStatus +"TQMovie::disconnectUpdate" tqmovie.html#disconnectUpdate +"TQMovie::finished" tqmovie.html#finished +"TQMovie::frameImage" tqmovie.html#frameImage +"TQMovie::frameNumber" tqmovie.html#frameNumber +"TQMovie::framePixmap" tqmovie.html#framePixmap +"TQMovie::getValidRect" tqmovie.html#getValidRect +"TQMovie::isNull" tqmovie.html#isNull +"TQMovie::operator=" tqmovie.html#operator-eq +"TQMovie::pause" tqmovie.html#pause +"TQMovie::paused" tqmovie.html#paused +"TQMovie::pushData" tqmovie.html#pushData +"TQMovie::pushSpace" tqmovie.html#pushSpace +"TQMovie::restart" tqmovie.html#restart +"TQMovie::running" tqmovie.html#running +"TQMovie::setBackgroundColor" tqmovie.html#setBackgroundColor +"TQMovie::setSpeed" tqmovie.html#setSpeed +"TQMovie::speed" tqmovie.html#speed +"TQMovie::step" tqmovie.html#step +"TQMovie::steps" tqmovie.html#steps +"TQMovie::unpause" tqmovie.html#unpause +"TQMovie::~TQMovie" tqmovie.html#~TQMovie "QMultiLineEdit::alignment" ntqmultilineedit.html#alignment "QMultiLineEdit::alignment" ntqmultilineedit.html#alignment-prop "QMultiLineEdit::atBeginning" ntqmultilineedit.html#atBeginning @@ -4316,126 +4316,126 @@ "QPNGImagePacker" qpngimagepacker.html "QPNGImagePacker::packImage" qpngimagepacker.html#packImage "QPNGImagePacker::setPixelAlignment" qpngimagepacker.html#setPixelAlignment -"QPaintDevice" ntqpaintdevice.html -"QPaintDevice::cmd" ntqpaintdevice.html#cmd -"QPaintDevice::handle" ntqpaintdevice.html#handle -"QPaintDevice::isExtDev" ntqpaintdevice.html#isExtDev -"QPaintDevice::paintingActive" ntqpaintdevice.html#paintingActive -"QPaintDevice::x11AppCells" ntqpaintdevice.html#x11AppCells -"QPaintDevice::x11AppColormap" ntqpaintdevice.html#x11AppColormap -"QPaintDevice::x11AppDefaultColormap" ntqpaintdevice.html#x11AppDefaultColormap -"QPaintDevice::x11AppDefaultVisual" ntqpaintdevice.html#x11AppDefaultVisual -"QPaintDevice::x11AppDepth" ntqpaintdevice.html#x11AppDepth -"QPaintDevice::x11AppDisplay" ntqpaintdevice.html#x11AppDisplay -"QPaintDevice::x11AppDpiX" ntqpaintdevice.html#x11AppDpiX -"QPaintDevice::x11AppDpiY" ntqpaintdevice.html#x11AppDpiY -"QPaintDevice::x11AppRootWindow" ntqpaintdevice.html#x11AppRootWindow -"QPaintDevice::x11AppScreen" ntqpaintdevice.html#x11AppScreen -"QPaintDevice::x11AppVisual" ntqpaintdevice.html#x11AppVisual -"QPaintDevice::x11Cells" ntqpaintdevice.html#x11Cells -"QPaintDevice::x11Colormap" ntqpaintdevice.html#x11Colormap -"QPaintDevice::x11DefaultColormap" ntqpaintdevice.html#x11DefaultColormap -"QPaintDevice::x11DefaultVisual" ntqpaintdevice.html#x11DefaultVisual -"QPaintDevice::x11Depth" ntqpaintdevice.html#x11Depth -"QPaintDevice::x11Display" ntqpaintdevice.html#x11Display -"QPaintDevice::x11Screen" ntqpaintdevice.html#x11Screen -"QPaintDevice::x11SetAppDpiX" ntqpaintdevice.html#x11SetAppDpiX -"QPaintDevice::x11SetAppDpiY" ntqpaintdevice.html#x11SetAppDpiY -"QPaintDevice::x11Visual" ntqpaintdevice.html#x11Visual -"QPaintDevice::~QPaintDevice" ntqpaintdevice.html#~QPaintDevice -"QPaintDeviceMetrics" ntqpaintdevicemetrics.html -"QPaintDeviceMetrics::depth" ntqpaintdevicemetrics.html#depth -"QPaintDeviceMetrics::height" ntqpaintdevicemetrics.html#height -"QPaintDeviceMetrics::heightMM" ntqpaintdevicemetrics.html#heightMM -"QPaintDeviceMetrics::logicalDpiX" ntqpaintdevicemetrics.html#logicalDpiX -"QPaintDeviceMetrics::logicalDpiY" ntqpaintdevicemetrics.html#logicalDpiY -"QPaintDeviceMetrics::numColors" ntqpaintdevicemetrics.html#numColors -"QPaintDeviceMetrics::width" ntqpaintdevicemetrics.html#width -"QPaintDeviceMetrics::widthMM" ntqpaintdevicemetrics.html#widthMM -"QPaintEvent" qpaintevent.html -"QPaintEvent::erased" qpaintevent.html#erased -"QPaintEvent::rect" qpaintevent.html#rect -"QPaintEvent::region" qpaintevent.html#region -"QPainter" ntqpainter.html -"QPainter::CoordinateMode" ntqpainter.html#CoordinateMode -"QPainter::TextDirection" ntqpainter.html#TextDirection -"QPainter::backgroundColor" ntqpainter.html#backgroundColor -"QPainter::backgroundMode" ntqpainter.html#backgroundMode -"QPainter::begin" ntqpainter.html#begin -"QPainter::boundingRect" ntqpainter.html#boundingRect -"QPainter::brush" ntqpainter.html#brush -"QPainter::brushOrigin" ntqpainter.html#brushOrigin -"QPainter::clipRegion" ntqpainter.html#clipRegion -"QPainter::device" ntqpainter.html#device -"QPainter::drawArc" ntqpainter.html#drawArc -"QPainter::drawChord" ntqpainter.html#drawChord -"QPainter::drawConvexPolygon" ntqpainter.html#drawConvexPolygon -"QPainter::drawCubicBezier" ntqpainter.html#drawCubicBezier -"QPainter::drawEllipse" ntqpainter.html#drawEllipse -"QPainter::drawImage" ntqpainter.html#drawImage -"QPainter::drawLine" ntqpainter.html#drawLine -"QPainter::drawLineSegments" ntqpainter.html#drawLineSegments -"QPainter::drawPicture" ntqpainter.html#drawPicture -"QPainter::drawPie" ntqpainter.html#drawPie -"QPainter::drawPixmap" ntqpainter.html#drawPixmap -"QPainter::drawPoint" ntqpainter.html#drawPoint -"QPainter::drawPoints" ntqpainter.html#drawPoints -"QPainter::drawPolygon" ntqpainter.html#drawPolygon -"QPainter::drawPolyline" ntqpainter.html#drawPolyline -"QPainter::drawRect" ntqpainter.html#drawRect -"QPainter::drawRoundRect" ntqpainter.html#drawRoundRect -"QPainter::drawText" ntqpainter.html#drawText -"QPainter::drawTiledPixmap" ntqpainter.html#drawTiledPixmap -"QPainter::drawWinFocusRect" ntqpainter.html#drawWinFocusRect -"QPainter::end" ntqpainter.html#end -"QPainter::eraseRect" ntqpainter.html#eraseRect -"QPainter::fillRect" ntqpainter.html#fillRect -"QPainter::flush" ntqpainter.html#flush -"QPainter::font" ntqpainter.html#font -"QPainter::fontInfo" ntqpainter.html#fontInfo -"QPainter::fontMetrics" ntqpainter.html#fontMetrics -"QPainter::handle" ntqpainter.html#handle -"QPainter::hasClipping" ntqpainter.html#hasClipping -"QPainter::hasViewXForm" ntqpainter.html#hasViewXForm -"QPainter::hasWorldXForm" ntqpainter.html#hasWorldXForm -"QPainter::isActive" ntqpainter.html#isActive -"QPainter::lineTo" ntqpainter.html#lineTo -"QPainter::moveTo" ntqpainter.html#moveTo -"QPainter::pen" ntqpainter.html#pen -"QPainter::rasterOp" ntqpainter.html#rasterOp -"QPainter::redirect" ntqpainter.html#redirect -"QPainter::resetXForm" ntqpainter.html#resetXForm -"QPainter::restore" ntqpainter.html#restore -"QPainter::rotate" ntqpainter.html#rotate -"QPainter::save" ntqpainter.html#save -"QPainter::scale" ntqpainter.html#scale -"QPainter::setBackgroundColor" ntqpainter.html#setBackgroundColor -"QPainter::setBackgroundMode" ntqpainter.html#setBackgroundMode -"QPainter::setBrush" ntqpainter.html#setBrush -"QPainter::setBrushOrigin" ntqpainter.html#setBrushOrigin -"QPainter::setClipRect" ntqpainter.html#setClipRect -"QPainter::setClipRegion" ntqpainter.html#setClipRegion -"QPainter::setClipping" ntqpainter.html#setClipping -"QPainter::setFont" ntqpainter.html#setFont -"QPainter::setPen" ntqpainter.html#setPen -"QPainter::setRasterOp" ntqpainter.html#setRasterOp -"QPainter::setTabArray" ntqpainter.html#setTabArray -"QPainter::setTabStops" ntqpainter.html#setTabStops -"QPainter::setViewXForm" ntqpainter.html#setViewXForm -"QPainter::setViewport" ntqpainter.html#setViewport -"QPainter::setWindow" ntqpainter.html#setWindow -"QPainter::setWorldMatrix" ntqpainter.html#setWorldMatrix -"QPainter::setWorldXForm" ntqpainter.html#setWorldXForm -"QPainter::shear" ntqpainter.html#shear -"QPainter::tabArray" ntqpainter.html#tabArray -"QPainter::tabStops" ntqpainter.html#tabStops -"QPainter::translate" ntqpainter.html#translate -"QPainter::viewport" ntqpainter.html#viewport -"QPainter::window" ntqpainter.html#window -"QPainter::worldMatrix" ntqpainter.html#worldMatrix -"QPainter::xForm" ntqpainter.html#xForm -"QPainter::xFormDev" ntqpainter.html#xFormDev -"QPainter::~QPainter" ntqpainter.html#~QPainter +"TQPaintDevice" tqpaintdevice.html +"TQPaintDevice::cmd" tqpaintdevice.html#cmd +"TQPaintDevice::handle" tqpaintdevice.html#handle +"TQPaintDevice::isExtDev" tqpaintdevice.html#isExtDev +"TQPaintDevice::paintingActive" tqpaintdevice.html#paintingActive +"TQPaintDevice::x11AppCells" tqpaintdevice.html#x11AppCells +"TQPaintDevice::x11AppColormap" tqpaintdevice.html#x11AppColormap +"TQPaintDevice::x11AppDefaultColormap" tqpaintdevice.html#x11AppDefaultColormap +"TQPaintDevice::x11AppDefaultVisual" tqpaintdevice.html#x11AppDefaultVisual +"TQPaintDevice::x11AppDepth" tqpaintdevice.html#x11AppDepth +"TQPaintDevice::x11AppDisplay" tqpaintdevice.html#x11AppDisplay +"TQPaintDevice::x11AppDpiX" tqpaintdevice.html#x11AppDpiX +"TQPaintDevice::x11AppDpiY" tqpaintdevice.html#x11AppDpiY +"TQPaintDevice::x11AppRootWindow" tqpaintdevice.html#x11AppRootWindow +"TQPaintDevice::x11AppScreen" tqpaintdevice.html#x11AppScreen +"TQPaintDevice::x11AppVisual" tqpaintdevice.html#x11AppVisual +"TQPaintDevice::x11Cells" tqpaintdevice.html#x11Cells +"TQPaintDevice::x11Colormap" tqpaintdevice.html#x11Colormap +"TQPaintDevice::x11DefaultColormap" tqpaintdevice.html#x11DefaultColormap +"TQPaintDevice::x11DefaultVisual" tqpaintdevice.html#x11DefaultVisual +"TQPaintDevice::x11Depth" tqpaintdevice.html#x11Depth +"TQPaintDevice::x11Display" tqpaintdevice.html#x11Display +"TQPaintDevice::x11Screen" tqpaintdevice.html#x11Screen +"TQPaintDevice::x11SetAppDpiX" tqpaintdevice.html#x11SetAppDpiX +"TQPaintDevice::x11SetAppDpiY" tqpaintdevice.html#x11SetAppDpiY +"TQPaintDevice::x11Visual" tqpaintdevice.html#x11Visual +"TQPaintDevice::~TQPaintDevice" tqpaintdevice.html#~TQPaintDevice +"TQPaintDeviceMetrics" tqpaintdevicemetrics.html +"TQPaintDeviceMetrics::depth" tqpaintdevicemetrics.html#depth +"TQPaintDeviceMetrics::height" tqpaintdevicemetrics.html#height +"TQPaintDeviceMetrics::heightMM" tqpaintdevicemetrics.html#heightMM +"TQPaintDeviceMetrics::logicalDpiX" tqpaintdevicemetrics.html#logicalDpiX +"TQPaintDeviceMetrics::logicalDpiY" tqpaintdevicemetrics.html#logicalDpiY +"TQPaintDeviceMetrics::numColors" tqpaintdevicemetrics.html#numColors +"TQPaintDeviceMetrics::width" tqpaintdevicemetrics.html#width +"TQPaintDeviceMetrics::widthMM" tqpaintdevicemetrics.html#widthMM +"TQPaintEvent" tqpaintevent.html +"TQPaintEvent::erased" tqpaintevent.html#erased +"TQPaintEvent::rect" tqpaintevent.html#rect +"TQPaintEvent::region" tqpaintevent.html#region +"TQPainter" tqpainter.html +"TQPainter::CoordinateMode" tqpainter.html#CoordinateMode +"TQPainter::TextDirection" tqpainter.html#TextDirection +"TQPainter::backgroundColor" tqpainter.html#backgroundColor +"TQPainter::backgroundMode" tqpainter.html#backgroundMode +"TQPainter::begin" tqpainter.html#begin +"TQPainter::boundingRect" tqpainter.html#boundingRect +"TQPainter::brush" tqpainter.html#brush +"TQPainter::brushOrigin" tqpainter.html#brushOrigin +"TQPainter::clipRegion" tqpainter.html#clipRegion +"TQPainter::device" tqpainter.html#device +"TQPainter::drawArc" tqpainter.html#drawArc +"TQPainter::drawChord" tqpainter.html#drawChord +"TQPainter::drawConvexPolygon" tqpainter.html#drawConvexPolygon +"TQPainter::drawCubicBezier" tqpainter.html#drawCubicBezier +"TQPainter::drawEllipse" tqpainter.html#drawEllipse +"TQPainter::drawImage" tqpainter.html#drawImage +"TQPainter::drawLine" tqpainter.html#drawLine +"TQPainter::drawLineSegments" tqpainter.html#drawLineSegments +"TQPainter::drawPicture" tqpainter.html#drawPicture +"TQPainter::drawPie" tqpainter.html#drawPie +"TQPainter::drawPixmap" tqpainter.html#drawPixmap +"TQPainter::drawPoint" tqpainter.html#drawPoint +"TQPainter::drawPoints" tqpainter.html#drawPoints +"TQPainter::drawPolygon" tqpainter.html#drawPolygon +"TQPainter::drawPolyline" tqpainter.html#drawPolyline +"TQPainter::drawRect" tqpainter.html#drawRect +"TQPainter::drawRoundRect" tqpainter.html#drawRoundRect +"TQPainter::drawText" tqpainter.html#drawText +"TQPainter::drawTiledPixmap" tqpainter.html#drawTiledPixmap +"TQPainter::drawWinFocusRect" tqpainter.html#drawWinFocusRect +"TQPainter::end" tqpainter.html#end +"TQPainter::eraseRect" tqpainter.html#eraseRect +"TQPainter::fillRect" tqpainter.html#fillRect +"TQPainter::flush" tqpainter.html#flush +"TQPainter::font" tqpainter.html#font +"TQPainter::fontInfo" tqpainter.html#fontInfo +"TQPainter::fontMetrics" tqpainter.html#fontMetrics +"TQPainter::handle" tqpainter.html#handle +"TQPainter::hasClipping" tqpainter.html#hasClipping +"TQPainter::hasViewXForm" tqpainter.html#hasViewXForm +"TQPainter::hasWorldXForm" tqpainter.html#hasWorldXForm +"TQPainter::isActive" tqpainter.html#isActive +"TQPainter::lineTo" tqpainter.html#lineTo +"TQPainter::moveTo" tqpainter.html#moveTo +"TQPainter::pen" tqpainter.html#pen +"TQPainter::rasterOp" tqpainter.html#rasterOp +"TQPainter::redirect" tqpainter.html#redirect +"TQPainter::resetXForm" tqpainter.html#resetXForm +"TQPainter::restore" tqpainter.html#restore +"TQPainter::rotate" tqpainter.html#rotate +"TQPainter::save" tqpainter.html#save +"TQPainter::scale" tqpainter.html#scale +"TQPainter::setBackgroundColor" tqpainter.html#setBackgroundColor +"TQPainter::setBackgroundMode" tqpainter.html#setBackgroundMode +"TQPainter::setBrush" tqpainter.html#setBrush +"TQPainter::setBrushOrigin" tqpainter.html#setBrushOrigin +"TQPainter::setClipRect" tqpainter.html#setClipRect +"TQPainter::setClipRegion" tqpainter.html#setClipRegion +"TQPainter::setClipping" tqpainter.html#setClipping +"TQPainter::setFont" tqpainter.html#setFont +"TQPainter::setPen" tqpainter.html#setPen +"TQPainter::setRasterOp" tqpainter.html#setRasterOp +"TQPainter::setTabArray" tqpainter.html#setTabArray +"TQPainter::setTabStops" tqpainter.html#setTabStops +"TQPainter::setViewXForm" tqpainter.html#setViewXForm +"TQPainter::setViewport" tqpainter.html#setViewport +"TQPainter::setWindow" tqpainter.html#setWindow +"TQPainter::setWorldMatrix" tqpainter.html#setWorldMatrix +"TQPainter::setWorldXForm" tqpainter.html#setWorldXForm +"TQPainter::shear" tqpainter.html#shear +"TQPainter::tabArray" tqpainter.html#tabArray +"TQPainter::tabStops" tqpainter.html#tabStops +"TQPainter::translate" tqpainter.html#translate +"TQPainter::viewport" tqpainter.html#viewport +"TQPainter::window" tqpainter.html#window +"TQPainter::worldMatrix" tqpainter.html#worldMatrix +"TQPainter::xForm" tqpainter.html#xForm +"TQPainter::xFormDev" tqpainter.html#xFormDev +"TQPainter::~TQPainter" tqpainter.html#~TQPainter "TQPair" tqpair.html "TQPair::first_type" tqpair.html#first_type "TQPair::second_type" tqpair.html#second_type @@ -7919,7 +7919,7 @@ "application" application.html "basic" basic.html "bitBlt" tqimage.html#bitBlt -"bitBlt" ntqpaintdevice.html#bitBlt +"bitBlt" tqpaintdevice.html#bitBlt "collection" collection.html "copyBlt" ntqpixmap.html#copyBlt "database" database.html @@ -7963,16 +7963,16 @@ "operator<" tqcstring.html#operator-lt "operator<" tqstring.html#operator-lt "operator<<" tqbitarray.html#operator-lt-lt -"operator<<" ntqbrush.html#operator-lt-lt -"operator<<" ntqcolor.html#operator-lt-lt -"operator<<" qcolorgroup.html#operator-lt-lt +"operator<<" tqbrush.html#operator-lt-lt +"operator<<" tqcolor.html#operator-lt-lt +"operator<<" tqcolorgroup.html#operator-lt-lt "operator<<" tqcstring.html#operator-lt-lt "operator<<" ntqcursor.html#operator-lt-lt "operator<<" tqdate.html#operator-lt-lt "operator<<" tqdatetime.html#operator-lt-lt "operator<<" ntqdockarea.html#operator-lt-lt "operator<<" tqdomnode.html#operator-lt-lt -"operator<<" ntqfont.html#operator-lt-lt +"operator<<" tqfont.html#operator-lt-lt "operator<<" tqimage.html#operator-lt-lt "operator<<" ntqkeysequence.html#operator-lt-lt "operator<<" tqmainwindow.html#operator-lt-lt @@ -8009,14 +8009,14 @@ "operator>=" tqcstring.html#operator-gt-eq "operator>=" tqstring.html#operator-gt-eq "operator>>" tqbitarray.html#operator-gt-gt -"operator>>" ntqbrush.html#operator-gt-gt -"operator>>" ntqcolor.html#operator-gt-gt +"operator>>" tqbrush.html#operator-gt-gt +"operator>>" tqcolor.html#operator-gt-gt "operator>>" tqcstring.html#operator-gt-gt "operator>>" ntqcursor.html#operator-gt-gt "operator>>" tqdate.html#operator-gt-gt "operator>>" tqdatetime.html#operator-gt-gt "operator>>" ntqdockarea.html#operator-gt-gt -"operator>>" ntqfont.html#operator-gt-gt +"operator>>" tqfont.html#operator-gt-gt "operator>>" tqimage.html#operator-gt-gt "operator>>" ntqkeysequence.html#operator-gt-gt "operator>>" tqmainwindow.html#operator-gt-gt @@ -8042,33 +8042,33 @@ "organizers" organizers.html "plugins" plugins.html "qAddPostRoutine" ntqapplication.html#qAddPostRoutine -"qAlpha" ntqcolor.html#qAlpha -"qBlue" ntqcolor.html#qBlue +"qAlpha" tqcolor.html#qAlpha +"qBlue" tqcolor.html#qBlue "qChecksum" tqmemarray.html#qChecksum "qCompress" tqbytearray.html#qCompress "qDebug" ntqapplication.html#qDebug -"qDrawPlainRect" ntqpainter.html#qDrawPlainRect -"qDrawShadeLine" ntqpainter.html#qDrawShadeLine -"qDrawShadePanel" ntqpainter.html#qDrawShadePanel -"qDrawShadeRect" ntqpainter.html#qDrawShadeRect -"qDrawWinButton" ntqpainter.html#qDrawWinButton -"qDrawWinPanel" ntqpainter.html#qDrawWinPanel +"qDrawPlainRect" tqpainter.html#qDrawPlainRect +"qDrawShadeLine" tqpainter.html#qDrawShadeLine +"qDrawShadePanel" tqpainter.html#qDrawShadePanel +"qDrawShadeRect" tqpainter.html#qDrawShadeRect +"qDrawWinButton" tqpainter.html#qDrawWinButton +"qDrawWinPanel" tqpainter.html#qDrawWinPanel "qFatal" ntqapplication.html#qFatal -"qGray" ntqcolor.html#qGray -"qGreen" ntqcolor.html#qGreen +"qGray" tqcolor.html#qGray +"qGreen" tqcolor.html#qGreen "qInitNetworkProtocols" tqurloperator.html#qInitNetworkProtocols "qInstallMsgHandler" ntqapplication.html#qInstallMsgHandler "qMakePair" tqpair.html#qMakePair -"qRed" ntqcolor.html#qRed -"qRgb" ntqcolor.html#qRgb -"qRgba" ntqcolor.html#qRgba +"qRed" tqcolor.html#qRed +"qRgb" tqcolor.html#qRgb +"qRgba" tqcolor.html#qRgba "qSysInfo" ntqapplication.html#qSysInfo "qSystemWarning" ntqapplication.html#qSystemWarning "qUncompress" tqbytearray.html#qUncompress "qVersion" ntqapplication.html#qVersion "qWarning" ntqapplication.html#qWarning "tqaction-examples" tqaction-examples.html -"qfont-examples" qfont-examples.html +"tqfont-examples" tqfont-examples.html "qmemmove" tqcstring.html#qmemmove "tqprocess-examples" tqprocess-examples.html "qstrcmp" tqcstring.html#qstrcmp diff --git a/doc/html/keyfeatures30.html b/doc/html/keyfeatures30.html index f3227e6e6..bd2f59beb 100644 --- a/doc/html/keyfeatures30.html +++ b/doc/html/keyfeatures30.html @@ -203,7 +203,7 @@ stage.

            SVG is a W3C standard for "Scalable Vector Graphics". TQt 3.0's XML support means that TQPicture can optionally generate and import static SVG documents. All the SVG features that have an equivalent in -TQPainter are supported. +TQPainter are supported.

            Multihead support

            Many professional applications, such as DTP and CAD software, are able @@ -219,7 +219,7 @@ X11.

            TQt 3.0 now complies with the NET WM Specification, recently adopted by KDE 2.0. This allows easy integration and proper execution with desktop environments that support the NET WM specification. -

            The font handling on X11 has undergone major changes. TQFont no longer +

            The font handling on X11 has undergone major changes. TQFont no longer has a one-to-one relation with window system fonts. TQFont is now a logical font that can load multiple window system fonts to simplify Unicode text display. This completely removes the burden of diff --git a/doc/html/layout-example.html b/doc/html/layout-example.html index 164c73920..89a7ccee6 100644 --- a/doc/html/layout-example.html +++ b/doc/html/layout-example.html @@ -49,7 +49,7 @@ classes, TQGridLayout, #include <ntqapplication.h> #include <ntqlabel.h> -#include <ntqcolor.h> +#include <tqcolor.h> #include <ntqpushbutton.h> #include <ntqlayout.h> #include <ntqlineedit.h> diff --git a/doc/html/life-example.html b/doc/html/life-example.html index df8db27d9..d716e9b67 100644 --- a/doc/html/life-example.html +++ b/doc/html/life-example.html @@ -67,7 +67,7 @@ public slots: void clear(); protected: - virtual void paintEvent( TQPaintEvent * ); + virtual void paintEvent( TQPaintEvent * ); virtual void mouseMoveEvent( TQMouseEvent * ); virtual void mousePressEvent( TQMouseEvent * ); virtual void resizeEvent( TQResizeEvent * ); @@ -110,7 +110,7 @@ private: #include "life.h" -#include <ntqpainter.h> +#include <tqpainter.h> #include <ntqdrawutil.h> #include <ntqcheckbox.h> #include <ntqevent.h> @@ -211,23 +211,23 @@ void LifeWidget::nextGeneration() } -void LifeWidget::paintEvent( TQPaintEvent * e ) +void LifeWidget::paintEvent( TQPaintEvent * e ) { - int starti = pos2index( e->rect().left() ); - int stopi = pos2index( e->rect().right() ); - int startj = pos2index( e->rect().top() ); - int stopj = pos2index( e->rect().bottom() ); + int starti = pos2index( e->rect().left() ); + int stopi = pos2index( e->rect().right() ); + int startj = pos2index( e->rect().top() ); + int stopj = pos2index( e->rect().bottom() ); if (stopi > maxi) stopi = maxi; if (stopj > maxj) stopj = maxj; - TQPainter paint( this ); + TQPainter paint( this ); for ( int i = starti; i <= stopi; i++ ) { for ( int j = startj; j <= stopj; j++ ) { if ( cells[current][i][j] ) - qDrawShadePanel( &paint, index2pos( i ), index2pos( j ), + qDrawShadePanel( &paint, index2pos( i ), index2pos( j ), SCALE - 1, SCALE - 1, colorGroup() ); else if ( cells[!current][i][j] ) erase(index2pos( i ), index2pos( j ), SCALE - 1, SCALE - 1); diff --git a/doc/html/listboxcombo-example.html b/doc/html/listboxcombo-example.html index 091cfb27d..313df6811 100644 --- a/doc/html/listboxcombo-example.html +++ b/doc/html/listboxcombo-example.html @@ -98,7 +98,7 @@ protected slots: #include <ntqpixmap.h> #include <ntqlabel.h> #include <tqimage.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <tqstyle.h> @@ -112,21 +112,21 @@ public: } protected: - virtual void paint( TQPainter * ); + virtual void paint( TQPainter * ); virtual int width( const TQListBox* ) const { return 100; } virtual int height( const TQListBox* ) const { return 16; } }; -void MyListBoxItem::paint( TQPainter *painter ) +void MyListBoxItem::paint( TQPainter *painter ) { // evil trick: find out whether we are painted onto our listbox - bool in_list_box = listBox() && listBox()->viewport() == painter->device(); + bool in_list_box = listBox() && listBox()->viewport() == painter->device(); TQRect r ( 0, 0, width( listBox() ), height( listBox() ) ); if ( in_list_box && isSelected() ) - painter->eraseRect( r ); - painter->fillRect( 5, 5, width( listBox() ) - 10, height( listBox() ) - 10, TQt::red ); + painter->eraseRect( r ); + painter->fillRect( 5, 5, width( listBox() ) - 10, height( listBox() ) - 10, TQt::red ); if ( in_list_box && isCurrent() ) listBox()->style().drawPrimitive( TQStyle::PE_FocusRect, painter, r, listBox()->colorGroup() ); } diff --git a/doc/html/listviews-example.html b/doc/html/listviews-example.html index b1731dca1..7c0ea7e23 100644 --- a/doc/html/listviews-example.html +++ b/doc/html/listviews-example.html @@ -165,7 +165,7 @@ class MessageListItem : public TQListViewItem public: MessageListItem( TQListView *parent, Message *m ); - virtual void paintCell( TQPainter *p, const TQColorGroup &cg, + virtual void paintCell( TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment ); Message *message() { return myMessage; } @@ -222,7 +222,7 @@ protected slots: #include "listviews.h" #include <ntqlabel.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <ntqpalette.h> #include <tqobjectlist.h> #include <tqpopupmenu.h> @@ -296,18 +296,18 @@ void FolderListItem::insertSubFolders( const setText( 2, myMessage->header().datetime().toString() ); } -void MessageListItem::paintCell( TQPainter *p, const TQColorGroup &cg, +void MessageListItem::paintCell( TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment ) { - TQColorGroup _cg( cg ); - TQColor c = _cg.text(); + TQColorGroup _cg( cg ); + TQColor c = _cg.text(); if ( myMessage->state() == Message::Unread ) - _cg.setColor( TQColorGroup::Text, TQt::red ); + _cg.setColor( TQColorGroup::Text, TQt::red ); TQListViewItem::paintCell( p, _cg, column, width, alignment ); - _cg.setColor( TQColorGroup::Text, c ); + _cg.setColor( TQColorGroup::Text, c ); } // ----------------------------------------------------------------- diff --git a/doc/html/mainclasses.html b/doc/html/mainclasses.html index 737cd0d8e..4b9e8695c 100644 --- a/doc/html/mainclasses.html +++ b/doc/html/mainclasses.html @@ -52,9 +52,9 @@ classes), see TQt's Classes.

            TQApplication -TQFont +TQFont -TQMovie +TQMovie TQSound @@ -63,7 +63,7 @@ classes), see TQt's Classes. B TQButtonGroup -TQFontDialog +TQFontDialog N TQNetworkProtocol @@ -87,7 +87,7 @@ classes), see TQt's Classes. TQGridLayout P -TQPainter +TQPainter TQSplitter @@ -105,7 +105,7 @@ classes), see TQt's Classes. TQTranslator
            -TQColorDialog +TQColorDialog TQGuardedPtr diff --git a/doc/html/mdi-example.html b/doc/html/mdi-example.html index ebaef0479..0cd78e00e 100644 --- a/doc/html/mdi-example.html +++ b/doc/html/mdi-example.html @@ -80,7 +80,7 @@ signals: private: TQTextEdit* medit; - TQMovie * mmovie; + TQMovie * mmovie; TQString filename; }; @@ -141,7 +141,7 @@ private: #include <tqtoolbutton.h> #include <tqpopupmenu.h> #include <tqmenubar.h> -#include <ntqmovie.h> +#include <tqmovie.h> #include <tqfile.h> #include <tqfiledialog.h> #include <ntqlabel.h> @@ -153,8 +153,8 @@ private: #include <ntqaccel.h> #include <tqtextstream.h> #include <tqtextedit.h> -#include <ntqpainter.h> -#include <ntqpaintdevicemetrics.h> +#include <tqpainter.h> +#include <tqpaintdevicemetrics.h> #include <ntqwhatsthis.h> #include <tqobjectlist.h> #include <ntqvbox.h> @@ -462,7 +462,7 @@ void MDIWindow::load( const TQString< setCentralWidget(tmp); medit->hide(); delete medit; - TQMovie * qm=new TQMovie(fn); + TQMovie * qm=new TQMovie(fn); tmp->setBackgroundMode(TQWidget::NoBackground); tmp->show(); mmovie=qm; @@ -523,13 +523,13 @@ void MDIWindow::print( TQPrinter if ( printer->setup(this) ) { // printer dialog printer->setFullPage( TRUE ); emit message( "Printing...", 0 ); - TQPainter p; - if ( !p.begin( printer ) ) + TQPainter p; + if ( !p.begin( printer ) ) return; // paint on printer - TQPaintDeviceMetrics metrics( p.device() ); - int dpiy = metrics.logicalDpiY(); + TQPaintDeviceMetrics metrics( p.device() ); + int dpiy = metrics.logicalDpiY(); int margin = (int) ( (2/2.54)*dpiy ); // 2 cm margins - TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin ); + TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin ); TQSimpleRichText richText( TQStyleSheet::convertFromPlainText(medit->text()), TQFont(), medit->context(), @@ -541,9 +541,9 @@ void MDIWindow::print( TQPrinter richText.draw( &p, margin, margin, view, colorGroup() ); view.moveBy( 0, view.height() ); - p.translate( 0 , -view.height() ); - p.drawText( view.right() - p.fontMetrics().width( TQString::number( page ) ), - view.bottom() + p.fontMetrics().ascent() + 5, TQString::number( page ) ); + p.translate( 0 , -view.height() ); + p.drawText( view.right() - p.fontMetrics().width( TQString::number( page ) ), + view.bottom() + p.fontMetrics().ascent() + 5, TQString::number( page ) ); if ( view.top() - margin >= richText.height() ) break; TQString msg( "Printing (page " ); diff --git a/doc/html/menu-example.html b/doc/html/menu-example.html index ec62caf59..a0d41e285 100644 --- a/doc/html/menu-example.html +++ b/doc/html/menu-example.html @@ -118,7 +118,7 @@ private: #include <ntqapplication.h> #include <ntqmessagebox.h> #include <ntqpixmap.h> -#include <ntqpainter.h> +#include <tqpainter.h> /* XPM */ static const char * p1_xpm[] = { @@ -198,14 +198,14 @@ static const char * p3_xpm[] = { class MyMenuItem : public TQCustomMenuItem { public: - MyMenuItem( const TQString& s, const TQFont& f ) + MyMenuItem( const TQString& s, const TQFont& f ) : string( s ), font( f ){}; ~MyMenuItem(){} - void paint( TQPainter* p, const TQColorGroup& /*cg*/, bool /*act*/, bool /*enabled*/, int x, int y, int w, int h ) + void paint( TQPainter* p, const TQColorGroup& /*cg*/, bool /*act*/, bool /*enabled*/, int x, int y, int w, int h ) { - p->setFont ( font ); - p->drawText( x, y, w, h, AlignLeft | AlignVCenter | DontClip | ShowPrefix, string ); + p->setFont ( font ); + p->drawText( x, y, w, h, AlignLeft | AlignVCenter | DontClip | ShowPrefix, string ); } TQSize sizeHint() @@ -214,7 +214,7 @@ public: } private: TQString string; - TQFont font; + TQFont font; }; @@ -259,13 +259,13 @@ private: options->insertSeparator(); options->polish(); // adjust system settings - TQFont f = options->font(); - f.setBold( TRUE ); + TQFont f = options->font(); + f.setBold( TRUE ); boldID = options->insertItem( new MyMenuItem( "Bold", f ) ); options->setAccel( CTRL+Key_B, boldID ); options->connectItem( boldID, this, TQ_SLOT(bold()) ); f = font(); - f.setUnderline( TRUE ); + f.setUnderline( TRUE ); underlineID = options->insertItem( new MyMenuItem( "Underline", f ) ); options->setAccel( CTRL+Key_U, underlineID ); options->connectItem( underlineID, this, TQ_SLOT(underline()) ); @@ -375,7 +375,7 @@ void MenuExample::normal() { isBold = FALSE; isUnderline = FALSE; - TQFont font; + TQFont font; label->setFont( font ); menu->setItemChecked( boldID, isBold ); menu->setItemChecked( underlineID, isUnderline ); @@ -386,9 +386,9 @@ void MenuExample::normal() void MenuExample::bold() { isBold = !isBold; - TQFont font; - font.setBold( isBold ); - font.setUnderline( isUnderline ); + TQFont font; + font.setBold( isBold ); + font.setUnderline( isUnderline ); label->setFont( font ); menu->setItemChecked( boldID, isBold ); emit explain( "Options/Bold selected" ); @@ -398,9 +398,9 @@ void MenuExample::bold() void MenuExample::underline() { isUnderline = !isUnderline; - TQFont font; - font.setBold( isBold ); - font.setUnderline( isUnderline ); + TQFont font; + font.setBold( isBold ); + font.setUnderline( isUnderline ); label->setFont( font ); menu->setItemChecked( underlineID, isUnderline ); emit explain( "Options/Underline selected" ); diff --git a/doc/html/motif-walkthrough-9.html b/doc/html/motif-walkthrough-9.html index fac4d58f5..ae391f739 100644 --- a/doc/html/motif-walkthrough-9.html +++ b/doc/html/motif-walkthrough-9.html @@ -67,7 +67,7 @@ and formatting characters to a printtext variable (which is a

            The rest of the MainWindow::filePrint() function is the actual printing code. Here we simply create a TQSimpleRichText object using the string we created above, and draw this string on the TQPrinter -object using TQPainter. +object using TQPainter.

            
             

            Removing the Dependency on Xt/Motif

            diff --git a/doc/html/movies-example.html b/doc/html/movies-example.html index 5a5ae1959..ae07a20b1 100644 --- a/doc/html/movies-example.html +++ b/doc/html/movies-example.html @@ -33,7 +33,7 @@ body { background: #ffffff; color: black; }

            -The Movies example displays MNG and animated GIF files using the TQMovie and +The Movies example displays MNG and animated GIF files using the TQMovie and TQLabel classes.

            The movies will only read an animated GIF if GIF reading was enabled when TQt was built.


            @@ -52,15 +52,15 @@ The Movies example displays MNG and animated GIF files using the tqfiledialog.h> #include <ntqpushbutton.h> #include <ntqlabel.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <ntqmessagebox.h> -#include <ntqmovie.h> +#include <tqmovie.h> #include <ntqvbox.h> class MovieScreen : public TQFrame { TQ_OBJECT - TQMovie movie; + TQMovie movie; TQString filename; TQSize sh; @@ -81,9 +81,9 @@ public: setBackgroundMode(NoBackground); // Get the movie to tell use when interesting things happen. - movie.connectUpdate(this, TQ_SLOT(movieUpdated(const TQRect&))); - movie.connectResize(this, TQ_SLOT(movieResized(const TQSize&))); - movie.connectStatus(this, TQ_SLOT(movieStatus(int))); + movie.connectUpdate(this, TQ_SLOT(movieUpdated(const TQRect&))); + movie.connectResize(this, TQ_SLOT(movieResized(const TQSize&))); + movie.connectStatus(this, TQ_SLOT(movieStatus(int))); setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding,TQSizePolicy::Expanding)); } @@ -99,7 +99,7 @@ protected: void drawContents(TQPainter* p) { // Get the current movie frame. - TQPixmap pm = movie.framePixmap(); + TQPixmap pm = movie.framePixmap(); // Get the area we have to draw in. TQRect r = contentsRect(); @@ -125,11 +125,11 @@ protected: const char* message = 0; - if (movie.paused()) { + if (movie.paused()) { message = "PAUSED"; - } else if (movie.finished()) { + } else if (movie.finished()) { message = "THE END"; - } else if (movie.steps() > 0) { + } else if (movie.steps() > 0) { message = "FF >>"; } @@ -137,20 +137,20 @@ protected: // Find a good font size... p->setFont(TQFont("Helvetica", 24)); - TQFontMetrics fm = p->fontMetrics(); - if ( fm.width(message) > r.width()-10 ) + TQFontMetrics fm = p->fontMetrics(); + if ( fm.width(message) > r.width()-10 ) p->setFont(TQFont("Helvetica", 18)); fm = p->fontMetrics(); - if ( fm.width(message) > r.width()-10 ) + if ( fm.width(message) > r.width()-10 ) p->setFont(TQFont("Helvetica", 14)); fm = p->fontMetrics(); - if ( fm.width(message) > r.width()-10 ) + if ( fm.width(message) > r.width()-10 ) p->setFont(TQFont("Helvetica", 12)); fm = p->fontMetrics(); - if ( fm.width(message) > r.width()-10 ) + if ( fm.width(message) > r.width()-10 ) p->setFont(TQFont("Helvetica", 10)); // "Shadow" effect. @@ -164,28 +164,28 @@ protected: public slots: void restart() { - movie.restart(); + movie.restart(); repaint(); } void togglePause() { - if ( movie.paused() ) - movie.unpause(); + if ( movie.paused() ) + movie.unpause(); else - movie.pause(); + movie.pause(); repaint(); } void step() { - movie.step(); + movie.step(); repaint(); } void step10() { - movie.step(10); + movie.step(10); repaint(); } @@ -199,7 +199,7 @@ private slots: TQRect r = contentsRect(); - if ( r.size() != movie.framePixmap().size() ) { + if ( r.size() != movie.framePixmap().size() ) { // Need to scale - redraw whole frame. repaint( r ); } else { @@ -245,11 +245,11 @@ public: TQHBox* hb = new TQHBox(this); TQPushButton* btn; btn = new TQPushButton("<<", hb); - connect(btn, TQ_SIGNAL(clicked()), movie, TQ_SLOT(restart())); + connect(btn, TQ_SIGNAL(clicked()), movie, TQ_SLOT(restart())); btn = new TQPushButton("||", hb); connect(btn, TQ_SIGNAL(clicked()), movie, TQ_SLOT(togglePause())); btn = new TQPushButton(">|", hb); - connect(btn, TQ_SIGNAL(clicked()), movie, TQ_SLOT(step())); + connect(btn, TQ_SIGNAL(clicked()), movie, TQ_SLOT(step())); btn = new TQPushButton(">>|", hb); connect(btn, TQ_SIGNAL(clicked()), movie, TQ_SLOT(step10())); } diff --git a/doc/html/multimedia.html b/doc/html/multimedia.html index d9b66d4dc..5f2cd9f3c 100644 --- a/doc/html/multimedia.html +++ b/doc/html/multimedia.html @@ -39,7 +39,7 @@ body { background: #ffffff; color: black; }
            TQImageDecoderIncremental image decoder for all supported image formats
            TQImageFormatIncremental image decoder for a specific image format
            TQImageFormatTypeFactory that makes TQImageFormat objects -
            TQMovieIncremental loading of animations or images, signalling as it progresses +
            TQMovieIncremental loading of animations or images, signalling as it progresses
            TQSoundAccess to the platform audio facilities
            diff --git a/doc/html/ntqapplication.html b/doc/html/ntqapplication.html index c95062789..9d1a32f83 100644 --- a/doc/html/ntqapplication.html +++ b/doc/html/ntqapplication.html @@ -386,7 +386,7 @@ Initializes the window system and constructs an application object with argc command line arguments in argv.

            The global tqApp pointer refers to this application object. Only one application object should be created. -

            This application object must be constructed before any paint devices (including widgets, pixmaps, bitmaps +

            This application object must be constructed before any paint devices (including widgets, pixmaps, bitmaps etc.).

            Note that argc and argv might be changed. TQt removes command line arguments that it recognizes. The modified argc and argv @@ -838,7 +838,7 @@ return to the event loop on asynchronous window systems like X11 or double buffered window systems like MacOS X, and you want to visualize these changes immediately (e.g. Splash Screens), call this function. -

            See also flushX(), sendPostedEvents(), and TQPainter::flush(). +

            See also flushX(), sendPostedEvents(), and TQPainter::flush().

            void TQApplication::flushX () [static]

            @@ -854,17 +854,17 @@ returns almost immediately. Does nothing on other platforms. 0 if no widget in this application has the focus.

            See also TQWidget::setFocus(), TQWidget::focus, and activeWindow(). -

            TQFont TQApplication::font ( const TQWidget * w = 0 ) [static] +

            TQFont TQApplication::font ( const TQWidget * w = 0 ) [static]

            Returns the default font for the widget w, or the default application font if w is 0.

            See also setFont(), fontMetrics(), and TQWidget::font.

            Examples: qfd/fontdisplayer.cpp, themes/metal.cpp, and themes/themes.cpp. -

            TQFontMetrics TQApplication::fontMetrics () [static] +

            TQFontMetrics TQApplication::fontMetrics () [static]

            Returns display (screen) font metrics for the application font. -

            See also font(), setFont(), TQWidget::fontMetrics(), and TQPainter::fontMetrics(). +

            See also font(), setFont(), TQWidget::fontMetrics(), and TQPainter::fontMetrics().

            TQSize TQApplication::globalStrut () [static]

            @@ -1287,16 +1287,16 @@ colors, while the background windows will look less attractive. } -

            TQColor provides more functionality for controlling color allocation and -freeing up certain colors. See TQColor::enterAllocContext() for more +

            TQColor provides more functionality for controlling color allocation and +freeing up certain colors. See TQColor::enterAllocContext() for more information. -

            To check what mode you end up with, call TQColor::numBitPlanes() once +

            To check what mode you end up with, call TQColor::numBitPlanes() once the TQApplication object exists. A value greater than 8 (typically 16, 24 or 32) means true color.

            * The color cube used by TQt has 216 colors whose red, green, and blue components always have one of the following values: 0x00, 0x33, 0x66, 0x99, 0xCC, or 0xFF. -

            See also colorSpec(), TQColor::numBitPlanes(), and TQColor::enterAllocContext(). +

            See also colorSpec(), TQColor::numBitPlanes(), and TQColor::enterAllocContext().

            Examples: helpviewer/main.cpp, showimg/main.cpp, t9/main.cpp, tetrix/tetrix.cpp, and themes/main.cpp.

            void TQApplication::setCursorFlashTime ( int msecs ) [static] @@ -1348,7 +1348,7 @@ the effect will not be used. 16-bit color depth.

            See also isEffectEnabled(), TQt::UIEffect, and setDesktopSettingsAware(). -

            void TQApplication::setFont ( const TQFont & font, bool informWidgets = FALSE, const char * className = 0 ) [static] +

            void TQApplication::setFont ( const TQFont & font, bool informWidgets = FALSE, const char * className = 0 ) [static]

            Changes the default application font to font. If informWidgets is TRUE, then existing widgets are informed about the change and may adjust themselves to the new application setting. If informWidgets is FALSE, the change only affects newly @@ -1534,7 +1534,7 @@ widget, the widget should interpret the scroll operation as a single page up / page down operation instead.

            See also wheelScrollLines(). -

            void TQApplication::setWinStyleHighlightColor ( const TQColor & c ) [static] +

            void TQApplication::setWinStyleHighlightColor ( const TQColor & c ) [static]

            This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. @@ -1705,7 +1705,7 @@ This function is available only on Windows.

            If gotFocus is TRUE, widget will become the active window. Otherwise the active window is reset to NULL. -

            const TQColor & TQApplication::winStyleHighlightColor () [static] +

            const TQColor & TQApplication::winStyleHighlightColor () [static]

            This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. diff --git a/doc/html/ntqbrush.html b/doc/html/ntqbrush.html deleted file mode 100644 index 613e8f6fd..000000000 --- a/doc/html/ntqbrush.html +++ /dev/null @@ -1,239 +0,0 @@ - - - - - -TQBrush Class - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            TQBrush Class Reference

            - -

            The TQBrush class defines the fill pattern of shapes drawn by a TQPainter. -More... -

            #include <ntqbrush.h> -

            Inherits TQt. -

            List of all member functions. -

            Public Members

            -
              -
            • TQBrush ()
            • -
            • TQBrush ( BrushStyle style )
            • -
            • TQBrush ( const TQColor & color, BrushStyle style = SolidPattern )
            • -
            • TQBrush ( const TQColor & color, const TQPixmap & pixmap )
            • -
            • TQBrush ( const TQBrush & b )
            • -
            • ~TQBrush ()
            • -
            • TQBrush & operator= ( const TQBrush & b )
            • -
            • BrushStyle style () const
            • -
            • void setStyle ( BrushStyle s )
            • -
            • const TQColor & color () const
            • -
            • void setColor ( const TQColor & c )
            • -
            • TQPixmap * pixmap () const
            • -
            • void setPixmap ( const TQPixmap & pixmap )
            • -
            • bool operator== ( const TQBrush & b ) const
            • -
            • bool operator!= ( const TQBrush & b ) const
            • -
            -

            Related Functions

            -
              -
            • TQDataStream & operator<< ( TQDataStream & s, const TQBrush & b )
            • -
            • TQDataStream & operator>> ( TQDataStream & s, TQBrush & b )
            • -
            -

            Detailed Description

            - - -

            The TQBrush class defines the fill pattern of shapes drawn by a TQPainter. -

            - - -

            A brush has a style and a color. One of the brush styles is a -custom pattern, which is defined by a TQPixmap. -

            The brush style defines the fill pattern. The default brush style -is NoBrush (depending on how you construct a brush). This style -tells the painter to not fill shapes. The standard style for -filling is SolidPattern. -

            The brush color defines the color of the fill pattern. The TQColor -documentation lists the predefined colors. -

            Use the TQPen class for specifying line/outline styles. -

            Example: -

            -        TQPainter painter;
            -        TQBrush   brush( yellow );           // yellow solid pattern
            -        painter.begin( &anyPaintDevice );   // paint something
            -        painter.setBrush( brush );          // set the yellow brush
            -        painter.setPen( NoPen );            // do not draw outline
            -        painter.drawRect( 40,30, 200,100 ); // draw filled rectangle
            -        painter.setBrush( NoBrush );        // do not fill
            -        painter.setPen( black );            // set black pen, 0 pixel width
            -        painter.drawRect( 10,10, 30,20 );   // draw rectangle outline
            -        painter.end();                      // painting done
            -    
            - -

            See the setStyle() function for a complete list of brush styles. -

            Brush Styles
            -

            See also TQPainter, TQPainter::setBrush(), TQPainter::setBrushOrigin(), Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. - -


            Member Function Documentation

            -

            TQBrush::TQBrush () -

            -Constructs a default black brush with the style NoBrush (will -not fill shapes). - -

            TQBrush::TQBrush ( BrushStyle style ) -

            -Constructs a black brush with the style style. -

            See also setStyle(). - -

            TQBrush::TQBrush ( const TQColor & color, BrushStyle style = SolidPattern ) -

            -Constructs a brush with the color color and the style style. -

            See also setColor() and setStyle(). - -

            TQBrush::TQBrush ( const TQColor & color, const TQPixmap & pixmap ) -

            -Constructs a brush with the color color and a custom pattern -stored in pixmap. -

            The color will only have an effect for monochrome pixmaps, i.e. -for TQPixmap::depth() == 1. -

            Pixmap brushes are currently not supported when printing on X11. -

            See also setColor() and setPixmap(). - -

            TQBrush::TQBrush ( const TQBrush & b ) -

            -Constructs a brush that is a shallow - copy of b. - -

            TQBrush::~TQBrush () -

            -Destroys the brush. - -

            const TQColor & TQBrush::color () const -

            - -

            Returns the brush color. -

            See also setColor(). - -

            bool TQBrush::operator!= ( const TQBrush & b ) const -

            - -

            Returns TRUE if the brush is different from b; otherwise -returns FALSE. -

            Two brushes are different if they have different styles, colors or -pixmaps. -

            See also operator==(). - -

            TQBrush & TQBrush::operator= ( const TQBrush & b ) -

            -Assigns b to this brush and returns a reference to this brush. - -

            bool TQBrush::operator== ( const TQBrush & b ) const -

            -Returns TRUE if the brush is equal to b; otherwise returns -FALSE. -

            Two brushes are equal if they have equal styles, colors and -pixmaps. -

            See also operator!=(). - -

            TQPixmap * TQBrush::pixmap () const -

            - -

            Returns a pointer to the custom brush pattern, or 0 if no custom -brush pattern has been set. -

            See also setPixmap(). - -

            Example: richtext/richtext.cpp. -

            void TQBrush::setColor ( const TQColor & c ) -

            -Sets the brush color to c. -

            See also color() and setStyle(). - -

            Example: picture/picture.cpp. -

            void TQBrush::setPixmap ( const TQPixmap & pixmap ) -

            -Sets the brush pixmap to pixmap. The style is set to CustomPattern. -

            The current brush color will only have an effect for monochrome -pixmaps, i.e. for TQPixmap::depth() == 1. -

            Pixmap brushes are currently not supported when printing on X11. -

            See also pixmap() and color(). - -

            Example: richtext/richtext.cpp. -

            void TQBrush::setStyle ( BrushStyle s ) -

            -Sets the brush style to s. -

            The brush styles are: -

            -
            Pattern Meaning -
            NoBrush will not fill shapes (default). -
            SolidPattern solid (100%) fill pattern. -
            Dense1Pattern 94% fill pattern. -
            Dense2Pattern 88% fill pattern. -
            Dense3Pattern 63% fill pattern. -
            Dense4Pattern 50% fill pattern. -
            Dense5Pattern 37% fill pattern. -
            Dense6Pattern 12% fill pattern. -
            Dense7Pattern 6% fill pattern. -
            HorPattern horizontal lines pattern. -
            VerPattern vertical lines pattern. -
            CrossPattern crossing lines pattern. -
            BDiagPattern diagonal lines (directed /) pattern. -
            FDiagPattern diagonal lines (directed \) pattern. -
            DiagCrossPattern diagonal crossing lines pattern. -
            CustomPattern set when a pixmap pattern is being used. -
            -

            On Windows, dense and custom patterns cannot be transparent. -

            See the Detailed Description for a picture -of all the styles. -

            See also style(). - -

            BrushStyle TQBrush::style () const -

            - -

            Returns the brush style. -

            See also setStyle(). - -


            Related Functions

            -

            TQDataStream & operator<< ( TQDataStream & s, const TQBrush & b ) -

            - -

            Writes the brush b to the stream s and returns a reference -to the stream. -

            See also Format of the TQDataStream operators. - -

            TQDataStream & operator>> ( TQDataStream & s, TQBrush & b ) -

            - -

            Reads the brush b from the stream s and returns a reference -to the stream. -

            See also Format of the TQDataStream operators. - - -


            -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/ntqbutton.html b/doc/html/ntqbutton.html index 80dbb2dd5..7030c2fb3 100644 --- a/doc/html/ntqbutton.html +++ b/doc/html/ntqbutton.html @@ -242,7 +242,7 @@ for a button that has autoRepeat turned on.

            See also pressed(), released(), toggled(), autoRepeat, and down.

            Examples: chart/setdataform.cpp, listbox/listbox.cpp, network/clientserver/client/client.cpp, progressbar/progressbar.cpp, richtext/richtext.cpp, t2/main.cpp, and t4/main.cpp. -

            void TQButton::drawButton ( TQPainter * ) [virtual protected] +

            void TQButton::drawButton ( TQPainter * ) [virtual protected]

            Draws the button. The default implementation does nothing.

            This virtual function is reimplemented by subclasses to draw real @@ -250,7 +250,7 @@ buttons. At some point, these reimplementations should call drawButtonLabel().

            See also drawButtonLabel() and paintEvent(). -

            void TQButton::drawButtonLabel ( TQPainter * ) [virtual protected] +

            void TQButton::drawButtonLabel ( TQPainter * ) [virtual protected]

            Draws the button text or pixmap.

            This virtual function is reimplemented by subclasses to draw real @@ -283,7 +283,7 @@ See the "on" property for details.

            bool TQButton::isToggleButton () const

            Returns TRUE if the button is a toggle button; otherwise returns FALSE. See the "toggleButton" property for details. -

            void TQButton::paintEvent ( TQPaintEvent * ) [virtual protected] +

            void TQButton::paintEvent ( TQPaintEvent * ) [virtual protected]

            Handles paint events for buttons. Small and typically complex buttons are painted double-buffered to reduce flicker. The diff --git a/doc/html/ntqcolor.html b/doc/html/ntqcolor.html deleted file mode 100644 index fb4d876f0..000000000 --- a/doc/html/ntqcolor.html +++ /dev/null @@ -1,618 +0,0 @@ - - - - - -TQColor Class - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            TQColor Class Reference

            - -

            The TQColor class provides colors based on RGB or HSV values. -More... -

            #include <ntqcolor.h> -

            List of all member functions. -

            Public Members

            -
              -
            • enum Spec { Rgb, Hsv }
            • -
            • TQColor ()
            • -
            • TQColor ( int r, int g, int b )
            • -
            • TQColor ( int x, int y, int z, Spec colorSpec )
            • -
            • TQColor ( TQRgb rgb, uint pixel = 0xffffffff )
            • -
            • TQColor ( const TQString & name )
            • -
            • TQColor ( const char * name )
            • -
            • TQColor ( const TQColor & c )
            • -
            • TQColor & operator= ( const TQColor & c )
            • -
            • bool isValid () const
            • -
            • TQString name () const
            • -
            • void setNamedColor ( const TQString & name )
            • -
            • TQRgb rgb () const
            • -
            • void setRgb ( int r, int g, int b )
            • -
            • void setRgb ( TQRgb rgb )
            • -
            • void getRgb ( int * r, int * g, int * b ) const
            • -
            • void rgb ( int * r, int * g, int * b ) const  (obsolete)
            • -
            • int red () const
            • -
            • int green () const
            • -
            • int blue () const
            • -
            • void setHsv ( int h, int s, int v )
            • -
            • void getHsv ( int * h, int * s, int * v ) const
            • -
            • void hsv ( int * h, int * s, int * v ) const  (obsolete)
            • -
            • void getHsv ( int & h, int & s, int & v ) const  (obsolete)
            • -
            • TQColor light ( int factor = 150 ) const
            • -
            • TQColor dark ( int factor = 200 ) const
            • -
            • bool operator== ( const TQColor & c ) const
            • -
            • bool operator!= ( const TQColor & c ) const
            • -
            • uint alloc ()
            • -
            • uint pixel () const
            • -
            • uint pixel ( int screen ) const
            • -
            -

            Static Public Members

            - -

            Related Functions

            -
              -
            • TQDataStream & operator<< ( TQDataStream & s, const TQColor & c )
            • -
            • TQDataStream & operator>> ( TQDataStream & s, TQColor & c )
            • -
            • int tqRed ( TQRgb rgb )
            • -
            • int tqGreen ( TQRgb rgb )
            • -
            • int tqBlue ( TQRgb rgb )
            • -
            • int tqAlpha ( TQRgb rgba )
            • -
            • TQRgb tqRgb ( int r, int g, int b )
            • -
            • TQRgb tqRgba ( int r, int g, int b, int a )
            • -
            • int tqGray ( int r, int g, int b )
            • -
            • int tqGray ( tqRgb rgb )
            • -
            -

            Detailed Description

            - - -The TQColor class provides colors based on RGB or HSV values. -

            - - -

            A color is normally specified in terms of RGB (red, green and blue) -components, but it is also possible to specify HSV (hue, saturation -and value) or set a color name (the names are copied from from the -X11 color database). -

            In addition to the RGB value, a TQColor also has a pixel value and a -validity. The pixel value is used by the underlying window system -to refer to a color. It can be thought of as an index into the -display hardware's color table. -

            The validity (isValid()) indicates whether the color is legal at -all. For example, a RGB color with RGB values out of range is -illegal. For performance reasons, TQColor mostly disregards illegal -colors. The result of using an invalid color is unspecified and -will usually be surprising. -

            There are 19 predefined TQColor objects: white, black, red, darkRed, green, darkGreen, blue, darkBlue, cyan, darkCyan, magenta, darkMagenta, yellow, darkYellow, gray, darkGray, lightGray, color0 and color1, accessible as members of the TQt namespace (ie. TQt::red). -

            TQt Colors
            -

            The colors color0 (zero pixel value) and color1 (non-zero -pixel value) are special colors for drawing in bitmaps. Painting with color0 sets the bitmap bits to 0 -(transparent, i.e. background), and painting with color1 sets the -bits to 1 (opaque, i.e. foreground). -

            The TQColor class has an efficient, dynamic color allocation -strategy. A color is normally allocated the first time it is used -(lazy allocation), that is, whenever the pixel() function is called. -The following steps are taken to allocate a color. If, at any point, -a suitable color is found then the appropriate pixel value is -returned and the subsequent steps are not taken: -

              -
            1. Is the pixel value valid? If it is, just return it; otherwise, -allocate a pixel value. -
            2. Check an internal hash table to see if we allocated an equal RGB -value earlier. If we did, set the corresponding pixel value for the -color and return it. -
            3. Try to allocate the RGB value. If we succeed, we get a pixel value -that we save in the internal table with the RGB value. -Return the pixel value. -
            4. The color could not be allocated. Find the closest matching -color, save it in the internal table, and return it. -
            -

            A color can be set by passing setNamedColor() an RGB string like -"#112233", or a color name, e.g. "blue". The names are taken from -X11's rgb.txt database but can also be used under Windows. To get -a lighter or darker color use light() and dark() respectively. -Colors can also be set using setRgb() and setHsv(). The color -components can be accessed in one go with rgb() and hsv(), or -individually with red(), green() and blue(). -

            Use maxColors() and numBitPlanes() to determine the maximum number -of colors and the number of bit planes supported by the underlying -window system, -

            If you need to allocate many colors temporarily, for example in an -image viewer application, enterAllocContext(), leaveAllocContext() and -destroyAllocContext() will prove useful. -

            HSV Colors -

            -

            Because many people don't know the HSV color model very well, we'll -cover it briefly here. -

            The RGB model is hardware-oriented. Its representation is close to -what most monitors show. In contrast, HSV represents color in a way -more suited to the human perception of color. For example, the -relationships "stronger than", "darker than" and "the opposite of" -are easily expressed in HSV but are much harder to express in RGB. -

            HSV, like RGB, has three components: -

              -

            • H, for hue, is either 0-359 if the color is chromatic (not -gray), or meaningless if it is gray. It represents degrees on the -color wheel familiar to most people. Red is 0 (degrees), green is -120 and blue is 240. -

            • S, for saturation, is 0-255, and the bigger it is, the -stronger the color is. Grayish colors have saturation near 0; very -strong colors have saturation near 255. -

            • V, for value, is 0-255 and represents lightness or brightness -of the color. 0 is black; 255 is as far from black as possible. -

            -

            Here are some examples: Pure red is H=0, S=255, V=255. A dark red, -moving slightly towards the magenta, could be H=350 (equivalent to --10), S=255, V=180. A grayish light red could have H about 0 (say -350-359 or 0-10), S about 50-100, and S=255. -

            TQt returns a hue value of -1 for achromatic colors. If you pass a -too-big hue value, TQt forces it into range. Hue 360 or 720 is -treated as 0; hue 540 is treated as 180. -

            See also TQPalette, TQColorGroup, TQApplication::setColorSpec(), Color FAQ, Widget Appearance and Style, Graphics Classes, and Image Processing Classes. - -


            Member Type Documentation

            -

            TQColor::Spec

            - -

            The type of color specified, either RGB or HSV, e.g. in the -TQColor::TQColor( x, y, z, colorSpec) constructor. -

              -
            • TQColor::Rgb -
            • TQColor::Hsv -
            -

            Member Function Documentation

            -

            TQColor::TQColor () -

            - -

            Constructs an invalid color with the RGB value (0, 0, 0). An -invalid color is a color that is not properly set up for the -underlying window system. -

            The alpha value of an invalid color is unspecified. -

            See also isValid(). - -

            TQColor::TQColor ( int r, int g, int b ) -

            - -

            Constructs a color with the RGB value r, g, b, in the -same way as setRgb(). -

            The color is left invalid if any or the arguments are illegal. -

            See also setRgb(). - -

            TQColor::TQColor ( int x, int y, int z, Spec colorSpec ) -

            -Constructs a color with the RGB or HSV value x, y, z. -

            The arguments are an RGB value if colorSpec is TQColor::Rgb. x (red), y (green), and z (blue). All of them must be in the -range 0-255. -

            The arguments are an HSV value if colorSpec is TQColor::Hsv. x (hue) must be -1 for achromatic colors and 0-359 for chromatic -colors; y (saturation) and z (value) must both be in the -range 0-255. -

            See also setRgb() and setHsv(). - -

            TQColor::TQColor ( TQRgb rgb, uint pixel = 0xffffffff ) -

            -Constructs a color with the RGB value rgb and a custom pixel -value pixel. -

            If pixel == 0xffffffff (the default), then the color uses the -RGB value in a standard way. If pixel is something else, then -the pixel value is set directly to pixel, skipping the normal -allocation procedure. - -

            TQColor::TQColor ( const TQString & name ) -

            -Constructs a named color in the same way as setNamedColor() using -name name. -

            The color is left invalid if name cannot be parsed. -

            See also setNamedColor(). - -

            TQColor::TQColor ( const char * name ) -

            -Constructs a named color in the same way as setNamedColor() using -name name. -

            The color is left invalid if name cannot be parsed. -

            See also setNamedColor(). - -

            TQColor::TQColor ( const TQColor & c ) -

            -Constructs a color that is a copy of c. - -

            uint TQColor::alloc () -

            -Allocates the RGB color and returns the pixel value. -

            Allocating a color means to obtain a pixel value from the RGB -specification. The pixel value is an index into the global color -table, but should be considered an arbitrary platform-dependent value. -

            The pixel() function calls alloc() if necessary, so in general you -don't need to call this function. -

            See also enterAllocContext(). - -

            int TQColor::blue () const -

            - -

            Returns the B (blue) component of the RGB value. - -

            void TQColor::cleanup () [static] -

            -Internal clean up required for TQColor. -This function is called from the TQApplication destructor. -

            See also initialize(). - -

            TQStringList TQColor::colorNames () [static] -

            - -Returns a TQStringList containing the color names TQt knows about. - -

            int TQColor::currentAllocContext () [static] -

            -Returns the current color allocation context. -

            The default context is 0. -

            See also enterAllocContext() and leaveAllocContext(). - -

            TQColor TQColor::dark ( int factor = 200 ) const -

            -Returns a darker (or lighter) color, but does not change this -object. -

            Returns a darker color if factor is greater than 100. Setting -factor to 300 returns a color that has one-third the -brightness. -

            Returns a lighter color if factor is less than 100. We -recommend using lighter() for this purpose. If factor is 0 or -negative, the return value is unspecified. -

            (This function converts the current RGB color to HSV, divides V by -factor and converts back to RGB.) -

            See also light(). - -

            Examples: desktop/desktop.cpp and themes/wood.cpp. -

            void TQColor::destroyAllocContext ( int context ) [static] -

            -Destroys a color allocation context, context. -

            This function deallocates all colors that were allocated in the -specified context. If context == -1, it frees up all colors -that the application has allocated. If context == -2, it frees -up all colors that the application has allocated, except those in -the default context. -

            The function does nothing for true color displays. -

            See also enterAllocContext() and alloc(). - -

            Example: showimg/showimg.cpp. -

            int TQColor::enterAllocContext () [static] -

            -Enters a color allocation context and returns a non-zero unique -identifier. -

            Color allocation contexts are useful for programs that need to -allocate many colors and throw them away later, like image -viewers. The allocation context functions work for true color -displays as well as for colormap displays, except that -TQColor::destroyAllocContext() does nothing for true color. -

            Example: -

            -    TQPixmap loadPixmap( TQString fileName )
            -    {
            -        static int alloc_context = 0;
            -        if ( alloc_context )
            -            TQColor::destroyAllocContext( alloc_context );
            -        alloc_context = TQColor::enterAllocContext();
            -        TQPixmap pm( fileName );
            -        TQColor::leaveAllocContext();
            -        return pm;
            -    }
            -    
            - -

            The example code loads a pixmap from file. It frees up all colors -that were allocated the last time loadPixmap() was called. -

            The initial/default context is 0. TQt keeps a list of colors -associated with their allocation contexts. You can call -destroyAllocContext() to get rid of all colors that were allocated -in a specific context. -

            Calling enterAllocContext() enters an allocation context. The -allocation context lasts until you call leaveAllocContext(). -TQColor has an internal stack of allocation contexts. Each call to -enterAllocContex() must have a corresponding leaveAllocContext(). -

            -        // context 0 active
            -    int c1 = TQColor::enterAllocContext();    // enter context c1
            -        // context c1 active
            -    int c2 = TQColor::enterAllocContext();    // enter context c2
            -        // context c2 active
            -    TQColor::leaveAllocContext();             // leave context c2
            -        // context c1 active
            -    TQColor::leaveAllocContext();             // leave context c1
            -        // context 0 active
            -        // Now, free all colors that were allocated in context c2
            -    TQColor::destroyAllocContext( c2 );
            -    
            - -

            You may also want to set the application's color specification. -See TQApplication::setColorSpec() for more information. -

            See also leaveAllocContext(), currentAllocContext(), destroyAllocContext(), and TQApplication::setColorSpec(). - -

            Example: showimg/showimg.cpp. -

            void TQColor::getHsv ( int * h, int * s, int * v ) const -

            -

            Returns the current RGB value as HSV. The contents of the h, s and v pointers are set to the HSV values. If any of the three -pointers are null, the function does nothing. -

            The hue (which h points to) is set to -1 if the color is -achromatic. -

            Warning: Colors are stored internally as RGB values, so getHSv() -may return slightly different values to those set by setHsv(). -

            See also setHsv() and rgb(). - -

            void TQColor::getHsv ( int & h, int & s, int & v ) const -

            - -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

            -

            void TQColor::getRgb ( int * r, int * g, int * b ) const -

            -

            Sets the contents pointed to by r, g and b to the red, -green and blue components of the RGB value respectively. The value -range for a component is 0..255. -

            See also rgb(), setRgb(), and getHsv(). - -

            int TQColor::green () const -

            - -

            Returns the G (green) component of the RGB value. - -

            void TQColor::hsv ( int * h, int * s, int * v ) const -

            This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -Use getHsv() instead. - -

            Example: themes/metal.cpp. -

            void TQColor::initialize () [static] -

            -Internal initialization required for TQColor. -This function is called from the TQApplication constructor. -

            See also cleanup(). - -

            bool TQColor::isValid () const -

            - -

            Returns FALSE if the color is invalid, i.e. it was constructed using the -default constructor; otherwise returns TRUE. - -

            Examples: chart/element.cpp, chart/setdataform.cpp, and scribble/scribble.cpp. -

            void TQColor::leaveAllocContext () [static] -

            -Leaves a color allocation context. -

            See enterAllocContext() for a detailed explanation. -

            See also enterAllocContext() and currentAllocContext(). - -

            Example: showimg/showimg.cpp. -

            TQColor TQColor::light ( int factor = 150 ) const -

            -Returns a lighter (or darker) color, but does not change this -object. -

            Returns a lighter color if factor is greater than 100. Setting -factor to 150 returns a color that is 50% brighter. -

            Returns a darker color if factor is less than 100. We recommend -using dark() for this purpose. If factor is 0 or negative, the -return value is unspecified. -

            (This function converts the current RGB color to HSV, multiplies V -by factor, and converts the result back to RGB.) -

            See also dark(). - -

            Examples: desktop/desktop.cpp and themes/wood.cpp. -

            int TQColor::maxColors () [static] -

            -Returns the maximum number of colors supported by the underlying -window system if the window system uses a palette. -

            Otherwise returns -1. Use numBitPlanes() to calculate the available -colors in that case. - -

            TQString TQColor::name () const -

            -Returns the name of the color in the format "#RRGGBB", i.e. a "#" -character followed by three two-digit hexadecimal numbers. -

            See also setNamedColor(). - -

            Example: chart/setdataform.cpp. -

            int TQColor::numBitPlanes () [static] -

            -Returns the number of color bit planes for the underlying window -system. -

            The returned value is equal to the default pixmap depth. -

            See also TQPixmap::defaultDepth(). - -

            bool TQColor::operator!= ( const TQColor & c ) const -

            - -Returns TRUE if this color has a different RGB value from c; -otherwise returns FALSE. - -

            TQColor & TQColor::operator= ( const TQColor & c ) -

            -Assigns a copy of the color c and returns a reference to this -color. - -

            bool TQColor::operator== ( const TQColor & c ) const -

            - -

            Returns TRUE if this color has the same RGB value as c; -otherwise returns FALSE. - -

            uint TQColor::pixel () const -

            -Returns the pixel value. -

            This value is used by the underlying window system to refer to a -color. It can be thought of as an index into the display -hardware's color table, but the value is an arbitrary 32-bit -value. -

            See also alloc(). - -

            uint TQColor::pixel ( int screen ) const -

            -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            Returns the pixel value for screen screen. -

            This value is used by the underlying window system to refer to a color. -It can be thought of as an index into the display hardware's color table, -but the value is an arbitrary 32-bit value. -

            See also alloc(). - -

            int TQColor::red () const -

            - -

            Returns the R (red) component of the RGB value. - -

            TQRgb TQColor::rgb () const -

            - -

            Returns the RGB value. -

            The return type TQRgb is equivalent to unsigned int. -

            For an invalid color, the alpha value of the returned color is -unspecified. -

            See also setRgb(), hsv(), tqRed(), tqBlue(), tqGreen(), and isValid(). - -

            void TQColor::rgb ( int * r, int * g, int * b ) const -

            This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -Use getRgb() instead -

            void TQColor::setHsv ( int h, int s, int v ) -

            -Sets a HSV color value. h is the hue, s is the saturation -and v is the value of the HSV color. -

            If s or v are not in the range 0-255, or h is < -1, the -color is not changed. -

            Warning: Colors are stored internally as RGB values, so getHSv() -may return slightly different values to those set by setHsv(). -

            See also hsv() and setRgb(). - -

            Examples: drawdemo/drawdemo.cpp, grapher/grapher.cpp, and progress/progress.cpp. -

            void TQColor::setNamedColor ( const TQString & name ) -

            -Sets the RGB value to name, which may be in one of these -formats: -
              -
            • #RGB (each of R, G and B is a single hex digit) -
            • #RRGGBB -
            • #RRRGGGBBB -
            • #RRRRGGGGBBBB -
            • A name from the X color database (rgb.txt) (e.g. -"steelblue" or "gainsboro"). These color names also work -under Windows. -
            -

            The color is invalid if name cannot be parsed. - -

            void TQColor::setRgb ( int r, int g, int b ) -

            -Sets the RGB value to r, g, b. The arguments, r, g -and b must all be in the range 0..255. If any of them are -outside the legal range, the color is not changed. -

            See also rgb() and setHsv(). - -

            void TQColor::setRgb ( TQRgb rgb ) -

            -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            Sets the RGB value to rgb. -

            The type TQRgb is equivalent to unsigned int. -

            See also rgb() and setHsv(). - -


            Related Functions

            -

            TQDataStream & operator<< ( TQDataStream & s, const TQColor & c ) -

            - -Writes a color object, c to the stream, s. -

            See also Format of the TQDataStream operators. - -

            TQDataStream & operator>> ( TQDataStream & s, TQColor & c ) -

            - -Reads a color object, c, from the stream, s. -

            See also Format of the TQDataStream operators. - -

            int tqAlpha ( TQRgb rgba ) -

            - - -

            Returns the alpha component of the RGBA quadruplet rgba. - -

            int tqBlue ( TQRgb rgb ) -

            - - -

            Returns the blue component of the RGB triplet rgb. -

            See also tqRgb() and TQColor::blue(). - -

            int tqGray ( int r, int g, int b ) -

            - - -

            Returns a gray value 0..255 from the (r, g, b) triplet. -

            The gray value is calculated using the formula (r*11 + g*16 + -b*5)/32. - -

            int tqGray ( tqRgb rgb ) -

            -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

            -

            Returns a gray value 0..255 from the given rgb colour. - -

            int tqGreen ( TQRgb rgb ) -

            - - -

            Returns the green component of the RGB triplet rgb. -

            See also tqRgb() and TQColor::green(). - -

            int tqRed ( TQRgb rgb ) -

            - - -

            Returns the red component of the RGB triplet rgb. -

            See also tqRgb() and TQColor::red(). - -

            TQRgb tqRgb ( int r, int g, int b ) -

            - - -

            Returns the RGB triplet (r,g,b). -

            The return type TQRgb is equivalent to unsigned int. -

            See also tqRgba(), tqRed(), tqGreen(), and tqBlue(). - -

            TQRgb tqRgba ( int r, int g, int b, int a ) -

            - - -

            Returns the RGBA quadruplet (r,g,b,a). -

            The return type TQRgba is equivalent to unsigned int. -

            See also tqRgb(), tqRed(), tqGreen(), and tqBlue(). - - -


            -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/ntqcolordialog.html b/doc/html/ntqcolordialog.html deleted file mode 100644 index 6209c39fb..000000000 --- a/doc/html/ntqcolordialog.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - -TQColorDialog Class - - - - - - - -
            - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

            TQColorDialog Class Reference

            - -

            The TQColorDialog class provides a dialog widget for specifying colors. -More... -

            #include <ntqcolordialog.h> -

            Inherits TQDialog. -

            List of all member functions. -

            Static Public Members

            -
              -
            • TQColor getColor ( const TQColor & initial = white, TQWidget * parent = 0, const char * name = 0 )
            • -
            • TQRgb getRgba ( TQRgb initial, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )
            • -
            • int customCount ()
            • -
            • TQRgb customColor ( int i )
            • -
            • void setCustomColor ( int i, TQRgb c )
            • -
            • void setStandardColor ( int i, TQRgb c )
            • -
            -

            Detailed Description

            - - -The TQColorDialog class provides a dialog widget for specifying colors. - - - -

            The color dialog's function is to allow users to choose colors. -For example, you might use this in a drawing program to allow the -user to set the brush color. -

            The static functions provide modal color dialogs. - -

            The static getColor() function shows the dialog and allows the -user to specify a color. The getRgba() function does the same but -also allows the user to specify a color with an alpha channel -(transparency) value. -

            The user can store customCount() different custom colors. The -custom colors are shared by all color dialogs, and remembered -during the execution of the program. Use setCustomColor() to set -the custom colors, and use customColor() to get them. -

            See also Dialog Classes and Graphics Classes. - -


            Member Function Documentation

            -

            TQRgb TQColorDialog::customColor ( int i ) [static] -

            -Returns custom color number i as a TQRgb. - -

            int TQColorDialog::customCount () [static] -

            -Returns the number of custom colors supported by TQColorDialog. All -color dialogs share the same custom colors. - -

            TQColor TQColorDialog::getColor ( const TQColor & initial = white, TQWidget * parent = 0, const char * name = 0 ) [static] -

            -Pops up a modal color dialog, lets the user choose a color, and -returns that color. The color is initially set to initial. The -dialog is a child of parent and is called name. It returns -an invalid (see TQColor::isValid()) color if the user cancels the -dialog. All colors allocated by the dialog will be deallocated -before this function returns. - -

            Examples: chart/setdataform.cpp and scribble/scribble.cpp. -

            TQRgb TQColorDialog::getRgba ( TQRgb initial, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) [static] -

            -Pops up a modal color dialog to allow the user to choose a color -and an alpha channel (transparency) value. The color+alpha is -initially set to initial. The dialog is a child of parent -and called name. -

            If ok is non-null, *ok is set to TRUE if the user clicked -OK, and to FALSE if the user clicked Cancel. -

            If the user clicks Cancel, the initial value is returned. - -

            void TQColorDialog::setCustomColor ( int i, TQRgb c ) [static] -

            -Sets custom color number i to the TQRgb value c. - -

            void TQColorDialog::setStandardColor ( int i, TQRgb c ) [static] -

            -Sets standard color number i to the TQRgb value c. - - -

            -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


            - -
            Copyright © 2007 -TrolltechTrademarks -
            TQt 3.3.8
            -
            - diff --git a/doc/html/ntqcombobox.html b/doc/html/ntqcombobox.html index 2847453de..ddce9ba53 100644 --- a/doc/html/ntqcombobox.html +++ b/doc/html/ntqcombobox.html @@ -448,7 +448,7 @@ the user presses Enter.

            void TQComboBox::setEditable ( bool )

            Sets whether the combobox is editable. See the "editable" property for details. -

            void TQComboBox::setFont ( const TQFont & font ) [virtual] +

            void TQComboBox::setFont ( const TQFont & font ) [virtual]

            Sets the font for both the combobox button and the combobox popup list to font. diff --git a/doc/html/ntqdesktopwidget.html b/doc/html/ntqdesktopwidget.html index 1f32a0c6d..1a2dc55a0 100644 --- a/doc/html/ntqdesktopwidget.html +++ b/doc/html/ntqdesktopwidget.html @@ -150,10 +150,10 @@ Returns a widget that represents the screen with index screen. This widget can be used to draw directly on the desktop, using an unclipped painter like this:

            -    TQPainter paint( TQApplication::desktop()->screen( 0 ), TRUE );
            +    TQPainter paint( TQApplication::desktop()->screen( 0 ), TRUE );
                 paint.draw...
                 ...
            -    paint.end();
            +    paint.end();
                 

            If the system uses a virtual desktop, the returned widget will diff --git a/doc/html/ntqdialog.html b/doc/html/ntqdialog.html index 5cc165e45..a545ffbfc 100644 --- a/doc/html/ntqdialog.html +++ b/doc/html/ntqdialog.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } More...

            #include <ntqdialog.h>

            Inherits TQWidget. -

            Inherited by TQColorDialog, TQErrorMessage, TQFileDialog, TQFontDialog, TQInputDialog, TQMessageBox, TQMotifDialog, TQProgressDialog, TQTabDialog, and TQWizard. +

            Inherited by TQColorDialog, TQErrorMessage, TQFileDialog, TQFontDialog, TQInputDialog, TQMessageBox, TQMotifDialog, TQProgressDialog, TQTabDialog, and TQWizard.

            List of all member functions.

            Public Members

              diff --git a/doc/html/ntqevent.html b/doc/html/ntqevent.html index 643940701..0c7a72b7b 100644 --- a/doc/html/ntqevent.html +++ b/doc/html/ntqevent.html @@ -36,7 +36,7 @@ event classes. Event objects contain event parameters. More...

              #include <ntqevent.h>

              Inherits TQt. -

              Inherited by TQTimerEvent, TQMouseEvent, TQWheelEvent, TQTabletEvent, TQKeyEvent, TQFocusEvent, TQPaintEvent, TQMoveEvent, TQResizeEvent, TQCloseEvent, TQIconDragEvent, TQShowEvent, TQHideEvent, TQContextMenuEvent, TQIMEvent, TQDropEvent, TQDragLeaveEvent, TQChildEvent, and TQCustomEvent. +

              Inherited by TQTimerEvent, TQMouseEvent, TQWheelEvent, TQTabletEvent, TQKeyEvent, TQFocusEvent, TQPaintEvent, TQMoveEvent, TQResizeEvent, TQCloseEvent, TQIconDragEvent, TQShowEvent, TQHideEvent, TQContextMenuEvent, TQIMEvent, TQDropEvent, TQDragLeaveEvent, TQChildEvent, and TQCustomEvent.

              List of all member functions.

              Public Members

                @@ -94,7 +94,7 @@ types and the specialized classes for each type are these:
              • TQEvent::FocusOut - Widget loses keyboard focus, TQFocusEvent.
              • TQEvent::Enter - Mouse enters widget's boundaries.
              • TQEvent::Leave - Mouse leaves widget's boundaries. -
              • TQEvent::Paint - Screen update necessary, TQPaintEvent. +
              • TQEvent::Paint - Screen update necessary, TQPaintEvent.
              • TQEvent::Move - Widget's position changed, TQMoveEvent.
              • TQEvent::Resize - Widget's size changed, TQResizeEvent.
              • TQEvent::Show - Widget was shown on screen, TQShowEvent. diff --git a/doc/html/ntqfont.html b/doc/html/ntqfont.html deleted file mode 100644 index f27c9992b..000000000 --- a/doc/html/ntqfont.html +++ /dev/null @@ -1,910 +0,0 @@ - - - - - -TQFont Class - - - - - - - -
                - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

                TQFont Class Reference

                - -

                The TQFont class specifies a font used for drawing text. -More... -

                #include <ntqfont.h> -

                List of all member functions. -

                Public Members

                -
                  -
                • enum StyleHint { Helvetica, SansSerif = Helvetica, Times, Serif = Times, Courier, TypeWriter = Courier, OldEnglish, Decorative = OldEnglish, System, AnyStyle }
                • -
                • enum StyleStrategy { PreferDefault = 0x0001, PreferBitmap = 0x0002, PreferDevice = 0x0004, PreferOutline = 0x0008, ForceOutline = 0x0010, PreferMatch = 0x0020, PreferQuality = 0x0040, PreferAntialias = 0x0080, NoAntialias = 0x0100, OpenGLCompatible = 0x0200 }
                • -
                • enum Weight { Light = 25, Normal = 50, DemiBold = 63, Bold = 75, Black = 87 }
                • -
                • enum Stretch { UltraCondensed = 50, ExtraCondensed = 62, Condensed = 75, SemiCondensed = 87, Unstretched = 100, SemiExpanded = 112, Expanded = 125, ExtraExpanded = 150, UltraExpanded = 200 }
                • -
                • TQFont ()
                • -
                • TQFont ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )
                • -
                • TQFont ( const TQFont & font )
                • -
                • ~TQFont ()
                • -
                • TQString family () const
                • -
                • void setFamily ( const TQString & family )
                • -
                • int pointSize () const
                • -
                • float pointSizeFloat () const
                • -
                • void setPointSize ( int pointSize )
                • -
                • void setPointSizeFloat ( float pointSize )
                • -
                • int pixelSize () const
                • -
                • void setPixelSize ( int pixelSize )
                • -
                • void setPixelSizeFloat ( float pixelSize )  (obsolete)
                • -
                • int weight () const
                • -
                • void setWeight ( int weight )
                • -
                • bool bold () const
                • -
                • void setBold ( bool enable )
                • -
                • bool italic () const
                • -
                • void setItalic ( bool enable )
                • -
                • bool underline () const
                • -
                • void setUnderline ( bool enable )
                • -
                • bool overline () const
                • -
                • void setOverline ( bool enable )
                • -
                • bool strikeOut () const
                • -
                • void setStrikeOut ( bool enable )
                • -
                • bool fixedPitch () const
                • -
                • void setFixedPitch ( bool enable )
                • -
                • StyleHint styleHint () const
                • -
                • StyleStrategy styleStrategy () const
                • -
                • void setStyleHint ( StyleHint hint, StyleStrategy strategy = PreferDefault )
                • -
                • void setStyleStrategy ( StyleStrategy s )
                • -
                • int stretch () const
                • -
                • void setStretch ( int factor )
                • -
                • bool rawMode () const
                • -
                • void setRawMode ( bool enable )
                • -
                • bool exactMatch () const
                • -
                • TQFont & operator= ( const TQFont & font )
                • -
                • bool operator== ( const TQFont & f ) const
                • -
                • bool operator!= ( const TQFont & f ) const
                • -
                • bool isCopyOf ( const TQFont & f ) const
                • -
                • HFONT handle () const
                • -
                • void setRawName ( const TQString & name )
                • -
                • TQString rawName () const
                • -
                • TQString key () const
                • -
                • TQString toString () const
                • -
                • bool fromString ( const TQString & descrip )
                • -
                • enum Script { Latin, Greek, Cyrillic, Armenian, Georgian, Runic, Ogham, SpacingModifiers, CombiningMarks, Hebrew, Arabic, Syriac, Thaana, Devanagari, Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu, Kannada, Malayalam, Sinhala, Thai, Lao, Tibetan, Myanmar, Khmer, Han, Hiragana, Katakana, Hangul, Bopomofo, Yi, Ethiopic, Cherokee, CanadianAboriginal, Mongolian, CurrencySymbols, LetterlikeSymbols, NumberForms, MathematicalOperators, TechnicalSymbols, GeometricSymbols, MiscellaneousSymbols, EnclosedAndSquare, Braille, Unicode, Tagalog, Hanunoo, Buhid, Tagbanwa, KatakanaHalfWidth, Limbu, TaiLe }
                • -
                • TQString defaultFamily () const
                • -
                • TQString lastResortFamily () const
                • -
                • TQString lastResortFont () const
                • -
                • TQFont resolve ( const TQFont & other ) const
                • -
                -

                Static Public Members

                -
                  -
                • TQString substitute ( const TQString & familyName )
                • -
                • TQStringList substitutes ( const TQString & familyName )
                • -
                • TQStringList substitutions ()
                • -
                • void insertSubstitution ( const TQString & familyName, const TQString & substituteName )
                • -
                • void insertSubstitutions ( const TQString & familyName, const TQStringList & substituteNames )
                • -
                • void removeSubstitution ( const TQString & familyName )
                • -
                • TQFont defaultFont ()  (obsolete)
                • -
                • void setDefaultFont ( const TQFont & f )  (obsolete)
                • -
                -

                Protected Members

                - -

                Related Functions

                -
                  -
                • TQDataStream & operator<< ( TQDataStream & s, const TQFont & font )
                • -
                • TQDataStream & operator>> ( TQDataStream & s, TQFont & font )
                • -
                -

                Detailed Description

                - - -The TQFont class specifies a font used for drawing text. -

                - - - -

                When you create a TQFont object you specify various attributes that -you want the font to have. TQt will use the font with the specified -attributes, or if no matching font exists, TQt will use the closest -matching installed font. The attributes of the font that is -actually used are retrievable from a TQFontInfo object. If the -window system provides an exact match exactMatch() returns TRUE. -Use TQFontMetrics to get measurements, e.g. the pixel length of a -string using TQFontMetrics::width(). -

                Use TQApplication::setFont() to set the application's default font. -

                If a choosen X11 font does not include all the characters that -need to be displayed, TQFont will try to find the characters in the -nearest equivalent fonts. When a TQPainter draws a character from a -font the TQFont will report whether or not it has the character; if -it does not, TQPainter will draw an unfilled square. -

                Create TQFonts like this: -

                -    TQFont serifFont( "Times", 10, Bold );
                -    TQFont sansFont( "Helvetica [Cronyx]", 12 );
                -    
                - -

                The attributes set in the constructor can also be set later, e.g. -setFamily(), setPointSize(), setPointSizeFloat(), setWeight() and -setItalic(). The remaining attributes must be set after -contstruction, e.g. setBold(), setUnderline(), setOverline(), -setStrikeOut() and setFixedPitch(). TQFontInfo objects should be -created after the font's attributes have been set. A TQFontInfo -object will not change, even if you change the font's -attributes. The corresponding "get" functions, e.g. family(), -pointSize(), etc., return the values that were set, even though -the values used may differ. The actual values are available from a -TQFontInfo object. -

                If the requested font family is unavailable you can influence the -font matching algorithm by choosing a -particular TQFont::StyleHint and TQFont::StyleStrategy with -setStyleHint(). The default family (corresponding to the current -style hint) is returned by defaultFamily(). -

                The font-matching algorithm has a lastResortFamily() and -lastResortFont() in cases where a suitable match cannot be found. -You can provide substitutions for font family names using -insertSubstitution() and insertSubstitutions(). Substitutions can -be removed with removeSubstitution(). Use substitute() to retrieve -a family's first substitute, or the family name itself if it has -no substitutes. Use substitutes() to retrieve a list of a family's -substitutes (which may be empty). -

                Every TQFont has a key() which you can use, for example, as the key -in a cache or dictionary. If you want to store a user's font -preferences you could use TQSettings, writing the font information -with toString() and reading it back with fromString(). The -operator<<() and operator>>() functions are also available, but -they work on a data stream. -

                It is possible to set the height of characters shown on the screen -to a specified number of pixels with setPixelSize(); however using -setPointSize() has a similar effect and provides device -independence. -

                Under the X Window System you can set a font using its system -specific name with setRawName(). -

                Loading fonts can be expensive, especially on X11. TQFont contains -extensive optimizations to make the copying of TQFont objects fast, -and to cache the results of the slow window system functions it -depends upon. -

                -The font matching algorithm works as follows: -

                  -
                1. The specified font family is searched for. -
                2. If not found, the styleHint() is used to select a replacement -family. -
                3. Each replacement font family is searched for. -
                4. If none of these are found or there was no styleHint(), "helvetica" -will be searched for. -
                5. If "helvetica" isn't found TQt will try the lastResortFamily(). -
                6. If the lastResortFamily() isn't found TQt will try the -lastResortFont() which will always return a name of some kind. -
                -

                Once a font is found, the remaining attributes are matched in order of -priority: -

                  -
                1. fixedPitch() -
                2. pointSize() (see below) -
                3. weight() -
                4. italic() -
                -

                If you have a font which matches on family, even if none of the -other attributes match, this font will be chosen in preference to -a font which doesn't match on family but which does match on the -other attributes. This is because font family is the dominant -search criteria. -

                The point size is defined to match if it is within 20% of the -requested point size. When several fonts match and are only -distinguished by point size, the font with the closest point size -to the one requested will be chosen. -

                The actual family, font size, weight and other font attributes -used for drawing text will depend on what's available for the -chosen family under the window system. A TQFontInfo object can be -used to determine the actual values used for drawing the text. -

                Examples: -

                -    TQFont f("Helvetica");
                -    
                - -If you had both an Adobe and a Cronyx Helvetica, you might get -either. -

                -    TQFont f1( "Helvetica [Cronyx]" );  // TQt 3.x
                -    TQFont f2( "Cronyx-Helvetica" );    // TQt 2.x compatibility
                -    
                - -You can specify the foundry you want in the family name. Both fonts, -f1 and f2, in the above example will be set to "Helvetica -[Cronyx]". -

                To determine the attributes of the font actually used in the window -system, use a TQFontInfo object, e.g. -

                -    TQFontInfo info( f1 );
                -    TQString family = info.family();
                -    
                - -

                To find out font metrics use a TQFontMetrics object, e.g. -

                -    TQFontMetrics fm( f1 );
                -    int pixelWidth = fm.width( "How many pixels wide is this text?" );
                -    int pixelHeight = fm.height();
                -    
                - -

                For more general information on fonts, see the -comp.fonts FAQ. -Information on encodings can be found from -Roman Czyborra's page. -

                See also TQFontMetrics, TQFontInfo, TQFontDatabase, TQApplication::setFont(), TQWidget::font, TQPainter::setFont(), TQFont::StyleHint, TQFont::Weight, Widget Appearance and Style, Graphics Classes, and Implicitly and Explicitly Shared Classes. - -


                Member Type Documentation

                -

                TQFont::Script

                - -

                This enum represents Unicode allocated -scripts. For exhaustive coverage see The - Unicode Standard Version 3.0. The following scripts are -supported: -

                Modern European alphabetic scripts (left to right): -

                  -
                • TQFont::Latin - consists of most alphabets based on the original Latin alphabet. -
                • TQFont::Greek - covers ancient and modern Greek and Coptic. -
                • TQFont::Cyrillic - covers the Slavic and non-Slavic languages using -cyrillic alphabets. -
                • TQFont::Armenian - contains the Armenian alphabet used with the -Armenian language. -
                • TQFont::Georgian - covers at least the language Georgian. -
                • TQFont::Runic - covers the known constituents of the Runic alphabets used -by the early and medieval societies in the Germanic, -Scandinavian, and Anglo-Saxon areas. -
                • TQFont::Ogham - is an alphabetical script used to write a very early -form of Irish. -
                • TQFont::SpacingModifiers - are small signs indicating modifications -to the preceeding letter. -
                • TQFont::CombiningMarks - consist of diacritical marks not specific to -a particular alphabet, diacritical marks used in -combination with mathematical and technical symbols, and -glyph encodings applied to multiple letterforms. -

                Middle Eastern scripts (right to left): -

                  -
                • TQFont::Hebrew - is used for writing Hebrew, Yiddish, and some other languages. -
                • TQFont::Arabic - covers the Arabic language as well as Persian, Urdu, -Kurdish and some others. -
                • TQFont::Syriac - is used to write the active liturgical languages and -dialects of several Middle Eastern and Southeast Indian -communities. -
                • TQFont::Thaana - is used to write the Maledivian Dhivehi language. -

                South and Southeast Asian scripts (left to right with few historical exceptions): -

                  -
                • TQFont::Devanagari - covers classical Sanskrit and modern Hindi as -well as several other languages. -
                • TQFont::Bengali - is a relative to Devanagari employed to write the -Bengali language used in West Bengal/India and Bangladesh -as well as several minority languages. -
                • TQFont::Gurmukhi - is another Devanagari relative used to write Punjabi. -
                • TQFont::Gujarati - is closely related to Devanagari and used to write -the Gujarati language of the Gujarat state in India. -
                • TQFont::Oriya - is used to write the Oriya language of Orissa state/India. -
                • TQFont::Tamil - is used to write the Tamil language of Tamil Nadu state/India, -Sri Lanka, Singapore and parts of Malaysia as well as some -minority languages. -
                • TQFont::Telugu - is used to write the Telugu language of Andhra -Pradesh state/India and some minority languages. -
                • TQFont::Kannada - is another South Indian script used to write the -Kannada language of Karnataka state/India and some minority -languages. -
                • TQFont::Malayalam - is used to write the Malayalam language of Kerala -state/India. -
                • TQFont::Sinhala - is used for Sri Lanka's majority language Sinhala -and is also employed to write Pali, Sanskrit, and Tamil. -
                • TQFont::Thai - is used to write Thai and other Southeast Asian languages. -
                • TQFont::Lao - is a language and script quite similar to Thai. -
                • TQFont::Tibetan - is the script used to write Tibetan in several -countries like Tibet, the bordering Indian regions and -Nepal. It is also used in the Buddist philosophy and -liturgy of the Mongolian cultural area. -
                • TQFont::Myanmar - is mainly used to write the Burmese language of -Myanmar (former Burma). -
                • TQFont::Khmer - is the official language of Kampuchea. -

                East Asian scripts (traditionally top-down, right to left, modern -often horizontal left to right): -

                  -
                • TQFont::Han - consists of the CJK (Chinese, Japanese, Korean) -idiographic characters. -
                • TQFont::Hiragana - is a cursive syllabary used to indicate phonetics -and pronounciation of Japanese words. -
                • TQFont::Katakana - is a non-cursive syllabic script used to write -Japanese words with visual emphasis and non-Japanese words -in a phonetical manner. -
                • TQFont::Hangul - is a Korean script consisting of alphabetic components. -
                • TQFont::Bopomofo - is a phonetic alphabet for Chinese (mainly Mandarin). -
                • TQFont::Yi - (also called Cuan or Wei) is a syllabary used to write -the Yi language of Southwestern China, Myanmar, Laos, and Vietnam. -

                Additional scripts that do not fit well into the script categories above: -

                  -
                • TQFont::Ethiopic - is a syllabary used by several Central East African languages. -
                • TQFont::Cherokee - is a left-to-right syllabic script used to write -the Cherokee language. -
                • TQFont::CanadianAboriginal - consists of the syllabics used by some -Canadian aboriginal societies. -
                • TQFont::Mongolian - is the traditional (and recently reintroduced) -script used to write Mongolian. -

                Symbols: -

                  -
                • TQFont::CurrencySymbols - contains currency symbols not encoded in other scripts. -
                • TQFont::LetterlikeSymbols - consists of symbols derived from -ordinary letters of an alphabetical script. -
                • TQFont::NumberForms - are provided for compatibility with other -existing character sets. -
                • TQFont::MathematicalOperators - consists of encodings for operators, -relations and other symbols like arrows used in a mathematical context. -
                • TQFont::TechnicalSymbols - contains representations for control -codes, the space symbol, APL symbols and other symbols -mainly used in the context of electronic data processing. -
                • TQFont::GeometricSymbols - covers block elements and geometric shapes. -
                • TQFont::MiscellaneousSymbols - consists of a heterogeneous collection -of symbols that do not fit any other Unicode character -block, e.g. Dingbats. -
                • TQFont::EnclosedAndSquare - is provided for compatibility with some -East Asian standards. -
                • TQFont::Braille - is an international writing system used by blind -people. This script encodes the 256 eight-dot patterns with -the 64 six-dot patterns as a subset. -
                • TQFont::Tagalog -
                • TQFont::Hanunoo -
                • TQFont::Buhid -
                • TQFont::Tagbanwa -
                • TQFont::KatakanaHalfWidth -
                • TQFont::Limbu - (Unicode 4.0) -
                • TQFont::TaiLe - (Unicode 4.0) -
                • TQFont::Unicode - includes all the above scripts. -
                -

                TQFont::Stretch

                - -

                Predefined stretch values that follow the CSS naming convention. -

                  -
                • TQFont::UltraCondensed - 50 -
                • TQFont::ExtraCondensed - 62 -
                • TQFont::Condensed - 75 -
                • TQFont::SemiCondensed - 87 -
                • TQFont::Unstretched - 100 -
                • TQFont::SemiExpanded - 112 -
                • TQFont::Expanded - 125 -
                • TQFont::ExtraExpanded - 150 -
                • TQFont::UltraExpanded - 200 -

                See also setStretch() and stretch(). - -

                TQFont::StyleHint

                - -

                Style hints are used by the font - matching algorithm to find an appropriate default family -if a selected font family is not available. -

                  -
                • TQFont::AnyStyle - leaves the font matching algorithm to choose the -family. This is the default. -
                • TQFont::SansSerif - the font matcher prefer sans serif fonts. -
                • TQFont::Helvetica - is a synonym for SansSerif. -
                • TQFont::Serif - the font matcher prefers serif fonts. -
                • TQFont::Times - is a synonym for Serif. -
                • TQFont::TypeWriter - the font matcher prefers fixed pitch fonts. -
                • TQFont::Courier - a synonym for TypeWriter. -
                • TQFont::OldEnglish - the font matcher prefers decorative fonts. -
                • TQFont::Decorative - is a synonym for OldEnglish. -
                • TQFont::System - the font matcher prefers system fonts. -
                -

                TQFont::StyleStrategy

                - -

                The style strategy tells the font - matching algorithm what type of fonts should be used to -find an appropriate default family. -

                The following strategies are available: -

                  -
                • TQFont::PreferDefault - the default style strategy. It does not prefer -any type of font. -
                • TQFont::PreferBitmap - prefers bitmap fonts (as opposed to outline -fonts). -
                • TQFont::PreferDevice - prefers device fonts. -
                • TQFont::PreferOutline - prefers outline fonts (as opposed to bitmap fonts). -
                • TQFont::ForceOutline - forces the use of outline fonts. -
                • TQFont::NoAntialias - don't antialias the fonts. -
                • TQFont::PreferAntialias - antialias if possible. -
                • TQFont::OpenGLCompatible - forces the use of OpenGL compatible -fonts. -

                Any of these may be OR-ed with one of these flags: -

                  -
                • TQFont::PreferMatch - prefer an exact match. The font matcher will try to -use the exact font size that has been specified. -
                • TQFont::PreferQuality - prefer the best quality font. The font matcher -will use the nearest standard point size that the font -supports. -
                -

                TQFont::Weight

                - -

                TQt uses a weighting scale from 0 to 99 similar to, but not the -same as, the scales used in Windows or CSS. A weight of 0 is -ultralight, whilst 99 will be an extremely black. -

                This enum contains the predefined font weights: -

                  -
                • TQFont::Light - 25 -
                • TQFont::Normal - 50 -
                • TQFont::DemiBold - 63 -
                • TQFont::Bold - 75 -
                • TQFont::Black - 87 -
                -

                Member Function Documentation

                -

                TQFont::TQFont () -

                -Constructs a font object that uses the application's default font. -

                See also TQApplication::setFont() and TQApplication::font(). - -

                TQFont::TQFont ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE ) -

                -Constructs a font object with the specified family, pointSize, weight and italic settings. -

                If pointSize is <= 0 it is set to 1. -

                The family name may optionally also include a foundry name, -e.g. "Helvetica [Cronyx]". (The TQt 2.x syntax, i.e. -"Cronyx-Helvetica", is also supported.) If the family is -available from more than one foundry and the foundry isn't -specified, an arbitrary foundry is chosen. If the family isn't -available a family will be set using the font - matching algorithm. -

                See also Weight, setFamily(), setPointSize(), setWeight(), setItalic(), setStyleHint(), and TQApplication::font(). - -

                TQFont::TQFont ( const TQFont & font ) -

                -Constructs a font that is a copy of font. - -

                TQFont::~TQFont () -

                -Destroys the font object and frees all allocated resources. - -

                bool TQFont::bold () const -

                - -

                Returns TRUE if weight() is a value greater than TQFont::Normal; otherwise returns FALSE. -

                See also weight(), setBold(), and TQFontInfo::bold(). - -

                Example: chart/optionsform.cpp. -

                int TQFont::deciPointSize () const [protected] -

                -Returns the point size in 1/10ths of a point. -

                The returned value will be -1 if the font size has been specified -in pixels. -

                See also pointSize() and pointSizeFloat(). - -

                TQString TQFont::defaultFamily () const -

                -Returns the family name that corresponds to the current style -hint. -

                See also StyleHint, styleHint(), and setStyleHint(). - -

                TQFont TQFont::defaultFont () [static] -

                This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                Please use TQApplication::font() instead. - -

                bool TQFont::dirty () const [protected] -

                -Returns TRUE if the font attributes have been changed and the font -has to be (re)loaded; otherwise returns FALSE. - -

                bool TQFont::exactMatch () const -

                -Returns TRUE if a window system font exactly matching the settings -of this font is available. -

                See also TQFontInfo. - -

                TQString TQFont::family () const -

                -Returns the requested font family name, i.e. the name set in the -constructor or the last setFont() call. -

                See also setFamily(), substitutes(), and substitute(). - -

                Examples: chart/optionsform.cpp and fonts/simple-qfont-demo/viewer.cpp. -

                bool TQFont::fixedPitch () const -

                -Returns TRUE if fixed pitch has been set; otherwise returns FALSE. -

                See also setFixedPitch() and TQFontInfo::fixedPitch(). - -

                bool TQFont::fromString ( const TQString & descrip ) -

                -Sets this font to match the description descrip. The description -is a comma-separated list of the font attributes, as returned by -toString(). -

                See also toString() and operator>>(). - -

                HFONT TQFont::handle () const -

                -Returns the window system handle to the font, for low-level -access. Using this function is not portable. - -

                void TQFont::insertSubstitution ( const TQString & familyName, const TQString & substituteName ) [static] -

                -Inserts the family name substituteName into the substitution -table for familyName. -

                See also insertSubstitutions(), removeSubstitution(), substitutions(), substitute(), and substitutes(). - -

                Example: fonts/simple-qfont-demo/viewer.cpp. -

                void TQFont::insertSubstitutions ( const TQString & familyName, const TQStringList & substituteNames ) [static] -

                -Inserts the list of families substituteNames into the -substitution list for familyName. -

                See also insertSubstitution(), removeSubstitution(), substitutions(), and substitute(). - -

                Example: fonts/simple-qfont-demo/viewer.cpp. -

                bool TQFont::isCopyOf ( const TQFont & f ) const -

                -Returns TRUE if this font and f are copies of each other, i.e. -one of them was created as a copy of the other and neither has -been modified since. This is much stricter than equality. -

                See also operator=() and operator==(). - -

                bool TQFont::italic () const -

                -Returns TRUE if italic has been set; otherwise returns FALSE. -

                See also setItalic(). - -

                Example: chart/optionsform.cpp. -

                TQString TQFont::key () const -

                -Returns the font's key, a textual representation of a font. It is -typically used as the key for a cache or dictionary of fonts. -

                See also TQMap. - -

                TQString TQFont::lastResortFamily () const -

                -Returns the "last resort" font family name. -

                The current implementation tries a wide variety of common fonts, -returning the first one it finds. Is is possible that no family is -found in which case a null string is returned. -

                See also lastResortFont(). - -

                TQString TQFont::lastResortFont () const -

                -Returns a "last resort" font name for the font matching algorithm. -This is used if the last resort family is not available. It will -always return a name, if necessary returning something like -"fixed" or "system". -

                The current implementation tries a wide variety of common fonts, -returning the first one it finds. The implementation may change -at any time, but this function will always return a string -containing something. -

                It is theoretically possible that there really isn't a -lastResortFont() in which case TQt will abort with an error -message. We have not been able to identify a case where this -happens. Please report it as a bug if -it does, preferably with a list of the fonts you have installed. -

                See also lastResortFamily() and rawName(). - -

                bool TQFont::operator!= ( const TQFont & f ) const -

                -Returns TRUE if this font is different from f; otherwise -returns FALSE. -

                Two TQFonts are considered to be different if their font attributes -are different. If rawMode() is enabled for both fonts, only the -family fields are compared. -

                See also operator==(). - -

                TQFont & TQFont::operator= ( const TQFont & font ) -

                -Assigns font to this font and returns a reference to it. - -

                bool TQFont::operator== ( const TQFont & f ) const -

                -Returns TRUE if this font is equal to f; otherwise returns -FALSE. -

                Two TQFonts are considered equal if their font attributes are -equal. If rawMode() is enabled for both fonts, only the family -fields are compared. -

                See also operator!=() and isCopyOf(). - -

                bool TQFont::overline () const -

                -Returns TRUE if overline has been set; otherwise returns FALSE. -

                See also setOverline(). - -

                int TQFont::pixelSize () const -

                -Returns the pixel size of the font if it was set with -setPixelSize(). Returns -1 if the size was set with setPointSize() -or setPointSizeFloat(). -

                See also setPixelSize(), pointSize(), TQFontInfo::pointSize(), and TQFontInfo::pixelSize(). - -

                int TQFont::pointSize () const -

                -Returns the point size of the font. Returns -1 if the font size -was specified in pixels. -

                See also setPointSize(), deciPointSize(), and pointSizeFloat(). - -

                Examples: chart/optionsform.cpp and fonts/simple-qfont-demo/viewer.cpp. -

                float TQFont::pointSizeFloat () const -

                -Returns the point size of the font. Returns -1 if the font size was -specified in pixels. -

                See also pointSize(), setPointSizeFloat(), pixelSize(), TQFontInfo::pointSize(), and TQFontInfo::pixelSize(). - -

                bool TQFont::rawMode () const -

                -Returns TRUE if raw mode is used for font name matching; otherwise -returns FALSE. -

                See also setRawMode() and rawName(). - -

                TQString TQFont::rawName () const -

                -Returns the name of the font within the underlying window system. -

                On Windows, this is usually just the family name of a TrueType -font. -

                On X11, it is an XLFD (X Logical Font Description). When TQt is -build with Xft support on X11, the return value can be an Xft -pattern or an XLFD. -

                Using the return value of this function is usually not portable. -

                See also setRawName(). - -

                void TQFont::removeSubstitution ( const TQString & familyName ) [static] -

                -Removes all the substitutions for familyName. -

                See also insertSubstitutions(), insertSubstitution(), substitutions(), and substitute(). - -

                TQFont TQFont::resolve ( const TQFont & other ) const -

                -Returns a new TQFont that has attributes copied from other. - -

                void TQFont::setBold ( bool enable ) -

                - -

                If enable is true sets the font's weight to TQFont::Bold; otherwise sets the weight to TQFont::Normal. -

                For finer boldness control use setWeight(). -

                See also bold() and setWeight(). - -

                Examples: menu/menu.cpp and themes/metal.cpp. -

                void TQFont::setDefaultFont ( const TQFont & f ) [static] -

                This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                Please use TQApplication::setFont() instead. - -

                void TQFont::setFamily ( const TQString & family ) -

                -Sets the family name of the font. The name is case insensitive and -may include a foundry name. -

                The family name may optionally also include a foundry name, -e.g. "Helvetica [Cronyx]". (The TQt 2.x syntax, i.e. -"Cronyx-Helvetica", is also supported.) If the family is -available from more than one foundry and the foundry isn't -specified, an arbitrary foundry is chosen. If the family isn't -available a family will be set using the font - matching algorithm. -

                See also family(), setStyleHint(), and TQFontInfo. - -

                void TQFont::setFixedPitch ( bool enable ) -

                -If enable is TRUE, sets fixed pitch on; otherwise sets fixed -pitch off. -

                See also fixedPitch() and TQFontInfo. - -

                void TQFont::setItalic ( bool enable ) -

                -If enable is TRUE, italic is set on; otherwise italic is set -off. -

                See also italic() and TQFontInfo. - -

                Examples: fileiconview/tqfileiconview.cpp, fonts/simple-qfont-demo/viewer.cpp, and themes/metal.cpp. -

                void TQFont::setOverline ( bool enable ) -

                -If enable is TRUE, sets overline on; otherwise sets overline off. -

                See also overline() and TQFontInfo. - -

                void TQFont::setPixelSize ( int pixelSize ) -

                -Sets the font size to pixelSize pixels. -

                Using this function makes the font device dependent. Use -setPointSize() or setPointSizeFloat() to set the size of the font -in a device independent manner. -

                See also pixelSize(). - -

                Example: qwerty/qwerty.cpp. -

                void TQFont::setPixelSizeFloat ( float pixelSize ) -

                This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                Sets the logical pixel height of font characters when shown on -the screen to pixelSize. - -

                void TQFont::setPointSize ( int pointSize ) -

                -Sets the point size to pointSize. The point size must be -greater than zero. -

                See also pointSize() and setPointSizeFloat(). - -

                Example: fonts/simple-qfont-demo/viewer.cpp. -

                void TQFont::setPointSizeFloat ( float pointSize ) -

                -Sets the point size to pointSize. The point size must be -greater than zero. The requested precision may not be achieved on -all platforms. -

                See also pointSizeFloat(), setPointSize(), and setPixelSize(). - -

                void TQFont::setRawMode ( bool enable ) -

                -If enable is TRUE, turns raw mode on; otherwise turns raw mode -off. This function only has an effect under X11. -

                If raw mode is enabled, TQt will search for an X font with a -complete font name matching the family name, ignoring all other -values set for the TQFont. If the font name matches several fonts, -TQt will use the first font returned by X. TQFontInfo cannot be -used to fetch information about a TQFont using raw mode (it will -return the values set in the TQFont for all parameters, including -the family name). -

                Warning: Do not use raw mode unless you really, really need it! In -most (if not all) cases, setRawName() is a much better choice. -

                See also rawMode() and setRawName(). - -

                void TQFont::setRawName ( const TQString & name ) -

                -Sets a font by its system specific name. The function is -particularly useful under X, where system font settings (for -example X resources) are usually available in XLFD (X Logical Font -Description) form only. You can pass an XLFD as name to this -function. -

                A font set with setRawName() is still a full-featured TQFont. It can -be queried (for example with italic()) or modified (for example with -setItalic()) and is therefore also suitable for rendering rich text. -

                If TQt's internal font database cannot resolve the raw name, the -font becomes a raw font with name as its family. -

                Note that the present implementation does not handle wildcards in -XLFDs well, and that font aliases (file fonts.alias in the font -directory on X11) are not supported. -

                See also rawName(), setRawMode(), and setFamily(). - -

                void TQFont::setStretch ( int factor ) -

                -Sets the stretch factor for the font. -

                The stretch factor changes the width of all characters in the font -by factor percent. For example, setting factor to 150 -results in all characters in the font being 1.5 times ( ie. 150% ) -wider. The default stretch factor is 100. The minimum stretch -factor is 1, and the maximum stretch factor is 4000. -

                The stretch factor is only applied to outline fonts. The stretch -factor is ignored for bitmap fonts. -

                NOTE: TQFont cannot stretch XLFD fonts. When loading XLFD fonts on -X11, the stretch factor is matched against a predefined set of -values for the SETWIDTH_NAME field of the XLFD. -

                See also stretch() and TQFont::StyleStrategy. - -

                void TQFont::setStrikeOut ( bool enable ) -

                -If enable is TRUE, sets strikeout on; otherwise sets strikeout -off. -

                See also strikeOut() and TQFontInfo. - -

                void TQFont::setStyleHint ( StyleHint hint, StyleStrategy strategy = PreferDefault ) -

                -Sets the style hint and strategy to hint and strategy, -respectively. -

                If these aren't set explicitly the style hint will default to -AnyStyle and the style strategy to PreferDefault. -

                TQt does not support style hints on X11 since this information -is not provided by the window system. -

                See also StyleHint, styleHint(), StyleStrategy, styleStrategy(), and TQFontInfo. - -

                Examples: desktop/desktop.cpp and fonts/simple-qfont-demo/viewer.cpp. -

                void TQFont::setStyleStrategy ( StyleStrategy s ) -

                -Sets the style strategy for the font to s. -

                See also TQFont::StyleStrategy. - -

                void TQFont::setUnderline ( bool enable ) -

                -If enable is TRUE, sets underline on; otherwise sets underline -off. -

                See also underline() and TQFontInfo. - -

                Examples: fonts/simple-qfont-demo/viewer.cpp and menu/menu.cpp. -

                void TQFont::setWeight ( int weight ) -

                -Sets the weight the font to weight, which should be a value -from the TQFont::Weight enumeration. -

                See also weight() and TQFontInfo. - -

                Example: fonts/simple-qfont-demo/viewer.cpp. -

                int TQFont::stretch () const -

                -Returns the stretch factor for the font. -

                See also setStretch(). - -

                bool TQFont::strikeOut () const -

                -Returns TRUE if strikeout has been set; otherwise returns FALSE. -

                See also setStrikeOut(). - -

                StyleHint TQFont::styleHint () const -

                -Returns the StyleHint. -

                The style hint affects the font - matching algorithm. See TQFont::StyleHint for the list -of strategies. -

                See also setStyleHint(), TQFont::StyleStrategy, and TQFontInfo::styleHint(). - -

                StyleStrategy TQFont::styleStrategy () const -

                -Returns the StyleStrategy. -

                The style strategy affects the font - matching algorithm. See TQFont::StyleStrategy for the -list of strategies. -

                See also setStyleHint() and TQFont::StyleHint. - -

                TQString TQFont::substitute ( const TQString & familyName ) [static] -

                -Returns the first family name to be used whenever familyName is -specified. The lookup is case insensitive. -

                If there is no substitution for familyName, familyName is -returned. -

                To obtain a list of substitutions use substitutes(). -

                See also setFamily(), insertSubstitutions(), insertSubstitution(), and removeSubstitution(). - -

                TQStringList TQFont::substitutes ( const TQString & familyName ) [static] -

                -Returns a list of family names to be used whenever familyName -is specified. The lookup is case insensitive. -

                If there is no substitution for familyName, an empty list is -returned. -

                See also substitute(), insertSubstitutions(), insertSubstitution(), and removeSubstitution(). - -

                Example: fonts/simple-qfont-demo/viewer.cpp. -

                TQStringList TQFont::substitutions () [static] -

                -Returns a sorted list of substituted family names. -

                See also insertSubstitution(), removeSubstitution(), and substitute(). - -

                TQString TQFont::toString () const -

                -Returns a description of the font. The description is a -comma-separated list of the attributes, perfectly suited for use -in TQSettings. -

                See also fromString() and operator<<(). - -

                bool TQFont::underline () const -

                -Returns TRUE if underline has been set; otherwise returns FALSE. -

                See also setUnderline(). - -

                int TQFont::weight () const -

                -Returns the weight of the font which is one of the enumerated -values from TQFont::Weight. -

                See also setWeight(), Weight, and TQFontInfo. - -


                Related Functions

                -

                TQDataStream & operator<< ( TQDataStream & s, const TQFont & font ) -

                - -

                Writes the font font to the data stream s. (toString() -writes to a text stream.) -

                See also Format of the TQDataStream operators. - -

                TQDataStream & operator>> ( TQDataStream & s, TQFont & font ) -

                - -

                Reads the font font from the data stream s. (fromString() -reads from a text stream.) -

                See also Format of the TQDataStream operators. - - -


                -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


                - -
                Copyright © 2007 -TrolltechTrademarks -
                TQt 3.3.8
                -
                - diff --git a/doc/html/ntqfontdatabase.html b/doc/html/ntqfontdatabase.html deleted file mode 100644 index c26ca493a..000000000 --- a/doc/html/ntqfontdatabase.html +++ /dev/null @@ -1,322 +0,0 @@ - - - - - -TQFontDatabase Class - - - - - - - -
                - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

                TQFontDatabase Class Reference

                - -

                The TQFontDatabase class provides information about the fonts available in the underlying window system. -More... -

                #include <ntqfontdatabase.h> -

                List of all member functions. -

                Public Members

                -
                  -
                • TQFontDatabase ()
                • -
                • TQStringList families () const
                • -
                • TQStringList families ( TQFont::Script script ) const
                • -
                • TQStringList styles ( const TQString & family ) const
                • -
                • TQValueList<int> pointSizes ( const TQString & family, const TQString & style = TQString::null )
                • -
                • TQValueList<int> smoothSizes ( const TQString & family, const TQString & style )
                • -
                • TQString styleString ( const TQFont & f )
                • -
                • TQFont font ( const TQString & family, const TQString & style, int pointSize )
                • -
                • bool isBitmapScalable ( const TQString & family, const TQString & style = TQString::null ) const
                • -
                • bool isSmoothlyScalable ( const TQString & family, const TQString & style = TQString::null ) const
                • -
                • bool isScalable ( const TQString & family, const TQString & style = TQString::null ) const
                • -
                • bool isFixedPitch ( const TQString & family, const TQString & style = TQString::null ) const
                • -
                • bool italic ( const TQString & family, const TQString & style ) const
                • -
                • bool bold ( const TQString & family, const TQString & style ) const
                • -
                • int weight ( const TQString & family, const TQString & style ) const
                • -
                • TQStringList families ( bool ) const  (obsolete)
                • -
                • TQStringList styles ( const TQString & family, const TQString & ) const  (obsolete)
                • -
                • TQValueList<int> pointSizes ( const TQString & family, const TQString & style, const TQString & )  (obsolete)
                • -
                • TQValueList<int> smoothSizes ( const TQString & family, const TQString & style, const TQString & )  (obsolete)
                • -
                • TQFont font ( const TQString & familyName, const TQString & style, int pointSize, const TQString & )  (obsolete)
                • -
                • bool isBitmapScalable ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
                • -
                • bool isSmoothlyScalable ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
                • -
                • bool isScalable ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
                • -
                • bool isFixedPitch ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
                • -
                • bool italic ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
                • -
                • bool bold ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
                • -
                • int weight ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
                • -
                -

                Static Public Members

                - -

                Detailed Description

                - - -The TQFontDatabase class provides information about the fonts available in the underlying window system. -

                - -

                The most common uses of this class are to query the database for -the list of font families() and for the pointSizes() and styles() -that are available for each family. An alternative to pointSizes() -is smoothSizes() which returns the sizes at which a given family -and style will look attractive. -

                If the font family is available from two or more foundries the -foundry name is included in the family name, e.g. "Helvetica -[Adobe]" and "Helvetica [Cronyx]". When you specify a family you -can either use the old hyphenated TQt 2.x "foundry-family" format, -e.g. "Cronyx-Helvetica", or the new bracketed TQt 3.x "family -[foundry]" format e.g. "Helvetica [Cronyx]". If the family has a -foundry it is always returned, e.g. by families(), using the -bracketed format. -

                The font() function returns a TQFont given a family, style and -point size. -

                A family and style combination can be checked to see if it is -italic() or bold(), and to retrieve its weight(). Similarly we can -call isBitmapScalable(), isSmoothlyScalable(), isScalable() and -isFixedPitch(). -

                A text version of a style is given by styleString(). -

                The TQFontDatabase class also supports some static functions, for -example, standardSizes(). You can retrieve the Unicode 3.0 -description of a script using -scriptName(), and a sample of characters in a script with -scriptSample(). -

                Example: -

                -#include <ntqapplication.h>
                -#include <ntqfontdatabase.h>
                -#include <else.h>
                -
                -int main( int argc, char **argv )
                -{
                -    TQApplication app( argc, argv );
                -    TQFontDatabase fdb;
                -    TQStringList families = fdb.families();
                -    for ( TQStringList::Iterator f = families.begin(); f != families.end(); ++f ) {
                -        TQString family = *f;
                -        tqDebug( family );
                -        TQStringList styles = fdb.styles( family );
                -        for ( TQStringList::Iterator s = styles.begin(); s != styles.end(); ++s ) {
                -            TQString style = *s;
                -            TQString dstyle = "\t" + style + " (";
                -            TQValueList<int> smoothies = fdb.smoothSizes( family, style );
                -            for ( TQValueList<int>::Iterator points = smoothies.begin();
                -                  points != smoothies.end(); ++points ) {
                -                dstyle += TQString::number( *points ) + " ";
                -            }
                -            dstyle = dstyle.left( dstyle.length() - 1 ) + ")";
                -            tqDebug( dstyle );
                -        }
                -    }
                -    return 0;
                -}
                -
                - -This example gets the list of font families, then the list of -styles for each family and the point sizes that are available for -each family/style combination. -

                See also Environment Classes and Graphics Classes. - -


                Member Function Documentation

                -

                TQFontDatabase::TQFontDatabase () -

                -Creates a font database object. - -

                bool TQFontDatabase::bold ( const TQString & family, const TQString & style ) const -

                -Returns TRUE if the font that has family family and style style is bold; otherwise returns FALSE. -

                See also italic() and weight(). - -

                bool TQFontDatabase::bold ( const TQString & family, const TQString & style, const TQString & ) const -

                -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                - -

                TQStringList TQFontDatabase::families () const -

                Returns a sorted list of the names of the available font families. -

                If a family exists in several foundries, the returned name for -that font is in the form "family [foundry]". Examples: "Times -[Adobe]", "Times [Cronyx]", "Palatino". - -

                TQStringList TQFontDatabase::families ( TQFont::Script script ) const -

                -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

                Returns a sorted list of the available font families which support -the Unicode script script. -

                If a family exists in several foundries, the returned name for -that font is in the form "family [foundry]". Examples: "Times -[Adobe]", "Times [Cronyx]", "Palatino". - -

                TQStringList TQFontDatabase::families ( bool ) const -

                -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                - -

                TQFont TQFontDatabase::font ( const TQString & family, const TQString & style, int pointSize ) -

                -Returns a TQFont object that has family family, style style -and point size pointSize. If no matching font could be created, -a TQFont object that uses the application's default font is -returned. - -

                TQFont TQFontDatabase::font ( const TQString & familyName, const TQString & style, int pointSize, const TQString & ) -

                -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                - -

                bool TQFontDatabase::isBitmapScalable ( const TQString & family, const TQString & style = TQString::null ) const -

                -Returns TRUE if the font that has family family and style style is a scalable bitmap font; otherwise returns FALSE. Scaling -a bitmap font usually produces an unattractive hardly readable -result, because the pixels of the font are scaled. If you need to -scale a bitmap font it is better to scale it to one of the fixed -sizes returned by smoothSizes(). -

                See also isScalable() and isSmoothlyScalable(). - -

                bool TQFontDatabase::isBitmapScalable ( const TQString & family, const TQString & style, const TQString & ) const -

                -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                - -

                bool TQFontDatabase::isFixedPitch ( const TQString & family, const TQString & style = TQString::null ) const -

                -Returns TRUE if the font that has family family and style style is fixed pitch; otherwise returns FALSE. - -

                bool TQFontDatabase::isFixedPitch ( const TQString & family, const TQString & style, const TQString & ) const -

                -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                - -

                bool TQFontDatabase::isScalable ( const TQString & family, const TQString & style = TQString::null ) const -

                -Returns TRUE if the font that has family family and style style is scalable; otherwise returns FALSE. -

                See also isBitmapScalable() and isSmoothlyScalable(). - -

                bool TQFontDatabase::isScalable ( const TQString & family, const TQString & style, const TQString & ) const -

                -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                - -

                bool TQFontDatabase::isSmoothlyScalable ( const TQString & family, const TQString & style = TQString::null ) const -

                -Returns TRUE if the font that has family family and style style is smoothly scalable; otherwise returns FALSE. If this -function returns TRUE, it's safe to scale this font to any size, -and the result will always look attractive. -

                See also isScalable() and isBitmapScalable(). - -

                bool TQFontDatabase::isSmoothlyScalable ( const TQString & family, const TQString & style, const TQString & ) const -

                -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                - -

                bool TQFontDatabase::italic ( const TQString & family, const TQString & style ) const -

                -Returns TRUE if the font that has family family and style style is italic; otherwise returns FALSE. -

                See also weight() and bold(). - -

                bool TQFontDatabase::italic ( const TQString & family, const TQString & style, const TQString & ) const -

                -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                - -

                TQValueList<int> TQFontDatabase::pointSizes ( const TQString & family, const TQString & style = TQString::null ) -

                -Returns a list of the point sizes available for the font that has -family family and style style. The list may be empty. -

                See also smoothSizes() and standardSizes(). - -

                TQValueList<int> TQFontDatabase::pointSizes ( const TQString & family, const TQString & style, const TQString & ) -

                -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                - -

                TQString TQFontDatabase::scriptName ( TQFont::Script script ) [static] -

                -Returns a string that gives a default description of the script -(e.g. for displaying to the user in a dialog). The name matches -the name of the script as defined by the Unicode 3.0 standard. -

                See also TQFont::Script. - -

                TQString TQFontDatabase::scriptSample ( TQFont::Script script ) [static] -

                -Returns a string with sample characters from script. -

                See also TQFont::Script. - -

                TQValueList<int> TQFontDatabase::smoothSizes ( const TQString & family, const TQString & style ) -

                -Returns the point sizes of a font that has family family and -style style that will look attractive. The list may be empty. -For non-scalable fonts and bitmap scalable fonts, this function -is equivalent to pointSizes(). -

                See also pointSizes() and standardSizes(). - -

                TQValueList<int> TQFontDatabase::smoothSizes ( const TQString & family, const TQString & style, const TQString & ) -

                -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                - -

                TQValueList<int> TQFontDatabase::standardSizes () [static] -

                -Returns a list of standard font sizes. -

                See also smoothSizes() and pointSizes(). - -

                TQString TQFontDatabase::styleString ( const TQFont & f ) -

                -Returns a string that describes the style of the font f. For -example, "Bold Italic", "Bold", "Italic" or "Normal". An empty -string may be returned. - -

                TQStringList TQFontDatabase::styles ( const TQString & family ) const -

                -Returns a list of the styles available for the font family family. Some example styles: "Light", "Light Italic", "Bold", -"Oblique", "Demi". The list may be empty. - -

                TQStringList TQFontDatabase::styles ( const TQString & family, const TQString & ) const -

                -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                - -

                int TQFontDatabase::weight ( const TQString & family, const TQString & style ) const -

                -Returns the weight of the font that has family family and style -style. If there is no such family and style combination, -returns -1. -

                See also italic() and bold(). - -

                int TQFontDatabase::weight ( const TQString & family, const TQString & style, const TQString & ) const -

                -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                - - -


                -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


                - -
                Copyright © 2007 -TrolltechTrademarks -
                TQt 3.3.8
                -
                - diff --git a/doc/html/ntqfontdialog.html b/doc/html/ntqfontdialog.html deleted file mode 100644 index c41f0a40c..000000000 --- a/doc/html/ntqfontdialog.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - -TQFontDialog Class - - - - - - - -
                - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

                TQFontDialog Class Reference

                - -

                The TQFontDialog class provides a dialog widget for selecting a font. -More... -

                #include <ntqfontdialog.h> -

                Inherits TQDialog. -

                List of all member functions. -

                Static Public Members

                -
                  -
                • TQFont getFont ( bool * ok, const TQFont & initial, TQWidget * parent = 0, const char * name = 0 )
                • -
                • TQFont getFont ( bool * ok, TQWidget * parent = 0, const char * name = 0 )
                • -
                -

                Detailed Description

                - - - - -The TQFontDialog class provides a dialog widget for selecting a font. -

                The usual way to use this class is to call one of the static convenience -functions, e.g. getFont(). -

                Examples: -

                -    bool ok;
                -    TQFont font = TQFontDialog::getFont(
                -                    &ok, TQFont( "Helvetica [Cronyx]", 10 ), this );
                -    if ( ok ) {
                -        // font is set to the font the user selected
                -    } else {
                -        // the user canceled the dialog; font is set to the initial
                -        // value, in this case Helvetica [Cronyx], 10
                -    }
                -  
                - -

                The dialog can also be used to set a widget's font directly: -

                -    myWidget.setFont( TQFontDialog::getFont( 0, myWidget.font() ) );
                -  
                - -If the user clicks OK the font they chose will be used for myWidget, -and if they click Cancel the original font is used. -

                See also TQFont, TQFontInfo, TQFontMetrics, and Dialog Classes. - -

                - -


                Member Function Documentation

                -

                TQFont TQFontDialog::getFont ( bool * ok, const TQFont & initial, TQWidget * parent = 0, const char * name = 0 ) [static] -

                -Executes a modal font dialog and returns a font. -

                If the user clicks OK, the selected font is returned. If the user -clicks Cancel, the initial font is returned. -

                The dialog is called name, with the parent parent. -initial is the initially selected font. -If the ok parameter is not-null, *ok is set to TRUE if the -user clicked OK, and set to FALSE if the user clicked Cancel. -

                This static function is less flexible than the full TQFontDialog -object, but is convenient and easy to use. -

                Examples: -

                -    bool ok;
                -    TQFont font = TQFontDialog::getFont( &ok, TQFont( "Times", 12 ), this );
                -    if ( ok ) {
                -        // font is set to the font the user selected
                -    } else {
                -        // the user canceled the dialog; font is set to the initial
                -        // value, in this case Times, 12.
                -    }
                -  
                - -

                The dialog can also be used to set a widget's font directly: -

                -    myWidget.setFont( TQFontDialog::getFont( 0, myWidget.font() ) );
                -  
                - -In this example, if the user clicks OK the font they chose will be -used, and if they click Cancel the original font is used. - -

                Examples: chart/chartform.cpp, chart/optionsform.cpp, qfd/fontdisplayer.cpp, qwerty/qwerty.cpp, and xform/xform.cpp. -

                TQFont TQFontDialog::getFont ( bool * ok, TQWidget * parent = 0, const char * name = 0 ) [static] -

                -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

                Executes a modal font dialog and returns a font. -

                If the user clicks OK, the selected font is returned. If the user -clicks Cancel, the TQt default font is returned. -

                The dialog is called name, with parent parent. -If the ok parameter is not-null, *ok is set to TRUE if the -user clicked OK, and FALSE if the user clicked Cancel. -

                This static function is less functional than the full TQFontDialog -object, but is convenient and easy to use. -

                Example: -

                -    bool ok;
                -    TQFont font = TQFontDialog::getFont( &ok, this );
                -    if ( ok ) {
                -        // font is set to the font the user selected
                -    } else {
                -        // the user canceled the dialog; font is set to the default
                -        // application font, TQApplication::font()
                -    }
                -  
                - -

                - -


                -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


                - -
                Copyright © 2007 -TrolltechTrademarks -
                TQt 3.3.8
                -
                - diff --git a/doc/html/ntqfontinfo.html b/doc/html/ntqfontinfo.html deleted file mode 100644 index e7475c724..000000000 --- a/doc/html/ntqfontinfo.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - -TQFontInfo Class - - - - - - - -
                - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

                TQFontInfo Class Reference

                - -

                The TQFontInfo class provides general information about fonts. -More... -

                #include <ntqfontinfo.h> -

                List of all member functions. -

                Public Members

                - -

                Detailed Description

                - - -

                The TQFontInfo class provides general information about fonts. -

                - -

                The TQFontInfo class provides the same access functions as TQFont, -e.g. family(), pointSize(), italic(), weight(), fixedPitch(), -styleHint() etc. But whilst the TQFont access functions return the -values that were set, a TQFontInfo object returns the values that -apply to the font that will actually be used to draw the text. -

                For example, when the program asks for a 25pt Courier font on a -machine that has a non-scalable 24pt Courier font, TQFont will -(normally) use the 24pt Courier for rendering. In this case, -TQFont::pointSize() returns 25 and TQFontInfo::pointSize() returns -24. -

                There are three ways to create a TQFontInfo object. -

                  -
                1. Calling the TQFontInfo constructor with a TQFont creates a font -info object for a screen-compatible font, i.e. the font cannot be -a printer font*. If the font is changed later, the font -info object is not updated. -

                2. TQWidget::fontInfo() returns the font info for a widget's font. -This is equivalent to calling TQFontInfo(widget->font()). If the -widget's font is changed later, the font info object is not -updated. -

                3. TQPainter::fontInfo() returns the font info for a painter's -current font. If the painter's font is changed later, the font -info object is not updated. -
                -

                * If you use a printer font the values returned may be -inaccurate. Printer fonts are not always accessible so the nearest -screen font is used if a printer font is supplied. -

                See also TQFont, TQFontMetrics, TQFontDatabase, Graphics Classes, and Implicitly and Explicitly Shared Classes. - -


                Member Function Documentation

                -

                TQFontInfo::TQFontInfo ( const TQFont & font ) -

                -Constructs a font info object for font. -

                The font must be screen-compatible, i.e. a font you use when -drawing text in widgets or pixmaps, not TQPicture or TQPrinter. -

                The font info object holds the information for the font that is -passed in the constructor at the time it is created, and is not -updated if the font's attributes are changed later. -

                Use TQPainter::fontInfo() to get the font info when painting. -This will give correct results also when painting on paint device -that is not screen-compatible. - -

                TQFontInfo::TQFontInfo ( const TQFont & font, TQFont::Script script ) -

                -Constructs a font info object for font using the specified script. - -

                TQFontInfo::TQFontInfo ( const TQFontInfo & fi ) -

                -Constructs a copy of fi. - -

                TQFontInfo::~TQFontInfo () -

                -Destroys the font info object. - -

                bool TQFontInfo::bold () const -

                - -

                Returns TRUE if weight() would return a value greater than TQFont::Normal; otherwise returns FALSE. -

                See also weight() and TQFont::bold(). - -

                Example: qfd/fontdisplayer.cpp. -

                bool TQFontInfo::exactMatch () const -

                -Returns TRUE if the matched window system font is exactly the same -as the one specified by the font; otherwise returns FALSE. -

                See also TQFont::exactMatch(). - -

                TQString TQFontInfo::family () const -

                -Returns the family name of the matched window system font. -

                See also TQFont::family(). - -

                Examples: fonts/simple-qfont-demo/viewer.cpp and qfd/fontdisplayer.cpp. -

                bool TQFontInfo::fixedPitch () const -

                -Returns the fixed pitch value of the matched window system font. -

                See also TQFont::fixedPitch(). - -

                bool TQFontInfo::italic () const -

                -Returns the italic value of the matched window system font. -

                See also TQFont::italic(). - -

                Example: qfd/fontdisplayer.cpp. -

                TQFontInfo & TQFontInfo::operator= ( const TQFontInfo & fi ) -

                -Assigns the font info in fi. - -

                int TQFontInfo::pixelSize () const -

                -Returns the pixel size of the matched window system font. -

                See also TQFont::pointSize(). - -

                int TQFontInfo::pointSize () const -

                -Returns the point size of the matched window system font. -

                See also TQFont::pointSize(). - -

                Examples: fonts/simple-qfont-demo/viewer.cpp and qfd/fontdisplayer.cpp. -

                bool TQFontInfo::rawMode () const -

                -Returns TRUE if the font is a raw mode font; otherwise returns -FALSE. -

                If it is a raw mode font, all other functions in TQFontInfo will -return the same values set in the TQFont, regardless of the font -actually used. -

                See also TQFont::rawMode(). - -

                TQFont::StyleHint TQFontInfo::styleHint () const -

                -Returns the style of the matched window system font. -

                Currently only returns the style hint set in TQFont. -

                See also TQFont::styleHint() and TQFont::StyleHint. - -

                int TQFontInfo::weight () const -

                -Returns the weight of the matched window system font. -

                See also TQFont::weight() and bold(). - - -


                -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


                - -
                Copyright © 2007 -TrolltechTrademarks -
                TQt 3.3.8
                -
                - diff --git a/doc/html/ntqfontmetrics.html b/doc/html/ntqfontmetrics.html deleted file mode 100644 index 2f800d51c..000000000 --- a/doc/html/ntqfontmetrics.html +++ /dev/null @@ -1,419 +0,0 @@ - - - - - -TQFontMetrics Class - - - - - - - -
                - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

                TQFontMetrics Class Reference

                - -

                The TQFontMetrics class provides font metrics information. -More... -

                #include <ntqfontmetrics.h> -

                List of all member functions. -

                Public Members

                - -

                Detailed Description

                - - -The TQFontMetrics class provides font metrics information. -

                - -

                TQFontMetrics functions calculate the size of characters and -strings for a given font. There are three ways you can create a -TQFontMetrics object: -

                  -
                1. Calling the TQFontMetrics constructor with a TQFont creates a -font metrics object for a screen-compatible font, i.e. the font -cannot be a printer font*. If the font is changed -later, the font metrics object is not updated. -

                2. TQWidget::fontMetrics() returns the font metrics for a widget's -font. This is equivalent to TQFontMetrics(widget->font()). If the -widget's font is changed later, the font metrics object is not -updated. -

                3. TQPainter::fontMetrics() returns the font metrics for a -painter's current font. If the painter's font is changed later, the -font metrics object is not updated. -
                -

                * If you use a printer font the values returned may be -inaccurate. Printer fonts are not always accessible so the nearest -screen font is used if a printer font is supplied. -

                Once created, the object provides functions to access the -individual metrics of the font, its characters, and for strings -rendered in the font. -

                There are several functions that operate on the font: ascent(), -descent(), height(), leading() and lineSpacing() return the basic -size properties of the font. The underlinePos(), overlinePos(), -strikeOutPos() and lineWidth() functions, return the properties of -the line that underlines, overlines or strikes out the -characters. These functions are all fast. -

                There are also some functions that operate on the set of glyphs in -the font: minLeftBearing(), minRightBearing() and maxWidth(). -These are by necessity slow, and we recommend avoiding them if -possible. -

                For each character, you can get its width(), leftBearing() and -rightBearing() and find out whether it is in the font using -inFont(). You can also treat the character as a string, and use -the string functions on it. -

                The string functions include width(), to return the width of a -string in pixels (or points, for a printer), boundingRect(), to -return a rectangle large enough to contain the rendered string, -and size(), to return the size of that rectangle. -

                Example: -

                -    TQFont font( "times", 24 );
                -    TQFontMetrics fm( font );
                -    int pixelsWide = fm.width( "What's the width of this text?" );
                -    int pixelsHigh = fm.height();
                -    
                - -

                See also TQFont, TQFontInfo, TQFontDatabase, Graphics Classes, and Implicitly and Explicitly Shared Classes. - -


                Member Function Documentation

                -

                TQFontMetrics::TQFontMetrics ( const TQFont & font ) -

                -Constructs a font metrics object for font. -

                The font must be screen-compatible, i.e. a font you use when -drawing text in widgets or pixmaps, not TQPicture or TQPrinter. -

                The font metrics object holds the information for the font that is -passed in the constructor at the time it is created, and is not -updated if the font's attributes are changed later. -

                Use TQPainter::fontMetrics() to get the font metrics when painting. -This will give correct results also when painting on paint device -that is not screen-compatible. - -

                TQFontMetrics::TQFontMetrics ( const TQFont & font, TQFont::Script script ) -

                -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

                Constructs a font metrics object for font using the given script. - -

                TQFontMetrics::TQFontMetrics ( const TQFontMetrics & fm ) -

                -Constructs a copy of fm. - -

                TQFontMetrics::~TQFontMetrics () -

                -Destroys the font metrics object and frees all allocated -resources. - -

                int TQFontMetrics::ascent () const -

                -Returns the ascent of the font. -

                The ascent of a font is the distance from the baseline to the -highest position characters extend to. In practice, some font -designers break this rule, e.g. when they put more than one accent -on top of a character, or to accommodate an unusual character in -an exotic language, so it is possible (though rare) that this -value will be too small. -

                See also descent(). - -

                Examples: drawdemo/drawdemo.cpp and scrollview/scrollview.cpp. -

                TQRect TQFontMetrics::boundingRect ( TQChar ch ) const -

                -Returns the rectangle that is covered by ink if the character -specified by ch were to be drawn at the origin of the coordinate -system. -

                Note that the bounding rectangle may extend to the left of (0, 0), -e.g. for italicized fonts, and that the text output may cover all pixels in the bounding rectangle. For a space character the rectangle -will usually be empty. -

                Note that the rectangle usually extends both above and below the -base line. -

                Warning: The width of the returned rectangle is not the advance width -of the character. Use boundingRect(const TQString &) or width() instead. -

                See also width(). - -

                Example: xform/xform.cpp. -

                TQRect TQFontMetrics::boundingRect ( const TQString & str, int len = -1 ) const -

                -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

                Returns the bounding rectangle that contains the first len -characters of string str. - -

                TQRect TQFontMetrics::boundingRect ( int x, int y, int w, int h, int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const -

                -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

                Returns the bounding rectangle of the first len characters of -str, which is the set of pixels the text would cover if drawn -at (0, 0). The drawing, and hence the bounding rectangle, is -constrained to the rectangle (x, y, w, h). -

                If len is negative (which is the default), the entire string is -used. -

                The flgs argument is the bitwise OR of the following flags: -

                  -
                • AlignAuto aligns to the left border for all languages except -Arabic and Hebrew where it aligns to the right. -
                • AlignLeft aligns to the left border. -
                • AlignRight aligns to the right border. -
                • AlignJustify produces justified text. -
                • AlignHCenter aligns horizontally centered. -
                • AlignTop aligns to the top border. -
                • AlignBottom aligns to the bottom border. -
                • AlignVCenter aligns vertically centered -
                • AlignCenter (== AlignHCenter | AlignVCenter) -
                • SingleLine ignores newline characters in the text. -
                • ExpandTabs expands tabs (see below) -
                • ShowPrefix interprets "&x" as "x", i.e. underlined. -
                • WordBreak breaks the text to fit the rectangle. -
                -

                Horizontal alignment defaults to AlignAuto and vertical -alignment defaults to AlignTop. -

                If several of the horizontal or several of the vertical alignment -flags are set, the resulting alignment is undefined. -

                These flags are defined in ntqnamespace.h. -

                If ExpandTabs is set in flgs, then: if tabarray is -non-null, it specifies a 0-terminated sequence of pixel-positions -for tabs; otherwise if tabstops is non-zero, it is used as the -tab spacing (in pixels). -

                Note that the bounding rectangle may extend to the left of (0, 0), -e.g. for italicized fonts, and that the text output may cover all pixels in the bounding rectangle. -

                Newline characters are processed as linebreaks. -

                Despite the different actual character heights, the heights of the -bounding rectangles of "Yes" and "yes" are the same. -

                The bounding rectangle given by this function is somewhat larger -than that calculated by the simpler boundingRect() function. This -function uses the maximum left and -right font bearings as is -necessary for multi-line text to align correctly. Also, -fontHeight() and lineSpacing() are used to calculate the height, -rather than individual character heights. -

                The intern argument should not be used. -

                See also width(), TQPainter::boundingRect(), and TQt::AlignmentFlags. - -

                int TQFontMetrics::charWidth ( const TQString & str, int pos ) const -

                -Returns the width of the character at position pos in the -string str. -

                The whole string is needed, as the glyph drawn may change -depending on the context (the letter before and after the current -one) for some languages (e.g. Arabic). -

                This function also takes non spacing marks and ligatures into -account. - -

                int TQFontMetrics::descent () const -

                -Returns the descent of the font. -

                The descent is the distance from the base line to the lowest point -characters extend to. (Note that this is different from X, which -adds 1 pixel.) In practice, some font designers break this rule, -e.g. to accommodate an unusual character in an exotic language, so -it is possible (though rare) that this value will be too small. -

                See also ascent(). - -

                Examples: drawdemo/drawdemo.cpp and hello/hello.cpp. -

                int TQFontMetrics::height () const -

                -Returns the height of the font. -

                This is always equal to ascent()+descent()+1 (the 1 is for the -base line). -

                See also leading() and lineSpacing(). - -

                Examples: grapher/grapher.cpp, hello/hello.cpp, and qfd/fontdisplayer.cpp. -

                bool TQFontMetrics::inFont ( TQChar ch ) const -

                -Returns TRUE if character ch is a valid character in the font; -otherwise returns FALSE. - -

                Example: qfd/fontdisplayer.cpp. -

                int TQFontMetrics::leading () const -

                -Returns the leading of the font. -

                This is the natural inter-line spacing. -

                See also height() and lineSpacing(). - -

                int TQFontMetrics::leftBearing ( TQChar ch ) const -

                -Returns the left bearing of character ch in the font. -

                The left bearing is the right-ward distance of the left-most pixel -of the character from the logical origin of the character. This -value is negative if the pixels of the character extend to the -left of the logical origin. -

                See width(TQChar) for a graphical description of this metric. -

                See also rightBearing(), minLeftBearing(), and width(). - -

                Example: qfd/fontdisplayer.cpp. -

                int TQFontMetrics::lineSpacing () const -

                -Returns the distance from one base line to the next. -

                This value is always equal to leading()+height(). -

                See also height() and leading(). - -

                Examples: qfd/fontdisplayer.cpp, qwerty/qwerty.cpp, and scrollview/scrollview.cpp. -

                int TQFontMetrics::lineWidth () const -

                -Returns the width of the underline and strikeout lines, adjusted -for the point size of the font. -

                See also underlinePos(), overlinePos(), and strikeOutPos(). - -

                int TQFontMetrics::maxWidth () const -

                -Returns the width of the widest character in the font. - -

                Example: qfd/fontdisplayer.cpp. -

                int TQFontMetrics::minLeftBearing () const -

                -Returns the minimum left bearing of the font. -

                This is the smallest leftBearing(char) of all characters in the -font. -

                Note that this function can be very slow if the font is large. -

                See also minRightBearing() and leftBearing(). - -

                Example: qfd/fontdisplayer.cpp. -

                int TQFontMetrics::minRightBearing () const -

                -Returns the minimum right bearing of the font. -

                This is the smallest rightBearing(char) of all characters in the -font. -

                Note that this function can be very slow if the font is large. -

                See also minLeftBearing() and rightBearing(). - -

                Example: qfd/fontdisplayer.cpp. -

                TQFontMetrics & TQFontMetrics::operator= ( const TQFontMetrics & fm ) -

                -Assigns the font metrics fm. - -

                int TQFontMetrics::overlinePos () const -

                -Returns the distance from the base line to where an overline -should be drawn. -

                See also underlinePos(), strikeOutPos(), and lineWidth(). - -

                int TQFontMetrics::rightBearing ( TQChar ch ) const -

                -Returns the right bearing of character ch in the font. -

                The right bearing is the left-ward distance of the right-most -pixel of the character from the logical origin of a subsequent -character. This value is negative if the pixels of the character -extend to the right of the width() of the character. -

                See width() for a graphical description of this metric. -

                See also leftBearing(), minRightBearing(), and width(). - -

                Example: qfd/fontdisplayer.cpp. -

                TQSize TQFontMetrics::size ( int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const -

                -Returns the size in pixels of the first len characters of str. -

                If len is negative (the default), the entire string is used. -

                The flgs argument is the bitwise OR of the following flags: -

                  -
                • SingleLine ignores newline characters. -
                • ExpandTabs expands tabs (see below) -
                • ShowPrefix interprets "&x" as "x", i.e. underlined. -
                • WordBreak breaks the text to fit the rectangle. -
                -

                These flags are defined in ntqnamespace.h. -

                If ExpandTabs is set in flgs, then: if tabarray is -non-null, it specifies a 0-terminated sequence of pixel-positions -for tabs; otherwise if tabstops is non-zero, it is used as the -tab spacing (in pixels). -

                Newline characters are processed as linebreaks. -

                Despite the different actual character heights, the heights of the -bounding rectangles of "Yes" and "yes" are the same. -

                The intern argument should not be used. -

                See also boundingRect(). - -

                int TQFontMetrics::strikeOutPos () const -

                -Returns the distance from the base line to where the strikeout -line should be drawn. -

                See also underlinePos(), overlinePos(), and lineWidth(). - -

                int TQFontMetrics::underlinePos () const -

                -Returns the distance from the base line to where an underscore -should be drawn. -

                See also overlinePos(), strikeOutPos(), and lineWidth(). - -

                int TQFontMetrics::width ( TQChar ch ) const -

                -

                -

                Returns the logical width of character ch in pixels. This is a -distance appropriate for drawing a subsequent character after ch. -

                Some of the metrics are described in the image to the right. The -central dark rectangles cover the logical width() of each -character. The outer pale rectangles cover the leftBearing() and -rightBearing() of each character. Notice that the bearings of "f" -in this particular font are both negative, while the bearings of -"o" are both positive. -

                Warning: This function will produce incorrect results for Arabic -characters or non spacing marks in the middle of a string, as the -glyph shaping and positioning of marks that happens when -processing strings cannot be taken into account. Use charWidth() -instead if you aren't looking for the width of isolated -characters. -

                See also boundingRect() and charWidth(). - -

                Examples: drawdemo/drawdemo.cpp, hello/hello.cpp, movies/main.cpp, qfd/fontdisplayer.cpp, and scrollview/scrollview.cpp. -

                int TQFontMetrics::width ( const TQString & str, int len = -1 ) const -

                -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

                Returns the width of the first len characters of string str. - -

                int TQFontMetrics::width ( char c ) const -

                -

                This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

                This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

                Provided to aid porting from TQt 1.x. - - -


                -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


                - -
                Copyright © 2007 -TrolltechTrademarks -
                TQt 3.3.8
                -
                - diff --git a/doc/html/ntqframe.html b/doc/html/ntqframe.html index d14572150..b48c51560 100644 --- a/doc/html/ntqframe.html +++ b/doc/html/ntqframe.html @@ -184,27 +184,27 @@ Constructs a frame widget with frame style NoFrame and

                TQRect TQFrame::contentsRect () const

                Returns the rectangle inside the frame. See the "contentsRect" property for details. -

                void TQFrame::drawContents ( TQPainter * ) [virtual protected] +

                void TQFrame::drawContents ( TQPainter * ) [virtual protected]

                Virtual function that draws the contents of the frame. -

                The TQPainter is already open when you get it, and you must leave -it open. Painter transformations are switched off on entry. If you +

                The TQPainter is already open when you get it, and you must leave +it open. Painter transformations are switched off on entry. If you transform the painter, remember to take the frame into account and -reset transformation before +reset transformation before returning.

                This function is reimplemented by subclasses that draw something inside the frame. It should only draw inside contentsRect(). The default function does nothing. -

                See also contentsRect and TQPainter::setClipRect(). +

                See also contentsRect and TQPainter::setClipRect().

                Reimplemented in TQLabel, TQLCDNumber, TQMenuBar, and TQPopupMenu. -

                void TQFrame::drawFrame ( TQPainter * p ) [virtual protected] +

                void TQFrame::drawFrame ( TQPainter * p ) [virtual protected]

                Draws the frame using the painter p and the current frame attributes and color group. The rectangle inside the frame is not affected.

                This function is virtual, but in general you do not need to -reimplement it. If you do, note that the TQPainter is already open +reimplement it. If you do, note that the TQPainter is already open and must remain open.

                See also frameRect, contentsRect, drawContents(), frameStyle(), and palette. @@ -245,7 +245,7 @@ See the "margin" property for details.

                int TQFrame::midLineWidth () const

                Returns the width of the mid-line. See the "midLineWidth" property for details. -

                void TQFrame::paintEvent ( TQPaintEvent * event ) [virtual protected] +

                void TQFrame::paintEvent ( TQPaintEvent * event ) [virtual protected]

                Processes the paint event event.

                Paints the frame and the contents. @@ -285,7 +285,7 @@ styles in TQFrame::Shadow.

                If a mid-line width greater than 0 is specified, an additional line is drawn for Raised or Sunken Box, HLine, and VLine frames. The mid-color of the current color group is used for drawing middle lines. -

                See also Illustration, frameStyle(), colorGroup, and TQColorGroup. +

                See also Illustration, frameStyle(), colorGroup, and TQColorGroup.

                Examples: cursor/cursor.cpp, layout/layout.cpp, listboxcombo/listboxcombo.cpp, rangecontrols/rangecontrols.cpp, scrollview/scrollview.cpp, tabdialog/tabdialog.cpp, and tictac/tictac.cpp.

                void TQFrame::setLineWidth ( int ) [virtual] diff --git a/doc/html/ntqglcolormap.html b/doc/html/ntqglcolormap.html index 9de907b3f..b2197e5a7 100644 --- a/doc/html/ntqglcolormap.html +++ b/doc/html/ntqglcolormap.html @@ -120,7 +120,7 @@ reference to it.

                Detaches this TQGLColormap from the shared block. -

                TQColor TQGLColormap::entryColor ( int idx ) const +

                TQColor TQGLColormap::entryColor ( int idx ) const

                Returns the TQRgb value in the colorcell with index idx. @@ -157,7 +157,7 @@ colors that should be set, colors is the array of colors, and Set cell at index idx in the colormap to color color. -

                void TQGLColormap::setEntry ( int idx, const TQColor & color ) +

                void TQGLColormap::setEntry ( int idx, const TQColor & color )

                This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

                Set the cell with index idx in the colormap to color color. diff --git a/doc/html/ntqgridview.html b/doc/html/ntqgridview.html index 51ac665d8..09ad6b085 100644 --- a/doc/html/ntqgridview.html +++ b/doc/html/ntqgridview.html @@ -167,13 +167,13 @@ See the "numCols" property for detai

                int TQGridView::numRows () const

                Returns the number of rows in the grid. See the "numRows" property for details. -

                void TQGridView::paintCell ( TQPainter * p, int row, int col ) [pure virtual protected] +

                void TQGridView::paintCell ( TQPainter * p, int row, int col ) [pure virtual protected]

                This pure virtual function is called to paint the single cell at (row, col) using painter p. The painter must be open when paintCell() is called and must remain open. -

                The coordinate system is translated so that the origin is at the top-left corner of the cell +

                The coordinate system is translated so that the origin is at the top-left corner of the cell to be painted, i.e. cell coordinates. Do not scale or shear the coordinate system (or if you do, restore the transformation matrix before you return).

                The painter is not clipped by default in order to get maximum @@ -186,7 +186,7 @@ efficiency. If you want clipping, use -

                void TQGridView::paintEmptyArea ( TQPainter * p, int cx, int cy, int cw, int ch ) [virtual protected] +

                void TQGridView::paintEmptyArea ( TQPainter * p, int cx, int cy, int cw, int ch ) [virtual protected]

                This function fills the cw pixels wide and ch pixels high rectangle starting at position (cx, cy) with the background diff --git a/doc/html/ntqheader.html b/doc/html/ntqheader.html index 47f29c363..040f7fc71 100644 --- a/doc/html/ntqheader.html +++ b/doc/html/ntqheader.html @@ -366,13 +366,13 @@ See the "offset" property for details.

                Orientation TQHeader::orientation () const

                Returns the header's orientation. See the "orientation" property for details. -

                void TQHeader::paintSection ( TQPainter * p, int index, const TQRect & fr ) [virtual protected] +

                void TQHeader::paintSection ( TQPainter * p, int index, const TQRect & fr ) [virtual protected]

                Paints the section at position index, inside rectangle fr (which uses widget coordinates) using painter p.

                Calls paintSectionLabel(). -

                void TQHeader::paintSectionLabel ( TQPainter * p, int index, const TQRect & fr ) [virtual protected] +

                void TQHeader::paintSectionLabel ( TQPainter * p, int index, const TQRect & fr ) [virtual protected]

                Paints the label of the section at position index, inside rectangle fr (which uses widget coordinates) using painter p. diff --git a/doc/html/ntqlabel.html b/doc/html/ntqlabel.html index 136d8e327..495e1ed6b 100644 --- a/doc/html/ntqlabel.html +++ b/doc/html/ntqlabel.html @@ -105,7 +105,7 @@ for specifying a focus accelerator key for another widget.
    • A pixmap Pass a TQPixmap to setPixmap().
      A movie -Pass a TQMovie to setMovie(). +Pass a TQMovie to setMovie().
      A number Pass an int or a double to setNum(), which converts the number to plain text. @@ -142,7 +142,7 @@ the other widget (called the TQLabel's "buddy"). For example: buddy (the TQLineEdit) when the user presses Alt+P. You can also use the setBuddy() function to accomplish the same thing.

      -

      See also TQLineEdit, TQTextEdit, TQPixmap, TQMovie, GUI Design Handbook: Label, Basic Widgets, and Text Related Classes. +

      See also TQLineEdit, TQTextEdit, TQPixmap, TQMovie, GUI Design Handbook: Label, Basic Widgets, and Text Related Classes.


      Member Function Documentation

      TQLabel::TQLabel ( TQWidget * parent, const char * name = 0, WFlags f = 0 ) @@ -196,7 +196,7 @@ Returns this label's buddy, or 0 if no buddy is currently set.

      Clears any label contents. Equivalent to setText( "" ). -

      void TQLabel::drawContents ( TQPainter * p ) [virtual protected] +

      void TQLabel::drawContents ( TQPainter * p ) [virtual protected]

      Draws the label contents using the painter p. @@ -207,7 +207,7 @@ See the "scaledContents" propert

      int TQLabel::indent () const

      Returns the label's text indent in pixels. See the "indent" property for details. -

      TQMovie * TQLabel::movie () const +

      TQMovie * TQLabel::movie () const

      Returns a pointer to the label's movie, or 0 if no movie has been set. @@ -266,7 +266,7 @@ set to 0.

      See also buddy(), text, TQAccel, and alignment.

      Examples: addressbook/centralwidget.cpp, chart/optionsform.cpp, and regexptester/regexptester.cpp. -

      void TQLabel::setFont ( const TQFont & f ) [virtual] +

      void TQLabel::setFont ( const TQFont & f ) [virtual]

      Sets the font used on the TQLabel to font f. @@ -275,7 +275,7 @@ Sets the font used on the TQLabel to font f.

      void TQLabel::setIndent ( int )

      Sets the label's text indent in pixels. See the "indent" property for details. -

      void TQLabel::setMovie ( const TQMovie & movie ) [virtual slot] +

      void TQLabel::setMovie ( const TQMovie & movie ) [virtual slot]

      Sets the label contents to movie. Any previous content is cleared. diff --git a/doc/html/ntqlcdnumber.html b/doc/html/ntqlcdnumber.html index 456af2102..c95c02887 100644 --- a/doc/html/ntqlcdnumber.html +++ b/doc/html/ntqlcdnumber.html @@ -192,7 +192,7 @@ See the "intValue" property for de This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

      Displays the number num. -

      void TQLCDNumber::drawContents ( TQPainter * p ) [virtual protected] +

      void TQLCDNumber::drawContents ( TQPainter * p ) [virtual protected]

      Draws the LCD number using painter p. This function is called from TQFrame::paintEvent(). @@ -298,7 +298,7 @@ one digit position.
      Produces flat segments filled with the foreground color.

      Outline and Filled will additionally use -TQColorGroup::light() and TQColorGroup::dark() for shadow effects. +TQColorGroup::light() and TQColorGroup::dark() for shadow effects.

      Set this property's value with setSegmentStyle() and get this property's value with segmentStyle().

      bool smallDecimalPoint

      diff --git a/doc/html/ntqlistbox.html b/doc/html/ntqlistbox.html index 28fa0835a..05e634094 100644 --- a/doc/html/ntqlistbox.html +++ b/doc/html/ntqlistbox.html @@ -776,7 +776,7 @@ the TQListBoxItem that the mouse has moved on.

      This signal is emitted when the user moves the mouse cursor from an item to an empty part of the list box. -

      void TQListBox::paintCell ( TQPainter * p, int row, int col ) [virtual protected] +

      void TQListBox::paintCell ( TQPainter * p, int row, int col ) [virtual protected]

      Provided for compatibility with the old TQListBox. We recommend using TQListBoxItem::paint() instead. diff --git a/doc/html/ntqlistview.html b/doc/html/ntqlistview.html index 43ba29a15..5231935da 100644 --- a/doc/html/ntqlistview.html +++ b/doc/html/ntqlistview.html @@ -597,7 +597,7 @@ drag object and a drag is started unless dragObject()

      By default this function returns 0. You should reimplement it and create a TQDragObject depending on the selected items. -

      void TQListView::drawContentsOffset ( TQPainter * p, int ox, int oy, int cx, int cy, int cw, int ch ) [virtual protected] +

      void TQListView::drawContentsOffset ( TQPainter * p, int ox, int oy, int cx, int cy, int cw, int ch ) [virtual protected]

      Calls TQListViewItem::paintCell() and TQListViewItem::paintBranches() as necessary for all list view @@ -818,7 +818,7 @@ item i, similar to the TQWidget::ent

      This signal is emitted when the user moves the mouse cursor from an item to an empty part of the list view. -

      void TQListView::paintEmptyArea ( TQPainter * p, const TQRect & rect ) [virtual protected] +

      void TQListView::paintEmptyArea ( TQPainter * p, const TQRect & rect ) [virtual protected]

      Paints rect so that it looks like empty background using painter p. rect is in widget coordinates, ready to be fed to diff --git a/doc/html/ntqmovie.html b/doc/html/ntqmovie.html deleted file mode 100644 index 71db1d49a..000000000 --- a/doc/html/ntqmovie.html +++ /dev/null @@ -1,388 +0,0 @@ - - - - - -TQMovie Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQMovie Class Reference

      - -

      The TQMovie class provides incremental loading of animations or images, signalling as it progresses. -More... -

      #include <ntqmovie.h> -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - -The TQMovie class provides incremental loading of animations or images, signalling as it progresses. -

      - - - -

      The simplest way to display a TQMovie is to use a TQLabel and -TQLabel::setMovie(). -

      A TQMovie provides a TQPixmap as the framePixmap(); connections can -be made via connectResize() and connectUpdate() to receive -notification of size and pixmap changes. All decoding is driven -by the normal event-processing mechanisms. -

      The movie begins playing as soon as the TQMovie is created -(actually, once control returns to the event loop). When the last -frame in the movie has been played, it may loop back to the start -if such looping is defined in the input source. -

      TQMovie objects are explicitly shared. This means that a TQMovie -copied from another TQMovie will be displaying the same frame at -all times. If one shared movie pauses, all pause. To make independent movies, they must be constructed separately. -

      The set of data formats supported by TQMovie is determined by the -decoder factories that have been installed; the format of the -input is determined as the input is decoded. -

      The supported formats are MNG (if TQt is configured with MNG -support enabled) and GIF (if TQt is configured with GIF support -enabled, see ntqgif.h). -

      If TQt is configured to support GIF reading, we are required to -state that "The Graphics Interchange Format(c) is the Copyright -property of CompuServe Incorporated. GIF(sm) is a Service Mark -property of CompuServe Incorporated. -

      Warning: If you are in a country that recognizes software patents -and in which Unisys holds a patent on LZW compression and/or -decompression and you want to use GIF, Unisys may require you to -license that technology. Such countries include Canada, Japan, -the USA, France, Germany, Italy and the UK. -

      GIF support may be removed completely in a future version of TQt. -We recommend using the MNG or PNG format. -

      TQMovie
      -

      See also TQLabel::setMovie(), Graphics Classes, Image Processing Classes, and Multimedia Classes. - -


      Member Type Documentation

      -

      TQMovie::Status

      - -
        -
      • TQMovie::SourceEmpty -
      • TQMovie::UnrecognizedFormat -
      • TQMovie::Paused -
      • TQMovie::EndOfFrame -
      • TQMovie::EndOfLoop -
      • TQMovie::EndOfMovie -
      • TQMovie::SpeedChanged -
      -

      Member Function Documentation

      -

      TQMovie::TQMovie () -

      -Constructs a null TQMovie. The only interesting thing to do with -such a movie is to assign another movie to it. -

      See also isNull(). - -

      TQMovie::TQMovie ( int bufsize ) -

      -Constructs a TQMovie with an external data source. You should later -call pushData() to send incoming animation data to the movie. -

      The bufsize argument sets the maximum amount of data the movie -will transfer from the data source per event loop. The lower this -value, the better interleaved the movie playback will be with -other event processing, but the slower the overall processing will -be. -

      See also pushData(). - -

      TQMovie::TQMovie ( TQDataSource * src, int bufsize = 1024 ) -

      -Constructs a TQMovie that reads an image sequence from the given -data source, src. The source must be allocated dynamically, -because TQMovie will take ownership of it and will destroy it when -the movie is destroyed. The movie starts playing as soon as event -processing continues. -

      The bufsize argument sets the maximum amount of data the movie -will transfer from the data source per event loop. The lower this -value, the better interleaved the movie playback will be with -other event processing, but the slower the overall processing will -be. - -

      TQMovie::TQMovie ( const TQString & fileName, int bufsize = 1024 ) -

      -Constructs a TQMovie that reads an image sequence from the file, fileName. -

      The bufsize argument sets the maximum amount of data the movie -will transfer from the data source per event loop. The lower this -value, the better interleaved the movie playback will be with -other event processing, but the slower the overall processing will -be. - -

      TQMovie::TQMovie ( TQByteArray data, int bufsize = 1024 ) -

      -Constructs a TQMovie that reads an image sequence from the byte -array, data. -

      The bufsize argument sets the maximum amount of data the movie -will transfer from the data source per event loop. The lower this -value, the better interleaved the movie playback will be with -other event processing, but the slower the overall processing will -be. - -

      TQMovie::TQMovie ( const TQMovie & movie ) -

      -Constructs a movie that uses the same data as movie movie. -TQMovies use explicit sharing, so operations on the copy will -affect both. - -

      TQMovie::~TQMovie () -

      -Destroys the TQMovie. If this is the last reference to the data of -the movie, the data is deallocated. - -

      const TQColor & TQMovie::backgroundColor () const -

      -Returns the background color of the movie set by -setBackgroundColor(). - -

      void TQMovie::connectResize ( TQObject * receiver, const char * member ) -

      -Connects the receiver's member of type void member(const TQSize&) so that it is signalled when the movie changes size. -

      Note that due to the explicit sharing of TQMovie objects, these -connections persist until they are explicitly disconnected with -disconnectResize() or until every shared copy of the movie is -deleted. - -

      Example: movies/main.cpp. -

      void TQMovie::connectStatus ( TQObject * receiver, const char * member ) -

      -Connects the receiver's member, of type void member(int) so that it is signalled when the movie changes -status. The status codes are negative for errors and positive for -information. -

      -
      Status Code Meaning -
      TQMovie::SourceEmpty -signalled if the input cannot be read. -
      TQMovie::UnrecognizedFormat -signalled if the input data is unrecognized. -
      TQMovie::Paused -signalled when the movie is paused by a call to paused() -or by after stepping pauses. -
      TQMovie::EndOfFrame -signalled at end-of-frame after any update and Paused signals. -
      TQMovie::EndOfLoop -signalled at end-of-loop, after any update signals, -EndOfFrame - but before EndOfMovie. -
      TQMovie::EndOfMovie -signalled when the movie completes and is not about to loop. -
      -

      More status messages may be added in the future, so a general test -for errors would test for negative. -

      Note that due to the explicit sharing of TQMovie objects, these -connections persist until they are explicitly disconnected with -disconnectStatus() or until every shared copy of the movie is -deleted. - -

      Example: movies/main.cpp. -

      void TQMovie::connectUpdate ( TQObject * receiver, const char * member ) -

      -Connects the receiver's member of type void member(const TQRect&) so that it is signalled when an area of the framePixmap() -has changed since the previous frame. -

      Note that due to the explicit sharing of TQMovie objects, these -connections persist until they are explicitly disconnected with -disconnectUpdate() or until every shared copy of the movie is -deleted. - -

      Example: movies/main.cpp. -

      void TQMovie::disconnectResize ( TQObject * receiver, const char * member = 0 ) -

      -Disconnects the receiver's member (or all members if member is zero) that were previously connected by connectResize(). - -

      void TQMovie::disconnectStatus ( TQObject * receiver, const char * member = 0 ) -

      -Disconnects the receiver's member (or all members if member is zero) that were previously connected by connectStatus(). - -

      void TQMovie::disconnectUpdate ( TQObject * receiver, const char * member = 0 ) -

      -Disconnects the receiver's member (or all members if \q -member is zero) that were previously connected by connectUpdate(). - -

      bool TQMovie::finished () const -

      -Returns TRUE if the image is no longer playing: this happens when -all loops of all frames are complete; otherwise returns FALSE. - -

      Example: movies/main.cpp. -

      const TQImage & TQMovie::frameImage () const -

      -Returns the current frame of the movie, as a TQImage. It is not -generally useful to keep a copy of this image. Also note that you -must not call this function if the movie is finished(), since by -then the image will not be available. -

      See also framePixmap(). - -

      int TQMovie::frameNumber () const -

      -Returns the number of times EndOfFrame has been emitted since the -start of the current loop of the movie. Thus, before any -EndOfFrame has been emitted the value will be 0; within slots -processing the first signal, frameNumber() will be 1, and so on. - -

      const TQPixmap & TQMovie::framePixmap () const -

      -Returns the current frame of the movie, as a TQPixmap. It is not -generally useful to keep a copy of this pixmap. It is better to -keep a copy of the TQMovie and get the framePixmap() only when -needed for drawing. -

      See also frameImage(). - -

      Example: movies/main.cpp. -

      const TQRect & TQMovie::getValidRect () const -

      -Returns the area of the pixmap for which pixels have been -generated. - -

      bool TQMovie::isNull () const -

      -Returns TRUE if the movie is null; otherwise returns FALSE. - -

      TQMovie & TQMovie::operator= ( const TQMovie & movie ) -

      -Makes this movie use the same data as movie movie. TQMovies use -explicit sharing. - -

      void TQMovie::pause () -

      -Pauses the progress of the animation. -

      See also unpause(). - -

      Example: movies/main.cpp. -

      bool TQMovie::paused () const -

      -Returns TRUE if the image is paused; otherwise returns FALSE. - -

      Example: movies/main.cpp. -

      void TQMovie::pushData ( const uchar * data, int length ) -

      -Pushes length bytes from data into the movie. length must -be no more than the amount returned by pushSpace() since the -previous call to pushData(). - -

      int TQMovie::pushSpace () const -

      -Returns the maximum amount of data that can currently be pushed -into the movie by a call to pushData(). This is affected by the -initial buffer size, but varies as the movie plays and data is -consumed. - -

      void TQMovie::restart () -

      -Rewinds the movie to the beginning. If the movie has not been -paused, it begins playing again. - -

      Example: movies/main.cpp. -

      bool TQMovie::running () const -

      -Returns TRUE if the image is not single-stepping, not paused, and -not finished; otherwise returns FALSE. - -

      void TQMovie::setBackgroundColor ( const TQColor & c ) -

      -Sets the background color of the pixmap to c. If the background -color isValid(), the pixmap will never have a mask because the -background color will be used in transparent regions of the image. -

      See also backgroundColor(). - -

      void TQMovie::setSpeed ( int percent ) -

      -Sets the movie's play speed as a percentage, to percent. This -is a percentage of the speed dictated by the input data format. -The default is 100 percent. - -

      int TQMovie::speed () const -

      -Returns the movie's play speed as a percentage. The default is 100 -percent. -

      See also setSpeed(). - -

      void TQMovie::step () -

      -Steps forward 1 frame and then pauses. - -

      Example: movies/main.cpp. -

      void TQMovie::step ( int steps ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Steps forward, showing steps frames, and then pauses. - -

      int TQMovie::steps () const -

      -Returns the number of steps remaining after a call to step(). If -the movie is paused, steps() returns 0. If it's running normally -or is finished, steps() returns a negative number. - -

      Example: movies/main.cpp. -

      void TQMovie::unpause () -

      -Unpauses the progress of the animation. -

      See also pause(). - -

      Example: movies/main.cpp. - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/ntqpaintdevice.html b/doc/html/ntqpaintdevice.html deleted file mode 100644 index 0ffdf4109..000000000 --- a/doc/html/ntqpaintdevice.html +++ /dev/null @@ -1,464 +0,0 @@ - - - - - -TQPaintDevice Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQPaintDevice Class Reference

      - -

      The TQPaintDevice class is the base class of objects that -can be painted. -More... -

      #include <ntqpaintdevice.h> -

      Inherited by TQWidget, TQPixmap, TQPicture, and TQPrinter. -

      List of all member functions. -

      Public Members

      - -

      Static Public Members

      - -

      Protected Members

      -
        -
      • TQPaintDevice ( uint devflags )
      • -
      • virtual bool cmd ( int, TQPainter *, TQPDevCmdParam * )
      • -
      -

      Related Functions

      -
        -
      • void bitBlt ( TQPaintDevice * dst, int dx, int dy, const TQPaintDevice * src, int sx, int sy, int sw, int sh, TQt::RasterOp rop, bool ignoreMask )
      • -
      • void bitBlt ( TQPaintDevice * dst, const TQPoint & dp, const TQPaintDevice * src, const TQRect & sr, RasterOp rop )
      • -
      -

      Detailed Description

      - - -The TQPaintDevice class is the base class of objects that -can be painted. -

      - -

      A paint device is an abstraction of a two-dimensional space that -can be drawn using a TQPainter. The drawing capabilities are -implemented by the subclasses TQWidget, TQPixmap, TQPicture and -TQPrinter. -

      The default coordinate system of a paint device has its origin -located at the top-left position. X increases to the right and Y -increases downward. The unit is one pixel. There are several ways -to set up a user-defined coordinate system using the painter, for -example, using TQPainter::setWorldMatrix(). -

      Example (draw on a paint device): -

      -    void MyWidget::paintEvent( TQPaintEvent * )
      -    {
      -        TQPainter p;                       // our painter
      -        p.begin( this );                  // start painting the widget
      -        p.setPen( red );                  // red outline
      -        p.setBrush( yellow );             // yellow fill
      -        p.drawEllipse( 10, 20, 100,100 ); // 100x100 ellipse at position (10, 20)
      -        p.end();                          // painting done
      -    }
      -    
      - -

      The bit block transfer is an extremely useful operation for -copying pixels from one paint device to another (or to itself). It -is implemented as the global function bitBlt(). -

      Example (scroll widget contents 10 pixels to the right): -

      -    bitBlt( myWidget, 10, 0, myWidget );
      -    
      - -

      Warning: TQt requires that a TQApplication object exists before -any paint devices can be created. Paint devices access window -system resources, and these resources are not initialized before -an application object is created. -

      See also Graphics Classes and Image Processing Classes. - -


      Member Function Documentation

      -

      TQPaintDevice::TQPaintDevice ( uint devflags ) [protected] -

      -Constructs a paint device with internal flags devflags. This -constructor can be invoked only from TQPaintDevice subclasses. - -

      TQPaintDevice::~TQPaintDevice () [virtual] -

      -Destroys the paint device and frees window system resources. - -

      bool TQPaintDevice::cmd ( int, TQPainter *, TQPDevCmdParam * ) [virtual protected] -

      -Internal virtual function that interprets drawing commands from -the painter. -

      Implemented by subclasses that have no direct support for drawing -graphics (external paint devices, for example, TQPicture). - -

      TQt::HANDLE TQPaintDevice::handle () const [virtual] -

      -Returns the window system handle of the paint device, for -low-level access. Using this function is not portable. -

      The HANDLE type varies with platform; see ntqpaintdevice.h and -ntqwindowdefs.h for details. -

      See also x11Display(). - -

      bool TQPaintDevice::isExtDev () const -

      - -

      Returns TRUE if the device is an external paint device; otherwise -returns FALSE. -

      External paint devices cannot be bitBlt()'ed from. TQPicture and -TQPrinter are external paint devices. - -

      bool TQPaintDevice::paintingActive () const -

      - -

      Returns TRUE if the device is being painted, i.e. someone has -called TQPainter::begin() but not yet called TQPainter::end() for -this device; otherwise returns FALSE. -

      See also TQPainter::isActive(). - -

      int TQPaintDevice::x11AppCells () [static] -

      - -

      Returns the number of entries in the colormap for the default -screen of the X display global to the application (X11 -only). Using this function is not portable. -

      See also x11Colormap(). - -

      int TQPaintDevice::x11AppCells ( int screen ) [static] -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      Returns the number of entries in the colormap for screen screen -of the X display global to the application (X11 only). Using this -function is not portable. -

      See also x11Colormap(). - -

      TQt::HANDLE TQPaintDevice::x11AppColormap () [static] -

      - -

      Returns the colormap for the default screen of the X display -global to the application (X11 only). Using this function is not -portable. -

      See also x11Cells(). - -

      TQt::HANDLE TQPaintDevice::x11AppColormap ( int screen ) [static] -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      Returns the colormap for screen screen of the X display global -to the application (X11 only). Using this function is not -portable. -

      See also x11Cells(). - -

      bool TQPaintDevice::x11AppDefaultColormap () [static] -

      - -

      Returns the default colormap for the default screen of the X -display global to the application (X11 only). Using this function -is not portable. -

      See also x11Cells(). - -

      bool TQPaintDevice::x11AppDefaultColormap ( int screen ) [static] -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      Returns the default colormap for screen screen of the X display -global to the application (X11 only). Using this function is not -portable. -

      See also x11Cells(). - -

      bool TQPaintDevice::x11AppDefaultVisual () [static] -

      - -

      Returns TRUE if the Visual used is the default for the default -screen of the X display global to the application (X11 only); -otherwise returns FALSE. Using this function is not portable. - -

      bool TQPaintDevice::x11AppDefaultVisual ( int screen ) [static] -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      Returns TRUE if the Visual used is the default for screen -screen of the X display global to the application (X11 only); -otherwise returns FALSE. Using this function is not portable. - -

      int TQPaintDevice::x11AppDepth ( int screen ) [static] -

      - -

      Returns the depth for screen screen of the X display global to -the application (X11 only). Using this function is not portable. -

      See also TQPixmap::defaultDepth(). - -

      int TQPaintDevice::x11AppDepth () [static] -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      Returns the depth for the default screen of the X display global -to the application (X11 only). Using this function is not -portable. -

      See also TQPixmap::defaultDepth(). - -

      Display * TQPaintDevice::x11AppDisplay () [static] -

      - -

      Returns a pointer to the X display global to the application (X11 -only). Using this function is not portable. -

      See also handle(). - -

      int TQPaintDevice::x11AppDpiX ( int screen ) [static] -

      -Returns the horizontal DPI of the X display (X11 only) for screen -screen. Using this function is not portable. See -TQPaintDeviceMetrics for portable access to related information. -Using this function is not portable. -

      See also x11AppDpiY(), x11SetAppDpiX(), and TQPaintDeviceMetrics::logicalDpiX(). - -

      int TQPaintDevice::x11AppDpiX () [static] -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Returns the horizontal DPI of the X display (X11 only) for the -default screen. Using this function is not portable. See -TQPaintDeviceMetrics for portable access to related information. -Using this function is not portable. - -

      int TQPaintDevice::x11AppDpiY ( int screen ) [static] -

      -Returns the vertical DPI of the X11 display (X11 only) for screen -screen. Using this function is not portable. See -TQPaintDeviceMetrics for portable access to related information. -Using this function is not portable. -

      See also x11AppDpiX(), x11SetAppDpiY(), and TQPaintDeviceMetrics::logicalDpiY(). - -

      int TQPaintDevice::x11AppDpiY () [static] -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Returns the vertical DPI of the X11 display (X11 only) for the -default screen. Using this function is not portable. See -TQPaintDeviceMetrics for portable access to related information. -Using this function is not portable. -

      See also x11AppDpiX(), x11SetAppDpiY(), and TQPaintDeviceMetrics::logicalDpiY(). - -

      TQt::HANDLE TQPaintDevice::x11AppRootWindow () [static] -

      - -

      Returns the root window for the default screen of the X display -global to the applicatoin (X11 only). Using this function is not -portable. - -

      TQt::HANDLE TQPaintDevice::x11AppRootWindow ( int screen ) [static] -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      Returns the root window for screen screen of the X display -global to the applicatoin (X11 only). Using this function is not -portable. - -

      int TQPaintDevice::x11AppScreen () [static] -

      - -

      Returns the screen number on the X display global to the -application (X11 only). Using this function is not portable. - -

      void * TQPaintDevice::x11AppVisual () [static] -

      - -

      Returns the Visual for the default screen of the X display global -to the application (X11 only). Using this function is not -portable. - -

      void * TQPaintDevice::x11AppVisual ( int screen ) [static] -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      -

      Returns the Visual for screen screen of the X display global to -the application (X11 only). Using this function is not portable. - -

      int TQPaintDevice::x11Cells () const -

      - -

      Returns the number of entries in the colormap of the X display for -the paint device (X11 only). Using this function is not portable. -

      See also x11Colormap(). - -

      TQt::HANDLE TQPaintDevice::x11Colormap () const -

      - -

      Returns the colormap of the X display for the paint device (X11 -only). Using this function is not portable. -

      See also x11Cells(). - -

      bool TQPaintDevice::x11DefaultColormap () const -

      - -

      Returns the default colormap of the X display for the paint device -(X11 only). Using this function is not portable. -

      See also x11Cells(). - -

      bool TQPaintDevice::x11DefaultVisual () const -

      - -

      Returns the default Visual of the X display for the paint device -(X11 only). Using this function is not portable. - -

      int TQPaintDevice::x11Depth () const -

      - -

      Returns the depth of the X display for the paint device (X11 -only). Using this function is not portable. -

      See also TQPixmap::defaultDepth(). - -

      Display * TQPaintDevice::x11Display () const -

      - -

      Returns a pointer to the X display for the paint device (X11 -only). Using this function is not portable. -

      See also handle(). - -

      int TQPaintDevice::x11Screen () const -

      - -

      Returns the screen number on the X display for the paint device -(X11 only). Using this function is not portable. - -

      void TQPaintDevice::x11SetAppDpiX ( int dpi, int screen ) [static] -

      -Sets the value returned by x11AppDpiX() to dpi for screen -screen. The default is determined by the display configuration. -Changing this value will alter the scaling of fonts and many other -metrics and is not recommended. Using this function is not -portable. -

      See also x11SetAppDpiY(). - -

      void TQPaintDevice::x11SetAppDpiX ( int dpi ) [static] -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Sets the value returned by x11AppDpiX() to dpi for the default -screen. The default is determined by the display configuration. -Changing this value will alter the scaling of fonts and many other -metrics and is not recommended. Using this function is not -portable. -

      -

      void TQPaintDevice::x11SetAppDpiY ( int dpi, int screen ) [static] -

      -Sets the value returned by x11AppDpiY() to dpi for screen -screen. The default is determined by the display configuration. -Changing this value will alter the scaling of fonts and many other -metrics and is not recommended. Using this function is not -portable. -

      See also x11SetAppDpiX(). - -

      void TQPaintDevice::x11SetAppDpiY ( int dpi ) [static] -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Sets the value returned by x11AppDpiY() to dpi for the default -screen. The default is determined by the display configuration. -Changing this value will alter the scaling of fonts and many other -metrics and is not recommended. Using this function is not -portable. - -

      void * TQPaintDevice::x11Visual () const -

      - -

      Returns the Visual of the X display for the paint device (X11 -only). Using this function is not portable. - -


      Related Functions

      -

      void bitBlt ( TQPaintDevice * dst, int dx, int dy, const TQPaintDevice * src, int sx, int sy, int sw, int sh, TQt::RasterOp rop, bool ignoreMask ) -

      - -

      Copies a block of pixels from src to dst, perhaps merging -each pixel according to the raster operation -rop. sx, sy -is the top-left pixel in src (0, 0) by default, dx, dy is -the top-left position in dst and sw, sh is the size of -the copied block (all of src by default). -

      The most common values for rop are CopyROP and XorROP; the TQt::RasterOp documentation defines all the possible values. -

      If ignoreMask is FALSE (the default) and src is a -masked TQPixmap, the entire blit is masked by src->mask(). -

      If src, dst, sw or sh is 0, bitBlt() does nothing. If -sw or sh is negative bitBlt() copies starting at sx (and -respectively, sy) and ending at the right end (respectively, -bottom) of src. -

      src must be a TQWidget or TQPixmap. You cannot blit from a -TQPrinter, for example. bitBlt() does nothing if you attempt to -blit from an unsupported device. -

      bitBlt() does nothing if src has a greater depth than dst. -If you need to for example, draw a 24-bit pixmap on an 8-bit -widget, you must use drawPixmap(). - -

      void bitBlt ( TQPaintDevice * dst, const TQPoint & dp, const TQPaintDevice * src, const TQRect & sr, RasterOp rop ) -

      - -

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Overloaded bitBlt() with the destination point dp and source -rectangle sr. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/ntqpaintdevicemetrics.html b/doc/html/ntqpaintdevicemetrics.html deleted file mode 100644 index 121e21322..000000000 --- a/doc/html/ntqpaintdevicemetrics.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - -TQPaintDeviceMetrics Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQPaintDeviceMetrics Class Reference

      - -

      The TQPaintDeviceMetrics class provides information about a -paint device. -More... -

      #include <ntqpaintdevicemetrics.h> -

      List of all member functions. -

      Public Members

      - -

      Detailed Description

      - - -The TQPaintDeviceMetrics class provides information about a -paint device. -

      - -

      Sometimes when drawing graphics it is necessary to obtain -information about the physical characteristics of a paint device. -This class provides the information. For example, to compute the -aspect ratio of a paint device: -

      -        TQPaintDeviceMetrics pdm( myWidget );
      -        double aspect = (double)pdm.widthMM() / (double)pdm.heightMM();
      -    
      - -

      TQPaintDeviceMetrics contains methods to provide the width and -height of a device in both pixels (width() and height()) and -millimeters (widthMM() and heightMM()), the number of colors the -device supports (numColors()), the number of bit planes (depth()), -and the resolution of the device (logicalDpiX() and -logicalDpiY()). -

      It is not always possible for TQPaintDeviceMetrics to compute the -values you ask for, particularly for external devices. The -ultimate example is asking for the resolution of of a TQPrinter -that is set to "print to file": who knows what printer that file -will end up on? -

      See also Graphics Classes and Image Processing Classes. - -


      Member Function Documentation

      -

      TQPaintDeviceMetrics::TQPaintDeviceMetrics ( const TQPaintDevice * pd ) -

      -Constructs a metric for the paint device pd. - -

      int TQPaintDeviceMetrics::depth () const -

      - -

      Returns the bit depth (number of bit planes) of the paint device. - -

      int TQPaintDeviceMetrics::height () const -

      - -

      Returns the height of the paint device in default coordinate -system units (e.g. pixels for TQPixmap and TQWidget). - -

      Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. -

      int TQPaintDeviceMetrics::heightMM () const -

      - -

      Returns the height of the paint device, measured in millimeters. - -

      int TQPaintDeviceMetrics::logicalDpiX () const -

      - -

      Returns the horizontal resolution of the device in dots per inch, -which is used when computing font sizes. For X, this is usually -the same as could be computed from widthMM(), but it varies on -Windows. - -

      Example: qwerty/qwerty.cpp. -

      int TQPaintDeviceMetrics::logicalDpiY () const -

      - -

      Returns the vertical resolution of the device in dots per inch, -which is used when computing font sizes. For X, this is usually -the same as could be computed from heightMM(), but it varies on -Windows. - -

      Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. -

      int TQPaintDeviceMetrics::numColors () const -

      - -

      Returns the number of different colors available for the paint -device. Since this value is an int will not be sufficient to represent -the number of colors on 32 bit displays, in which case INT_MAX is -returned instead. - -

      int TQPaintDeviceMetrics::width () const -

      - -

      Returns the width of the paint device in default coordinate system -units (e.g. pixels for TQPixmap and TQWidget). - -

      Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. -

      int TQPaintDeviceMetrics::widthMM () const -

      - -

      Returns the width of the paint device, measured in millimeters. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/ntqpainter.html b/doc/html/ntqpainter.html deleted file mode 100644 index a462aa1f3..000000000 --- a/doc/html/ntqpainter.html +++ /dev/null @@ -1,1625 +0,0 @@ - - - - - -TQPainter Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQPainter Class Reference

      - -

      The TQPainter class does low-level painting e.g. on widgets. -More... -

      #include <ntqpainter.h> -

      Inherits TQt. -

      List of all member functions. -

      Public Members

      -
        -
      • enum CoordinateMode { CoordDevice, CoordPainter }
      • -
      • TQPainter ()
      • -
      • TQPainter ( const TQPaintDevice * pd, bool unclipped = FALSE )
      • -
      • TQPainter ( const TQPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )
      • -
      • ~TQPainter ()
      • -
      • bool begin ( const TQPaintDevice * pd, bool unclipped = FALSE )
      • -
      • bool begin ( const TQPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )
      • -
      • bool end ()
      • -
      • TQPaintDevice * device () const
      • -
      • bool isActive () const
      • -
      • void flush ( const TQRegion & region, CoordinateMode cm = CoordDevice )
      • -
      • void flush ()
      • -
      • void save ()
      • -
      • void restore ()
      • -
      • TQFontMetrics fontMetrics () const
      • -
      • TQFontInfo fontInfo () const
      • -
      • const TQFont & font () const
      • -
      • void setFont ( const TQFont & font )
      • -
      • const TQPen & pen () const
      • -
      • void setPen ( const TQPen & pen )
      • -
      • void setPen ( PenStyle style )
      • -
      • void setPen ( const TQColor & color )
      • -
      • const TQBrush & brush () const
      • -
      • void setBrush ( const TQBrush & brush )
      • -
      • void setBrush ( BrushStyle style )
      • -
      • void setBrush ( const TQColor & color )
      • -
      • TQPoint pos () const  (obsolete)
      • -
      • const TQColor & backgroundColor () const
      • -
      • void setBackgroundColor ( const TQColor & c )
      • -
      • BGMode backgroundMode () const
      • -
      • void setBackgroundMode ( BGMode m )
      • -
      • RasterOp rasterOp () const
      • -
      • void setRasterOp ( RasterOp r )
      • -
      • const TQPoint & brushOrigin () const
      • -
      • void setBrushOrigin ( int x, int y )
      • -
      • void setBrushOrigin ( const TQPoint & p )
      • -
      • bool hasViewXForm () const
      • -
      • bool hasWorldXForm () const
      • -
      • void setViewXForm ( bool enable )
      • -
      • TQRect window () const
      • -
      • void setWindow ( const TQRect & r )
      • -
      • void setWindow ( int x, int y, int w, int h )
      • -
      • TQRect viewport () const
      • -
      • void setViewport ( const TQRect & r )
      • -
      • void setViewport ( int x, int y, int w, int h )
      • -
      • void setWorldXForm ( bool enable )
      • -
      • const TQWMatrix & worldMatrix () const
      • -
      • void setWorldMatrix ( const TQWMatrix & m, bool combine = FALSE )
      • -
      • void saveWorldMatrix ()  (obsolete)
      • -
      • void restoreWorldMatrix ()  (obsolete)
      • -
      • void scale ( double sx, double sy )
      • -
      • void shear ( double sh, double sv )
      • -
      • void rotate ( double a )
      • -
      • void translate ( double dx, double dy )
      • -
      • void resetXForm ()
      • -
      • TQPoint xForm ( const TQPoint & pv ) const
      • -
      • TQRect xForm ( const TQRect & rv ) const
      • -
      • TQPointArray xForm ( const TQPointArray & av ) const
      • -
      • TQPointArray xForm ( const TQPointArray & av, int index, int npoints ) const
      • -
      • TQPoint xFormDev ( const TQPoint & pd ) const
      • -
      • TQRect xFormDev ( const TQRect & rd ) const
      • -
      • TQPointArray xFormDev ( const TQPointArray & ad ) const
      • -
      • TQPointArray xFormDev ( const TQPointArray & ad, int index, int npoints ) const
      • -
      • void setClipping ( bool enable )
      • -
      • bool hasClipping () const
      • -
      • TQRegion clipRegion ( CoordinateMode m = CoordDevice ) const
      • -
      • void setClipRect ( const TQRect & r, CoordinateMode m = CoordDevice )
      • -
      • void setClipRect ( int x, int y, int w, int h, CoordinateMode m = CoordDevice )
      • -
      • void setClipRegion ( const TQRegion & rgn, CoordinateMode m = CoordDevice )
      • -
      • void drawPoint ( int x, int y )
      • -
      • void drawPoint ( const TQPoint & p )
      • -
      • void drawPoints ( const TQPointArray & a, int index = 0, int npoints = -1 )
      • -
      • void moveTo ( int x, int y )  (obsolete)
      • -
      • void moveTo ( const TQPoint & p )  (obsolete)
      • -
      • void lineTo ( int x, int y )  (obsolete)
      • -
      • void lineTo ( const TQPoint & p )  (obsolete)
      • -
      • void drawLine ( int x1, int y1, int x2, int y2 )
      • -
      • void drawLine ( const TQPoint & p1, const TQPoint & p2 )
      • -
      • void drawRect ( int x, int y, int w, int h )
      • -
      • void drawRect ( const TQRect & r )
      • -
      • void drawWinFocusRect ( int x, int y, int w, int h )
      • -
      • void drawWinFocusRect ( int x, int y, int w, int h, const TQColor & bgColor )
      • -
      • void drawWinFocusRect ( const TQRect & r )
      • -
      • void drawWinFocusRect ( const TQRect & r, const TQColor & bgColor )
      • -
      • void drawRoundRect ( int x, int y, int w, int h, int xRnd = 25, int yRnd = 25 )
      • -
      • void drawRoundRect ( const TQRect & r, int xRnd = 25, int yRnd = 25 )
      • -
      • void drawEllipse ( int x, int y, int w, int h )
      • -
      • void drawEllipse ( const TQRect & r )
      • -
      • void drawArc ( int x, int y, int w, int h, int a, int alen )
      • -
      • void drawArc ( const TQRect & r, int a, int alen )
      • -
      • void drawPie ( int x, int y, int w, int h, int a, int alen )
      • -
      • void drawPie ( const TQRect & r, int a, int alen )
      • -
      • void drawChord ( int x, int y, int w, int h, int a, int alen )
      • -
      • void drawChord ( const TQRect & r, int a, int alen )
      • -
      • void drawLineSegments ( const TQPointArray & a, int index = 0, int nlines = -1 )
      • -
      • void drawPolyline ( const TQPointArray & a, int index = 0, int npoints = -1 )
      • -
      • void drawPolygon ( const TQPointArray & a, bool winding = FALSE, int index = 0, int npoints = -1 )
      • -
      • void drawConvexPolygon ( const TQPointArray & pa, int index = 0, int npoints = -1 )
      • -
      • void drawCubicBezier ( const TQPointArray & a, int index = 0 )
      • -
      • void drawPixmap ( int x, int y, const TQPixmap & pixmap, int sx = 0, int sy = 0, int sw = -1, int sh = -1 )
      • -
      • void drawPixmap ( const TQPoint & p, const TQPixmap & pm, const TQRect & sr )
      • -
      • void drawPixmap ( const TQPoint & p, const TQPixmap & pm )
      • -
      • void drawPixmap ( const TQRect & r, const TQPixmap & pm )
      • -
      • void drawImage ( int x, int y, const TQImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, int conversionFlags = 0 )
      • -
      • void drawImage ( const TQPoint &, const TQImage &, const TQRect & sr, int conversionFlags = 0 )
      • -
      • void drawImage ( const TQPoint & p, const TQImage & i, int conversion_flags = 0 )
      • -
      • void drawImage ( const TQRect & r, const TQImage & i )
      • -
      • void drawTiledPixmap ( int x, int y, int w, int h, const TQPixmap & pixmap, int sx = 0, int sy = 0 )
      • -
      • void drawTiledPixmap ( const TQRect & r, const TQPixmap & pm, const TQPoint & sp )
      • -
      • void drawTiledPixmap ( const TQRect & r, const TQPixmap & pm )
      • -
      • void drawPicture ( const TQPicture & pic )  (obsolete)
      • -
      • void drawPicture ( int x, int y, const TQPicture & pic )
      • -
      • void drawPicture ( const TQPoint & p, const TQPicture & pic )
      • -
      • void fillRect ( int x, int y, int w, int h, const TQBrush & brush )
      • -
      • void fillRect ( const TQRect & r, const TQBrush & brush )
      • -
      • void eraseRect ( int x, int y, int w, int h )
      • -
      • void eraseRect ( const TQRect & r )
      • -
      • enum TextDirection { Auto, RTL, LTR }
      • -
      • void drawText ( int x, int y, const TQString &, int len = -1, TextDirection dir = Auto )
      • -
      • void drawText ( const TQPoint &, const TQString &, int len = -1, TextDirection dir = Auto )
      • -
      • void drawText ( int x, int y, const TQString &, int pos, int len, TextDirection dir = Auto )
      • -
      • void drawText ( const TQPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto )
      • -
      • void drawText ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQRect * br = 0, TQTextParag ** internal = 0 )
      • -
      • void drawText ( const TQRect & r, int tf, const TQString & str, int len = -1, TQRect * brect = 0, TQTextParag ** internal = 0 )
      • -
      • TQRect boundingRect ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQTextParag ** intern = 0 )
      • -
      • TQRect boundingRect ( const TQRect & r, int flags, const TQString & str, int len = -1, TQTextParag ** internal = 0 )
      • -
      • int tabStops () const
      • -
      • void setTabStops ( int ts )
      • -
      • int * tabArray () const
      • -
      • void setTabArray ( int * ta )
      • -
      • HDC handle () const
      • -
      -

      Static Public Members

      -
        -
      • void redirect ( TQPaintDevice * pdev, TQPaintDevice * replacement )
      • -
      -

      Related Functions

      -
        -
      • void qDrawShadeLine ( TQPainter * p, int x1, int y1, int x2, int y2, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth )
      • -
      • void qDrawShadeRect ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth, const TQBrush * fill )
      • -
      • void qDrawShadePanel ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, const TQBrush * fill )
      • -
      • void qDrawWinButton ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill )
      • -
      • void qDrawWinPanel ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill )
      • -
      • void qDrawPlainRect ( TQPainter * p, int x, int y, int w, int h, const TQColor & c, int lineWidth, const TQBrush * fill )
      • -
      -

      Detailed Description

      - - -The TQPainter class does low-level painting e.g. on widgets. -

      - - -

      The painter provides highly optimized functions to do most of the -drawing GUI programs require. TQPainter can draw everything from -simple lines to complex shapes like pies and chords. It can also -draw aligned text and pixmaps. Normally, it draws in a "natural" -coordinate system, but it can also do view and world -transformation. -

      The typical use of a painter is: -

        -
      • Construct a painter. -
      • Set a pen, a brush etc. -
      • Draw. -
      • Destroy the painter. -
      -

      Mostly, all this is done inside a paint event. (In fact, 99% of -all TQPainter use is in a reimplementation of -TQWidget::paintEvent(), and the painter is heavily optimized for -such use.) Here's one very simple example: -

      -    void SimpleExampleWidget::paintEvent()
      -    {
      -        TQPainter paint( this );
      -        paint.setPen( TQt::blue );
      -        paint.drawText( rect(), AlignCenter, "The Text" );
      -    }
      -    
      - -

      Usage is simple, and there are many settings you can use: -

        -

      • font() is the currently set font. If you set a font that isn't -available, TQt finds a close match. In fact font() returns what -you set using setFont() and fontInfo() returns the font actually -being used (which may be the same). -

      • brush() is the currently set brush; the color or pattern that's -used for filling e.g. circles. -

      • pen() is the currently set pen; the color or stipple that's -used for drawing lines or boundaries. -

      • backgroundMode() is Opaque or Transparent, i.e. whether -backgroundColor() is used or not. -

      • backgroundColor() only applies when backgroundMode() is Opaque -and pen() is a stipple. In that case, it describes the color of -the background pixels in the stipple. -

      • rasterOp() is how pixels drawn interact with the pixels already -there. -

      • brushOrigin() is the origin of the tiled brushes, normally the -origin of the window. -

      • viewport(), window(), worldMatrix() and many more make up the -painter's coordinate transformation system. See The Coordinate System for an explanation of -this, or see below for a very brief overview of the functions. -

      • hasClipping() is whether the painter clips at all. (The paint -device clips, too.) If the painter clips, it clips to clipRegion(). -

      • pos() is the current position, set by moveTo() and used by -lineTo(). -

      -

      Note that some of these settings mirror settings in some paint -devices, e.g. TQWidget::font(). TQPainter::begin() (or the TQPainter -constructor) copies these attributes from the paint device. -Calling, for example, TQWidget::setFont() doesn't take effect until -the next time a painter begins painting on it. -

      save() saves all of these settings on an internal stack, restore() -pops them back. -

      The core functionality of TQPainter is drawing, and there are -functions to draw most primitives: drawPoint(), drawPoints(), -drawLine(), drawRect(), drawWinFocusRect(), drawRoundRect(), -drawEllipse(), drawArc(), drawPie(), drawChord(), -drawLineSegments(), drawPolyline(), drawPolygon(), -drawConvexPolygon() and drawCubicBezier(). All of these functions -take integer coordinates; there are no floating-point versions -since we want drawing to be as fast as possible. -

      There are functions to draw pixmaps/images, namely drawPixmap(), -drawImage() and drawTiledPixmap(). drawPixmap() and drawImage() -produce the same result, except that drawPixmap() is faster -on-screen and drawImage() faster and sometimes better on TQPrinter -and TQPicture. -

      Text drawing is done using drawText(), and when you need -fine-grained positioning, boundingRect() tells you where a given -drawText() command would draw. -

      There is a drawPicture() function that draws the contents of an -entire TQPicture using this painter. drawPicture() is the only -function that disregards all the painter's settings: the TQPicture -has its own settings. -

      Normally, the TQPainter operates on the device's own coordinate -system (usually pixels), but TQPainter has good support for -coordinate transformation. See The Coordinate - System for a more general overview and a simple example. -

      The most common functions used are scale(), rotate(), translate() -and shear(), all of which operate on the worldMatrix(). -setWorldMatrix() can replace or add to the currently set -worldMatrix(). -

      setViewport() sets the rectangle on which TQPainter operates. The -default is the entire device, which is usually fine, except on -printers. setWindow() sets the coordinate system, that is, the -rectangle that maps to viewport(). What's drawn inside the -window() ends up being inside the viewport(). The window's -default is the same as the viewport, and if you don't use the -transformations, they are optimized away, gaining another little -bit of speed. -

      After all the coordinate transformation is done, TQPainter can clip -the drawing to an arbitrary rectangle or region. hasClipping() is -TRUE if TQPainter clips, and clipRegion() returns the clip region. -You can set it using either setClipRegion() or setClipRect(). -Note that the clipping can be slow. It's all system-dependent, -but as a rule of thumb, you can assume that drawing speed is -inversely proportional to the number of rectangles in the clip -region. -

      After TQPainter's clipping, the paint device may also clip. For -example, most widgets clip away the pixels used by child widgets, -and most printers clip away an area near the edges of the paper. -This additional clipping is not reflected by the return value of -clipRegion() or hasClipping(). -

      TQPainter also includes some less-used functions that are very -useful on those occasions when they're needed. -

      isActive() indicates whether the painter is active. begin() (and -the most usual constructor) makes it active. end() (and the -destructor) deactivates it. If the painter is active, device() -returns the paint device on which the painter paints. -

      Sometimes it is desirable to make someone else paint on an unusual -TQPaintDevice. TQPainter supports a static function to do this, -redirect(). We recommend not using it, but for some hacks it's -perfect. -

      setTabStops() and setTabArray() can change where the tab stops -are, but these are very seldomly used. -

      Warning: Note that TQPainter does not attempt to work around -coordinate limitations in the underlying window system. Some -platforms may behave incorrectly with coordinates as small as -+/-4000. - -

      See also TQPaintDevice, TQWidget, TQPixmap, TQPrinter, TQPicture, Application Walkthrough, Coordinate System Overview, Graphics Classes, and Image Processing Classes. - -


      Member Type Documentation

      -

      TQPainter::CoordinateMode

      - -
        -
      • TQPainter::CoordDevice -
      • TQPainter::CoordPainter -

      See also clipRegion(). - -

      TQPainter::TextDirection

      - -
        -
      • TQPainter::Auto -
      • TQPainter::RTL - right to left -
      • TQPainter::LTR - left to right -

      See also drawText(). - -


      Member Function Documentation

      -

      TQPainter::TQPainter () -

      -Constructs a painter. -

      Notice that all painter settings (setPen, setBrush etc.) are reset -to default values when begin() is called. -

      See also begin() and end(). - -

      TQPainter::TQPainter ( const TQPaintDevice * pd, bool unclipped = FALSE ) -

      -Constructs a painter that begins painting the paint device pd -immediately. Depending on the underlying graphic system the -painter will paint over children of the paintdevice if unclipped is TRUE. -

      This constructor is convenient for short-lived painters, e.g. in a -paint event and should be used -only once. The constructor calls begin() for you and the TQPainter -destructor automatically calls end(). -

      Here's an example using begin() and end(): -

      -        void MyWidget::paintEvent( TQPaintEvent * )
      -        {
      -            TQPainter p;
      -            p.begin( this );
      -            p.drawLine( ... );  // drawing code
      -            p.end();
      -        }
      -    
      - -

      The same example using this constructor: -

      -        void MyWidget::paintEvent( TQPaintEvent * )
      -        {
      -            TQPainter p( this );
      -            p.drawLine( ... );  // drawing code
      -        }
      -    
      - -

      Since the constructor cannot provide feedback when the initialization -of the painter failed you should rather use begin() and end() to paint -on external devices, e.g. printers. -

      See also begin() and end(). - -

      TQPainter::TQPainter ( const TQPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE ) -

      -Constructs a painter that begins painting the paint device pd -immediately, with the default arguments taken from copyAttributes. The painter will paint over children of the paint -device if unclipped is TRUE (although this is not supported on -all platforms). -

      See also begin(). - -

      TQPainter::~TQPainter () -

      -Destroys the painter. - -

      const TQColor & TQPainter::backgroundColor () const -

      - -

      Returns the current background color. -

      See also setBackgroundColor() and TQColor. - -

      BGMode TQPainter::backgroundMode () const -

      - -

      Returns the current background mode. -

      See also setBackgroundMode() and BGMode. - -

      bool TQPainter::begin ( const TQPaintDevice * pd, bool unclipped = FALSE ) -

      -Begins painting the paint device pd and returns TRUE if -successful; otherwise returns FALSE. If unclipped is TRUE, the -painting will not be clipped at the paint device's boundaries, -(although this is not supported by all platforms). -

      The errors that can occur are serious problems, such as these: -

      -        p->begin( 0 ); // impossible - paint device cannot be 0
      -
      -        TQPixmap pm( 0, 0 );
      -        p->begin( pm ); // impossible - pm.isNull();
      -
      -        p->begin( myWidget );
      -        p2->begin( myWidget ); // impossible - only one painter at a time
      -    
      - -

      Note that most of the time, you can use one of the constructors -instead of begin(), and that end() is automatically done at -destruction. -

      Warning: A paint device can only be painted by one painter at a -time. -

      See also end() and flush(). - -

      Examples: aclock/aclock.cpp, desktop/desktop.cpp, drawdemo/drawdemo.cpp, hello/hello.cpp, picture/picture.cpp, t10/cannon.cpp, and xform/xform.cpp. -

      bool TQPainter::begin ( const TQPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      This version opens the painter on a paint device pd and sets -the initial pen, background color and font from copyAttributes, -painting over the paint device's children when unclipped is -TRUE. This is equivalent to: -

      -        TQPainter p;
      -        p.begin( pd );
      -        p.setPen( copyAttributes->foregroundColor() );
      -        p.setBackgroundColor( copyAttributes->backgroundColor() );
      -        p.setFont( copyAttributes->font() );
      -    
      - -

      This begin function is convenient for double buffering. When you -draw in a pixmap instead of directly in a widget (to later bitBlt -the pixmap into the widget) you will need to set the widget's -font etc. This function does exactly that. -

      Example: -

      -        void MyWidget::paintEvent( TQPaintEvent * )
      -        {
      -            TQPixmap pm(size());
      -            TQPainter p;
      -            p.begin(&pm, this);
      -            // ... potentially flickering paint operation ...
      -            p.end();
      -            bitBlt(this, 0, 0, &pm);
      -        }
      -    
      - -

      See also end(). - -

      TQRect TQPainter::boundingRect ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQTextParag ** intern = 0 ) -

      - -

      Returns the bounding rectangle of the aligned text that would be -printed with the corresponding drawText() function using the first -len characters of the string if len is > -1, or the whole of -the string if len is -1. The drawing, and hence the bounding -rectangle, is constrained to the rectangle that begins at point (x, y) with width w and hight h, or to the -rectangle required to draw the text, whichever is the larger. -

      The flags argument is -the bitwise OR of the following flags: -

      -
      Flag Meaning -
      AlignAuto aligns according to the language, usually left. -
      AlignLeft aligns to the left border. -
      AlignRight aligns to the right border. -
      AlignHCenter aligns horizontally centered. -
      AlignTop aligns to the top border. -
      AlignBottom aligns to the bottom border. -
      AlignVCenter aligns vertically centered. -
      AlignCenter (== AlignHCenter | AlignVCenter). -
      SingleLine ignores newline characters in the text. -
      ExpandTabs expands tabs. -
      ShowPrefix interprets "&x" as "x". -
      WordBreak breaks the text to fit the rectangle. -
      -

      Horizontal alignment defaults to AlignLeft and vertical -alignment defaults to AlignTop. -

      If several of the horizontal or several of the vertical alignment flags -are set, the resulting alignment is undefined. -

      The intern parameter should not be used. -

      See also TQt::TextFlags. - -

      TQRect TQPainter::boundingRect ( const TQRect & r, int flags, const TQString & str, int len = -1, TQTextParag ** internal = 0 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Returns the bounding rectangle of the aligned text that would be -printed with the corresponding drawText() function using the first -len characters from str if len is > -1, or the whole of -str if len is -1. The drawing, and hence the bounding -rectangle, is constrained to the rectangle r, or to the -rectangle required to draw the text, whichever is the larger. -

      The internal parameter should not be used. -

      See also drawText(), fontMetrics(), TQFontMetrics::boundingRect(), and TQt::TextFlags. - -

      const TQBrush & TQPainter::brush () const -

      - -

      Returns the painter's current brush. -

      See also TQPainter::setBrush(). - -

      Examples: themes/metal.cpp and themes/wood.cpp. -

      const TQPoint & TQPainter::brushOrigin () const -

      - -

      Returns the brush origin currently set. -

      See also setBrushOrigin(). - -

      TQRegion TQPainter::clipRegion ( CoordinateMode m = CoordDevice ) const -

      -Returns the currently set clip region. Note that the clip region -is given in physical device coordinates and not subject to any -coordinate transformation if m is -equal to CoordDevice (the default). If m equals CoordPainter the returned region is in model coordinates. -

      See also setClipRegion(), setClipRect(), setClipping(), and TQPainter::CoordinateMode. - -

      Example: themes/wood.cpp. -

      TQPaintDevice * TQPainter::device () const -

      - -

      Returns the paint device on which this painter is currently -painting, or 0 if the painter is not active. -

      See also TQPaintDevice::paintingActive(). - -

      Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, listboxcombo/listboxcombo.cpp, and mdi/application.cpp. -

      void TQPainter::drawArc ( int x, int y, int w, int h, int a, int alen ) -

      -Draws an arc defined by the rectangle (x, y, w, h), the start -angle a and the arc length alen. -

      The angles a and alen are 1/16th of a degree, i.e. a full -circle equals 5760 (16*360). Positive values of a and alen -mean counter-clockwise while negative values mean the clockwise -direction. Zero degrees is at the 3 o'clock position. -

      Example: -

      -        TQPainter p( myWidget );
      -        p.drawArc( 10,10, 70,100, 100*16, 160*16 ); // draws a "(" arc
      -    
      - -

      See also drawPie() and drawChord(). - -

      void TQPainter::drawArc ( const TQRect & r, int a, int alen ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the arc that fits inside the rectangle r with start angle -a and arc length alen. - -

      void TQPainter::drawChord ( int x, int y, int w, int h, int a, int alen ) -

      -Draws a chord defined by the rectangle (x, y, w, h), the start -angle a and the arc length alen. -

      The chord is filled with the current brush(). -

      The angles a and alen are 1/16th of a degree, i.e. a full -circle equals 5760 (16*360). Positive values of a and alen -mean counter-clockwise while negative values mean the clockwise -direction. Zero degrees is at the 3 o'clock position. -

      See also drawArc() and drawPie(). - -

      void TQPainter::drawChord ( const TQRect & r, int a, int alen ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws a chord that fits inside the rectangle r with start angle -a and arc length alen. - -

      void TQPainter::drawConvexPolygon ( const TQPointArray & pa, int index = 0, int npoints = -1 ) -

      -Draws the convex polygon defined by the npoints points in pa -starting at pa[index] (index defaults to 0). -

      If the supplied polygon is not convex, the results are undefined. -

      On some platforms (e.g. X Window), this is faster than -drawPolygon(). -

      Warning: On X11, coordinates that do not fit into 16-bit signed -values are truncated. This limitation is expected to go away in -TQt 4. - -

      Example: aclock/aclock.cpp. -

      void TQPainter::drawCubicBezier ( const TQPointArray & a, int index = 0 ) -

      -Draws a cubic Bezier curve defined by the control points in a, -starting at a[index] (index defaults to 0). -

      Control points after a[index + 3] are ignored. Nothing happens -if there aren't enough control points. -

      Warning: On X11, coordinates that do not fit into 16-bit signed -values are truncated. This limitation is expected to go away in -TQt 4. - -

      void TQPainter::drawEllipse ( int x, int y, int w, int h ) -

      -Draws an ellipse with center at (x + w/2, y + h/2) and size (w, h). - -

      Examples: drawdemo/drawdemo.cpp, picture/picture.cpp, and tictac/tictac.cpp. -

      void TQPainter::drawEllipse ( const TQRect & r ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the ellipse that fits inside rectangle r. - -

      void TQPainter::drawImage ( int x, int y, const TQImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, int conversionFlags = 0 ) -

      -Draws at (x, y) the sw by sh area of pixels from (sx, sy) in image, using conversionFlags if the image -needs to be converted to a pixmap. The default value for conversionFlags is 0; see convertFromImage() for information about -what other values do. -

      This function may convert image to a pixmap and then draw it, -if device() is a TQPixmap or a TQWidget, or else draw it directly, -if device() is a TQPrinter or TQPicture. -

      Currently alpha masks of the image are ignored when painting on a TQPrinter. -

      See also drawPixmap() and TQPixmap::convertFromImage(). - -

      Example: canvas/canvas.cpp. -

      void TQPainter::drawImage ( const TQPoint &, const TQImage &, const TQRect & sr, int conversionFlags = 0 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the rectangle sr from the image at the given point. - -

      void TQPainter::drawImage ( const TQPoint & p, const TQImage & i, int conversion_flags = 0 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the image i at point p. -

      If the image needs to be modified to fit in a lower-resolution -result (e.g. converting from 32-bit to 8-bit), use the conversion_flags to specify how you'd prefer this to happen. -

      See also TQt::ImageConversionFlags. - -

      void TQPainter::drawImage ( const TQRect & r, const TQImage & i ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the image i into the rectangle r. The image will be -scaled to fit the rectangle if image and rectangle dimensions -differ. - -

      void TQPainter::drawLine ( int x1, int y1, int x2, int y2 ) -

      -Draws a line from (x1, y1) to (x2, y2) and sets the -current pen position to (x2, y2). -

      See also pen(). - -

      Examples: aclock/aclock.cpp, drawlines/connect.cpp, progress/progress.cpp, splitter/splitter.cpp, themes/metal.cpp, and themes/wood.cpp. -

      void TQPainter::drawLine ( const TQPoint & p1, const TQPoint & p2 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws a line from point p1 to point p2. - -

      void TQPainter::drawLineSegments ( const TQPointArray & a, int index = 0, int nlines = -1 ) -

      -Draws nlines separate lines from points defined in a, -starting at a[index] (index defaults to 0). If nlines is --1 (the default) all points until the end of the array are used -(i.e. (a.size()-index)/2 lines are drawn). -

      Draws the 1st line from a[index] to a[index+1]. Draws the -2nd line from a[index+2] to a[index+3] etc. -

      Warning: On X11, coordinates that do not fit into 16-bit signed -values are truncated. This limitation is expected to go away in -TQt 4. -

      See also drawPolyline(), drawPolygon(), and TQPen. - -

      void TQPainter::drawPicture ( int x, int y, const TQPicture & pic ) -

      -Replays the picture pic translated by (x, y). -

      This function does exactly the same as TQPicture::play() when -called with (x, y) = (0, 0). - -

      Examples: picture/picture.cpp and xform/xform.cpp. -

      void TQPainter::drawPicture ( const TQPicture & pic ) -

      -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      Use one of the other TQPainter::drawPicture() functions with a (0, 0) -offset instead. - -

      void TQPainter::drawPicture ( const TQPoint & p, const TQPicture & pic ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws picture pic at point p. - -

      void TQPainter::drawPie ( int x, int y, int w, int h, int a, int alen ) -

      -Draws a pie defined by the rectangle (x, y, w, h), the start -angle a and the arc length alen. -

      The pie is filled with the current brush(). -

      The angles a and alen are 1/16th of a degree, i.e. a full -circle equals 5760 (16*360). Positive values of a and alen -mean counter-clockwise while negative values mean the clockwise -direction. Zero degrees is at the 3 o'clock position. -

      See also drawArc() and drawChord(). - -

      Examples: drawdemo/drawdemo.cpp, grapher/grapher.cpp, t10/cannon.cpp, and t9/cannon.cpp. -

      void TQPainter::drawPie ( const TQRect & r, int a, int alen ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws a pie segment that fits inside the rectangle r with start -angle a and arc length alen. - -

      void TQPainter::drawPixmap ( int x, int y, const TQPixmap & pixmap, int sx = 0, int sy = 0, int sw = -1, int sh = -1 ) -

      -Draws a pixmap at (x, y) by copying a part of pixmap into -the paint device. -

      (x, y) specifies the top-left point in the paint device that is -to be drawn onto. (sx, sy) specifies the top-left point in pixmap that is to be drawn. The default is (0, 0). -

      (sw, sh) specifies the size of the pixmap that is to be drawn. -The default, (-1, -1), means all the way to the bottom right of -the pixmap. -

      Currently the mask of the pixmap or it's alpha channel are ignored -when painting on a TQPrinter. -

      See also bitBlt() and TQPixmap::setMask(). - -

      Examples: grapher/grapher.cpp, picture/picture.cpp, tqdir/tqdir.cpp, qmag/qmag.cpp, showimg/showimg.cpp, t10/cannon.cpp, and xform/xform.cpp. -

      void TQPainter::drawPixmap ( const TQPoint & p, const TQPixmap & pm, const TQRect & sr ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the rectangle sr of pixmap pm with its origin at point -p. - -

      void TQPainter::drawPixmap ( const TQPoint & p, const TQPixmap & pm ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the pixmap pm with its origin at point p. - -

      void TQPainter::drawPixmap ( const TQRect & r, const TQPixmap & pm ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the pixmap pm into the rectangle r. The pixmap is -scaled to fit the rectangle, if image and rectangle size disagree. - -

      void TQPainter::drawPoint ( int x, int y ) -

      -Draws/plots a single point at (x, y) using the current pen. -

      See also TQPen. - -

      Examples: desktop/desktop.cpp and drawlines/connect.cpp. -

      void TQPainter::drawPoint ( const TQPoint & p ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the point p. - -

      void TQPainter::drawPoints ( const TQPointArray & a, int index = 0, int npoints = -1 ) -

      -Draws/plots an array of points, a, using the current pen. -

      If index is non-zero (the default is zero) only points from index are drawn. If npoints is negative (the default) the rest -of the points from index are drawn. If npoints is zero or -greater, npoints points are drawn. -

      Warning: On X11, coordinates that do not fit into 16-bit signed -values are truncated. This limitation is expected to go away in -TQt 4. - -

      void TQPainter::drawPolygon ( const TQPointArray & a, bool winding = FALSE, int index = 0, int npoints = -1 ) -

      -Draws the polygon defined by the npoints points in a -starting at a[index]. (index defaults to 0.) -

      If npoints is -1 (the default) all points until the end of the -array are used (i.e. a.size()-index line segments define the -polygon). -

      The first point is always connected to the last point. -

      The polygon is filled with the current brush(). If winding is -TRUE, the polygon is filled using the winding fill algorithm. If -winding is FALSE, the polygon is filled using the even-odd -(alternative) fill algorithm. -

      Warning: On X11, coordinates that do not fit into 16-bit signed -values are truncated. This limitation is expected to go away in -TQt 4. -

      See also drawLineSegments(), drawPolyline(), and TQPen. - -

      Examples: desktop/desktop.cpp and picture/picture.cpp. -

      void TQPainter::drawPolyline ( const TQPointArray & a, int index = 0, int npoints = -1 ) -

      -Draws the polyline defined by the npoints points in a -starting at a[index]. (index defaults to 0.) -

      If npoints is -1 (the default) all points until the end of the -array are used (i.e. a.size()-index-1 line segments are drawn). -

      Warning: On X11, coordinates that do not fit into 16-bit signed -values are truncated. This limitation is expected to go away in -TQt 4. -

      See also drawLineSegments(), drawPolygon(), and TQPen. - -

      Examples: scribble/scribble.cpp and themes/metal.cpp. -

      void TQPainter::drawRect ( int x, int y, int w, int h ) -

      -Draws a rectangle with upper left corner at (x, y) and with -width w and height h. -

      See also TQPen and drawRoundRect(). - -

      Examples: drawdemo/drawdemo.cpp, picture/picture.cpp, t10/cannon.cpp, t11/cannon.cpp, t9/cannon.cpp, tooltip/tooltip.cpp, and trivial/trivial.cpp. -

      void TQPainter::drawRect ( const TQRect & r ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the rectangle r. - -

      void TQPainter::drawRoundRect ( int x, int y, int w, int h, int xRnd = 25, int yRnd = 25 ) -

      -Draws a rectangle with rounded corners at (x, y), with width w and height h. -

      The xRnd and yRnd arguments specify how rounded the corners -should be. 0 is angled corners, 99 is maximum roundedness. -

      The width and height include all of the drawn lines. -

      See also drawRect() and TQPen. - -

      Examples: drawdemo/drawdemo.cpp and themes/wood.cpp. -

      void TQPainter::drawRoundRect ( const TQRect & r, int xRnd = 25, int yRnd = 25 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws a rounded rectangle r, rounding to the x position xRnd -and the y position yRnd on each corner. - -

      void TQPainter::drawText ( const TQPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto ) -

      - -

      Draws the text from position pos, at point p. If len is --1 the entire string is drawn, otherwise just the first len -characters. The text's direction is specified by dir. -

      Note that the meaning of y is not the same for the two -drawText() varieties. For overloads that take a simple x, y -pair (or a point), the y value is the text's baseline; for -overloads that take a rectangle, rect.y() is the top of the -rectangle and the text is aligned within that rectangle in -accordance with the alignment flags. -

      See also TQPainter::TextDirection. - -

      Examples: desktop/desktop.cpp, drawdemo/drawdemo.cpp, grapher/grapher.cpp, picture/picture.cpp, progress/progress.cpp, t8/cannon.cpp, and trivial/trivial.cpp. -

      void TQPainter::drawText ( int x, int y, const TQString &, int len = -1, TextDirection dir = Auto ) -

      - -

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the given text at position x, y. If len is -1 (the -default) all the text is drawn, otherwise the first len -characters are drawn. The text's direction is given by dir. -

      See also TQPainter::TextDirection. - -

      void TQPainter::drawText ( const TQPoint &, const TQString &, int len = -1, TextDirection dir = Auto ) -

      - -

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the text at the given point. -

      See also TQPainter::TextDirection. - -

      void TQPainter::drawText ( int x, int y, const TQString &, int pos, int len, TextDirection dir = Auto ) -

      - -

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the text from position pos, at point (x, y). If len is --1 the entire string is drawn, otherwise just the first len -characters. The text's direction is specified by dir. - -

      void TQPainter::drawText ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQRect * br = 0, TQTextParag ** internal = 0 ) -

      - -

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws the given text within the rectangle starting at x, y, -with width w and height h. If len is -1 (the default) all -the text is drawn, otherwise the first len characters are -drawn. The text's flags that are given in the flags parameter -are TQt::AlignmentFlags and TQt::TextFlags OR'd together. br (if not null) is set to the actual bounding rectangle of the -output. The internal parameter is for internal use only. - -

      void TQPainter::drawText ( const TQRect & r, int tf, const TQString & str, int len = -1, TQRect * brect = 0, TQTextParag ** internal = 0 ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws at most len characters from str in the rectangle r. -

      This function draws formatted text. The tf text format is -really of type TQt::AlignmentFlags and TQt::TextFlags OR'd -together. -

      Horizontal alignment defaults to AlignAuto and vertical alignment -defaults to AlignTop. -

      brect (if not null) is set to the actual bounding rectangle of -the output. internal is, yes, internal. -

      See also boundingRect(). - -

      void TQPainter::drawTiledPixmap ( int x, int y, int w, int h, const TQPixmap & pixmap, int sx = 0, int sy = 0 ) -

      -Draws a tiled pixmap in the specified rectangle. -

      (x, y) specifies the top-left point in the paint device that is -to be drawn onto; with the width and height given by w and h. (sx, sy) specifies the top-left point in pixmap that is -to be drawn. The default is (0, 0). -

      Calling drawTiledPixmap() is similar to calling drawPixmap() -several times to fill (tile) an area with a pixmap, but is -potentially much more efficient depending on the underlying window -system. -

      See also drawPixmap(). - -

      void TQPainter::drawTiledPixmap ( const TQRect & r, const TQPixmap & pm, const TQPoint & sp ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws a tiled pixmap, pm, inside rectangle r with its origin -at point sp. - -

      void TQPainter::drawTiledPixmap ( const TQRect & r, const TQPixmap & pm ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws a tiled pixmap, pm, inside rectangle r. - -

      void TQPainter::drawWinFocusRect ( int x, int y, int w, int h, const TQColor & bgColor ) -

      -Draws a Windows focus rectangle with upper left corner at (x, -y) and with width w and height h using a pen color that -contrasts with bgColor. -

      This function draws a stippled rectangle (XOR is not used) that is -used to indicate keyboard focus (when the TQApplication::style() is -WindowStyle). -

      The pen color used to draw the rectangle is either white or black -depending on the color of bgColor (see TQColor::gray()). -

      Warning: This function draws nothing if the coordinate system has -been rotated or sheared. -

      See also drawRect() and TQApplication::style(). - -

      void TQPainter::drawWinFocusRect ( int x, int y, int w, int h ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws a Windows focus rectangle with upper left corner at (x, -y) and with width w and height h. -

      This function draws a stippled XOR rectangle that is used to -indicate keyboard focus (when TQApplication::style() is WindowStyle). -

      Warning: This function draws nothing if the coordinate system has -been rotated or sheared. -

      See also drawRect() and TQApplication::style(). - -

      void TQPainter::drawWinFocusRect ( const TQRect & r ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws rectangle r as a window focus rectangle. - -

      void TQPainter::drawWinFocusRect ( const TQRect & r, const TQColor & bgColor ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws rectangle r as a window focus rectangle using background -color bgColor. - -

      bool TQPainter::end () -

      -Ends painting. Any resources used while painting are released. -

      Note that while you mostly don't need to call end(), the -destructor will do it, there is at least one common case when it -is needed, namely double buffering. -

      -        TQPainter p( myPixmap, this )
      -        // ...
      -        p.end(); // stops drawing on myPixmap
      -        p.begin( this );
      -        p.drawPixmap( 0, 0, myPixmap );
      -    
      - -

      Since you can't draw a TQPixmap while it is being painted, it is -necessary to close the active painter. -

      See also begin() and isActive(). - -

      Examples: aclock/aclock.cpp, desktop/desktop.cpp, hello/hello.cpp, picture/picture.cpp, scribble/scribble.cpp, t10/cannon.cpp, and xform/xform.cpp. -

      void TQPainter::eraseRect ( int x, int y, int w, int h ) -

      - -

      Erases the area inside x, y, w, h. Equivalent to -fillRect( x, y, w, h, backgroundColor() ). - -

      Examples: listboxcombo/listboxcombo.cpp and showimg/showimg.cpp. -

      void TQPainter::eraseRect ( const TQRect & r ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Erases the area inside the rectangle r. - -

      void TQPainter::fillRect ( int x, int y, int w, int h, const TQBrush & brush ) -

      -Fills the rectangle (x, y, w, h) with the brush. -

      You can specify a TQColor as brush, since there is a TQBrush -constructor that takes a TQColor argument and creates a solid -pattern brush. -

      See also drawRect(). - -

      Examples: listboxcombo/listboxcombo.cpp, progress/progress.cpp, tqdir/tqdir.cpp, qfd/fontdisplayer.cpp, themes/metal.cpp, and themes/wood.cpp. -

      void TQPainter::fillRect ( const TQRect & r, const TQBrush & brush ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Fills the rectangle r using brush brush. - -

      void TQPainter::flush ( const TQRegion & region, CoordinateMode cm = CoordDevice ) -

      -Flushes any buffered drawing operations inside the region region using clipping mode cm. -

      The flush may update the whole device if the platform does not -support flushing to a specified region. -

      See also CoordinateMode. - -

      void TQPainter::flush () -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Flushes any buffered drawing operations. - -

      const TQFont & TQPainter::font () const -

      - -

      Returns the currently set painter font. -

      See also setFont() and TQFont. - -

      Example: fileiconview/tqfileiconview.cpp. -

      TQFontInfo TQPainter::fontInfo () const -

      -Returns the font info for the painter, if the painter is active. -It is not possible to obtain font information for an inactive -painter, so the return value is undefined if the painter is not -active. -

      See also fontMetrics() and isActive(). - -

      TQFontMetrics TQPainter::fontMetrics () const -

      -Returns the font metrics for the painter, if the painter is -active. It is not possible to obtain metrics for an inactive -painter, so the return value is undefined if the painter is not -active. -

      See also fontInfo() and isActive(). - -

      Examples: action/application.cpp, application/application.cpp, desktop/desktop.cpp, drawdemo/drawdemo.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. -

      HDC TQPainter::handle () const -

      - -

      Returns the platform-dependent handle used for drawing. Using this -function is not portable. - -

      bool TQPainter::hasClipping () const -

      - -

      Returns TRUE if clipping has been set; otherwise returns FALSE. -

      See also setClipping(). - -

      Example: themes/wood.cpp. -

      bool TQPainter::hasViewXForm () const -

      - -

      Returns TRUE if view transformation is enabled; otherwise returns -FALSE. -

      See also setViewXForm() and xForm(). - -

      bool TQPainter::hasWorldXForm () const -

      - -

      Returns TRUE if world transformation is enabled; otherwise returns -FALSE. -

      See also setWorldXForm(). - -

      bool TQPainter::isActive () const -

      - -

      Returns TRUE if the painter is active painting, i.e. begin() has -been called and end() has not yet been called; otherwise returns -FALSE. -

      See also TQPaintDevice::paintingActive(). - -

      Examples: desktop/desktop.cpp and helpviewer/helpwindow.cpp. -

      void TQPainter::lineTo ( int x, int y ) -

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      Use drawLine() instead. -

      Draws a line from the current pen position to (x, y) and sets -(x, y) to be the new current pen position. -

      See also TQPen, moveTo(), drawLine(), and pos(). - -

      void TQPainter::lineTo ( const TQPoint & p ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Draws a line to the point p. - -

      void TQPainter::moveTo ( int x, int y ) -

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      Sets the current pen position to (x, y) -

      See also lineTo() and pos(). - -

      void TQPainter::moveTo ( const TQPoint & p ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Moves to the point p. - -

      const TQPen & TQPainter::pen () const -

      - -

      Returns the painter's current pen. -

      See also setPen(). - -

      Examples: progress/progress.cpp, and themes/wood.cpp. -

      TQPoint TQPainter::pos () const -

      -This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      Returns the current position of the pen. -

      See also moveTo(). - -

      RasterOp TQPainter::rasterOp () const -

      - -

      Returns the current raster operation. -

      See also setRasterOp() and RasterOp. - -

      void TQPainter::redirect ( TQPaintDevice * pdev, TQPaintDevice * replacement ) [static] -

      -Redirects all paint commands for a paint device, pdev, to -another paint device, replacement, unless replacement is 0. -If replacement is 0, the redirection for pdev is removed. -

      In general, you'll probably find calling TQPixmap::grabWidget() or -TQPixmap::grabWindow() is an easier solution. - -

      void TQPainter::resetXForm () -

      -Resets any transformations that were made using translate(), scale(), -shear(), rotate(), setWorldMatrix(), setViewport() and -setWindow(). -

      See also worldMatrix(), viewport(), and window(). - -

      void TQPainter::restore () -

      -Restores the current painter state (pops a saved state off the -stack). -

      See also save(). - -

      Example: aclock/aclock.cpp. -

      void TQPainter::restoreWorldMatrix () -

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      We recommend using restore() instead. - -

      void TQPainter::rotate ( double a ) -

      -Rotates the coordinate system a degrees counterclockwise. -

      See also translate(), scale(), shear(), resetXForm(), setWorldMatrix(), and xForm(). - -

      Examples: aclock/aclock.cpp, t10/cannon.cpp, and t9/cannon.cpp. -

      void TQPainter::save () -

      -Saves the current painter state (pushes the state onto a stack). A -save() must be followed by a corresponding restore(). end() -unwinds the stack. -

      See also restore(). - -

      Example: aclock/aclock.cpp. -

      void TQPainter::saveWorldMatrix () -

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      We recommend using save() instead. - -

      void TQPainter::scale ( double sx, double sy ) -

      -Scales the coordinate system by (sx, sy). -

      See also translate(), shear(), rotate(), resetXForm(), setWorldMatrix(), and xForm(). - -

      Example: xform/xform.cpp. -

      void TQPainter::setBackgroundColor ( const TQColor & c ) -

      -Sets the background color of the painter to c. -

      The background color is the color that is filled in when drawing -opaque text, stippled lines and bitmaps. The background color has -no effect in transparent background mode (which is the default). -

      See also backgroundColor(), setBackgroundMode(), and BackgroundMode. - -

      void TQPainter::setBackgroundMode ( BGMode m ) -

      -Sets the background mode of the painter to m, which must be -either TransparentMode (the default) or OpaqueMode. -

      Transparent mode draws stippled lines and text without setting the -background pixels. Opaque mode fills these space with the current -background color. -

      Note that in order to draw a bitmap or pixmap transparently, you -must use TQPixmap::setMask(). -

      See also backgroundMode() and setBackgroundColor(). - -

      Example: picture/picture.cpp. -

      void TQPainter::setBrush ( BrushStyle style ) -

      -Sets the painter's brush to black color and the specified style. -

      See also brush() and TQBrush. - -

      Examples: aclock/aclock.cpp, drawdemo/drawdemo.cpp, picture/picture.cpp, t10/cannon.cpp, t9/cannon.cpp, themes/wood.cpp, and tooltip/tooltip.cpp. -

      void TQPainter::setBrush ( const TQBrush & brush ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Sets the painter's brush to brush. -

      The brush defines how shapes are filled. -

      See also brush(). - -

      void TQPainter::setBrush ( const TQColor & color ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Sets the painter's brush to have style SolidPattern and the -specified color. -

      See also brush() and TQBrush. - -

      void TQPainter::setBrushOrigin ( int x, int y ) -

      -Sets the brush origin to (x, y). -

      The brush origin specifies the (0, 0) coordinate of the painter's -brush. This setting only applies to pattern brushes and pixmap -brushes. -

      See also brushOrigin(). - -

      void TQPainter::setBrushOrigin ( const TQPoint & p ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Sets the brush origin to point p. - -

      void TQPainter::setClipRect ( int x, int y, int w, int h, CoordinateMode m = CoordDevice ) -

      - -

      Sets the clip region to the rectangle x, y, w, h and -enables clipping. The clip mode is set to m. -

      If m is CoordDevice (the default), the coordinates given for -the clip region are taken to be physical device coordinates and -are not subject to any coordinate - transformations. If m is CoordPainter, the -coordinates given for the clip region are taken to be model -coordinates. -

      See also setClipRegion(), clipRegion(), setClipping(), and TQPainter::CoordinateMode. - -

      Examples: grapher/grapher.cpp, progress/progress.cpp, showimg/showimg.cpp, splitter/splitter.cpp, and trivial/trivial.cpp. -

      void TQPainter::setClipRect ( const TQRect & r, CoordinateMode m = CoordDevice ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Sets the clip region to the rectangle r and enables clipping. -The clip mode is set to m. -

      See also CoordinateMode. - -

      void TQPainter::setClipRegion ( const TQRegion & rgn, CoordinateMode m = CoordDevice ) -

      -Sets the clip region to rgn and enables clipping. The clip mode -is set to m. -

      Note that the clip region is given in physical device coordinates -and not subject to any coordinate - transformation. -

      See also setClipRect(), clipRegion(), setClipping(), and CoordinateMode. - -

      Examples: qfd/fontdisplayer.cpp and themes/wood.cpp. -

      void TQPainter::setClipping ( bool enable ) -

      -Enables clipping if enable is TRUE, or disables clipping if enable is FALSE. -

      See also hasClipping(), setClipRect(), and setClipRegion(). - -

      Example: themes/wood.cpp. -

      void TQPainter::setFont ( const TQFont & font ) -

      -Sets the painter's font to font. -

      This font is used by subsequent drawText() functions. The text -color is the same as the pen color. -

      See also font() and drawText(). - -

      Examples: drawdemo/drawdemo.cpp, grapher/grapher.cpp, hello/hello.cpp, picture/picture.cpp, qwerty/qwerty.cpp, t13/cannon.cpp, and xform/xform.cpp. -

      void TQPainter::setPen ( const TQPen & pen ) -

      -Sets a new painter pen. -

      The pen defines how to draw lines and outlines, and it also -defines the text color. -

      See also pen(). - -

      Examples: desktop/desktop.cpp, drawdemo/drawdemo.cpp, progress/progress.cpp, t9/cannon.cpp, themes/metal.cpp, and themes/wood.cpp. -

      void TQPainter::setPen ( PenStyle style ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Sets the painter's pen to have style style, width 0 and black -color. -

      See also pen() and TQPen. - -

      void TQPainter::setPen ( const TQColor & color ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Sets the painter's pen to have style SolidLine, width 0 and the -specified color. -

      See also pen() and TQPen. - -

      void TQPainter::setRasterOp ( RasterOp r ) -

      -Sets the raster operation to r. -The default is CopyROP. -

      See also rasterOp() and TQt::RasterOp. - -

      void TQPainter::setTabArray ( int * ta ) -

      -Sets the tab stop array to ta. This puts tab stops at ta[0], -ta[1] and so on. The array is null-terminated. -

      If both a tab array and a tab top size is set, the tab array wins. -

      See also tabArray(), setTabStops(), drawText(), and fontMetrics(). - -

      void TQPainter::setTabStops ( int ts ) -

      -Set the tab stop width to ts, i.e. locates tab stops at ts, -2*ts, 3*ts and so on. -

      Tab stops are used when drawing formatted text with ExpandTabs -set. This fixed tab stop value is used only if no tab array is set -(which is the default case). -

      A value of 0 (the default) implies a tabstop setting of 8 times the width of the -character 'x' in the font currently set on the painter. -

      See also tabStops(), setTabArray(), drawText(), and fontMetrics(). - -

      void TQPainter::setViewXForm ( bool enable ) -

      -Enables view transformations if enable is TRUE, or disables -view transformations if enable is FALSE. -

      See also hasViewXForm(), setWindow(), setViewport(), setWorldMatrix(), setWorldXForm(), and xForm(). - -

      void TQPainter::setViewport ( int x, int y, int w, int h ) -

      -Sets the viewport rectangle view transformation for the painter -and enables view transformation. -

      The viewport rectangle is part of the view transformation. The -viewport specifies the device coordinate system and is specified -by the x, y, w width and h height parameters. Its -sister, the window(), specifies the logical coordinate system. -

      The default viewport rectangle is the same as the device's -rectangle. See the Coordinate System Overview for an overview of coordinate transformation. -

      See also viewport(), setWindow(), setViewXForm(), setWorldMatrix(), setWorldXForm(), and xForm(). - -

      Example: aclock/aclock.cpp. -

      void TQPainter::setViewport ( const TQRect & r ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Sets the painter's viewport to rectangle r. - -

      void TQPainter::setWindow ( int x, int y, int w, int h ) -

      -Sets the window rectangle view transformation for the painter and -enables view transformation. -

      The window rectangle is part of the view transformation. The -window specifies the logical coordinate system and is specified by -the x, y, w width and h height parameters. Its sister, -the viewport(), specifies the device coordinate system. -

      The default window rectangle is the same as the device's -rectangle. See the Coordinate System Overview for an overview of coordinate transformation. -

      See also window(), setViewport(), setViewXForm(), setWorldMatrix(), and setWorldXForm(). - -

      Examples: aclock/aclock.cpp and drawdemo/drawdemo.cpp. -

      void TQPainter::setWindow ( const TQRect & r ) -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Sets the painter's window to rectangle r. - -

      void TQPainter::setWorldMatrix ( const TQWMatrix & m, bool combine = FALSE ) -

      -Sets the world transformation matrix to m and enables world -transformation. -

      If combine is TRUE, then m is combined with the current -transformation matrix, otherwise m replaces the current -transformation matrix. -

      If m is the identity matrix and combine is FALSE, this -function calls setWorldXForm(FALSE). (The identity matrix is the -matrix where TQWMatrix::m11() and TQWMatrix::m22() are 1.0 and the -rest are 0.0.) -

      World transformations are applied after the view transformations -(i.e. window and viewport). -

      The following functions can transform the coordinate system without using -a TQWMatrix: -

      -

      They operate on the painter's worldMatrix() and are implemented like this: -

      -        void TQPainter::rotate( double a )
      -        {
      -            TQWMatrix m;
      -            m.rotate( a );
      -            setWorldMatrix( m, TRUE );
      -        }
      -    
      - -

      Note that you should always use combine when you are drawing -into a TQPicture. Otherwise it may not be possible to replay the -picture with additional transformations. Using translate(), -scale(), etc., is safe. -

      For a brief overview of coordinate transformation, see the Coordinate System Overview. -

      See also worldMatrix(), setWorldXForm(), setWindow(), setViewport(), setViewXForm(), xForm(), and TQWMatrix. - -

      Examples: drawdemo/drawdemo.cpp and xform/xform.cpp. -

      void TQPainter::setWorldXForm ( bool enable ) -

      -Enables world transformations if enable is TRUE, or disables -world transformations if enable is FALSE. The world -transformation matrix is not changed. -

      See also setWorldMatrix(), setWindow(), setViewport(), setViewXForm(), and xForm(). - -

      void TQPainter::shear ( double sh, double sv ) -

      -Shears the coordinate system by (sh, sv). -

      See also translate(), scale(), rotate(), resetXForm(), setWorldMatrix(), and xForm(). - -

      int * TQPainter::tabArray () const -

      - -

      Returns the currently set tab stop array. -

      See also setTabArray(). - -

      int TQPainter::tabStops () const -

      - -

      Returns the tab stop setting. -

      See also setTabStops(). - -

      void TQPainter::translate ( double dx, double dy ) -

      -Translates the coordinate system by (dx, dy). After this call, -(dx, dy) is added to points. -

      For example, the following code draws the same point twice: -

      -        void MyWidget::paintEvent()
      -        {
      -            TQPainter paint( this );
      -
      -            paint.drawPoint( 0, 0 );
      -
      -            paint.translate( 100.0, 40.0 );
      -            paint.drawPoint( -100, -40 );
      -        }
      -    
      - -

      See also scale(), shear(), rotate(), resetXForm(), setWorldMatrix(), and xForm(). - -

      Examples: action/application.cpp, application/application.cpp, t10/cannon.cpp, t9/cannon.cpp, themes/metal.cpp, themes/wood.cpp, and xform/xform.cpp. -

      TQRect TQPainter::viewport () const -

      -Returns the viewport rectangle. -

      See also setViewport() and setViewXForm(). - -

      Example: aclock/aclock.cpp. -

      TQRect TQPainter::window () const -

      -Returns the window rectangle. -

      See also setWindow() and setViewXForm(). - -

      const TQWMatrix & TQPainter::worldMatrix () const -

      -Returns the world transformation matrix. -

      See also setWorldMatrix(). - -

      TQPoint TQPainter::xForm ( const TQPoint & pv ) const -

      -Returns the point pv transformed from model coordinates to -device coordinates. -

      See also xFormDev() and TQWMatrix::map(). - -

      TQRect TQPainter::xForm ( const TQRect & rv ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Returns the rectangle rv transformed from model coordinates to -device coordinates. -

      If world transformation is enabled and rotation or shearing has -been specified, then the bounding rectangle is returned. -

      See also xFormDev() and TQWMatrix::map(). - -

      TQPointArray TQPainter::xForm ( const TQPointArray & av ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Returns the point array av transformed from model coordinates -to device coordinates. -

      See also xFormDev() and TQWMatrix::map(). - -

      TQPointArray TQPainter::xForm ( const TQPointArray & av, int index, int npoints ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Returns the point array av transformed from model coordinates -to device coordinates. The index is the first point in the -array and npoints denotes the number of points to be -transformed. If npoints is negative, all points from av[index] until the last point in the array are transformed. -

      The returned point array consists of the number of points that -were transformed. -

      Example: -

      -        TQPointArray a(10);
      -        TQPointArray b;
      -        b = painter.xForm(a, 2, 4);  // b.size() == 4
      -        b = painter.xForm(a, 2, -1); // b.size() == 8
      -    
      - -

      See also xFormDev() and TQWMatrix::map(). - -

      TQRect TQPainter::xFormDev ( const TQRect & rd ) const -

      -Returns the rectangle rd transformed from device coordinates to -model coordinates. -

      If world transformation is enabled and rotation or shearing is -used, then the bounding rectangle is returned. -

      See also xForm() and TQWMatrix::map(). - -

      TQPoint TQPainter::xFormDev ( const TQPoint & pd ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Returns the point pd transformed from device coordinates to -model coordinates. -

      See also xForm() and TQWMatrix::map(). - -

      TQPointArray TQPainter::xFormDev ( const TQPointArray & ad ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Returns the point array ad transformed from device coordinates -to model coordinates. -

      See also xForm() and TQWMatrix::map(). - -

      TQPointArray TQPainter::xFormDev ( const TQPointArray & ad, int index, int npoints ) const -

      -This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

      Returns the point array ad transformed from device coordinates -to model coordinates. The index is the first point in the array -and npoints denotes the number of points to be transformed. If -npoints is negative, all points from ad[index] until the -last point in the array are transformed. -

      The returned point array consists of the number of points that -were transformed. -

      Example: -

      -        TQPointArray a(10);
      -        TQPointArray b;
      -        b = painter.xFormDev(a, 1, 3);  // b.size() == 3
      -        b = painter.xFormDev(a, 1, -1); // b.size() == 9
      -    
      - -

      See also xForm() and TQWMatrix::map(). - -


      Related Functions

      -

      void qDrawPlainRect ( TQPainter * p, int x, int y, int w, int h, const TQColor & c, int lineWidth, const TQBrush * fill ) -

      - -

      #include <ntqdrawutil.h> -

      Draws the plain rectangle specified by (x, y, w, h) -using the painter p. -

      The color argument c specifies the line color. -

      The lineWidth argument specifies the line width. -

      The rectangle's interior is filled with the fill brush unless -fill is 0. -

      If you want to use a TQFrame widget instead, you can make it -display a plain rectangle, for example TQFrame::setFrameStyle( TQFrame::Box | TQFrame::Plain ). -

      Warning: This function does not look at TQWidget::style() or -TQApplication::style(). Use the drawing functions in TQStyle to make -widgets that follow the current GUI style. -

      See also qDrawShadeRect() and TQStyle::drawPrimitive(). - -

      void qDrawShadeLine ( TQPainter * p, int x1, int y1, int x2, int y2, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth ) -

      - -

      #include <ntqdrawutil.h> -

      Draws a horizontal (y1 == y2) or vertical (x1 == x2) -shaded line using the painter p. -

      Nothing is drawn if y1 != y2 and x1 != x2 (i.e. the -line is neither horizontal nor vertical). -

      The color group argument g specifies the shading colors (light, dark and middle colors). -

      The line appears sunken if sunken is TRUE, or raised if sunken is FALSE. -

      The lineWidth argument specifies the line width for each of the -lines. It is not the total line width. -

      The midLineWidth argument specifies the width of a middle line -drawn in the TQColorGroup::mid() color. -

      If you want to use a TQFrame widget instead, you can make it -display a shaded line, for example TQFrame::setFrameStyle( TQFrame::HLine | TQFrame::Sunken ). -

      Warning: This function does not look at TQWidget::style() or -TQApplication::style(). Use the drawing functions in TQStyle to make -widgets that follow the current GUI style. -

      See also qDrawShadeRect(), qDrawShadePanel(), and TQStyle::drawPrimitive(). - -

      void qDrawShadePanel ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, const TQBrush * fill ) -

      - -

      #include <ntqdrawutil.h> -

      Draws the shaded panel specified by (x, y, w, h) using -the painter p. -

      The color group argument g specifies the shading colors (light, dark and middle colors). -

      The panel appears sunken if sunken is TRUE, or raised if sunken is FALSE. -

      The lineWidth argument specifies the line width. -

      The panel's interior is filled with the fill brush unless fill is 0. -

      If you want to use a TQFrame widget instead, you can make it -display a shaded panel, for example TQFrame::setFrameStyle( TQFrame::Panel | TQFrame::Sunken ). -

      Warning: This function does not look at TQWidget::style() or -TQApplication::style(). Use the drawing functions in TQStyle to make -widgets that follow the current GUI style. -

      See also qDrawWinPanel(), qDrawShadeLine(), qDrawShadeRect(), and TQStyle::drawPrimitive(). - -

      void qDrawShadeRect ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth, const TQBrush * fill ) -

      - -

      #include <ntqdrawutil.h> -

      Draws the shaded rectangle specified by (x, y, w, h) -using the painter p. -

      The color group argument g specifies the shading colors (light, dark and middle colors). -

      The rectangle appears sunken if sunken is TRUE, or raised if sunken is FALSE. -

      The lineWidth argument specifies the line width for each of the -lines. It is not the total line width. -

      The midLineWidth argument specifies the width of a middle line -drawn in the TQColorGroup::mid() color. -

      The rectangle's interior is filled with the fill brush unless -fill is 0. -

      If you want to use a TQFrame widget instead, you can make it -display a shaded rectangle, for example TQFrame::setFrameStyle( TQFrame::Box | TQFrame::Raised ). -

      Warning: This function does not look at TQWidget::style() or -TQApplication::style(). Use the drawing functions in TQStyle to make -widgets that follow the current GUI style. -

      See also qDrawShadeLine(), qDrawShadePanel(), qDrawPlainRect(), TQStyle::drawItem(), TQStyle::drawControl(), and TQStyle::drawComplexControl(). - -

      void qDrawWinButton ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill ) -

      - -

      #include <ntqdrawutil.h> -

      Draws the Windows-style button specified by (x, y, w, h) using the painter p. -

      The color group argument g specifies the shading colors (light, dark and middle colors). -

      The button appears sunken if sunken is TRUE, or raised if sunken is FALSE. -

      The line width is 2 pixels. -

      The button's interior is filled with the *fill brush unless fill is 0. -

      Warning: This function does not look at TQWidget::style() or -TQApplication::style(). Use the drawing functions in TQStyle to make -widgets that follow the current GUI style. -

      See also qDrawWinPanel() and TQStyle::drawControl(). - -

      void qDrawWinPanel ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill ) -

      - -

      #include <ntqdrawutil.h> -

      Draws the Windows-style panel specified by (x, y, w, h) using the painter p. -

      The color group argument g specifies the shading colors. -

      The panel appears sunken if sunken is TRUE, or raised if sunken is FALSE. -

      The line width is 2 pixels. -

      The button's interior is filled with the fill brush unless fill is 0. -

      If you want to use a TQFrame widget instead, you can make it -display a shaded panel, for example TQFrame::setFrameStyle( TQFrame::WinPanel | TQFrame::Raised ). -

      Warning: This function does not look at TQWidget::style() or -TQApplication::style(). Use the drawing functions in TQStyle to make -widgets that follow the current GUI style. -

      See also qDrawShadePanel(), qDrawWinButton(), and TQStyle::drawPrimitive(). - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/ntqpalette.html b/doc/html/ntqpalette.html index 0c200f34e..f083e7543 100644 --- a/doc/html/ntqpalette.html +++ b/doc/html/ntqpalette.html @@ -101,7 +101,7 @@ to modify the palette. palette's color groups with setColor() and setBrush().

      You can copy a palette using the copy constructor and test to see if two palettes are identical using isCopyOf(). -

      See also TQApplication::setPalette(), TQWidget::palette, TQColorGroup, TQColor, Widget Appearance and Style, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +

      See also TQApplication::setPalette(), TQWidget::palette, TQColorGroup, TQColor, Widget Appearance and Style, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.


      Member Type Documentation

      TQPalette::ColorGroup

      @@ -118,24 +118,24 @@ if two palettes are identical using isCopyOf(). Constructs a palette that consists of color groups with only black colors. -

      TQPalette::TQPalette ( const TQColor & button ) +

      TQPalette::TQPalette ( const TQColor & button )

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

      Constructs a palette from the button color. The other colors are automatically calculated, based on this color. Background will be the button color as well. -

      TQPalette::TQPalette ( const TQColor & button, const TQColor & background ) +

      TQPalette::TQPalette ( const TQColor & button, const TQColor & background )

      Constructs a palette from a button color and a background. The other colors are automatically calculated, based on these colors. -

      TQPalette::TQPalette ( const TQColorGroup & active, const TQColorGroup & disabled, const TQColorGroup & inactive ) +

      TQPalette::TQPalette ( const TQColorGroup & active, const TQColorGroup & disabled, const TQColorGroup & inactive )

      Constructs a palette that consists of the three color groups active, disabled and inactive. See the Detailed Description for definitions of the color groups -and TQColorGroup::ColorRole for definitions of each color role +and TQColorGroup::ColorRole for definitions of each color role in the three groups. -

      See also TQColorGroup and TQColorGroup::ColorRole. +

      See also TQColorGroup and TQColorGroup::ColorRole.

      TQPalette::TQPalette ( const TQPalette & p )

      @@ -146,22 +146,22 @@ Constructs a copy of p.
    • Destroys the palette. -

      const TQColorGroup & TQPalette::active () const +

      const TQColorGroup & TQPalette::active () const

      Returns the active color group of this palette. -

      See also TQColorGroup, setActive(), inactive(), and disabled(). +

      See also TQColorGroup, setActive(), inactive(), and disabled().

      Examples: themes/metal.cpp and themes/wood.cpp. -

      const TQBrush & TQPalette::brush ( ColorGroup gr, TQColorGroup::ColorRole r ) const +

      const TQBrush & TQPalette::brush ( ColorGroup gr, TQColorGroup::ColorRole r ) const

      Returns the brush in color group gr, used for color role r. -

      See also color(), setBrush(), and TQColorGroup::ColorRole. +

      See also color(), setBrush(), and TQColorGroup::ColorRole. -

      const TQColor & TQPalette::color ( ColorGroup gr, TQColorGroup::ColorRole r ) const +

      const TQColor & TQPalette::color ( ColorGroup gr, TQColorGroup::ColorRole r ) const

      Returns the color in color group gr, used for color role r. -

      See also brush(), setColor(), and TQColorGroup::ColorRole. +

      See also brush(), setColor(), and TQColorGroup::ColorRole.

      TQPalette TQPalette::copy () const

      @@ -169,18 +169,18 @@ Returns a deep copy of this palette.

      Warning: This is slower than the copy constructor and assignment operator and offers no benefits. -

      const TQColorGroup & TQPalette::disabled () const +

      const TQColorGroup & TQPalette::disabled () const

      Returns the disabled color group of this palette. -

      See also TQColorGroup, setDisabled(), active(), and inactive(). +

      See also TQColorGroup, setDisabled(), active(), and inactive().

      Examples: themes/metal.cpp and themes/wood.cpp. -

      const TQColorGroup & TQPalette::inactive () const +

      const TQColorGroup & TQPalette::inactive () const

      Returns the inactive color group of this palette. -

      See also TQColorGroup, setInactive(), active(), and disabled(). +

      See also TQColorGroup, setInactive(), active(), and disabled().

      bool TQPalette::isCopyOf ( const TQPalette & p )

      @@ -219,47 +219,47 @@ changes during the lazy copy operation (detach()), not during a shallow copy (copy constructor or assignment).

      See also TQPixmap, TQPixmapCache, and TQCache. -

      void TQPalette::setActive ( const TQColorGroup & g ) +

      void TQPalette::setActive ( const TQColorGroup & g )

      Sets the Active color group to g. -

      See also active(), setDisabled(), setInactive(), and TQColorGroup. +

      See also active(), setDisabled(), setInactive(), and TQColorGroup. -

      void TQPalette::setBrush ( ColorGroup gr, TQColorGroup::ColorRole r, const TQBrush & b ) +

      void TQPalette::setBrush ( ColorGroup gr, TQColorGroup::ColorRole r, const TQBrush & b )

      Sets the brush in color group gr, used for color role r, to b. -

      See also brush(), setColor(), and TQColorGroup::ColorRole. +

      See also brush(), setColor(), and TQColorGroup::ColorRole. -

      void TQPalette::setBrush ( TQColorGroup::ColorRole r, const TQBrush & b ) +

      void TQPalette::setBrush ( TQColorGroup::ColorRole r, const TQBrush & b )

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

      Sets the brush in for color role r in all three color groups to b. -

      See also brush(), setColor(), TQColorGroup::ColorRole, active(), inactive(), and disabled(). +

      See also brush(), setColor(), TQColorGroup::ColorRole, active(), inactive(), and disabled(). -

      void TQPalette::setColor ( ColorGroup gr, TQColorGroup::ColorRole r, const TQColor & c ) +

      void TQPalette::setColor ( ColorGroup gr, TQColorGroup::ColorRole r, const TQColor & c )

      Sets the brush in color group gr, used for color role r, to the solid color c. -

      See also setBrush(), color(), and TQColorGroup::ColorRole. +

      See also setBrush(), color(), and TQColorGroup::ColorRole.

      Example: themes/themes.cpp. -

      void TQPalette::setColor ( TQColorGroup::ColorRole r, const TQColor & c ) +

      void TQPalette::setColor ( TQColorGroup::ColorRole r, const TQColor & c )

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

      Sets the brush color used for color role r to color c in all three color groups. -

      See also color(), setBrush(), and TQColorGroup::ColorRole. +

      See also color(), setBrush(), and TQColorGroup::ColorRole. -

      void TQPalette::setDisabled ( const TQColorGroup & g ) +

      void TQPalette::setDisabled ( const TQColorGroup & g )

      Sets the Disabled color group to g.

      See also disabled(), setActive(), and setInactive(). -

      void TQPalette::setInactive ( const TQColorGroup & g ) +

      void TQPalette::setInactive ( const TQColorGroup & g )

      Sets the Inactive color group to g. -

      See also active(), setDisabled(), setActive(), and TQColorGroup. +

      See also active(), setDisabled(), setActive(), and TQColorGroup.


      Related Functions

      TQDataStream & operator<< ( TQDataStream & s, const TQPalette & p ) diff --git a/doc/html/ntqpen.html b/doc/html/ntqpen.html index 21d9fa7f1..d9778583e 100644 --- a/doc/html/ntqpen.html +++ b/doc/html/ntqpen.html @@ -1,5 +1,5 @@ - + @@ -67,7 +67,7 @@ of shapes.

      Detailed Description

      -The TQPen class defines how a TQPainter should draw lines and outlines +The TQPen class defines how a TQPainter should draw lines and outlines of shapes.

      @@ -83,31 +83,31 @@ line width of 1). For horizontal and vertical lines a line width of 0 is the same as a line width of 1. The cap and join style have no effect on 0-width lines.

      The pen color defines the color of lines and text. The default -line color is black. The TQColor documentation lists predefined +line color is black. The TQColor documentation lists predefined colors.

      The cap style defines how the end points of lines are drawn. The join style defines how the joins between two lines are drawn when -multiple connected lines are drawn (TQPainter::drawPolyline() +multiple connected lines are drawn (TQPainter::drawPolyline() etc.). The cap and join styles only apply to wide lines, i.e. when the width is 1 or greater. -

      Use the TQBrush class to specify fill styles. +

      Use the TQBrush class to specify fill styles.

      Example:

      -    TQPainter painter;
      +    TQPainter painter;
           TQPen     pen( red, 2 );             // red solid line, 2 pixels wide
      -    painter.begin( &anyPaintDevice );   // paint something
      -    painter.setPen( pen );              // set the red, wide pen
      -    painter.drawRect( 40,30, 200,100 ); // draw a rectangle
      -    painter.setPen( blue );             // set blue pen, 0 pixel width
      -    painter.drawLine( 40,30, 240,130 ); // draw a diagonal in rectangle
      -    painter.end();                      // painting done
      +    painter.begin( &anyPaintDevice );   // paint something
      +    painter.setPen( pen );              // set the red, wide pen
      +    painter.drawRect( 40,30, 200,100 ); // draw a rectangle
      +    painter.setPen( blue );             // set blue pen, 0 pixel width
      +    painter.drawLine( 40,30, 240,130 ); // draw a diagonal in rectangle
      +    painter.end();                      // painting done
           

      See the TQt::PenStyle enum type for a complete list of pen styles.

      With reference to the end points of lines, for wide (non-0-width) pens it depends on the cap style whether the end point is drawn or -not. TQPainter will try to make sure that the end point is drawn +not. TQPainter will try to make sure that the end point is drawn for 0-width pens, but this cannot be absolutely guaranteed because the underlying drawing engine is free to use any (typically accelerated) algorithm for drawing 0-width lines. On all tested @@ -118,7 +118,7 @@ be set in the constructor or later with setColor(), setStyle(), setCapStyle() and setJoinStyle(). Pens may also be compared and streamed.

      Pen styles
      -

      See also TQPainter, TQPainter::setPen(), Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +

      See also TQPainter, TQPainter::setPen(), Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.


      Member Function Documentation

      TQPen::TQPen () @@ -131,12 +131,12 @@ renders lines 1 pixel wide (fast diagonals). Constructs a black pen with 0 width (fast diagonals) and style style.

      See also setStyle(). -

      TQPen::TQPen ( const TQColor & color, uint width = 0, PenStyle style = SolidLine ) +

      TQPen::TQPen ( const TQColor & color, uint width = 0, PenStyle style = SolidLine )

      Constructs a pen with the specified color, width and style.

      See also setWidth(), setStyle(), and setColor(). -

      TQPen::TQPen ( const TQColor & cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j ) +

      TQPen::TQPen ( const TQColor & cl, uint w, PenStyle s, PenCapStyle c, PenJoinStyle j )

      Constructs a pen with the specified color cl and width w. The pen style is set to s, the pen cap style to c and the @@ -162,7 +162,7 @@ Destroys the pen. Returns the pen's cap style.

      See also setCapStyle(). -

      const TQColor & TQPen::color () const +

      const TQColor & TQPen::color () const

      Returns the pen color. @@ -204,7 +204,7 @@ no effect. Wide lines are rendered as if the cap style was capStyle().

      Example: themes/wood.cpp. -

      void TQPen::setColor ( const TQColor & c ) +

      void TQPen::setColor ( const TQColor & c )

      Sets the pen color to c.

      See also color(). diff --git a/doc/html/ntqpicture.html b/doc/html/ntqpicture.html index dea681805..740a60b1c 100644 --- a/doc/html/ntqpicture.html +++ b/doc/html/ntqpicture.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } replays TQPainter commands. More...

      #include <ntqpicture.h> -

      Inherits TQPaintDevice. +

      Inherits TQPaintDevice.

      List of all member functions.

      Public Members

        @@ -70,7 +70,7 @@ replays TQPainter commands. The TQPicture class is a paint device that records and -replays TQPainter commands. +replays TQPainter commands.

        @@ -87,10 +87,10 @@ regions, transformed graphics, etc.

        Example of how to record a picture:

             TQPicture  pic;
        -    TQPainter  p;
        -    p.begin( &pic );               // paint in picture
        -    p.drawEllipse( 10,20, 80,70 ); // draw an ellipse
        -    p.end();                       // painting done
        +    TQPainter  p;
        +    p.begin( &pic );               // paint in picture
        +    p.drawEllipse( 10,20, 80,70 ); // draw an ellipse
        +    p.end();                       // painting done
             pic.save( "drawing.pic" );     // save picture
             
        @@ -98,10 +98,10 @@ regions, transformed graphics, etc.
             TQPicture  pic;
             pic.load( "drawing.pic" );     // load picture
        -    TQPainter  p;
        -    p.begin( &myWidget );          // paint in myWidget
        -    p.drawPicture( pic );          // draw the picture
        -    p.end();                       // painting done
        +    TQPainter  p;
        +    p.begin( &myWidget );          // paint in myWidget
        +    p.drawPicture( pic );          // draw the picture
        +    p.end();                       // painting done
             

        Pictures can also be drawn using play(). Some basic data about a @@ -191,7 +191,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Internal implementation of the virtual TQPaintDevice::metric() function. -

        Use the TQPaintDeviceMetrics class instead. +

        Use the TQPaintDeviceMetrics class instead.

        A picture has the following hard-coded values: dpi=72, numcolors=16777216 and depth=24.

        m is the metric to get. @@ -201,11 +201,11 @@ numcolors=16777216 and depth=24. Assigns a shallow copy of p to this picture and returns a reference to this picture. -

        bool TQPicture::play ( TQPainter * painter ) +

        bool TQPicture::play ( TQPainter * painter )

        Replays the picture using painter, and returns TRUE if successful; otherwise returns FALSE. -

        This function does exactly the same as TQPainter::drawPicture() +

        This function does exactly the same as TQPainter::drawPicture() with (x, y) = (0, 0).

        bool TQPicture::save ( const TQString & fileName, const char * format = 0 ) diff --git a/doc/html/ntqpixmap.html b/doc/html/ntqpixmap.html index 12b2f1f95..916f5f161 100644 --- a/doc/html/ntqpixmap.html +++ b/doc/html/ntqpixmap.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

        The TQPixmap class is an off-screen, pixel-based paint device. More...

        #include <ntqpixmap.h> -

        Inherits TQPaintDevice and TQt. +

        Inherits TQPaintDevice and TQt.

        Inherited by TQBitmap and TQCanvasPixmap.

        List of all member functions.

        Public Members

        @@ -130,11 +130,11 @@ use a pixmap to obtain flicker-free drawing, like this:
      • Create a pixmap with the same size as the widget.
      • Fill the pixmap with the widget background color.
      • Paint the pixmap. -
      • bitBlt() the pixmap contents onto the widget. +
      • bitBlt() the pixmap contents onto the widget.

        Pixel data in a pixmap is internal and is managed by the underlying window system. Pixels can be accessed only through -TQPainter functions, through bitBlt(), and by converting the +TQPainter functions, through bitBlt(), and by converting the TQPixmap to a TQImage.

        You can easily display a TQPixmap on the screen using TQLabel::setPixmap(). For example, all the TQButton subclasses @@ -386,10 +386,10 @@ shared pixmap data.

        A pixmap is automatically detached by TQt whenever its contents is about to change. This is done in all TQPixmap member functions that modify the pixmap (fill(), resize(), convertFromImage(), -load(), etc.), in bitBlt() for the destination pixmap and in -TQPainter::begin() on a pixmap. +load(), etc.), in bitBlt() for the destination pixmap and in +TQPainter::begin() on a pixmap.

        It is possible to modify a pixmap without letting TQt know. You can -first obtain the system-dependent handle() and then call +first obtain the system-dependent handle() and then call system-specific functions (for instance, BitBlt under Windows) that modify the pixmap contents. In such cases, you can call detach() to cut the pixmap loose from other pixmaps that share @@ -397,7 +397,7 @@ data with this one.

        detach() returns immediately if there is just a single reference or if the pixmap has not been initialized yet. -

        void TQPixmap::fill ( const TQColor & fillColor = TQt::white ) +

        void TQPixmap::fill ( const TQColor & fillColor = TQt::white )

        Fills the pixmap with the color fillColor. @@ -422,20 +422,20 @@ otherwise the pixmap will simply be filled with the background color of the widget.

        Example:

        -    void CuteWidget::paintEvent( TQPaintEvent *e )
        +    void CuteWidget::paintEvent( TQPaintEvent *e )
             {
        -        TQRect ur = e->rect();            // rectangle to update
        +        TQRect ur = e->rect();            // rectangle to update
                 TQPixmap pix( ur.size() );        // Pixmap for double-buffering
                 pix.fill( this, ur.topLeft() );  // fill with widget background
         
        -        TQPainter p( &pix );
        -        p.translate( -ur.x(), -ur.y() ); // use widget coordinate system
        +        TQPainter p( &pix );
        +        p.translate( -ur.x(), -ur.y() ); // use widget coordinate system
                                                  // when drawing on pixmap
                 //    ... draw on pixmap ...
         
        -        p.end();
        +        p.end();
         
        -        bitBlt( this, ur.topLeft(), &pix );
        +        bitBlt( this, ur.topLeft(), &pix );
             }
             
        @@ -473,7 +473,7 @@ covered with the widget's background.

        If an error occurs when trying to grab the widget, such as the size of the widget being too large to fit in memory, an isNull() pixmap is returned. -

        See also grabWindow(), TQPainter::redirect(), and TQWidget::paintEvent(). +

        See also grabWindow(), TQPainter::redirect(), and TQWidget::paintEvent().

        TQPixmap TQPixmap::grabWindow ( WId window, int x = 0, int y = 0, int w = -1, int h = -1 ) [static]

        @@ -533,7 +533,7 @@ be recognized.

        Returns TRUE if this is a null pixmap; otherwise returns FALSE.

        A null pixmap has zero width, zero height and no contents. You -cannot draw in a null pixmap or bitBlt() anything to it. +cannot draw in a null pixmap or bitBlt() anything to it.

        Resizing an existing pixmap to (0, 0) makes a pixmap into a null pixmap.

        See also resize(). @@ -609,7 +609,7 @@ This is an overloaded member function, provided for convenience. It behaves esse

        int TQPixmap::metric ( int m ) const [virtual protected]

        Internal implementation of the virtual TQPaintDevice::metric() function. -

        Use the TQPaintDeviceMetrics class instead. +

        Use the TQPaintDeviceMetrics class instead.

        m is the metric to get.

        TQPixmap & TQPixmap::operator= ( const TQPixmap & pixmap ) @@ -732,7 +732,7 @@ Now, alpha and alphacopy are visually different.

        Sets pixmap drawing optimization for this pixmap.

        The optimization setting affects pixmap operations, in -particular drawing of transparent pixmaps (bitBlt() a pixmap with +particular drawing of transparent pixmaps (bitBlt() a pixmap with a mask set) and pixmap transformations (the xForm() function).

        Pixmap optimization involves keeping intermediate results in a cache buffer and using the cache to speed up bitBlt() and xForm(). @@ -779,7 +779,7 @@ that contains all the transformed points of the original image.

        This function is slow because it involves transformation to a TQImage, non-trivial computations and a transformation back to a TQPixmap. -

        See also trueMatrix(), TQWMatrix, TQPainter::setWorldMatrix(), and TQImage::xForm(). +

        See also trueMatrix(), TQWMatrix, TQPainter::setWorldMatrix(), and TQImage::xForm().

        Examples: desktop/desktop.cpp, fileiconview/tqfileiconview.cpp, movies/main.cpp, and qmag/qmag.cpp.


        Related Functions

        @@ -789,7 +789,7 @@ TQPixmap.

        Copies a block of pixels from src to dst. The alpha channel and mask data (if any) is also copied from src. NOTE: src is not alpha blended or masked when copied to dst. Use -bitBlt() or TQPainter::drawPixmap() to perform alpha blending or +bitBlt() or TQPainter::drawPixmap() to perform alpha blending or masked drawing.

        sx, sy is the top-left pixel in src (0, 0 by default), dx, dy is the top-left position in dst and sw, \sh is the size of the copied block (all of src by default). diff --git a/doc/html/ntqplatinumstyle.html b/doc/html/ntqplatinumstyle.html index 5510a93b4..4f841d313 100644 --- a/doc/html/ntqplatinumstyle.html +++ b/doc/html/ntqplatinumstyle.html @@ -61,13 +61,13 @@ perfect. Constructs a TQPlatinumStyle -

        void TQPlatinumStyle::drawRiffles ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool horizontal ) const [protected] +

        void TQPlatinumStyle::drawRiffles ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool horizontal ) const [protected]

        Draws the nifty Macintosh decoration used on sliders using painter p and colorgroup g. x, y, w, h and horizontal specify the geometry and orientation of the riffles. -

        TQColor TQPlatinumStyle::mixedColor ( const TQColor & c1, const TQColor & c2 ) const [protected] +

        TQColor TQPlatinumStyle::mixedColor ( const TQColor & c1, const TQColor & c2 ) const [protected]

        Mixes two colors c1 and c2 to a new color. diff --git a/doc/html/ntqpointarray.html b/doc/html/ntqpointarray.html index bebdfdbf2..322c73f5e 100644 --- a/doc/html/ntqpointarray.html +++ b/doc/html/ntqpointarray.html @@ -79,9 +79,9 @@ setPoints(), putPoints(), point(), is also the TQWMatrix::map() function for more general transformations of TQPointArrays. You can also create arcs and ellipses with makeArc() and makeEllipse(). -

        Among others, TQPointArray is used by TQPainter::drawLineSegments(), -TQPainter::drawPolyline(), TQPainter::drawPolygon() and -TQPainter::drawCubicBezier(). +

        Among others, TQPointArray is used by TQPainter::drawLineSegments(), +TQPainter::drawPolyline(), TQPainter::drawPolygon() and +TQPainter::drawCubicBezier().

        Note that because this class is a TQMemArray, copying an array and modifying the copy modifies the original as well, i.e. a shallow copy. If you need a deep copy use copy() or detach(), for example:

        @@ -95,7 +95,7 @@ modifying the copy modifies the original as well, i.e. a TQPainter, TQWMatrix, TQMemArray, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.
        +

        See also TQPainter, TQWMatrix, TQMemArray, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.


        Member Function Documentation

        TQPointArray::TQPointArray () diff --git a/doc/html/ntqprinter.html b/doc/html/ntqprinter.html index 73b663436..7647a9696 100644 --- a/doc/html/ntqprinter.html +++ b/doc/html/ntqprinter.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

        The TQPrinter class is a paint device that paints on a printer. More...

        #include <ntqprinter.h> -

        Inherits TQPaintDevice. +

        Inherits TQPaintDevice.

        List of all member functions.

        Public Members

          @@ -133,7 +133,7 @@ it should print. range for fromPage() and toPage() are.

        Except where noted, you can only call the set functions before -setup(), or between TQPainter::end() and setup(). (Some may take +setup(), or between TQPainter::end() and setup(). (Some may take effect between setup() and begin(), or between begin() and end(), but that's strictly undocumented and such behaviour may differ depending on platform.) @@ -155,7 +155,7 @@ to print from.

        You can of course call these functions to establish defaults before you ask the user through TQPrinter::setup().

        Once you start printing, calling newPage() is essential. You will -probably also need to look at the TQPaintDeviceMetrics for the +probably also need to look at the TQPaintDeviceMetrics for the printer (see the print function in the Application walk-through). In previous versions, paint device metrics were valid only after the TQPrinter has been set @@ -227,7 +227,7 @@ first. TQPrinter does not check that the paper size is available; it just uses this information, together with TQPrinter::Orientation and TQPrinter::setFullPage(), to determine the printable area (see -TQPaintDeviceMetrics). +TQPaintDeviceMetrics).

        The defined sizes (with setFullPage(TRUE)) are:

        • TQPrinter::A0 - 841 x 1189 mm This value is not supported on windows. @@ -387,7 +387,7 @@ Returns TRUE if the origin of the printer's coordinate system is at the corner of the sheet and FALSE if it is at the edge of the printable area.

          See setFullPage() for details and caveats. -

          See also setFullPage(), PageSize, and TQPaintDeviceMetrics. +

          See also setFullPage(), PageSize, and TQPaintDeviceMetrics.

          bool TQPrinter::isOptionEnabled ( PrinterOption option )

          @@ -407,7 +407,7 @@ use.

          If you have called setFullPage( FALSE ) (this is the default), margins() is automatically subtracted from the pageSize() by TQPrinter. -

          See also setFullPage(), TQPaintDeviceMetrics, and PageSize. +

          See also setFullPage(), TQPaintDeviceMetrics, and PageSize.

          void TQPrinter::margins ( uint * top, uint * left, uint * bottom, uint * right ) const

          @@ -420,7 +420,7 @@ the smallest sane margins you can use.

          If you have called setFullPage( FALSE ) (this is the default), the margins are automatically subtracted from the pageSize() by TQPrinter. -

          See also setFullPage(), TQPaintDeviceMetrics, and PageSize. +

          See also setFullPage(), TQPaintDeviceMetrics, and PageSize.

          int TQPrinter::maxPage () const

          @@ -571,7 +571,7 @@ Sets TQPrinter to have the origin of the coordinate system at the top-left corner of the paper if fp is TRUE, or where it thinks the top-left corner of the printable area is if fp is FALSE.

          The default is FALSE. You can (probably) print on (0,0), and -TQPaintDeviceMetrics will report something smaller than the size +TQPaintDeviceMetrics will report something smaller than the size indicated by PageSize. (Note that TQPrinter may be wrong on Unix systems - it does not have perfect knowledge of the physical printer.) @@ -579,7 +579,7 @@ printer.) exact same size as indicated by PageSize, but you cannot print on all of that - you must take care of the output margins yourself. -

          See also PageSize, setPageSize(), TQPaintDeviceMetrics, and fullPage(). +

          See also PageSize, setPageSize(), TQPaintDeviceMetrics, and fullPage().

          Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp.

          void TQPrinter::setMargins ( uint top, uint left, uint bottom, uint right ) @@ -706,7 +706,7 @@ active, the current print job may or may not be affected. Requests that the printer prints at dpi or as near to dpi as possible.

          This setting affects the coordinate system as returned by, for -example, TQPaintDeviceMetrics and TQPainter::viewport(). +example, TQPaintDeviceMetrics and TQPainter::viewport().

          The value depends on the PrintingMode used in the TQPrinter constructor. By default, the dpi value of the screen is used.

          This function must be called before setup() to have an effect on diff --git a/doc/html/ntqregion.html b/doc/html/ntqregion.html index 4afbfb7e4..6ae2683ea 100644 --- a/doc/html/ntqregion.html +++ b/doc/html/ntqregion.html @@ -82,7 +82,7 @@ body { background: #ffffff; color: black; } The TQRegion class specifies a clip region for a painter.

          -

          TQRegion is used with TQPainter::setClipRegion() to limit the paint +

          TQRegion is used with TQPainter::setClipRegion() to limit the paint area to what needs to be painted. There is also a TQWidget::repaint() that takes a TQRegion parameter. TQRegion is the best tool for reducing flicker. @@ -97,17 +97,17 @@ or). You can move a region using translate(). rectangles.

          Example of using complex regions:

          -        void MyWidget::paintEvent( TQPaintEvent * )
          +        void MyWidget::paintEvent( TQPaintEvent * )
                   {
          -            TQPainter p;                         // our painter
          +            TQPainter p;                         // our painter
                       TQRegion r1( TQRect(100,100,200,80),  // r1 = elliptic region
                                   TQRegion::Ellipse );
                       TQRegion r2( TQRect(100,120,90,30) ); // r2 = rectangular region
                       TQRegion r3 = r1.intersect( r2 );    // r3 = intersection
          -            p.begin( this );                    // start painting widget
          -            p.setClipRegion( r3 );              // set clip region
          +            p.begin( this );                    // start painting widget
          +            p.setClipRegion( r3 );              // set clip region
                       ...                                 // paint clipped graphics
          -            p.end();                            // painting done
          +            p.end();                            // painting done
                   }
               
          @@ -115,7 +115,7 @@ rectangles.

          Warning: Due to window system limitations, the whole coordinate space for a region is limited to the points between -32767 and 32767 on Mac OS X and Windows 95/98/ME. -

          See also TQPainter::setClipRegion(), TQPainter::setClipRect(), Graphics Classes, and Image Processing Classes. +

          See also TQPainter::setClipRegion(), TQPainter::setClipRect(), Graphics Classes, and Image Processing Classes.


          Member Type Documentation

          TQRegion::RegionType

          diff --git a/doc/html/ntqscrollview.html b/doc/html/ntqscrollview.html index 8b3be552a..b1bd11fce 100644 --- a/doc/html/ntqscrollview.html +++ b/doc/html/ntqscrollview.html @@ -526,7 +526,7 @@ Returns the widget in the corner between the two scroll bars.

          bool TQScrollView::dragAutoScroll () const

          Returns TRUE if autoscrolling in drag move events is enabled; otherwise returns FALSE. See the "dragAutoScroll" property for details. -

          void TQScrollView::drawContents ( TQPainter * p, int clipx, int clipy, int clipw, int cliph ) [virtual protected] +

          void TQScrollView::drawContents ( TQPainter * p, int clipx, int clipy, int clipw, int cliph ) [virtual protected]

          Reimplement this function if you are viewing a drawing area rather @@ -559,10 +559,10 @@ set appropriately.

          Example: tqdir/tqdir.cpp.

          Reimplemented in TQCanvasView and TQTable. -

          void TQScrollView::drawContentsOffset ( TQPainter * p, int offsetx, int offsety, int clipx, int clipy, int clipw, int cliph ) [virtual protected] +

          void TQScrollView::drawContentsOffset ( TQPainter * p, int offsetx, int offsety, int clipx, int clipy, int clipw, int cliph ) [virtual protected]

          For backward-compatibility only. It is easier to use -drawContents(TQPainter*,int,int,int,int). +drawContents(TQPainter*,int,int,int,int).

          The default implementation translates the painter appropriately and calls drawContents(TQPainter*,int,int,int,int). See drawContents() for an explanation of the parameters p, offsetx, offsety, clipx, clipy, clipw and cliph. @@ -817,11 +817,11 @@ Returns the viewport widget of the scrollview. This is the widget containing the contents widget or which is the drawing area.

          Examples: helpsystem/tooltip.cpp and scrollview/scrollview.cpp. -

          void TQScrollView::viewportPaintEvent ( TQPaintEvent * pe ) [virtual protected] +

          void TQScrollView::viewportPaintEvent ( TQPaintEvent * pe ) [virtual protected]

          This is a low-level painting routine that draws the viewport contents. Reimplement this if drawContents() is too high-level -(for example, if you don't want to open a TQPainter on the +(for example, if you don't want to open a TQPainter on the viewport). The paint event is passed in pe.

          void TQScrollView::viewportResizeEvent ( TQResizeEvent * ) [virtual protected] diff --git a/doc/html/ntqsimplerichtext.html b/doc/html/ntqsimplerichtext.html index 8715d3384..68b195162 100644 --- a/doc/html/ntqsimplerichtext.html +++ b/doc/html/ntqsimplerichtext.html @@ -67,7 +67,7 @@ text. TQt provides a default HTML-like style sheet, but you may define custom style sheets.

          Once created, the rich text object can be queried for its width(), height(), and the actual width used (see widthUsed()). Most -importantly, it can be drawn on any given TQPainter with draw(). +importantly, it can be drawn on any given TQPainter with draw(). TQSimpleRichText can also be used to implement hypertext or active text facilities by using anchorAt(). A hit test through inText() makes it possible to use simple rich text for text objects in @@ -83,7 +83,7 @@ laid out properly on the page.

          See also Text Related Classes.


          Member Function Documentation

          -

          TQSimpleRichText::TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context = TQString::null, const TQStyleSheet * sheet = 0 ) +

          TQSimpleRichText::TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context = TQString::null, const TQStyleSheet * sheet = 0 )

          Constructs a TQSimpleRichText from the rich text string text and the font fnt. @@ -104,14 +104,14 @@ calculate the absolute path. See

          The sheet is an optional style sheet. If it is 0, the default style sheet will be used (see TQStyleSheet::defaultSheet()). -

          TQSimpleRichText::TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE ) +

          TQSimpleRichText::TQSimpleRichText ( const TQString & text, const TQFont & fnt, const TQString & context, const TQStyleSheet * sheet, const TQMimeSourceFactory * factory, int pageBreak = -1, const TQColor & linkColor = TQt::blue, bool linkUnderline = TRUE )

          Constructs a TQSimpleRichText from the rich text string text and the font fnt.

          This is a slightly more complex constructor for TQSimpleRichText that takes an additional mime source factory factory, a page break parameter pageBreak and a bool linkUnderline. linkColor is only provided for compatibility, but has no effect, -as TQColorGroup's TQColorGroup::link() color is used now. +as TQColorGroup's TQColorGroup::link() color is used now.

          context is the optional context of the rich text object. This becomes important if text contains relative references, for example within image tags. TQSimpleRichText always uses the default @@ -146,7 +146,7 @@ been specified in the constructor, a null string is returned. The context is the path to use to look up relative links, such as image tags and anchor references. -

          void TQSimpleRichText::draw ( TQPainter * p, int x, int y, const TQRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const +

          void TQSimpleRichText::draw ( TQPainter * p, int x, int y, const TQRect & clipRect, const TQColorGroup & cg, const TQBrush * paper = 0 ) const

          Draws the formatted text with painter p, at position (x, y), clipped to clipRect. The clipping rectangle is given in the rich text object's coordinates translated by (x, y). Passing @@ -158,7 +158,7 @@ so passing a brush for paper is preferable to simply clearing the area to be painted and then calling this without a brush.

          Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. -

          void TQSimpleRichText::draw ( TQPainter * p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const +

          void TQSimpleRichText::draw ( TQPainter * p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush * paper = 0 ) const

          This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

          Use the version with clipRect instead. The region version has @@ -176,11 +176,11 @@ Returns the height of the rich text object in pixels. Returns TRUE if pos is within a text line of the rich text object; otherwise returns FALSE. -

          void TQSimpleRichText::setDefaultFont ( const TQFont & f ) +

          void TQSimpleRichText::setDefaultFont ( const TQFont & f )

          Sets the default font for the rich text object to f -

          void TQSimpleRichText::setWidth ( TQPainter * p, int w ) +

          void TQSimpleRichText::setWidth ( TQPainter * p, int w )

          Sets the width of the rich text object to w pixels, recalculating the layout as if it were to be drawn with painter p. diff --git a/doc/html/ntqsplashscreen.html b/doc/html/ntqsplashscreen.html index 9697c1874..f3ff426a5 100644 --- a/doc/html/ntqsplashscreen.html +++ b/doc/html/ntqsplashscreen.html @@ -138,7 +138,7 @@ Destructor. Removes the message being displayed on the splash screen

          See also message(). -

          void TQSplashScreen::drawContents ( TQPainter * painter ) [virtual protected] +

          void TQSplashScreen::drawContents ( TQPainter * painter ) [virtual protected]

          Draw the contents of the splash screen using painter painter. The default implementation draws the message passed by message(). @@ -150,7 +150,7 @@ the splash screen. Makes the splash screen wait until the widget mainWin is displayed before calling close() on itself. -

          void TQSplashScreen::message ( const TQString & message, int alignment = AlignLeft, const TQColor & color = black ) [slot] +

          void TQSplashScreen::message ( const TQString & message, int alignment = AlignLeft, const TQColor & color = black ) [slot]

          Draws the message text onto the splash screen with color color and aligns the text according to the flags in alignment.

          See also TQt::AlignmentFlags and clear(). diff --git a/doc/html/ntqsplitter.html b/doc/html/ntqsplitter.html index be8ee2cf9..1f0a008c4 100644 --- a/doc/html/ntqsplitter.html +++ b/doc/html/ntqsplitter.html @@ -164,7 +164,7 @@ been inserted or removed.

          bool TQSplitter::childrenCollapsible () const

          Returns TRUE if child widgets can be resized down to size 0 by the user; otherwise returns FALSE. See the "childrenCollapsible" property for details. -

          void TQSplitter::drawSplitter ( TQPainter * p, TQCOORD x, TQCOORD y, TQCOORD w, TQCOORD h ) [virtual protected] +

          void TQSplitter::drawSplitter ( TQPainter * p, TQCOORD x, TQCOORD y, TQCOORD w, TQCOORD h ) [virtual protected]

          This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

          Draws the splitter handle in the rectangle described by x, y, diff --git a/doc/html/ntqsyntaxhighlighter.html b/doc/html/ntqsyntaxhighlighter.html index 05834e3b2..0f6e64f8e 100644 --- a/doc/html/ntqsyntaxhighlighter.html +++ b/doc/html/ntqsyntaxhighlighter.html @@ -124,7 +124,7 @@ comment until you reached the closing */.

          void TQSyntaxHighlighter::rehighlight ()

          Redoes the highlighting of the whole document. -

          void TQSyntaxHighlighter::setFormat ( int start, int count, const TQFont & font, const TQColor & color ) +

          void TQSyntaxHighlighter::setFormat ( int start, int count, const TQFont & font, const TQColor & color )

          This function is applied to the syntax highlighter's current paragraph (the text of which is passed to the highlightParagraph() @@ -133,10 +133,10 @@ function). position start for count characters. (If count is 0, nothing is done.) -

          void TQSyntaxHighlighter::setFormat ( int start, int count, const TQColor & color ) +

          void TQSyntaxHighlighter::setFormat ( int start, int count, const TQColor & color )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function. -

          void TQSyntaxHighlighter::setFormat ( int start, int count, const TQFont & font ) +

          void TQSyntaxHighlighter::setFormat ( int start, int count, const TQFont & font )

          This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

          TQTextEdit * TQSyntaxHighlighter::textEdit () const diff --git a/doc/html/ntqt.html b/doc/html/ntqt.html index 2a9d95974..d4d67dd44 100644 --- a/doc/html/ntqt.html +++ b/doc/html/ntqt.html @@ -35,7 +35,7 @@ body { background: #ffffff; color: black; } that need to be global-like. More...

          #include <ntqnamespace.h> -

          Inherited by TQObject, TQPixmap, TQBrush, TQCanvasItem, TQCursor, TQPainter, TQEvent, TQIconViewItem, TQKeySequence, TQListViewItem, TQCustomMenuItem, TQPen, TQStyleSheetItem, TQSyntaxHighlighter, TQTab, TQTableItem, TQThread, TQToolTip, and TQWhatsThis. +

          Inherited by TQObject, TQPixmap, TQBrush, TQCanvasItem, TQCursor, TQPainter, TQEvent, TQIconViewItem, TQKeySequence, TQListViewItem, TQCustomMenuItem, TQPen, TQStyleSheetItem, TQSyntaxHighlighter, TQTab, TQTableItem, TQThread, TQToolTip, and TQWhatsThis.

          List of all member functions.

          Public Members

            @@ -149,7 +149,7 @@ used when a link is clicked to determine what content to load. widget's palette changes.

            The background is what the widget contains when paintEvent() is called. To minimize flicker, this should be the most common color or pixmap in the -widget. For PaletteBackground, use colorGroup().brush( TQColorGroup::Background ), and so on. +widget. For PaletteBackground, use colorGroup().brush( TQColorGroup::Background ), and so on.

            • TQt::PaletteForeground
            • TQt::PaletteBackground @@ -675,7 +675,7 @@ point, not as a TQt Key.

              TQt::PenCapStyle

              This enum type defines the pen cap styles supported by TQt, i.e. -the line end caps that can be drawn using TQPainter. +the line end caps that can be drawn using TQPainter.

              • TQt::FlatCap - a square line end that does not cover the end point of the line. @@ -688,7 +688,7 @@ extends beyond it with half the line width.

                This enum type defines the pen join styles supported by TQt, i.e. which joins between two connected lines can be drawn using -TQPainter. +TQPainter.

                • TQt::MiterJoin - The outer edges of the lines are extended to meet at an angle, and this area is filled. @@ -699,9 +699,9 @@ meet at an angle, and this area is filled.

                  TQt::PenStyle

                  This enum type defines the pen styles that can be drawn using -TQPainter. The styles are +TQPainter. The styles are

                    -
                  • TQt::NoPen - no line at all. For example, TQPainter::drawRect() +
                  • TQt::NoPen - no line at all. For example, TQPainter::drawRect() fills but does not draw any boundary line.
                  • TQt::SolidLine - a simple line.
                  • TQt::DashLine - dashes separated by a few pixels. diff --git a/doc/html/ntqtabbar.html b/doc/html/ntqtabbar.html index 1aa62b58d..27aa7a024 100644 --- a/doc/html/ntqtabbar.html +++ b/doc/html/ntqtabbar.html @@ -201,7 +201,7 @@ been recalculated, for example when the contents of a tab change. Lays out all existing tabs according to their label and their iconset. -

                    void TQTabBar::paint ( TQPainter * p, TQTab * t, bool selected ) const [virtual protected] +

                    void TQTabBar::paint ( TQPainter * p, TQTab * t, bool selected ) const [virtual protected]

                    Paints the tab t using painter p. If and only if selected is TRUE, t is drawn currently selected. @@ -209,7 +209,7 @@ is TRUE, t is drawn currently selected. TQTabBar. If you decide to reimplement it, you may also need to reimplement sizeHint(). -

                    void TQTabBar::paintEvent ( TQPaintEvent * e ) [virtual protected] +

                    void TQTabBar::paintEvent ( TQPaintEvent * e ) [virtual protected]

                    Repaints the tab row. All the painting is done by paint(); paintEvent() only decides which tabs need painting and in what @@ -217,7 +217,7 @@ order. The event is passed in e.

                    See also paint().

                    Reimplemented from TQWidget. -

                    void TQTabBar::paintLabel ( TQPainter * p, const TQRect & br, TQTab * t, bool has_focus ) const [virtual protected] +

                    void TQTabBar::paintLabel ( TQPainter * p, const TQRect & br, TQTab * t, bool has_focus ) const [virtual protected]

                    Paints the label of tab t centered in rectangle br using painter p. A focus indication is drawn if has_focus is TRUE. diff --git a/doc/html/ntqtabdialog.html b/doc/html/ntqtabdialog.html index 85b5135a5..42fa7a745 100644 --- a/doc/html/ntqtabdialog.html +++ b/doc/html/ntqtabdialog.html @@ -407,7 +407,7 @@ This is an overloaded member function, provided for convenience. It behaves esse

                    Adds a Defaults button to the dialog. The button's text is set to a localizable "Defaults". -

                    void TQTabDialog::setFont ( const TQFont & font ) [virtual] +

                    void TQTabDialog::setFont ( const TQFont & font ) [virtual]

                    Sets the font for the tabs to font.

                    If the widget is visible, the display is updated with the new font diff --git a/doc/html/ntqtable.html b/doc/html/ntqtable.html index a31605864..a93192e44 100644 --- a/doc/html/ntqtable.html +++ b/doc/html/ntqtable.html @@ -726,7 +726,7 @@ immediately unless dragObject() returns 0. create a TQDragObject depending on the selected items.

                    See also dropped(). -

                    void TQTable::drawContents ( TQPainter * p, int cx, int cy, int cw, int ch ) [virtual protected] +

                    void TQTable::drawContents ( TQPainter * p, int cx, int cy, int cw, int ch ) [virtual protected]

                    Draws the table contents on the painter p. This function is optimized so that it only draws the cells inside the cw pixels @@ -918,7 +918,7 @@ See the "numRows" property for details.

                    int TQTable::numSelections () const

                    Returns the number of selections. See the "numSelections" property for details. -

                    void TQTable::paintCell ( TQPainter * p, int row, int col, const TQRect & cr, bool selected, const TQColorGroup & cg ) [virtual] +

                    void TQTable::paintCell ( TQPainter * p, int row, int col, const TQRect & cr, bool selected, const TQColorGroup & cg ) [virtual]

                    Paints the cell at row, col on the painter p. The painter has already been translated to the cell's origin. cr describes @@ -946,13 +946,13 @@ maximum efficiency. If you want clipping, use code like this:
        -

        void TQTable::paintCell ( TQPainter * p, int row, int col, const TQRect & cr, bool selected ) [virtual] +

        void TQTable::paintCell ( TQPainter * p, int row, int col, const TQRect & cr, bool selected ) [virtual]

        This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

        Use the other paintCell() function. This function is only included for backwards compatibilty. -

        void TQTable::paintEmptyArea ( TQPainter * p, int cx, int cy, int cw, int ch ) [virtual protected] +

        void TQTable::paintEmptyArea ( TQPainter * p, int cx, int cy, int cw, int ch ) [virtual protected]

        This function fills the cw pixels wide and ch pixels high rectangle starting at position cx, cy with the background @@ -960,7 +960,7 @@ color using the painter p.

        paintEmptyArea() is invoked by drawContents() to erase or fill unused areas. -

        void TQTable::paintFocus ( TQPainter * p, const TQRect & cr ) [virtual] +

        void TQTable::paintFocus ( TQPainter * p, const TQRect & cr ) [virtual]

        Draws the focus rectangle of the current cell (see currentRow(), currentColumn()). diff --git a/doc/html/ntqvariant.html b/doc/html/ntqvariant.html index 90e4f86d0..fd4f55e4d 100644 --- a/doc/html/ntqvariant.html +++ b/doc/html/ntqvariant.html @@ -249,14 +249,14 @@ contain.
      • TQVariant::ByteArray - a TQByteArray
      • TQVariant::Bitmap - a TQBitmap
      • TQVariant::Bool - a bool -
      • TQVariant::Brush - a TQBrush -
      • TQVariant::Color - a TQColor -
      • TQVariant::ColorGroup - a TQColorGroup +
      • TQVariant::Brush - a TQBrush +
      • TQVariant::Color - a TQColor +
      • TQVariant::ColorGroup - a TQColorGroup
      • TQVariant::Cursor - a TQCursor
      • TQVariant::Date - a TQDate
      • TQVariant::DateTime - a TQDateTime
      • TQVariant::Double - a double -
      • TQVariant::Font - a TQFont +
      • TQVariant::Font - a TQFont
      • TQVariant::IconSet - a TQIconSet
      • TQVariant::Image - a TQImage
      • TQVariant::Int - an int @@ -333,7 +333,7 @@ is non-null. The variant creates a deep copy Constructs a new variant with a string list value, val. -

        TQVariant::TQVariant ( const TQFont & val ) +

        TQVariant::TQVariant ( const TQFont & val )

        Constructs a new variant with a font value, val. @@ -347,7 +347,7 @@ Constructs a new variant with an image value, val.

        Because TQImage is explicitly shared, you may need to pass a deep copy to the variant using TQImage::copy(), e.g. if you intend changing the image you've passed later on. -

        TQVariant::TQVariant ( const TQBrush & val ) +

        TQVariant::TQVariant ( const TQBrush & val )

        Constructs a new variant with a brush value, val. @@ -363,7 +363,7 @@ Constructs a new variant with a rect value, val. Constructs a new variant with a size value, val. -

        TQVariant::TQVariant ( const TQColor & val ) +

        TQVariant::TQVariant ( const TQColor & val )

        Constructs a new variant with a color value, val. @@ -371,7 +371,7 @@ Constructs a new variant with a color value, val. Constructs a new variant with a color palette value, val. -

        TQVariant::TQVariant ( const TQColorGroup & val ) +

        TQVariant::TQVariant ( const TQColorGroup & val )

        Constructs a new variant with a color group value, val. @@ -478,7 +478,7 @@ not possible the variant is set to a null bitmap. Returns the variant's value as bool reference. -

        TQBrush & TQVariant::asBrush () +

        TQBrush & TQVariant::asBrush ()

        Tries to convert the variant to hold a brush value. If that is not @@ -502,18 +502,18 @@ not possible the variant is set to an empty string.

        Returns a reference to the stored string.

        See also toCString(). -

        TQColor & TQVariant::asColor () +

        TQColor & TQVariant::asColor ()

        -

        Tries to convert the variant to hold a TQColor value. If that is +

        Tries to convert the variant to hold a TQColor value. If that is not possible the variant is set to an invalid color.

        Returns a reference to the stored color. -

        See also toColor() and TQColor::isValid(). +

        See also toColor() and TQColor::isValid(). -

        TQColorGroup & TQVariant::asColorGroup () +

        TQColorGroup & TQVariant::asColorGroup ()

        -

        Tries to convert the variant to hold a TQColorGroup value. If that +

        Tries to convert the variant to hold a TQColorGroup value. If that is not possible the variant is set to a color group of all black colors.

        Returns a reference to the stored color group. @@ -547,10 +547,10 @@ not possible then the variant is set to an invalid date/time. Returns the variant's value as double reference. -

        TQFont & TQVariant::asFont () +

        TQFont & TQVariant::asFont ()

        -

        Tries to convert the variant to hold a TQFont. If that is not +

        Tries to convert the variant to hold a TQFont. If that is not possible the variant is set to the application's default font.

        Returns a reference to the stored font.

        See also toFont(). @@ -878,9 +878,9 @@ and its lower-case content is not empty, "0" or "false"; otherwise returns FALSE.

        See also asBool() and canCast(). -

        const TQBrush TQVariant::toBrush () const +

        const TQBrush TQVariant::toBrush () const

        -Returns the variant as a TQBrush if the variant has type() Brush; +Returns the variant as a TQBrush if the variant has type() Brush; otherwise returns a default brush (with all black colors).

        See also asBrush(). @@ -896,15 +896,15 @@ Returns the variant as a TQCString if the variant c CString; otherwise returns 0.

        See also asCString() and canCast(). -

        const TQColor TQVariant::toColor () const +

        const TQColor TQVariant::toColor () const

        -Returns the variant as a TQColor if the variant can be cast to Color; +Returns the variant as a TQColor if the variant can be cast to Color; otherwise returns an invalid color.

        See also asColor() and canCast(). -

        const TQColorGroup TQVariant::toColorGroup () const +

        const TQColorGroup TQVariant::toColorGroup () const

        -Returns the variant as a TQColorGroup if the variant has type() +Returns the variant as a TQColorGroup if the variant has type() ColorGroup; otherwise returns a completely black color group.

        See also asColorGroup(). @@ -940,9 +940,9 @@ Double; otherwise returns 0.0. converted to a double; otherwise *ok is set to FALSE.

        See also asDouble() and canCast(). -

        const TQFont TQVariant::toFont () const +

        const TQFont TQVariant::toFont () const

        -Returns the variant as a TQFont if the variant can be cast to Font; +Returns the variant as a TQFont if the variant can be cast to Font; otherwise returns the application's default font.

        See also asFont() and canCast(). diff --git a/doc/html/ntqwhatsthis.html b/doc/html/ntqwhatsthis.html index 5986243e6..1e9055b8a 100644 --- a/doc/html/ntqwhatsthis.html +++ b/doc/html/ntqwhatsthis.html @@ -195,7 +195,7 @@ Removes the "What's this?" help associated with the widget. This happens automatically if the widget is destroyed.

        See also add(). -

        void TQWhatsThis::setFont ( const TQFont & font ) [static] +

        void TQWhatsThis::setFont ( const TQFont & font ) [static]

        Sets the font for all "What's this?" helps to font. diff --git a/doc/html/ntqwizard.html b/doc/html/ntqwizard.html index 59f072bbb..6e6b4d04d 100644 --- a/doc/html/ntqwizard.html +++ b/doc/html/ntqwizard.html @@ -299,7 +299,7 @@ this button. Sets the title for page page to title. -

        void TQWizard::setTitleFont ( const TQFont & ) +

        void TQWizard::setTitleFont ( const TQFont & )

        Sets the font used for page titles. See the "titleFont" property for details.

        void TQWizard::showPage ( TQWidget * page ) [virtual] @@ -315,11 +315,11 @@ you can prepare each page prior to it being shown.

        Returns the title of page page. -

        TQFont TQWizard::titleFont () const +

        TQFont TQWizard::titleFont () const

        Returns the font used for page titles. See the "titleFont" property for details.


        Property Documentation

        -

        TQFont titleFont

        +

        TQFont titleFont

        This property holds the font used for page titles.

        The default is TQApplication::font(). diff --git a/doc/html/ntqwmatrix.html b/doc/html/ntqwmatrix.html index 745dfbdad..1f137d36f 100644 --- a/doc/html/ntqwmatrix.html +++ b/doc/html/ntqwmatrix.html @@ -87,29 +87,29 @@ The TQWMatrix class specifies 2D transformations of a coordinate system.

        -

        The standard coordinate system of a paint +

        The standard coordinate system of a paint device has the origin located at the top-left position. X values increase to the right; Y values increase downward. -

        This coordinate system is the default for the TQPainter, which +

        This coordinate system is the default for the TQPainter, which renders graphics in a paint device. A user-defined coordinate system can be specified by setting a TQWMatrix for the painter.

        Example:

        -        MyWidget::paintEvent( TQPaintEvent * )
        +        MyWidget::paintEvent( TQPaintEvent * )
                 {
        -            TQPainter p;                      // our painter
        +            TQPainter p;                      // our painter
                     TQWMatrix m;                      // our transformation matrix
                     m.rotate( 22.5 );                // rotated coordinate system
        -            p.begin( this );                 // start painting
        -            p.setWorldMatrix( m );           // use rotated coordinate system
        -            p.drawText( 30,20, "detator" );  // draw rotated text at 30,20
        -            p.end();                         // painting done
        +            p.begin( this );                 // start painting
        +            p.setWorldMatrix( m );           // use rotated coordinate system
        +            p.drawText( 30,20, "detator" );  // draw rotated text at 30,20
        +            p.end();                         // painting done
                 }
             

        A matrix specifies how to translate, scale, shear or rotate the graphics; the actual transformation is performed by the drawing -routines in TQPainter and by TQPixmap::xForm(). +routines in TQPainter and by TQPixmap::xForm().

        The TQWMatrix class contains a 3x3 matrix of the form: @@ -162,12 +162,12 @@ that sets rotation directly. m = m3 * m2 * m1; // combine all transformations -

        TQPainter has functions to translate, scale, shear and rotate the +

        TQPainter has functions to translate, scale, shear and rotate the coordinate system without using a TQWMatrix. Although these functions are very convenient, it can be more efficient to build a -TQWMatrix and call TQPainter::setWorldMatrix() if you want to perform +TQWMatrix and call TQPainter::setWorldMatrix() if you want to perform more than a single transform operation. -

        See also TQPainter::setWorldMatrix(), TQPixmap::xForm(), Graphics Classes, and Image Processing Classes. +

        See also TQPainter::setWorldMatrix(), TQPixmap::xForm(), Graphics Classes, and Image Processing Classes.


        Member Type Documentation

        TQWMatrix::TransformationMode

        diff --git a/doc/html/opengl-overlay-x11-example.html b/doc/html/opengl-overlay-x11-example.html index 399186586..c49535ad5 100644 --- a/doc/html/opengl-overlay-x11-example.html +++ b/doc/html/opengl-overlay-x11-example.html @@ -84,7 +84,7 @@ overlay widget or vice versa). Implement the resizeEvent() method of the widget you put in the layout, and make it call setGeometry() on the other widget with its own geometry as parameters, thus keeping the two widgets' geometries synchronized. -

      • Using together with TQPalette and TQColorGroup. Instead of the +

      • Using together with TQPalette and TQColorGroup. Instead of the simplistic setBackgroundColor( transparentColor ), you can use TQt's TQPalette system to make your overlay widgets use transparent color for what you want. This way, the normal TQt widgets diff --git a/doc/html/opengl-x11-overlays.html b/doc/html/opengl-x11-overlays.html index bda83c3c6..d2defafbc 100644 --- a/doc/html/opengl-x11-overlays.html +++ b/doc/html/opengl-x11-overlays.html @@ -72,14 +72,14 @@ information. visual, while all other widgets will use the overlay visual. Thus, we can place a normal widget on top of the TQGLWidget, and do drawing on it, without destroying the image in the OpenGL window. In other words, -we can use all the drawing capabilities of TQPainter to draw the +we can use all the drawing capabilities of TQPainter to draw the annotations, rubberbands, etc. For the typical use of overlays, this is much easier than using OpenGL for rendering the annotations.

        An overlay plane has a specific color called the transparent color. Pixels drawn in this color will not be visible; instead the underlying OpenGL image will show through. In the example program X11 overlay, the file -main.cpp contains a routine that returns a TQColor containing the +main.cpp contains a routine that returns a TQColor containing the transparent color. For the overlay widget, you will typically want to set the background color to the transparent color, so that the OpenGL image shows through except where explicitly overpainted. diff --git a/doc/html/picture-example.html b/doc/html/picture-example.html index 797724478..1fdb0960b 100644 --- a/doc/html/picture-example.html +++ b/doc/html/picture-example.html @@ -48,7 +48,7 @@ a set of drawing commands. *****************************************************************************/ #include <ntqapplication.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <ntqpicture.h> #include <ntqpixmap.h> #include <tqwidget.h> @@ -57,33 +57,33 @@ a set of drawing commands. #include <ctype.h> -void paintCar( TQPainter *p ) // paint a car +void paintCar( TQPainter *p ) // paint a car { TQPointArray a; - TQBrush brush( TQt::yellow, TQt::SolidPattern ); - p->setBrush( brush ); // use solid, yellow brush + TQBrush brush( TQt::yellow, TQt::SolidPattern ); + p->setBrush( brush ); // use solid, yellow brush a.setPoints( 5, 50,50, 350,50, 450,120, 450,250, 50,250 ); - p->drawPolygon( a ); // draw car body + p->drawPolygon( a ); // draw car body - TQFont f( "courier", 12, TQFont::Bold ); - p->setFont( f ); + TQFont f( "courier", 12, TQFont::Bold ); + p->setFont( f ); - TQColor windowColor( 120, 120, 255 ); // a light blue color - brush.setColor( windowColor ); // set this brush color - p->setBrush( brush ); // set brush - p->drawRect( 80, 80, 250, 70 ); // car window - p->drawText( 180, 80, 150, 70, TQt::AlignCenter, "-- TQt --\nTrolltech AS" ); + TQColor windowColor( 120, 120, 255 ); // a light blue color + brush.setColor( windowColor ); // set this brush color + p->setBrush( brush ); // set brush + p->drawRect( 80, 80, 250, 70 ); // car window + p->drawText( 180, 80, 150, 70, TQt::AlignCenter, "-- TQt --\nTrolltech AS" ); TQPixmap pixmap; if ( pixmap.load("flag.bmp") ) // load and draw image - p->drawPixmap( 100, 85, pixmap ); + p->drawPixmap( 100, 85, pixmap ); - p->setBackgroundMode( TQt::OpaqueMode ); // set opaque mode - p->setBrush( TQt::DiagCrossPattern ); // black diagonal cross pattern - p->drawEllipse( 90, 210, 80, 80 ); // back wheel - p->setBrush( TQt::CrossPattern ); // black cross fill pattern - p->drawEllipse( 310, 210, 80, 80 ); // front wheel + p->setBackgroundMode( TQt::OpaqueMode ); // set opaque mode + p->setBrush( TQt::DiagCrossPattern ); // black diagonal cross pattern + p->drawEllipse( 90, 210, 80, 80 ); // back wheel + p->setBrush( TQt::CrossPattern ); // black cross fill pattern + p->drawEllipse( 310, 210, 80, 80 ); // front wheel } @@ -93,7 +93,7 @@ public: PictureDisplay( const char *fileName ); ~PictureDisplay(); protected: - void paintEvent( TQPaintEvent * ); + void paintEvent( TQPaintEvent * ); void keyPressEvent( TQKeyEvent * ); private: TQPicture *pict; @@ -116,13 +116,13 @@ PictureDisplay::~PictureDisplay() delete pict; } -void PictureDisplay::paintEvent( TQPaintEvent * ) +void PictureDisplay::paintEvent( TQPaintEvent * ) { - TQPainter paint( this ); // paint widget + TQPainter paint( this ); // paint widget if ( pict ) - paint.drawPicture( *pict ); // draw picture + paint.drawPicture( *pict ); // draw picture else - paint.drawText( rect(), AlignCenter, name ); + paint.drawText( rect(), AlignCenter, name ); } void PictureDisplay::keyPressEvent( TQKeyEvent *k ) @@ -150,11 +150,11 @@ int main( int argc, char **argv ) if ( !TQFile::exists(fileName) ) { TQPicture pict; // our picture - TQPainter paint; // our painter + TQPainter paint; // our painter - paint.begin( &pict ); // begin painting onto picture + paint.begin( &pict ); // begin painting onto picture paintCar( &paint ); // paint! - paint.end(); // painting done + paint.end(); // painting done pict.save( fileName ); // save picture TQMessageBox::information(0, "TQt Example - Picture", "Saved. Run me again!"); diff --git a/doc/html/pictures.html b/doc/html/pictures.html index e27203a11..59b527104 100644 --- a/doc/html/pictures.html +++ b/doc/html/pictures.html @@ -60,11 +60,11 @@ dialog is used, but for other platforms we provide TQPrintDialog. Use TQPrinter::setup() for portability instead of the TQPrintDialog if you need to be platform independent.

        -

        Below is a TQFontDialog. -

        Windows +

        Below is a TQFontDialog. +

        Windows

        -

        The screenshot below shows a TQColorDialog. -

        +

        The screenshot below shows a TQColorDialog. +

        Messages are presented using TQMessageBoxes, as shown below.

        The image below shows a TQProgressDialog. The TQProgressBar can diff --git a/doc/html/porting.html b/doc/html/porting.html index 9f99675c2..0a2fde36e 100644 --- a/doc/html/porting.html +++ b/doc/html/porting.html @@ -171,7 +171,7 @@ the top of the file giving the error.

        Header files that you might need to add #include directives for include:

        • <ntqcursor.h> -
        • <ntqpainter.h> +
        • <tqpainter.h>
        • <ntqpen.h>
        • <tqstringlist.h>
        • <tqregexp.h> @@ -307,7 +307,7 @@ new code.
        • TQCanvasItem::visible() const
        • TQCanvasPixmapArray::TQCanvasPixmapArray( TQPtrList<TQPixmap> list, TQPtrList<TQPoint> hotspots )
        • TQCanvasPixmapArray::operator!() -
        • TQColorGroup::TQColorGroup( const TQColor & foreground, const TQColor & background, const TQColor & light, const TQColor & dark, const TQColor & mid, const TQColor & text, const TQColor & base ) +
        • TQColorGroup::TQColorGroup( const TQColor & foreground, const TQColor & background, const TQColor & light, const TQColor & dark, const TQColor & mid, const TQColor & text, const TQColor & base )
        • TQComboBox::autoResize() const
        • TQComboBox::setAutoResize( bool )
        • TQDate::dayName( int weekday ) @@ -318,21 +318,21 @@ new code.
        • TQDockWindow::isVerticalStretchable() const
        • TQDockWindow::setHorizontalStretchable( bool b )
        • TQDockWindow::setVerticalStretchable( bool b ) -
        • TQFont::defaultFont() -
        • TQFont::setDefaultFont( const TQFont & f ) -
        • TQFont::setPixelSizeFloat( float pixelSize ) -
        • TQFontDatabase::bold( const TQString & family, const TQString & style, const TQString & ) const -
        • TQFontDatabase::families( bool ) const -
        • TQFontDatabase::font( const TQString & familyName, const TQString & style, int pointSize, const TQString & ) -
        • TQFontDatabase::isBitmapScalable( const TQString & family, const TQString & style, const TQString & ) const -
        • TQFontDatabase::isFixedPitch( const TQString & family, const TQString & style, const TQString & ) const -
        • TQFontDatabase::isScalable( const TQString & family, const TQString & style, const TQString & ) const -
        • TQFontDatabase::isSmoothlyScalable( const TQString & family, const TQString & style, const TQString & ) const -
        • TQFontDatabase::italic( const TQString & family, const TQString & style, const TQString & ) const -
        • TQFontDatabase::pointSizes( const TQString & family, const TQString & style, const TQString & ) -
        • TQFontDatabase::smoothSizes( const TQString & family, const TQString & style, const TQString & ) -
        • TQFontDatabase::styles( const TQString & family, const TQString & ) const -
        • TQFontDatabase::weight( const TQString & family, const TQString & style, const TQString & ) const +
        • TQFont::defaultFont() +
        • TQFont::setDefaultFont( const TQFont & f ) +
        • TQFont::setPixelSizeFloat( float pixelSize ) +
        • TQFontDatabase::bold( const TQString & family, const TQString & style, const TQString & ) const +
        • TQFontDatabase::families( bool ) const +
        • TQFontDatabase::font( const TQString & familyName, const TQString & style, int pointSize, const TQString & ) +
        • TQFontDatabase::isBitmapScalable( const TQString & family, const TQString & style, const TQString & ) const +
        • TQFontDatabase::isFixedPitch( const TQString & family, const TQString & style, const TQString & ) const +
        • TQFontDatabase::isScalable( const TQString & family, const TQString & style, const TQString & ) const +
        • TQFontDatabase::isSmoothlyScalable( const TQString & family, const TQString & style, const TQString & ) const +
        • TQFontDatabase::italic( const TQString & family, const TQString & style, const TQString & ) const +
        • TQFontDatabase::pointSizes( const TQString & family, const TQString & style, const TQString & ) +
        • TQFontDatabase::smoothSizes( const TQString & family, const TQString & style, const TQString & ) +
        • TQFontDatabase::styles( const TQString & family, const TQString & ) const +
        • TQFontDatabase::weight( const TQString & family, const TQString & style, const TQString & ) const
        • TQLabel::autoResize() const
        • TQLabel::setAutoResize( bool enable )
        • TQListBox::cellHeight( int i ) const @@ -364,7 +364,7 @@ new code.
        • TQRegExp::match( const TQString & str, int index = 0, int *len = 0, bool indexIsStart = TRUE ) const
        • TQScrollView::childIsVisible( TQWidget *child )
        • TQScrollView::showChild( TQWidget *child, bool show = TRUE ) -
        • TQSimpleRichText::draw( TQPainter *p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush *paper = 0 ) const +
        • TQSimpleRichText::draw( TQPainter *p, int x, int y, const TQRegion & clipRegion, const TQColorGroup & cg, const TQBrush *paper = 0 ) const
        • TQString::ascii() const
        • TQString::data() const
        • TQString::setExpand( uint index, TQChar c ) @@ -386,9 +386,9 @@ new code.
        • TQWidget::backgroundColor() const
        • TQWidget::backgroundPixmap() const
        • TQWidget::iconify() -
        • TQWidget::setBackgroundColor( const TQColor & c ) +
        • TQWidget::setBackgroundColor( const TQColor & c )
        • TQWidget::setBackgroundPixmap( const TQPixmap & pm ) -
        • TQWidget::setFont( const TQFont & f, bool ) +
        • TQWidget::setFont( const TQFont & f, bool )
        • TQWidget::setPalette( const TQPalette & p, bool )
        • TQWizard::setFinish( TQWidget *, bool )
        • TQXmlInputSource::TQXmlInputSource( TQFile & file ) @@ -450,7 +450,7 @@ compatibility. non-existent file, the dialog would accept this. In TQt 3.x, you must set the mode, e.g. setMode(TQFileDialog::AnyFile), to get the same behavior. -

          TQFont +

          TQFont

          The internals of TQFont have changed significantly between TQt 2.2 and TQt 3.0, to give better Unicode support and to make developing @@ -520,7 +520,7 @@ TQtMultiLineEdit throughout.

          TQPrinter has undergone some changes, to make it more flexible and to ensure it has the same runtime behaviour on both Unix and Windows. In 2.x, TQPrinter behaved differently on Windows and Unix, when using view -transformations on the TQPainter. This has changed now, and TQPrinter +transformations on the TQPainter. This has changed now, and TQPrinter behaves consistently across all platforms. A compatibilty mode has been added that forces the old behaviour, to ease porting from TQt 2.x to TQt 3.x. This compatibilty mode can be enabled by passing the @@ -767,13 +767,13 @@ few classes for which the AutoMask property is still the best approach are TQCheckBox, TQComboBox, TQPushButton, TQRadioButton and TQTabWidget.

          Bezier Curves

          -

          The function names for Bezier curves in TQPainter and TQPointArray have +

          The function names for Bezier curves in TQPainter and TQPointArray have been corrected. They now properly reflect their cubic form instead of a quadratic one. If you have been using either TQPainter::drawQuadBezier() or TQPointArray::quadBezier() you must replace these calls with

          respectively. Neither the arguments nor the resulting curve have changed. diff --git a/doc/html/progress-example.html b/doc/html/progress-example.html index a2e8ee3b5..a86c0cae8 100644 --- a/doc/html/progress-example.html +++ b/doc/html/progress-example.html @@ -52,7 +52,7 @@ demonstrates simple use of menus. #include <ntqapplication.h> #include <tqmenubar.h> #include <tqpopupmenu.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <stdlib.h> class AnimatedThingy : public TQLabel { @@ -94,15 +94,15 @@ public: protected: void timerEvent(TQTimerEvent*) { - TQPainter p(this); - TQPen pn=p.pen(); + TQPainter p(this); + TQPen pn=p.pen(); pn.setWidth(2); pn.setColor(backgroundColor()); - p.setPen(pn); + p.setPen(pn); step = (step + 1) % nqix; - p.drawLine(ox[0][step], oy[0][step], ox[1][step], oy[1][step]); + p.drawLine(ox[0][step], oy[0][step], ox[1][step], oy[1][step]); inc(x0, dx0, width()); inc(y0, dy0, height()); @@ -113,31 +113,31 @@ protected: ox[1][step] = x1; oy[1][step] = y1; - TQColor c; - c.setHsv( (step*255)/nqix, 255, 255 ); // rainbow effect + TQColor c; + c.setHsv( (step*255)/nqix, 255, 255 ); // rainbow effect pn.setColor(c); - p.setPen(pn); - p.drawLine(ox[0][step], oy[0][step], ox[1][step], oy[1][step]); - p.setPen(colorGroup().text()); - p.drawText(rect(), AlignCenter, label); + p.setPen(pn); + p.drawLine(ox[0][step], oy[0][step], ox[1][step], oy[1][step]); + p.setPen(colorGroup().text()); + p.drawText(rect(), AlignCenter, label); } void paintEvent(TQPaintEvent* event) { - TQPainter p(this); - TQPen pn=p.pen(); + TQPainter p(this); + TQPen pn=p.pen(); pn.setWidth(2); - p.setPen(pn); - p.setClipRect(event->rect()); + p.setPen(pn); + p.setClipRect(event->rect()); for (int i=0; i<nqix; i++) { - TQColor c; - c.setHsv( (i*255)/nqix, 255, 255 ); // rainbow effect + TQColor c; + c.setHsv( (i*255)/nqix, 255, 255 ); // rainbow effect pn.setColor(c); - p.setPen(pn); - p.drawLine(ox[0][i], oy[0][i], ox[1][i], oy[1][i]); + p.setPen(pn); + p.drawLine(ox[0][i], oy[0][i], ox[1][i], oy[1][i]); } - p.setPen(colorGroup().text()); - p.drawText(rect(), AlignCenter, label); + p.setPen(colorGroup().text()); + p.drawText(rect(), AlignCenter, label); } private: @@ -264,26 +264,26 @@ private: rects--; { - TQPainter p(this); + TQPainter p(this); int ww = width(); int wh = height(); if ( ww > 8 && wh > 8 ) { - TQColor c(rand()%255, rand()%255, rand()%255); + TQColor c(rand()%255, rand()%255, rand()%255); int x = rand() % (ww-8); int y = rand() % (wh-8); int w = rand() % (ww-x); int h = rand() % (wh-y); - p.fillRect( x, y, w, h, c ); + p.fillRect( x, y, w, h, c ); } } if (!rects || got_stop) { if (!got_stop) pb->setProgress( pb->totalSteps() ); - TQPainter p(this); - p.fillRect(0, 0, width(), height(), backgroundColor()); + TQPainter p(this); + p.fillRect(0, 0, width(), height(), backgroundColor()); enableDrawingItems(TRUE); killTimers(); delete pb; @@ -329,21 +329,21 @@ private: "Drawing rectangles.\nUsing loop.", n, TRUE); lpb->setCaption("Please Wait"); - TQPainter p(this); + TQPainter p(this); for (int i=0; i<n; i++) { lpb->setProgress(i); if ( lpb->wasCancelled() ) break; - TQColor c(rand()%255, rand()%255, rand()%255); + TQColor c(rand()%255, rand()%255, rand()%255); int x = rand()%(width()-8); int y = rand()%(height()-8); int w = rand()%(width()-x); int h = rand()%(height()-y); - p.fillRect(x,y,w,h,c); + p.fillRect(x,y,w,h,c); } - p.fillRect(0, 0, width(), height(), backgroundColor()); + p.fillRect(0, 0, width(), height(), backgroundColor()); delete lpb; } diff --git a/doc/html/propertydocs b/doc/html/propertydocs index 107966a29..4c63a0380 100644 --- a/doc/html/propertydocs +++ b/doc/html/propertydocs @@ -1802,7 +1802,7 @@ one digit position. <td valign="top">Produces flat segments filled with the foreground color. </table></center> <p> <a href="ntqlcdnumber.html#SegmentStyle-enum">Outline</a> and <a href="ntqlcdnumber.html#SegmentStyle-enum">Filled</a> will additionally use -<a href="qcolorgroup.html#light">QColorGroup::light</a>() and <a href="qcolorgroup.html#dark">QColorGroup::dark</a>() for shadow effects. +<a href="tqcolorgroup.html#light">TQColorGroup::light</a>() and <a href="tqcolorgroup.html#dark">TQColorGroup::dark</a>() for shadow effects. <p>Set this property's value with <a href="ntqlcdnumber.html#setSegmentStyle">setSegmentStyle</a>() and get this property's value with <a href="ntqlcdnumber.html#segmentStyle">segmentStyle</a>(). @@ -4498,7 +4498,7 @@ parent's font or (if this widget is a top level widget), the default application font. <p> This code fragment sets a 12 point helvetica bold font: <pre> - <a href="ntqfont.html">QFont</a> f( "Helvetica", 12, QFont::Bold ); + <a href="tqfont.html">TQFont</a> f( "Helvetica", 12, TQFont::Bold ); <a href="tqwidget.html#setFont">setFont</a>( f ); </pre> @@ -4879,7 +4879,7 @@ background and foreground appearance only. convenience function that creates and sets a modified <a href="ntqpalette.html">QPalette</a> with <a href="tqwidget.html#setPalette">setPalette</a>(). The palette is modified according to the widget's background mode. For example, if the background mode is -<a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the color used for the palette's <a href="qcolorgroup.html#ColorRole-enum">QColorGroup::Button</a> color entry is set. +<a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the color used for the palette's <a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set. <p> If there is a background pixmap (set using <a href="tqwidget.html#setPaletteBackgroundPixmap">setPaletteBackgroundPixmap</a>()), then the return value of this function is indeterminate. @@ -4899,7 +4899,7 @@ convenience function that creates and sets a modified <a href="ntqpalette.htm with <a href="tqwidget.html#setPalette">setPalette</a>(). The palette is modified according to the widget's background mode. For example, if the background mode is <a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the pixmap used for the palette's -<a href="qcolorgroup.html#ColorRole-enum">QColorGroup::Button</a> color entry is set. +<a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::Button</a> color entry is set. <p> If there is a plain background color (set using <a href="tqwidget.html#setPaletteBackgroundColor">setPaletteBackgroundColor</a>()), then this function returns 0. <p> <p>See also <a href="tqwidget.html#paletteBackgroundColor-prop">paletteBackgroundColor</a>, <a href="tqwidget.html#paletteForegroundColor-prop">paletteForegroundColor</a>, <a href="tqwidget.html#palette-prop">palette</a>, and <a href="tqwidget.html#colorGroup-prop">colorGroup</a>. @@ -4915,7 +4915,7 @@ widget's background mode. For example, if the background mode is and sets a modified <a href="ntqpalette.html">QPalette</a> with <a href="tqwidget.html#setPalette">setPalette</a>(). The palette is modified according to the widget's <em>background mode</em>. For example, if the background mode is <a href="ntqt.html#BackgroundMode-enum">PaletteButton</a> the palette entry -<a href="qcolorgroup.html#ColorRole-enum">QColorGroup::ButtonText</a> is set to color. +<a href="tqcolorgroup.html#ColorRole-enum">TQColorGroup::ButtonText</a> is set to color. <p> <p>See also <a href="tqwidget.html#palette-prop">palette</a>, <a href="ntqapplication.html#setPalette">QApplication::setPalette</a>(), <a href="tqwidget.html#backgroundMode-prop">backgroundMode</a>, <a href="tqwidget.html#foregroundColor">foregroundColor</a>(), <a href="tqwidget.html#backgroundMode-prop">backgroundMode</a>, and <a href="tqwidget.html#setEraseColor">setEraseColor</a>(). <p>Set this property's value with <a href="tqwidget.html#setPaletteForegroundColor">setPaletteForegroundColor</a>(), get this property's value with <a href="tqwidget.html#paletteForegroundColor">paletteForegroundColor</a>(), and reset this property's value with <a href="tqwidget.html#unsetPalette">unsetPalette</a>(). diff --git a/doc/html/qboxlayout.html b/doc/html/qboxlayout.html index 9e4328381..2a3b9b4b6 100644 --- a/doc/html/qboxlayout.html +++ b/doc/html/qboxlayout.html @@ -192,7 +192,7 @@ you don't need to call addLayout(); the child layout is automatically added to the parent layout as it is constructed.

          See also insertLayout(), setAutoAdd(), addWidget(), and addSpacing(). -

          Examples: chart/optionsform.cpp, chart/setdataform.cpp, fonts/simple-qfont-demo/viewer.cpp, listbox/listbox.cpp, regexptester/regexptester.cpp, and tictac/tictac.cpp. +

          Examples: chart/optionsform.cpp, chart/setdataform.cpp, fonts/simple-tqfont-demo/viewer.cpp, listbox/listbox.cpp, regexptester/regexptester.cpp, and tictac/tictac.cpp.

          void TQBoxLayout::addSpacing ( int size )

          Adds a non-stretchable space with size size to the end of this diff --git a/doc/html/qbrush-h.html b/doc/html/qbrush-h.html deleted file mode 100644 index 59ab87f4b..000000000 --- a/doc/html/qbrush-h.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - -ntqbrush.h Include File - - - - -
      • m11m12 0
        - - -
        - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

        ntqbrush.h

        - -

        This is the verbatim text of the ntqbrush.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


        -
        -/****************************************************************************
        -** $Id: qt/ntqbrush.h   3.3.8   edited Jan 11 14:38 $
        -**
        -** Definition of TQBrush class
        -**
        -** Created : 940112
        -**
        -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
        -**
        -** This file is part of the kernel module of the TQt GUI Toolkit.
        -**
        -** This file may be used under the terms of the GNU General Public
        -** License versions 2.0 or 3.0 as published by the Free Software
        -** Foundation and appearing in the file LICENSE.GPL included in the
        -** packaging of this file. Alternatively you may (at your option) use any
        -** later version of the GNU General Public License if such license has
        -** been publicly approved by Trolltech ASA (or its successors, if any)
        -** and the KDE Free TQt Foundation.
        -**
        -** Please review the following information to ensure GNU General
        -** Public Licensing requirements will be met:
        -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
        -** If you are unsure which license is appropriate for your use, please
        -** review the following information:
        -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
        -** or contact the sales department at sales@trolltech.com.
        -**
        -** This file may be used under the terms of the Q Public License as
        -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
        -** included in the packaging of this file.  Licensees holding valid TQt
        -** Commercial licenses may use this file in accordance with the TQt
        -** Commercial License Agreement provided with the Software.
        -**
        -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
        -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
        -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
        -** herein.
        -**
        -**********************************************************************/
        -
        -#ifndef TQBRUSH_H
        -#define TQBRUSH_H
        -
        -#ifndef QT_H
        -#include "ntqcolor.h"
        -#include "ntqshared.h"
        -#endif // QT_H
        -
        -
        -class TQ_EXPORT TQBrush: public TQt
        -{
        -friend class TQPainter;
        -public:
        -    TQBrush();
        -    TQBrush( BrushStyle );
        -    TQBrush( const TQColor &, BrushStyle=SolidPattern );
        -    TQBrush( const TQColor &, const TQPixmap & );
        -    TQBrush( const TQBrush & );
        -   ~TQBrush();
        -    TQBrush &operator=( const TQBrush & );
        -
        -    BrushStyle	style()	 const		{ return data->style; }
        -    void	setStyle( BrushStyle );
        -    const TQColor &color()const		{ return data->color; }
        -    void	setColor( const TQColor & );
        -    TQPixmap    *pixmap() const		{ return data->pixmap; }
        -    void	setPixmap( const TQPixmap & );
        -
        -    bool	operator==( const TQBrush &p ) const;
        -    bool	operator!=( const TQBrush &b ) const
        -					{ return !(operator==(b)); }
        -
        -private:
        -    TQBrush	copy()	const;
        -    void	detach();
        -    void	init( const TQColor &, BrushStyle );
        -    struct TQBrushData : public TQShared {	// brush data
        -	BrushStyle style;
        -	TQColor	  color;
        -	TQPixmap	 *pixmap;
        -    } *data;
        -};
        -
        -
        -/*****************************************************************************
        -  TQBrush stream functions
        - *****************************************************************************/
        -
        -#ifndef TQT_NO_DATASTREAM
        -TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQBrush & );
        -TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQBrush & );
        -#endif
        -
        -#endif // TQBRUSH_H
        -
        - -


        - -
        Copyright © 2007 -TrolltechTrademarks -
        TQt 3.3.8
        -
        - diff --git a/doc/html/qbrush-members.html b/doc/html/qbrush-members.html deleted file mode 100644 index c708c71da..000000000 --- a/doc/html/qbrush-members.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - -TQBrush Member List - - - - - - - -
        - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

        Complete Member List for TQBrush

        - -

        This is the complete list of member functions for -TQBrush, including inherited members. - -

        - -


        - -
        Copyright © 2007 -TrolltechTrademarks -
        TQt 3.3.8
        -
        - diff --git a/doc/html/qbutton-members.html b/doc/html/qbutton-members.html index 27a724d29..b573ba1f8 100644 --- a/doc/html/qbutton-members.html +++ b/doc/html/qbutton-members.html @@ -66,7 +66,7 @@ body { background: #ffffff; color: black; }
      • clipRegion()
      • close()
      • closeEvent() -
      • cmd() +
      • cmd()
      • colorGroup()
      • connect()
      • connectNotify() @@ -117,7 +117,7 @@ body { background: #ffffff; color: black; }
      • grabKeyboard()
      • grabMouse()
      • group() -
      • handle() +
      • handle()
      • hasFocus()
      • hasMouse()
      • hasMouseTracking() @@ -145,7 +145,7 @@ body { background: #ffffff; color: black; }
      • isEnabledTo()
      • isEnabledToTLW()
      • isExclusiveToggle() -
      • isExtDev() +
      • isExtDev()
      • isFocusEnabled()
      • isFullScreen()
      • isHidden() @@ -202,7 +202,7 @@ body { background: #ffffff; color: black; }
      • ownFont()
      • ownPalette()
      • paintEvent() -
      • paintingActive() +
      • paintingActive()
      • palette()
      • paletteBackgroundColor()
      • paletteBackgroundPixmap() @@ -333,28 +333,28 @@ body { background: #ffffff; color: black; }
      • windowOpacity()
      • windowState()
      • x() -
      • x11AppCells() -
      • x11AppColormap() -
      • x11AppDefaultColormap() -
      • x11AppDefaultVisual() -
      • x11AppDepth() -
      • x11AppDisplay() -
      • x11AppDpiX() -
      • x11AppDpiY() -
      • x11AppRootWindow() -
      • x11AppScreen() -
      • x11AppVisual() -
      • x11Cells() -
      • x11Colormap() -
      • x11DefaultColormap() -
      • x11DefaultVisual() -
      • x11Depth() -
      • x11Display() +
      • x11AppCells() +
      • x11AppColormap() +
      • x11AppDefaultColormap() +
      • x11AppDefaultVisual() +
      • x11AppDepth() +
      • x11AppDisplay() +
      • x11AppDpiX() +
      • x11AppDpiY() +
      • x11AppRootWindow() +
      • x11AppScreen() +
      • x11AppVisual() +
      • x11Cells() +
      • x11Colormap() +
      • x11DefaultColormap() +
      • x11DefaultVisual() +
      • x11Depth() +
      • x11Display()
      • x11Event() -
      • x11Screen() -
      • x11SetAppDpiX() -
      • x11SetAppDpiY() -
      • x11Visual() +
      • x11Screen() +
      • x11SetAppDpiX() +
      • x11SetAppDpiY() +
      • x11Visual()
      • y()
      diff --git a/doc/html/qbuttongroup-members.html b/doc/html/qbuttongroup-members.html index 31659466f..6458b4326 100644 --- a/doc/html/qbuttongroup-members.html +++ b/doc/html/qbuttongroup-members.html @@ -64,7 +64,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • columns()
    • connect() @@ -123,7 +123,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -155,7 +155,7 @@ body { background: #ffffff; color: black; }
    • isEnabledTo()
    • isEnabledToTLW()
    • isExclusive() -
    • isExtDev() +
    • isExtDev()
    • isFlat()
    • isFocusEnabled()
    • isFullScreen() @@ -217,7 +217,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -357,28 +357,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qchar.html b/doc/html/qchar.html index bbbc6ee88..91f85b924 100644 --- a/doc/html/qchar.html +++ b/doc/html/qchar.html @@ -354,7 +354,7 @@ categories); otherwise returns FALSE. Returns TRUE if the character is a printable character; otherwise returns FALSE. This is any character not of category Cc or Cn.

      Note that this gives no indication of whether the character is -available in a particular font. +available in a particular font.

      bool TQChar::isPunct () const

      diff --git a/doc/html/qcheckbox-members.html b/doc/html/qcheckbox-members.html index b1035e59e..d42a0cbb7 100644 --- a/doc/html/qcheckbox-members.html +++ b/doc/html/qcheckbox-members.html @@ -65,7 +65,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -116,7 +116,7 @@ body { background: #ffffff; color: black; }
    • grabKeyboard()
    • grabMouse()
    • group() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -145,7 +145,7 @@ body { background: #ffffff; color: black; }
    • isEnabledTo()
    • isEnabledToTLW()
    • isExclusiveToggle() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -203,7 +203,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -337,28 +337,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qchecklistitem.html b/doc/html/qchecklistitem.html index 322823ad3..579c4469c 100644 --- a/doc/html/qchecklistitem.html +++ b/doc/html/qchecklistitem.html @@ -170,14 +170,14 @@ Toggle check box or set radio button to on. Returns TRUE if the item is tristate; otherwise returns FALSE.

      See also setTristate(). -

      void TQCheckListItem::paintCell ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align ) [virtual] +

      void TQCheckListItem::paintCell ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align ) [virtual]

      Paints the item using the painter p and the color group cg. The item is in column column, has width width and has alignment align. (See TQt::AlignmentFlags for valid alignments.)

      Reimplemented from TQListViewItem. -

      void TQCheckListItem::paintFocus ( TQPainter * p, const TQColorGroup & cg, const TQRect & r ) [virtual] +

      void TQCheckListItem::paintFocus ( TQPainter * p, const TQColorGroup & cg, const TQRect & r ) [virtual]

      Draws the focus rectangle r using the color group cg on the painter p. diff --git a/doc/html/qcolor-h.html b/doc/html/qcolor-h.html deleted file mode 100644 index 087f13536..000000000 --- a/doc/html/qcolor-h.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - -ntqcolor.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqcolor.h

      - -

      This is the verbatim text of the ntqcolor.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqcolor.h   3.3.8   edited Jan 11 14:38 $
      -**
      -** Definition of TQColor class
      -**
      -** Created : 940112
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the kernel module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQCOLOR_H
      -#define TQCOLOR_H
      -
      -#ifndef QT_H
      -#include "ntqwindowdefs.h"
      -#include "tqstringlist.h"
      -#endif // QT_H
      -
      -const TQRgb  TQT_RGB_MASK    = 0x00ffffff;		// masks RGB values
      -
      -TQ_EXPORT inline int tqRed( TQRgb rgb )		// get red part of RGB
      -{ return (int)((rgb >> 16) & 0xff); }
      -
      -TQ_EXPORT inline int tqGreen( TQRgb rgb )		// get green part of RGB
      -{ return (int)((rgb >> 8) & 0xff); }
      -
      -TQ_EXPORT inline int tqBlue( TQRgb rgb )		// get blue part of RGB
      -{ return (int)(rgb & 0xff); }
      -
      -TQ_EXPORT inline int tqAlpha( TQRgb rgb )		// get alpha part of RGBA
      -{ return (int)((rgb >> 24) & 0xff); }
      -
      -TQ_EXPORT inline TQRgb tqRgb( int r, int g, int b )// set RGB value
      -{ return (0xff << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); }
      -
      -TQ_EXPORT inline TQRgb tqRgba( int r, int g, int b, int a )// set RGBA value
      -{ return ((a & 0xff) << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); }
      -
      -TQ_EXPORT inline int tqGray( int r, int g, int b )// convert R,G,B to gray 0..255
      -{ return (r*11+g*16+b*5)/32; }
      -
      -TQ_EXPORT inline int tqGray( TQRgb rgb )		// convert RGB to gray 0..255
      -{ return tqGray( tqRed(rgb), tqGreen(rgb), tqBlue(rgb) ); }
      -
      -
      -class TQ_EXPORT TQColor
      -{
      -public:
      -    enum Spec { Rgb, Hsv };
      -
      -    TQColor();
      -    TQColor( int r, int g, int b );
      -    TQColor( int x, int y, int z, Spec );
      -    TQColor( TQRgb rgb, uint pixel=0xffffffff);
      -    TQColor( const TQString& name );
      -    TQColor( const char *name );
      -    TQColor( const TQColor & );
      -    TQColor &operator=( const TQColor & );
      -
      -    bool   isValid() const;
      -    bool   isDirty() const;
      -    TQString name() const;
      -    void   setNamedColor( const TQString& name );
      -
      -    TQRgb   rgb()    const;
      -    void   setRgb( int r, int g, int b );
      -    void   setRgb( TQRgb rgb );
      -    void   getRgb( int *r, int *g, int *b ) const { rgb( r, g, b ); }
      -    void   rgb( int *r, int *g, int *b ) const; // obsolete
      -
      -    int	   red()    const;
      -    int	   green()  const;
      -    int	   blue()   const;
      -
      -    void   setHsv( int h, int s, int v );
      -    void   getHsv( int *h, int *s, int *v ) const { hsv( h, s, v ); }
      -    void   hsv( int *h, int *s, int *v ) const; // obsolete
      -    void   getHsv( int &h, int &s, int &v ) const { hsv( &h, &s, &v ); } // obsolete
      -
      -    TQColor light( int f = 150 ) const;
      -    TQColor dark( int f = 200 )	const;
      -
      -    bool   operator==( const TQColor &c ) const;
      -    bool   operator!=( const TQColor &c ) const;
      -
      -    uint   alloc();
      -    uint   pixel()  const;
      -
      -#if defined(TQ_WS_X11)
      -    // ### in 4.0, make this take a default argument of -1 for default screen?
      -    uint alloc( int screen );
      -    uint pixel( int screen ) const;
      -#endif
      -
      -    static int  maxColors();
      -    static int  numBitPlanes();
      -
      -    static int  enterAllocContext();
      -    static void leaveAllocContext();
      -    static int  currentAllocContext();
      -    static void destroyAllocContext( int );
      -
      -#if defined(TQ_WS_WIN)
      -    static const TQRgb* palette( int* numEntries = 0 );
      -    static int setPaletteEntries( const TQRgb* entries, int numEntries,
      -				  int base = -1 );
      -    static HPALETTE hPal()  { return hpal; }
      -    static uint	realizePal( TQWidget * );
      -#endif
      -
      -    static void initialize();
      -    static void cleanup();
      -#ifndef TQT_NO_STRINGLIST
      -    static TQStringList colorNames();
      -#endif
      -    enum { Dirt = 0x44495254, Invalid = 0x49000000 };
      -
      -private:
      -    void setSystemNamedColor( const TQString& name );
      -    void setPixel( uint pixel );
      -    static void initGlobalColors();
      -    static uint argbToPix32(TQRgb);
      -    static TQColor* globalColors();
      -    static bool color_init;
      -    static bool globals_init;
      -#if defined(TQ_WS_WIN)
      -    static HPALETTE hpal;
      -#endif
      -    static enum ColorModel { d8, d32 } colormodel;
      -    union {
      -	TQRgb argb;
      -	struct D8 {
      -	    TQRgb argb;
      -	    uchar pix;
      -	    uchar invalid;
      -	    uchar dirty;
      -	    uchar direct;
      -	} d8;
      -	struct D32 {
      -	    TQRgb argb;
      -	    uint pix;
      -	    bool invalid() const { return argb == TQColor::Invalid && pix == TQColor::Dirt; }
      -	    bool probablyDirty() const { return pix == TQColor::Dirt; }
      -	} d32;
      -    } d;
      -};
      -
      -
      -inline TQColor::TQColor()
      -{ d.d32.argb = Invalid; d.d32.pix = Dirt; }
      -
      -inline TQColor::TQColor( int r, int g, int b )
      -{
      -    d.d32.argb = Invalid;
      -    d.d32.pix = Dirt;
      -    setRgb( r, g, b );
      -}
      -
      -inline TQRgb TQColor::rgb() const
      -{ return d.argb; }
      -
      -inline int TQColor::red() const
      -{ return tqRed(d.argb); }
      -
      -inline int TQColor::green() const
      -{ return tqGreen(d.argb); }
      -
      -inline int TQColor::blue() const
      -{ return tqBlue(d.argb); }
      -
      -inline bool TQColor::isValid() const
      -{
      -    if ( colormodel == d8 )
      -	return !d.d8.invalid;
      -    else
      -	return !d.d32.invalid();
      -}
      -
      -inline bool TQColor::operator==( const TQColor &c ) const
      -{
      -    return d.argb == c.d.argb && isValid() == c.isValid();
      -}
      -
      -inline bool TQColor::operator!=( const TQColor &c ) const
      -{
      -    return !operator==(c);
      -}
      -
      -
      -/*****************************************************************************
      -  TQColor stream functions
      - *****************************************************************************/
      -
      -#ifndef TQT_NO_DATASTREAM
      -TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQColor & );
      -TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQColor & );
      -#endif
      -
      -#endif // TQCOLOR_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qcolor-members.html b/doc/html/qcolor-members.html deleted file mode 100644 index 024833bb6..000000000 --- a/doc/html/qcolor-members.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - -TQColor Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQColor

      - -

      This is the complete list of member functions for -TQColor, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qcolordialog-h.html b/doc/html/qcolordialog-h.html deleted file mode 100644 index ea646e991..000000000 --- a/doc/html/qcolordialog-h.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - -ntqcolordialog.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqcolordialog.h

      - -

      This is the verbatim text of the ntqcolordialog.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqcolordialog.h   3.3.8   edited Jan 11 14:37 $
      -**
      -** Definition of TQColorDialog class
      -**
      -** Created : 990222
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the dialogs module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQCOLORDIALOG_H
      -#define TQCOLORDIALOG_H
      -
      -#ifndef QT_H
      -#include "ntqdialog.h"
      -#endif // QT_H
      -
      -#ifndef TQT_NO_COLORDIALOG
      -
      -class TQColorDialogPrivate;
      -
      -class TQ_EXPORT TQColorDialog : public TQDialog
      -{
      -    TQ_OBJECT
      -
      -public:
      -    static TQColor getColor( const TQColor& init = white, TQWidget* parent=0, const char* name=0 );
      -    static TQRgb getRgba( TQRgb, bool* ok = 0,
      -			 TQWidget* parent=0, const char* name=0 );
      -
      -    static int customCount();
      -    static TQRgb customColor( int );
      -    static void setCustomColor( int, TQRgb );
      -    static void setStandardColor( int, TQRgb );
      -
      -private:
      -    ~TQColorDialog();
      -    TQColorDialog( TQWidget* parent=0, const char* name=0, bool modal=FALSE );
      -
      -    void setColor( const TQColor& );
      -    TQColor color() const;
      -
      -    bool selectColor( const TQColor& );
      -
      -    void setSelectedAlpha( int );
      -    int selectedAlpha() const;
      -
      -    void showCustom( bool=TRUE );
      -
      -private:	// Disabled copy constructor and operator=
      -    TQColorDialogPrivate *d;
      -    friend class TQColorDialogPrivate;
      -    friend class TQColorShower;
      -
      -#if defined(TQ_DISABLE_COPY)
      -    TQColorDialog( const TQColorDialog & );
      -    TQColorDialog& operator=( const TQColorDialog & );
      -#endif
      -};
      -
      -#endif
      -
      -#endif //TQCOLORDIALOG_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qcolordialog-members.html b/doc/html/qcolordialog-members.html deleted file mode 100644 index 06d2381da..000000000 --- a/doc/html/qcolordialog-members.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -TQColorDialog Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQColorDialog

      - -

      This is the complete list of member functions for -TQColorDialog, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qcolordlg-w.png b/doc/html/qcolordlg-w.png deleted file mode 100644 index edcfb18d2..000000000 Binary files a/doc/html/qcolordlg-w.png and /dev/null differ diff --git a/doc/html/qcolorgroup-members.html b/doc/html/qcolorgroup-members.html deleted file mode 100644 index 2b8475189..000000000 --- a/doc/html/qcolorgroup-members.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - -TQColorGroup Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQColorGroup

      - -

      This is the complete list of member functions for -TQColorGroup, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qcolorgroup.html b/doc/html/qcolorgroup.html deleted file mode 100644 index a4f889ab4..000000000 --- a/doc/html/qcolorgroup.html +++ /dev/null @@ -1,346 +0,0 @@ - - - - - -TQColorGroup Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQColorGroup Class Reference

      - -

      The TQColorGroup class contains a group of widget colors. -More... -

      #include <ntqpalette.h> -

      List of all member functions. -

      Public Members

      -
        -
      • TQColorGroup ()
      • -
      • TQColorGroup ( const TQColor & foreground, const TQColor & background, const TQColor & light, const TQColor & dark, const TQColor & mid, const TQColor & text, const TQColor & base )  (obsolete)
      • -
      • TQColorGroup ( const TQBrush & foreground, const TQBrush & button, const TQBrush & light, const TQBrush & dark, const TQBrush & mid, const TQBrush & text, const TQBrush & bright_text, const TQBrush & base, const TQBrush & background )
      • -
      • TQColorGroup ( const TQColorGroup & other )
      • -
      • ~TQColorGroup ()
      • -
      • TQColorGroup & operator= ( const TQColorGroup & other )
      • -
      • enum ColorRole { Foreground, Button, Light, Midlight, Dark, Mid, Text, BrightText, ButtonText, Base, Background, Shadow, Highlight, HighlightedText, Link, LinkVisited, NColorRoles }
      • -
      • const TQColor & color ( ColorRole r ) const
      • -
      • const TQBrush & brush ( ColorRole r ) const
      • -
      • void setColor ( ColorRole r, const TQColor & c )
      • -
      • void setBrush ( ColorRole r, const TQBrush & b )
      • -
      • const TQColor & foreground () const
      • -
      • const TQColor & button () const
      • -
      • const TQColor & light () const
      • -
      • const TQColor & dark () const
      • -
      • const TQColor & mid () const
      • -
      • const TQColor & text () const
      • -
      • const TQColor & base () const
      • -
      • const TQColor & background () const
      • -
      • const TQColor & midlight () const
      • -
      • const TQColor & brightText () const
      • -
      • const TQColor & buttonText () const
      • -
      • const TQColor & shadow () const
      • -
      • const TQColor & highlight () const
      • -
      • const TQColor & highlightedText () const
      • -
      • const TQColor & link () const
      • -
      • const TQColor & linkVisited () const
      • -
      • bool operator== ( const TQColorGroup & g ) const
      • -
      • bool operator!= ( const TQColorGroup & g ) const
      • -
      -

      Related Functions

      -
        -
      • TQDataStream & operator<< ( TQDataStream & s, const TQColorGroup & g )
      • -
      -

      Detailed Description

      - - -The TQColorGroup class contains a group of widget colors. -

      - - -

      A color group contains a group of colors used by widgets for -drawing themselves. We recommend that widgets use color group -roles such as "foreground" and "base" rather than literal colors -like "red" or "turquoise". The color roles are enumerated and -defined in the ColorRole documentation. -

      The most common use of TQColorGroup is like this: -

      -        TQPainter p;
      -        ...
      -        p.setPen( colorGroup().foreground() );
      -        p.drawLine( ... )
      -    
      - -

      It is also possible to modify color groups or create new color -groups from scratch. -

      The color group class can be created using three different -constructors or by modifying one supplied by TQt. The default -constructor creates an all-black color group, which can then be -modified using set functions; there's also a constructor for -specifying all the color group colors. And there is also a copy -constructor. -

      We strongly recommend using a system-supplied color group and -modifying that as necessary. -

      You modify a color group by calling the access functions -setColor() and setBrush(), depending on whether you want a pure -color or a pixmap pattern. -

      There are also corresponding color() and brush() getters, and a -commonly used convenience function to get each ColorRole: -background(), foreground(), base(), etc. -

      See also TQColor, TQPalette, TQWidget::colorGroup, Widget Appearance and Style, Graphics Classes, and Image Processing Classes. - -


      Member Type Documentation

      -

      TQColorGroup::ColorRole

      - -

      The ColorRole enum defines the different symbolic color roles used -in current GUIs. -

      The central roles are: -

        -
      • TQColorGroup::Background - general background color. -
      • TQColorGroup::Foreground - general foreground color. -
      • TQColorGroup::Base - used as background color for text entry widgets, for example; -usually white or another light color. -
      • TQColorGroup::Text - the foreground color used with Base. Usually this -is the same as the Foreground, in which case it must provide good -contrast with Background and Base. -
      • TQColorGroup::Button - general button background color in which buttons need a -background different from Background, as in the Macintosh style. -
      • TQColorGroup::ButtonText - a foreground color used with the Button color. -

      There are some color roles used mostly for 3D bevel and shadow -effects: -

        -
      • TQColorGroup::Light - lighter than Button color. -
      • TQColorGroup::Midlight - between Button and Light. -
      • TQColorGroup::Dark - darker than Button. -
      • TQColorGroup::Mid - between Button and Dark. -
      • TQColorGroup::Shadow - a very dark color. -By default, the shadow color is TQt::black. -

      All of these are normally derived from Background and used in -ways that depend on that relationship. For example, buttons depend -on it to make the bevels look attractive, and Motif scroll bars -depend on Mid to be slightly different from Background. -

      Selected (marked) items have two roles: -

        -
      • TQColorGroup::Highlight - a color to indicate a selected item or the -current item. By default, the highlight color is TQt::darkBlue. -
      • TQColorGroup::HighlightedText - a text color that contrasts with Highlight. -By default, the highlighted text color is TQt::white. -

      Finally, there is a special role for text that needs to be -drawn where Text or Foreground would give poor contrast, -such as on pressed push buttons: -

        -
      • TQColorGroup::BrightText - a text color that is very different from Foreground and contrasts well with e.g. Dark. -
      • TQColorGroup::Link - a text color used for unvisited hyperlinks. -By default, the link color is TQt::blue. -
      • TQColorGroup::LinkVisited - a text color used for already visited hyperlinks. -By default, the linkvisited color is TQt::magenta. -
      • TQColorGroup::NColorRoles - Internal. -

      Note that text colors can be used for things other than just -words; text colors are usually used for text, but it's quite -common to use the text color roles for lines, icons, etc. -

      This image shows most of the color roles in use: -

      Color Roles
      -

      Member Function Documentation

      -

      TQColorGroup::TQColorGroup () -

      -Constructs a color group with all colors set to black. - -

      TQColorGroup::TQColorGroup ( const TQColor & foreground, const TQColor & background, const TQColor & light, const TQColor & dark, const TQColor & mid, const TQColor & text, const TQColor & base ) -

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      Constructs a color group with the specified colors. The button -color will be set to the background color. - -

      TQColorGroup::TQColorGroup ( const TQBrush & foreground, const TQBrush & button, const TQBrush & light, const TQBrush & dark, const TQBrush & mid, const TQBrush & text, const TQBrush & bright_text, const TQBrush & base, const TQBrush & background ) -

      -Constructs a color group. You can pass either brushes, pixmaps or -plain colors for foreground, button, light, dark, mid, text, bright_text, base and background. -

      See also TQBrush. - -

      TQColorGroup::TQColorGroup ( const TQColorGroup & other ) -

      -Constructs a color group that is an independent copy of other. - -

      TQColorGroup::~TQColorGroup () -

      -Destroys the color group. - -

      const TQColor & TQColorGroup::background () const -

      - -

      Returns the background color of the color group. -

      See also ColorRole. - -

      const TQColor & TQColorGroup::base () const -

      - -

      Returns the base color of the color group. -

      See also ColorRole. - -

      const TQColor & TQColorGroup::brightText () const -

      - -

      Returns the bright text foreground color of the color group. -

      See also ColorRole. - -

      Examples: themes/metal.cpp and themes/wood.cpp. -

      const TQBrush & TQColorGroup::brush ( ColorRole r ) const -

      -Returns the brush that has been set for color role r. -

      See also color(), setBrush(), and ColorRole. - -

      Examples: themes/metal.cpp and themes/wood.cpp. -

      const TQColor & TQColorGroup::button () const -

      - -

      Returns the button color of the color group. -

      See also ColorRole. - -

      Examples: themes/metal.cpp and themes/wood.cpp. -

      const TQColor & TQColorGroup::buttonText () const -

      - -

      Returns the button text foreground color of the color group. -

      See also ColorRole. - -

      Examples: themes/metal.cpp and themes/wood.cpp. -

      const TQColor & TQColorGroup::color ( ColorRole r ) const -

      -Returns the color that has been set for color role r. -

      See also brush() and ColorRole. - -

      const TQColor & TQColorGroup::dark () const -

      - -

      Returns the dark color of the color group. -

      See also ColorRole. - -

      Example: themes/wood.cpp. -

      const TQColor & TQColorGroup::foreground () const -

      - -

      Returns the foreground color of the color group. -

      See also ColorRole. - -

      Examples: themes/metal.cpp and themes/wood.cpp. -

      const TQColor & TQColorGroup::highlight () const -

      - -

      Returns the highlight color of the color group. -

      See also ColorRole. - -

      const TQColor & TQColorGroup::highlightedText () const -

      - -

      Returns the highlighted text color of the color group. -

      See also ColorRole. - -

      const TQColor & TQColorGroup::light () const -

      - -

      Returns the light color of the color group. -

      See also ColorRole. - -

      Example: themes/wood.cpp. -

      const TQColor & TQColorGroup::link () const -

      - -

      Returns the unvisited link text color of the color group. -

      See also ColorRole. - -

      const TQColor & TQColorGroup::linkVisited () const -

      - -

      Returns the visited link text color of the color group. -

      See also ColorRole. - -

      const TQColor & TQColorGroup::mid () const -

      - -

      Returns the mid color of the color group. -

      See also ColorRole. - -

      Examples: themes/metal.cpp and themes/wood.cpp. -

      const TQColor & TQColorGroup::midlight () const -

      - -

      Returns the midlight color of the color group. -

      See also ColorRole. - -

      bool TQColorGroup::operator!= ( const TQColorGroup & g ) const -

      - -

      Returns TRUE if this color group is different from g; otherwise -returns FALSE. -

      See also -

      TQColorGroup & TQColorGroup::operator= ( const TQColorGroup & other ) -

      -Copies the colors of other to this color group. - -

      bool TQColorGroup::operator== ( const TQColorGroup & g ) const -

      -Returns TRUE if this color group is equal to g; otherwise -returns FALSE. -

      See also -

      void TQColorGroup::setBrush ( ColorRole r, const TQBrush & b ) -

      -Sets the brush used for color role r to b. -

      See also brush(), setColor(), and ColorRole. - -

      Example: themes/wood.cpp. -

      void TQColorGroup::setColor ( ColorRole r, const TQColor & c ) -

      -Sets the brush used for color role r to a solid color c. -

      See also brush() and ColorRole. - -

      Examples: listviews/listviews.cpp, table/statistics/statistics.cpp, and themes/metal.cpp. -

      const TQColor & TQColorGroup::shadow () const -

      - -

      Returns the shadow color of the color group. -

      See also ColorRole. - -

      const TQColor & TQColorGroup::text () const -

      - -

      Returns the text foreground color of the color group. -

      See also ColorRole. - -

      Example: listviews/listviews.cpp. -


      Related Functions

      -

      TQDataStream & operator<< ( TQDataStream & s, const TQColorGroup & g ) -

      - -

      Writes color group, g to the stream s. -

      See also Format of the TQDataStream operators. - - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qcombobox-members.html b/doc/html/qcombobox-members.html index 376d71622..701a71b91 100644 --- a/doc/html/qcombobox-members.html +++ b/doc/html/qcombobox-members.html @@ -69,7 +69,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -122,7 +122,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -152,7 +152,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -210,7 +210,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -343,28 +343,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qcustomevent.html b/doc/html/qcustomevent.html index 19873bb12..d1f78e0de 100644 --- a/doc/html/qcustomevent.html +++ b/doc/html/qcustomevent.html @@ -72,11 +72,11 @@ suitable for your event type. class ColorChangeEvent : public TQCustomEvent { public: - ColorChangeEvent( TQColor color ) + ColorChangeEvent( TQColor color ) : TQCustomEvent( 65432 ), c( color ) {} - TQColor color() const { return c; } + TQColor color() const { return c; } private: - TQColor c; + TQColor c; }; // To send an event of this custom event type: diff --git a/doc/html/qcustommenuitem.html b/doc/html/qcustommenuitem.html index 4b5d609f9..34f55762c 100644 --- a/doc/html/qcustommenuitem.html +++ b/doc/html/qcustommenuitem.html @@ -101,7 +101,7 @@ well. Returns TRUE if this item is just a separator; otherwise returns FALSE. -

      void TQCustomMenuItem::paint ( TQPainter * p, const TQColorGroup & cg, bool act, bool enabled, int x, int y, int w, int h ) [pure virtual] +

      void TQCustomMenuItem::paint ( TQPainter * p, const TQColorGroup & cg, bool act, bool enabled, int x, int y, int w, int h ) [pure virtual]

      Paints this item. When this function is invoked, the painter p @@ -112,7 +112,7 @@ and enabled if enabled is TRUE. The geometry values x, y Do not draw any background, this has already been done by the popup menu according to the current GUI style. -

      void TQCustomMenuItem::setFont ( const TQFont & font ) [virtual] +

      void TQCustomMenuItem::setFont ( const TQFont & font ) [virtual]

      Sets the font of the custom menu item to font.

      This function is called whenever the font in the popup menu diff --git a/doc/html/qdesktopwidget-members.html b/doc/html/qdesktopwidget-members.html index e4e9c7125..a08637431 100644 --- a/doc/html/qdesktopwidget-members.html +++ b/doc/html/qdesktopwidget-members.html @@ -63,7 +63,7 @@ body { background: #ffffff; color: black; }

    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -111,7 +111,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -136,7 +136,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -193,7 +193,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -311,28 +311,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qdial-members.html b/doc/html/qdial-members.html index 7e510b990..3a0515bf5 100644 --- a/doc/html/qdial-members.html +++ b/doc/html/qdial-members.html @@ -65,7 +65,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -117,7 +117,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -142,7 +142,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -204,7 +204,7 @@ body { background: #ffffff; color: black; }
    • ownPalette()
    • pageStep()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -341,28 +341,28 @@ body { background: #ffffff; color: black; }
    • windowState()
    • wrapping()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qdialog-members.html b/doc/html/qdialog-members.html index d9ee62d34..c244bafa0 100644 --- a/doc/html/qdialog-members.html +++ b/doc/html/qdialog-members.html @@ -63,7 +63,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -114,7 +114,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -139,7 +139,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -196,7 +196,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -317,28 +317,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qdockarea-members.html b/doc/html/qdockarea-members.html index fb2f96a36..0947fdfba 100644 --- a/doc/html/qdockarea-members.html +++ b/doc/html/qdockarea-members.html @@ -62,7 +62,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -112,7 +112,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • handlePosition()
    • hasDockWindow()
    • hasFocus() @@ -141,7 +141,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -199,7 +199,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -314,28 +314,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qdockwindow-members.html b/doc/html/qdockwindow-members.html index 59b54ed44..e616e59e3 100644 --- a/doc/html/qdockwindow-members.html +++ b/doc/html/qdockwindow-members.html @@ -64,7 +64,7 @@ body { background: #ffffff; color: black; }
    • close()
    • closeEvent()
    • closeMode() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -123,7 +123,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -149,7 +149,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -219,7 +219,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -358,28 +358,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qerrormessage-members.html b/doc/html/qerrormessage-members.html index 08c83c772..4c4bc98e4 100644 --- a/doc/html/qerrormessage-members.html +++ b/doc/html/qerrormessage-members.html @@ -63,7 +63,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -114,7 +114,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -139,7 +139,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -197,7 +197,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -319,28 +319,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qfd-example.html b/doc/html/qfd-example.html index 449904f41..9760dc945 100644 --- a/doc/html/qfd-example.html +++ b/doc/html/qfd-example.html @@ -71,9 +71,9 @@ public slots: protected: TQSize cellSize() const; - void paintEvent( TQPaintEvent* ); + void paintEvent( TQPaintEvent* ); private: - TQFont tablefont; + TQFont tablefont; int row; }; @@ -102,12 +102,12 @@ public: #include <ntqapplication.h> #include <ntqslider.h> #include <ntqspinbox.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <tqtoolbar.h> #include <tqstatusbar.h> #include <ntqlabel.h> #include <ntqpushbutton.h> -#include <ntqfontdialog.h> +#include <tqfontdialog.h> #include <stdlib.h> @@ -128,18 +128,18 @@ public: TQSize FontRowTable::cellSize() const { - TQFontMetrics fm = fontMetrics(); - return TQSize( fm.maxWidth(), fm.lineSpacing()+1 ); + TQFontMetrics fm = fontMetrics(); + return TQSize( fm.maxWidth(), fm.lineSpacing()+1 ); } -void FontRowTable::paintEvent( TQPaintEvent* e ) +void FontRowTable::paintEvent( TQPaintEvent* e ) { TQFrame::paintEvent(e); - TQPainter p(this); - p.setClipRegion(e->region()); - TQRect r = e->rect(); - TQFontMetrics fm = fontMetrics(); - int ml = frameWidth()+margin() + 1 + TQMAX(0,-fm.minLeftBearing()); + TQPainter p(this); + p.setClipRegion(e->region()); + TQRect r = e->rect(); + TQFontMetrics fm = fontMetrics(); + int ml = frameWidth()+margin() + 1 + TQMAX(0,-fm.minLeftBearing()); int mt = frameWidth()+margin(); TQSize cell((width()-15-ml)/16,(height()-15-mt)/16); @@ -151,13 +151,13 @@ TQSize FontRowTable::cellSize() const int minj = r.top() / cell.height(); int maxj = (r.bottom()+cell.height()-1) / cell.height(); - int h = fm.height(); + int h = fm.height(); - TQColor body(255,255,192); - TQColor negative(255,192,192); - TQColor positive(192,192,255); - TQColor rnegative(255,128,128); - TQColor rpositive(128,128,255); + TQColor body(255,255,192); + TQColor negative(255,192,192); + TQColor positive(192,192,255); + TQColor rnegative(255,128,128); + TQColor rpositive(128,128,255); for (int j = minj; j<=maxj; j++) { for (int i = mini; i<=maxi; i++) { @@ -167,29 +167,29 @@ TQSize FontRowTable::cellSize() const TQChar ch = TQChar(j*16+i,row); - if ( fm.inFont(ch) ) { - int w = fm.width(ch); - int l = fm.leftBearing(ch); - int r = fm.rightBearing(ch); + if ( fm.inFont(ch) ) { + int w = fm.width(ch); + int l = fm.leftBearing(ch); + int r = fm.rightBearing(ch); x += ml; y += mt+h; - p.fillRect(x,y,w,-h,body); + p.fillRect(x,y,w,-h,body); if ( w ) { if ( l ) { - p.fillRect(x+(l>0?0:l), y-h/2, abs(l),-h/2, + p.fillRect(x+(l>0?0:l), y-h/2, abs(l),-h/2, l < 0 ? negative : positive); } if ( r ) { - p.fillRect(x+w-(r>0?r:0),y+2, abs(r),-h/2, + p.fillRect(x+w-(r>0?r:0),y+2, abs(r),-h/2, r < 0 ? rnegative : rpositive); } } TQString s; s += ch; - p.setPen(TQPen(TQt::black)); - p.drawText(x,y,s); + p.setPen(TQPen(TQt::black)); + p.drawText(x,y,s); } } } @@ -200,16 +200,16 @@ void FontRowTable::setRow(int r) { row = r; - TQFontMetrics fm = fontMetrics(); - TQFontInfo fi = fontInfo(); + TQFontMetrics fm = fontMetrics(); + TQFontInfo fi = fontInfo(); TQString str = TQString("%1 %2pt%3%4 mLB=%5 mRB=%6 mW=%7") - .arg(fi.family()) - .arg(fi.pointSize()) - .arg(fi.bold() ? " bold" : "") - .arg(fi.italic() ? " italic" : "") - .arg(fm.minLeftBearing()) - .arg(fm.minRightBearing()) - .arg(fm.maxWidth()); + .arg(fi.family()) + .arg(fi.pointSize()) + .arg(fi.bold() ? " bold" : "") + .arg(fi.italic() ? " italic" : "") + .arg(fm.minLeftBearing()) + .arg(fm.minRightBearing()) + .arg(fm.maxWidth()); emit fontInformation(str); update(); @@ -218,8 +218,8 @@ void FontRowTable::setRow(int r) void FontRowTable::chooseFont() { bool ok; - TQFont oldfont = tablefont; - tablefont = TQFontDialog::getFont(&ok, oldfont, this); + TQFont oldfont = tablefont; + tablefont = TQFontDialog::getFont(&ok, oldfont, this); if (ok) setFont(tablefont); @@ -262,7 +262,7 @@ void FontRowTable::chooseFont() #include <ntqapplication.h> #include <ntqslider.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <tqstatusbar.h> diff --git a/doc/html/qfont-examples.html b/doc/html/qfont-examples.html deleted file mode 100644 index 238c4e676..000000000 --- a/doc/html/qfont-examples.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - -TQFont Examples - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQFont Examples

      - - -

      The following example programs show how to use the -classes TQFont, TQFontMetrics, TQFontInfo, and TQFontDatabase. -

      -

      -
      A simple demonstration of TQFont member functions -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qfont-h.html b/doc/html/qfont-h.html deleted file mode 100644 index e404a5552..000000000 --- a/doc/html/qfont-h.html +++ /dev/null @@ -1,410 +0,0 @@ - - - - - -ntqfont.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqfont.h

      - -

      This is the verbatim text of the ntqfont.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqfont.h   3.3.8   edited Jan 11 14:38 $
      -**
      -** Definition of TQFont class
      -**
      -** Created : 940514
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the kernel module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQFONT_H
      -#define TQFONT_H
      -
      -#ifndef QT_H
      -#include "ntqwindowdefs.h"
      -#include "tqstring.h"
      -#endif // QT_H
      -
      -
      -class TQFontPrivate;                                     /* don't touch */
      -class TQStringList;
      -class TQTextFormatCollection;
      -
      -class TQ_EXPORT TQFont
      -{
      -public:
      -    enum StyleHint {
      -	Helvetica,  SansSerif = Helvetica,
      -	Times,      Serif = Times,
      -	Courier,    TypeWriter = Courier,
      -	OldEnglish, Decorative = OldEnglish,
      -	System,
      -	AnyStyle
      -    };
      -
      -    enum StyleStrategy {
      -	PreferDefault    = 0x0001,
      -	PreferBitmap     = 0x0002,
      -	PreferDevice     = 0x0004,
      -	PreferOutline    = 0x0008,
      -	ForceOutline     = 0x0010,
      -	PreferMatch      = 0x0020,
      -	PreferQuality    = 0x0040,
      -	PreferAntialias  = 0x0080,
      -	NoAntialias      = 0x0100,
      -	OpenGLCompatible = 0x0200
      -    };
      -
      -    enum Weight {
      -	Light    = 25,
      -	Normal   = 50,
      -	DemiBold = 63,
      -	Bold     = 75,
      -	Black	 = 87
      -    };
      -
      -    enum Stretch {
      -	UltraCondensed =  50,
      -	ExtraCondensed =  62,
      -	Condensed      =  75,
      -	SemiCondensed  =  87,
      -	Unstretched    = 100,
      -	SemiExpanded   = 112,
      -	Expanded       = 125,
      -	ExtraExpanded  = 150,
      -	UltraExpanded  = 200
      -    };
      -
      -    // default font
      -    TQFont();
      -    // specific font
      -#ifdef Q_QDOC
      -    TQFont( const TQString &family, int pointSize = 12, int weight = Normal,
      -	   bool italic = FALSE );
      -#else
      -    TQFont( const TQString &family, int pointSize = -1, int weight = -1,
      -	   bool italic = FALSE );
      -#endif
      -    // copy constructor
      -    TQFont( const TQFont & );
      -
      -    ~TQFont();
      -
      -    TQString family() const;
      -    void setFamily( const TQString &);
      -
      -    int pointSize() const;
      -    float pointSizeFloat() const;
      -    void setPointSize( int );
      -    void setPointSizeFloat( float );
      -
      -    int pixelSize() const;
      -    void setPixelSize( int );
      -    void setPixelSizeFloat( float );
      -
      -    int weight() const;
      -    void setWeight( int );
      -
      -    bool bold() const;
      -    void setBold( bool );
      -
      -    bool italic() const;
      -    void setItalic( bool );
      -
      -    bool underline() const;
      -    void setUnderline( bool );
      -
      -    bool overline() const;
      -    void setOverline( bool );
      -
      -    bool strikeOut() const;
      -    void setStrikeOut( bool );
      -
      -    bool fixedPitch() const;
      -    void setFixedPitch( bool );
      -
      -    StyleHint styleHint() const;
      -    StyleStrategy styleStrategy() const;
      -    void setStyleHint( StyleHint, StyleStrategy = PreferDefault );
      -    void setStyleStrategy( StyleStrategy s );
      -
      -    int stretch() const;
      -    void setStretch( int );
      -
      -    // is raw mode still needed?
      -    bool rawMode() const;
      -    void setRawMode( bool );
      -
      -    // dupicated from TQFontInfo
      -    bool exactMatch() const;
      -
      -    TQFont &operator=( const TQFont & );
      -    bool operator==( const TQFont & ) const;
      -    bool operator!=( const TQFont & ) const;
      -    bool isCopyOf( const TQFont & ) const;
      -
      -
      -#ifdef TQ_WS_WIN
      -    HFONT handle() const;
      -#else // !TQ_WS_WIN
      -    TQt::HANDLE handle() const;
      -#endif // TQ_WS_WIN
      -
      -
      -    // needed for X11
      -    void setRawName( const TQString & );
      -    TQString rawName() const;
      -
      -    TQString key() const;
      -
      -    TQString toString() const;
      -    bool fromString(const TQString &);
      -
      -#ifndef TQT_NO_STRINGLIST
      -    static TQString substitute(const TQString &);
      -    static TQStringList substitutes(const TQString &);
      -    static TQStringList substitutions();
      -    static void insertSubstitution(const TQString&, const TQString &);
      -    static void insertSubstitutions(const TQString&, const TQStringList &);
      -    static void removeSubstitution(const TQString &);
      -#endif //TQT_NO_STRINGLIST
      -    static void initialize();
      -    static void cleanup();
      -    static void cacheStatistics();
      -
      -    // a copy of this lives in qunicodetables.cpp, as we can't include
      -    // ntqfont.h it in tools/. Do not modify without changing the script
      -    // enum in qunicodetable_p.h aswell.
      -    enum Script {
      -	// European Alphabetic Scripts
      -	Latin,
      -	Greek,
      -	Cyrillic,
      -	Armenian,
      -	Georgian,
      -	Runic,
      -	Ogham,
      -	SpacingModifiers,
      -	CombiningMarks,
      -
      -	// Middle Eastern Scripts
      -	Hebrew,
      -	Arabic,
      -	Syriac,
      -	Thaana,
      -
      -	// South and Southeast Asian Scripts
      -	Devanagari,
      -	Bengali,
      -	Gurmukhi,
      -	Gujarati,
      -	Oriya,
      -	Tamil,
      -	Telugu,
      -	Kannada,
      -	Malayalam,
      -	Sinhala,
      -	Thai,
      -	Lao,
      -	Tibetan,
      -	Myanmar,
      -	Khmer,
      -
      -	// East Asian Scripts
      -	Han,
      -	Hiragana,
      -	Katakana,
      -	Hangul,
      -	Bopomofo,
      -	Yi,
      -
      -	// Additional Scripts
      -	Ethiopic,
      -	Cherokee,
      -	CanadianAboriginal,
      -	Mongolian,
      -
      -	// Symbols
      -	CurrencySymbols,
      -	LetterlikeSymbols,
      -	NumberForms,
      -	MathematicalOperators,
      -	TechnicalSymbols,
      -	GeometricSymbols,
      -	MiscellaneousSymbols,
      -	EnclosedAndSquare,
      -	Braille,
      -
      -	Unicode,
      -
      -	// some scripts added in Unicode 3.2
      -	Tagalog,
      -	Hanunoo,
      -	Buhid,
      -	Tagbanwa,
      -
      -	KatakanaHalfWidth,
      -
      -	// from Unicode 4.0
      -	Limbu,
      -	TaiLe,
      -
      -	// End
      -#if !defined(Q_QDOC)
      -	NScripts,
      -	UnknownScript = NScripts,
      -
      -	NoScript,
      -
      -	// ----------------------------------------
      -	// Dear User, you can see values > NScript,
      -	// but they are internal - do not touch.
      -
      -	Han_Japanese,
      -	Han_SimplifiedChinese,
      -	Han_TraditionalChinese,
      -	Han_Korean,
      -
      -	LastPrivateScript
      -#endif
      -    };
      -
      -    TQString defaultFamily() const;
      -    TQString lastResortFamily() const;
      -    TQString lastResortFont() const;
      -
      -#ifndef TQT_NO_COMPAT
      -
      -    static TQFont defaultFont();
      -    static void setDefaultFont( const TQFont & );
      -
      -#endif // TQT_NO_COMPAT
      -
      -    TQFont resolve( const TQFont & ) const;
      -
      -protected:
      -    // why protected?
      -    bool dirty() const;
      -    int deciPointSize() const;
      -
      -private:
      -    TQFont( TQFontPrivate *, TQPaintDevice *pd );
      -
      -    void detach();
      -
      -#if defined(TQ_WS_MAC)
      -    void macSetFont(TQPaintDevice *);
      -#elif defined(TQ_WS_X11)
      -    void x11SetScreen( int screen = -1 );
      -    int x11Screen() const;
      -#endif
      -
      -    friend class TQFontMetrics;
      -    friend class TQFontInfo;
      -    friend class TQPainter;
      -    friend class TQPSPrinterFont;
      -    friend class TQApplication;
      -    friend class TQWidget;
      -    friend class TQTextFormatCollection;
      -    friend class TQTextLayout;
      -    friend class TQTextItem;
      -    friend class TQGLContext;
      -#if defined(TQ_WS_X11) && !defined(TQT_NO_XFTFREETYPE)
      -    friend TQt::HANDLE qt_xft_handle(const TQFont &font);
      -#endif
      -#ifndef TQT_NO_DATASTREAM
      -    friend TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQFont & );
      -    friend TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQFont & );
      -#endif
      -
      -    TQFontPrivate *d;
      -};
      -
      -
      -inline bool TQFont::bold() const
      -{ return weight() > Normal; }
      -
      -
      -inline void TQFont::setBold( bool enable )
      -{ setWeight( enable ? Bold : Normal ); }
      -
      -
      -
      -
      -/*****************************************************************************
      -  TQFont stream functions
      - *****************************************************************************/
      -
      -#ifndef TQT_NO_DATASTREAM
      -TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQFont & );
      -TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQFont & );
      -#endif
      -
      -
      -#endif // TQFONT_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qfont-members.html b/doc/html/qfont-members.html deleted file mode 100644 index 8714e13e7..000000000 --- a/doc/html/qfont-members.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - -TQFont Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQFont

      - -

      This is the complete list of member functions for -TQFont, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qfontdatabase-h.html b/doc/html/qfontdatabase-h.html deleted file mode 100644 index d61d666f6..000000000 --- a/doc/html/qfontdatabase-h.html +++ /dev/null @@ -1,265 +0,0 @@ - - - - - -ntqfontdatabase.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqfontdatabase.h

      - -

      This is the verbatim text of the ntqfontdatabase.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqfontdatabase.h   3.3.8   edited Jan 11 14:46 $
      -**
      -** Definition of the TQFontDatabase class
      -**
      -** Created : 981126
      -**
      -** Copyright (C) 1999-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the kernel module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQFONTDATABASE_H
      -#define TQFONTDATABASE_H
      -
      -#ifndef QT_H
      -#include "ntqwindowdefs.h"
      -#include "tqstring.h"
      -#include "tqstringlist.h"
      -#include "ntqfont.h"
      -#include "tqvaluelist.h"
      -#endif // QT_H
      -
      -
      -#ifndef TQT_NO_FONTDATABASE
      -
      -class TQFontStylePrivate; /* Don't touch! */
      -struct TQtFontStyle;
      -struct TQtFontFamily;
      -struct TQtFontFoundry;
      -struct TQFontDef;
      -class TQFontEngine;
      -
      -class TQFontDatabasePrivate;
      -
      -class TQ_EXPORT TQFontDatabase
      -{
      -public:
      -    static TQValueList<int> standardSizes();
      -
      -    TQFontDatabase();
      -
      -    TQStringList families() const;
      -    TQStringList families( TQFont::Script ) const;
      -    TQStringList styles( const TQString & ) const;
      -    TQValueList<int> pointSizes( const TQString &, const TQString & = TQString::null);
      -    TQValueList<int> smoothSizes( const TQString &, const TQString &);
      -    TQString styleString( const TQFont &);
      -
      -    TQFont font( const TQString &, const TQString &, int);
      -
      -    bool isBitmapScalable( const TQString &, const TQString & = TQString::null) const;
      -    bool isSmoothlyScalable( const TQString &, const TQString & = TQString::null) const;
      -    bool isScalable( const TQString &, const TQString & = TQString::null) const;
      -    bool isFixedPitch( const TQString &, const TQString & = TQString::null) const;
      -
      -    bool italic( const TQString &, const TQString &) const;
      -    bool bold( const TQString &, const TQString &) const;
      -    int weight( const TQString &, const TQString &) const;
      -
      -    static TQString scriptName(TQFont::Script);
      -    static TQString scriptSample(TQFont::Script);
      -
      -    // For source compatibility with < 3.0
      -#ifndef TQT_NO_COMPAT
      -
      -    TQStringList families(bool) const;
      -    TQStringList styles( const TQString &, const TQString & ) const;
      -    TQValueList<int> pointSizes( const TQString &, const TQString &, const TQString & );
      -    TQValueList<int> smoothSizes( const TQString &, const TQString &, const TQString & );
      -
      -    TQFont font( const TQString &, const TQString &, int, const TQString &);
      -
      -    bool isBitmapScalable( const TQString &, const TQString &, const TQString & ) const;
      -    bool isSmoothlyScalable( const TQString &, const TQString &, const TQString & ) const;
      -    bool isScalable( const TQString &, const TQString &, const TQString & ) const;
      -    bool isFixedPitch( const TQString &, const TQString &, const TQString & ) const;
      -
      -    bool italic( const TQString &, const TQString &, const TQString & ) const;
      -    bool bold( const TQString &, const TQString &, const TQString & ) const;
      -    int weight( const TQString &, const TQString &, const TQString & ) const;
      -
      -#endif // TQT_NO_COMPAT
      -
      -private:
      -#if defined(TQ_WS_X11) || defined(TQ_WS_WIN)
      -    static TQFontEngine *findFont( TQFont::Script script, const TQFontPrivate *fp,
      -				  const TQFontDef &request, int force_encoding_id = -1 );
      -#endif // TQ_WS_X11
      -
      -    static void createDatabase();
      -
      -    static void parseFontName(const TQString &name, TQString &foundry, TQString &family);
      -
      -    friend struct TQFontDef;
      -    friend class TQFontPrivate;
      -    friend class TQFontDialog;
      -    friend class TQFontEngineLatinXLFD;
      -
      -    TQFontDatabasePrivate *d;
      -};
      -
      -
      -#ifndef TQT_NO_COMPAT
      -
      -inline TQStringList TQFontDatabase::families( bool ) const
      -{
      -    return families();
      -}
      -
      -inline TQStringList TQFontDatabase::styles( const TQString &family,
      -					  const TQString & ) const
      -{
      -    return styles(family);
      -}
      -
      -inline TQValueList<int> TQFontDatabase::pointSizes( const TQString &family,
      -						  const TQString &style ,
      -						  const TQString & )
      -{
      -    return pointSizes(family, style);
      -}
      -
      -inline TQValueList<int> TQFontDatabase::smoothSizes( const TQString &family,
      -						   const TQString &style,
      -						   const TQString & )
      -{
      -    return smoothSizes(family, style);
      -}
      -
      -inline TQFont TQFontDatabase::font( const TQString &familyName,
      -				  const TQString &style,
      -				  int pointSize,
      -				  const TQString &)
      -{
      -    return font(familyName, style, pointSize);
      -}
      -
      -inline bool TQFontDatabase::isBitmapScalable( const TQString &family,
      -					     const TQString &style,
      -					     const TQString & ) const
      -{
      -    return isBitmapScalable(family, style);
      -}
      -
      -inline bool TQFontDatabase::isSmoothlyScalable( const TQString &family,
      -					       const TQString &style,
      -					       const TQString & ) const
      -{
      -    return isSmoothlyScalable(family, style);
      -}
      -
      -inline bool TQFontDatabase::isScalable( const TQString &family,
      -				       const TQString &style,
      -				       const TQString & ) const
      -{
      -    return isScalable(family, style);
      -}
      -
      -inline bool TQFontDatabase::isFixedPitch( const TQString &family,
      -					 const TQString &style,
      -					 const TQString & ) const
      -{
      -    return isFixedPitch(family, style);
      -}
      -
      -inline bool TQFontDatabase::italic( const TQString &family,
      -				   const TQString &style,
      -				   const TQString & ) const
      -{
      -    return italic(family, style);
      -}
      -
      -inline bool TQFontDatabase::bold( const TQString &family,
      -				 const TQString &style,
      -				 const TQString & ) const
      -{
      -    return bold(family, style);
      -}
      -
      -inline int TQFontDatabase::weight( const TQString &family,
      -				  const TQString &style,
      -				  const TQString & ) const
      -{
      -    return weight(family, style);
      -}
      -
      -#endif // TQT_NO_COMPAT
      -
      -#endif // TQT_NO_FONTDATABASE
      -
      -#endif // TQFONTDATABASE_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qfontdatabase-members.html b/doc/html/qfontdatabase-members.html deleted file mode 100644 index 01001f3d1..000000000 --- a/doc/html/qfontdatabase-members.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - -TQFontDatabase Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQFontDatabase

      - -

      This is the complete list of member functions for -TQFontDatabase, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qfontdialog-h.html b/doc/html/qfontdialog-h.html deleted file mode 100644 index 4a0042290..000000000 --- a/doc/html/qfontdialog-h.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -ntqfontdialog.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqfontdialog.h

      - -

      This is the verbatim text of the ntqfontdialog.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqfontdialog.h   3.3.8   edited Jan 11 14:37 $
      -**
      -** Definition of TQFontDialog
      -**
      -** Created : 970605
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the dialogs module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQFONTDIALOG_H
      -#define TQFONTDIALOG_H
      -
      -#include "ntqwindowdefs.h"
      -
      -#ifndef TQT_NO_FONTDIALOG
      -
      -//
      -//  W A R N I N G
      -//  -------------
      -//
      -//  This class is under development and has private constructors.
      -//
      -//  You may use the public static getFont() functions which are guaranteed
      -//  to be available in the future.
      -//
      -
      -#ifndef QT_H
      -#include "ntqdialog.h"
      -#include "ntqfont.h"
      -#endif // QT_H
      -
      -class TQFontDialogPrivate;
      -
      -class TQ_EXPORT TQFontDialog: public TQDialog
      -{
      -    TQ_OBJECT
      -
      -public:
      -    static TQFont getFont( bool *ok, const TQFont &def,
      -			  TQWidget* parent=0, const char* name=0);
      -    static TQFont getFont( bool *ok, TQWidget* parent=0, const char* name=0);
      -
      -private:
      -    static TQFont getFont( bool *ok, const TQFont *def,
      -			  TQWidget* parent=0, const char* name=0);
      -
      -    TQFontDialog( TQWidget* parent=0, const char* name=0, bool modal=FALSE,
      -		 WFlags f=0 );
      -    ~TQFontDialog();
      -
      -    TQFont font() const;
      -    void setFont( const TQFont &font );
      -
      -    bool eventFilter( TQObject *, TQEvent * );
      -
      -    void updateFamilies();
      -    void updateStyles();
      -    void updateSizes();
      -
      -private slots:
      -    void sizeChanged( const TQString &);
      -    void familyHighlighted( int );
      -    void scriptHighlighted( int );
      -    void styleHighlighted( int );
      -    void sizeHighlighted( const TQString & );
      -    void updateSample();
      -
      -private:
      -    friend class TQFontDialogPrivate;
      -    TQFontDialogPrivate * d;
      -
      -private:	// Disabled copy constructor and operator=
      -#if defined(TQ_DISABLE_COPY)
      -    TQFontDialog( const TQFontDialog & );
      -    TQFontDialog& operator=( const TQFontDialog & );
      -#endif
      -};
      -
      -#endif
      -
      -#endif // TQFONTDIALOG_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qfontdialog-members.html b/doc/html/qfontdialog-members.html deleted file mode 100644 index a0454cf65..000000000 --- a/doc/html/qfontdialog-members.html +++ /dev/null @@ -1,350 +0,0 @@ - - - - - -TQFontDialog Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQFontDialog

      - -

      This is the complete list of member functions for -TQFontDialog, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qfontdlg-w.png b/doc/html/qfontdlg-w.png deleted file mode 100644 index 2615fbbb4..000000000 Binary files a/doc/html/qfontdlg-w.png and /dev/null differ diff --git a/doc/html/qfontinfo-h.html b/doc/html/qfontinfo-h.html deleted file mode 100644 index fc91abf11..000000000 --- a/doc/html/qfontinfo-h.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - -ntqfontinfo.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqfontinfo.h

      - -

      This is the verbatim text of the ntqfontinfo.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqfontinfo.h   3.3.8   edited Jan 11 14:38 $
      -**
      -** Definition of TQFontInfo class
      -**
      -** Created : 950131
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the kernel module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQFONTINFO_H
      -#define TQFONTINFO_H
      -
      -#ifndef QT_H
      -#include "ntqfont.h"
      -#endif // QT_H
      -
      -
      -class TQ_EXPORT TQFontInfo
      -{
      -public:
      -    TQFontInfo( const TQFont & );
      -    TQFontInfo( const TQFont &, TQFont::Script );
      -    TQFontInfo( const TQFontInfo & );
      -    ~TQFontInfo();
      -
      -    TQFontInfo	       &operator=( const TQFontInfo & );
      -
      -    TQString   	        family()	const;
      -    int			pixelSize()	const;
      -    int			pointSize()	const;
      -    bool		italic()	const;
      -    int			weight()	const;
      -    bool		bold()		const;
      -    bool		underline()	const;
      -    bool                overline()      const;
      -    bool		strikeOut()	const;
      -    bool		fixedPitch()	const;
      -    TQFont::StyleHint	styleHint()	const;
      -    bool		rawMode()	const;
      -
      -    bool		exactMatch()	const;
      -
      -
      -private:
      -    TQFontInfo( const TQPainter * );
      -
      -    TQFontPrivate *d;
      -    TQPainter *painter;
      -    int fscript;
      -
      -    friend class TQWidget;
      -    friend class TQPainter;
      -};
      -
      -
      -inline bool TQFontInfo::bold() const
      -{ return weight() > TQFont::Normal; }
      -
      -
      -#endif // TQFONTINFO_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qfontinfo-members.html b/doc/html/qfontinfo-members.html deleted file mode 100644 index 6721b3373..000000000 --- a/doc/html/qfontinfo-members.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - -TQFontInfo Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQFontInfo

      - -

      This is the complete list of member functions for -TQFontInfo, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qfontmetrics-h.html b/doc/html/qfontmetrics-h.html deleted file mode 100644 index d64ad29fb..000000000 --- a/doc/html/qfontmetrics-h.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - -ntqfontmetrics.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqfontmetrics.h

      - -

      This is the verbatim text of the ntqfontmetrics.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqfontmetrics.h   3.3.8   edited Jan 11 14:38 $
      -**
      -** Definition of TQFontMetrics class
      -**
      -** Created : 940514
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the kernel module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQFONTMETRICS_H
      -#define TQFONTMETRICS_H
      -
      -#ifndef QT_H
      -#include "ntqfont.h"
      -#include "ntqrect.h"
      -#endif // QT_H
      -
      -class TQTextCodec;
      -class TQTextParag;
      -
      -class TQ_EXPORT TQFontMetrics
      -{
      -public:
      -    TQFontMetrics( const TQFont & );
      -    TQFontMetrics( const TQFont &, TQFont::Script );
      -    TQFontMetrics( const TQFontMetrics & );
      -    ~TQFontMetrics();
      -
      -    TQFontMetrics &operator=( const TQFontMetrics & );
      -
      -    int		ascent()	const;
      -    int		descent()	const;
      -    int		height()	const;
      -    int		leading()	const;
      -    int		lineSpacing()	const;
      -    int		minLeftBearing() const;
      -    int		minRightBearing() const;
      -    int		maxWidth()	const;
      -
      -    bool	inFont(TQChar)	const;
      -
      -    int		leftBearing(TQChar) const;
      -    int		rightBearing(TQChar) const;
      -    int		width( const TQString &, int len = -1 ) const;
      -
      -    int		width( TQChar ) const;
      -#ifndef TQT_NO_COMPAT
      -    int		width( char c ) const { return width( (TQChar) c ); }
      -#endif
      -
      -    int 		charWidth( const TQString &str, int pos ) const;
      -    TQRect	boundingRect( const TQString &, int len = -1 ) const;
      -    TQRect	boundingRect( TQChar ) const;
      -    TQRect	boundingRect( int x, int y, int w, int h, int flags,
      -			      const TQString& str, int len=-1, int tabstops=0,
      -			      int *tabarray=0, TQTextParag **intern=0 ) const;
      -    TQSize	size( int flags,
      -		      const TQString& str, int len=-1, int tabstops=0,
      -		      int *tabarray=0, TQTextParag **intern=0 ) const;
      -
      -    int		underlinePos()	const;
      -    int         overlinePos()   const;
      -    int		strikeOutPos()	const;
      -    int		lineWidth()	const;
      -
      -private:
      -    TQFontMetrics( const TQPainter * );
      -
      -    friend class TQWidget;
      -    friend class TQPainter;
      -    friend class TQTextFormat;
      -#if defined( TQ_WS_MAC )
      -    friend class TQFontPrivate;
      -#endif
      -
      -    TQFontPrivate  *d;
      -    TQPainter      *painter;
      -    int		   fscript;
      -};
      -
      -
      -#endif // TQFONTMETRICS_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qfontmetrics-members.html b/doc/html/qfontmetrics-members.html deleted file mode 100644 index c711c8e90..000000000 --- a/doc/html/qfontmetrics-members.html +++ /dev/null @@ -1,68 +0,0 @@ - - - - - -TQFontMetrics Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQFontMetrics

      - -

      This is the complete list of member functions for -TQFontMetrics, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qframe-members.html b/doc/html/qframe-members.html index decd2f16a..c1703b48f 100644 --- a/doc/html/qframe-members.html +++ b/doc/html/qframe-members.html @@ -61,7 +61,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -118,7 +118,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -143,7 +143,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -201,7 +201,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -321,28 +321,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qglcolormap-h.html b/doc/html/qglcolormap-h.html index 77d1e1fc7..cc5f81561 100644 --- a/doc/html/qglcolormap-h.html +++ b/doc/html/qglcolormap-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQGLCOLORMAP_H #ifndef QT_H -#include "ntqcolor.h" +#include "tqcolor.h" #include "tqmemarray.h" #include "ntqshared.h" #endif // QT_H diff --git a/doc/html/qglcontext.html b/doc/html/qglcontext.html index 9e4dd8d2d..8843c502e 100644 --- a/doc/html/qglcontext.html +++ b/doc/html/qglcontext.html @@ -101,7 +101,7 @@ United States and other countries.

      See also Graphics Classes and Image Processing Classes.


      Member Function Documentation

      -

      TQGLContext::TQGLContext ( const TQGLFormat & format, TQPaintDevice * device ) +

      TQGLContext::TQGLContext ( const TQGLFormat & format, TQPaintDevice * device )

      Constructs an OpenGL context for the paint device device, which can be a widget or a pixmap. The format specifies several @@ -192,7 +192,7 @@ commands will currently be directed. Returns 0 if no context is current.

      See also makeCurrent(). -

      TQPaintDevice * TQGLContext::device () const +

      TQPaintDevice * TQGLContext::device () const

      Returns the paint device set for this context. @@ -217,7 +217,7 @@ to call this function; TQGLContext calls it as necessary. subset of what was requested).

      See also requestedFormat(). -

      void TQGLContext::generateFontDisplayLists ( const TQFont & font, int listBase ) [protected] +

      void TQGLContext::generateFontDisplayLists ( const TQFont & font, int listBase ) [protected]

      Generates a set of 256 display lists for the 256 first characters @@ -256,18 +256,18 @@ is made current.

      In some very rare cases the underlying call may fail. If this occurs an error message is output to stderr. -

      TQColor TQGLContext::overlayTransparentColor () const +

      TQColor TQGLContext::overlayTransparentColor () const

      If this context is a valid context in an overlay plane, returns -the plane's transparent color. Otherwise returns an invalid color. -

      The returned color's pixel value is +the plane's transparent color. Otherwise returns an invalid color. +

      The returned color's pixel value is the index of the transparent color in the colormap of the overlay plane. (Naturally, the color's RGB values are meaningless.) -

      The returned TQColor object will generally work as expected only +

      The returned TQColor object will generally work as expected only when passed as the argument to TQGLWidget::qglColor() or TQGLWidget::qglClearColor(). Under certain circumstances it can -also be used to draw transparent graphics with a TQPainter. See the +also be used to draw transparent graphics with a TQPainter. See the examples/opengl/overlay_x11 example for details.

      TQGLFormat TQGLContext::requestedFormat () const diff --git a/doc/html/qglwidget-members.html b/doc/html/qglwidget-members.html index 8d9e2b3c6..f10cd6ae6 100644 --- a/doc/html/qglwidget-members.html +++ b/doc/html/qglwidget-members.html @@ -63,7 +63,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • colormap()
    • connect() @@ -120,7 +120,7 @@ body { background: #ffffff; color: black; }
    • grabFrameBuffer()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -147,7 +147,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -209,7 +209,7 @@ body { background: #ffffff; color: black; }
    • paintEvent()
    • paintGL()
    • paintOverlayGL() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -333,28 +333,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qglwidget.html b/doc/html/qglwidget.html index 30e4e3512..97f33933e 100644 --- a/doc/html/qglwidget.html +++ b/doc/html/qglwidget.html @@ -98,7 +98,7 @@ The TQGLWidget class is a widget for rendering OpenGL graphics. graphics integrated into a TQt application. It is very simple to use. You inherit from it and use the subclass like any other TQWidget, except that instead of drawing the widget's contents -using TQPainter etc. you use the standard OpenGL rendering +using TQPainter etc. you use the standard OpenGL rendering commands.

      TQGLWidget provides three convenient virtual functions that you can reimplement in your subclass to perform the typical OpenGL tasks: @@ -413,7 +413,7 @@ need to issue OpenGL commands to the overlay context outside of has no overlay.

      See also context(). -

      void TQGLWidget::paintEvent ( TQPaintEvent * ) [virtual protected] +

      void TQGLWidget::paintEvent ( TQPaintEvent * ) [virtual protected]

      Handles paint events. Will cause the virtual paintGL() function to be called. @@ -438,19 +438,19 @@ Reimplement it in a subclass.

      There is no need to call makeOverlayCurrent() because this has already been done when this function is called. -

      void TQGLWidget::qglClearColor ( const TQColor & c ) const +

      void TQGLWidget::qglClearColor ( const TQColor & c ) const

      Convenience function for specifying the clearing color to OpenGL. Calls glClearColor (in RGBA mode) or glClearIndex (in color-index mode) with the color c. Applies to the current GL context. -

      See also qglColor(), TQGLContext::currentContext(), and TQColor. +

      See also qglColor(), TQGLContext::currentContext(), and TQColor. -

      void TQGLWidget::qglColor ( const TQColor & c ) const +

      void TQGLWidget::qglColor ( const TQColor & c ) const

      Convenience function for specifying a drawing color to OpenGL. Calls glColor3 (in RGBA mode) or glIndex (in color-index mode) with the color c. Applies to the current GL context. -

      See also qglClearColor(), TQGLContext::currentContext(), and TQColor. +

      See also qglClearColor(), TQGLContext::currentContext(), and TQColor.

      TQPixmap TQGLWidget::renderPixmap ( int w = 0, int h = 0, bool useContext = FALSE ) [virtual]

      @@ -474,7 +474,7 @@ frustum etc. should be done from within initializeGL(). If this is not done, the temporary TQGLContext will not be initialized properly, and the rendered pixmap may be incomplete/corrupted. -

      void TQGLWidget::renderText ( int x, int y, const TQString & str, const TQFont & fnt = TQFont ( ), int listBase = 2000 ) +

      void TQGLWidget::renderText ( int x, int y, const TQString & str, const TQFont & fnt = TQFont ( ), int listBase = 2000 )

      Renders the string str into the GL context of this widget.

      x and y are specified in window coordinates, with the origin @@ -496,7 +496,7 @@ change this value unless you are using lists in the same range. The lists are deleted when the widget is destroyed.

      Note: This function only works reliably with ASCII strings. -

      void TQGLWidget::renderText ( double x, double y, double z, const TQString & str, const TQFont & fnt = TQFont ( ), int listBase = 2000 ) +

      void TQGLWidget::renderText ( double x, double y, double z, const TQString & str, const TQFont & fnt = TQFont ( ), int listBase = 2000 )

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function.

      x, y and z are specified in scene or object coordinates relative to the currently set projection and model matrices. This diff --git a/doc/html/qgrid-members.html b/doc/html/qgrid-members.html index 35728d6b2..f9fe0254c 100644 --- a/doc/html/qgrid-members.html +++ b/doc/html/qgrid-members.html @@ -61,7 +61,7 @@ body { background: #ffffff; color: black; }

    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -118,7 +118,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -143,7 +143,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -201,7 +201,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -322,28 +322,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qgridview-members.html b/doc/html/qgridview-members.html index f688a0441..6511e6617 100644 --- a/doc/html/qgridview-members.html +++ b/doc/html/qgridview-members.html @@ -73,7 +73,7 @@ body { background: #ffffff; color: black; }
    • clipper()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • columnAt()
    • connect() @@ -156,7 +156,7 @@ body { background: #ffffff; color: black; }
    • grabMouse()
    • gridSize()
    • hScrollBarMode() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -185,7 +185,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -251,7 +251,7 @@ body { background: #ffffff; color: black; }
    • paintCell()
    • paintEmptyArea()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -408,28 +408,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qgroupbox-members.html b/doc/html/qgroupbox-members.html index e01af25af..6e4e7732f 100644 --- a/doc/html/qgroupbox-members.html +++ b/doc/html/qgroupbox-members.html @@ -64,7 +64,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • columns()
    • connect() @@ -122,7 +122,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -151,7 +151,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFlat()
    • isFocusEnabled()
    • isFullScreen() @@ -211,7 +211,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -343,28 +343,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qhbox-members.html b/doc/html/qhbox-members.html index 6dda069cb..f384f3366 100644 --- a/doc/html/qhbox-members.html +++ b/doc/html/qhbox-members.html @@ -61,7 +61,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -118,7 +118,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -143,7 +143,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -201,7 +201,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -323,28 +323,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qhbuttongroup-members.html b/doc/html/qhbuttongroup-members.html index fde6cca4d..8229ea51d 100644 --- a/doc/html/qhbuttongroup-members.html +++ b/doc/html/qhbuttongroup-members.html @@ -65,7 +65,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • columns()
    • connect() @@ -124,7 +124,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -156,7 +156,7 @@ body { background: #ffffff; color: black; }
    • isEnabledTo()
    • isEnabledToTLW()
    • isExclusive() -
    • isExtDev() +
    • isExtDev()
    • isFlat()
    • isFocusEnabled()
    • isFullScreen() @@ -218,7 +218,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -358,28 +358,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qheader-members.html b/doc/html/qheader-members.html index b86069e93..e08a69385 100644 --- a/doc/html/qheader-members.html +++ b/doc/html/qheader-members.html @@ -68,7 +68,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -117,7 +117,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -146,7 +146,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -216,7 +216,7 @@ body { background: #ffffff; color: black; }
    • paintEvent()
    • paintSection()
    • paintSectionLabel() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -354,28 +354,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qhgroupbox-members.html b/doc/html/qhgroupbox-members.html index 2bd3f6b31..bd3e1cf54 100644 --- a/doc/html/qhgroupbox-members.html +++ b/doc/html/qhgroupbox-members.html @@ -64,7 +64,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • columns()
    • connect() @@ -122,7 +122,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -151,7 +151,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFlat()
    • isFocusEnabled()
    • isFullScreen() @@ -211,7 +211,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -343,28 +343,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qinputdialog-members.html b/doc/html/qinputdialog-members.html index 760c5502a..3dd249771 100644 --- a/doc/html/qinputdialog-members.html +++ b/doc/html/qinputdialog-members.html @@ -61,7 +61,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -116,7 +116,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -141,7 +141,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -198,7 +198,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -319,28 +319,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qlabel-members.html b/doc/html/qlabel-members.html index c1eac339f..c10877e25 100644 --- a/doc/html/qlabel-members.html +++ b/doc/html/qlabel-members.html @@ -66,7 +66,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -123,7 +123,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -150,7 +150,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -209,7 +209,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -344,28 +344,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qlayoutiterator.html b/doc/html/qlayoutiterator.html index 5e36da551..1f8aad459 100644 --- a/doc/html/qlayoutiterator.html +++ b/doc/html/qlayoutiterator.html @@ -67,7 +67,7 @@ same layout.

      The following code will draw a rectangle for each layout item in the layout structure of the widget.

      -    static void paintLayout( TQPainter *p, TQLayoutItem *lay )
      +    static void paintLayout( TQPainter *p, TQLayoutItem *lay )
           {
               TQLayoutIterator it = lay->iterator();
               TQLayoutItem *child;
      @@ -75,11 +75,11 @@ the layout structure of the widget.
                   paintLayout( p, child );
                   ++it;
               }
      -        p->drawRect( lay->geometry() );
      +        p->drawRect( lay->geometry() );
           }
      -    void ExampleWidget::paintEvent( TQPaintEvent * )
      +    void ExampleWidget::paintEvent( TQPaintEvent * )
           {
      -        TQPainter p( this );
      +        TQPainter p( this );
               if ( layout() )
                   paintLayout( &p, layout() );
           }
      diff --git a/doc/html/qlcdnumber-members.html b/doc/html/qlcdnumber-members.html
      index 66dbd4fed..7dda8a457 100644
      --- a/doc/html/qlcdnumber-members.html
      +++ b/doc/html/qlcdnumber-members.html
      @@ -63,7 +63,7 @@ body { background: #ffffff; color: black; }
       
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -121,7 +121,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -147,7 +147,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -208,7 +208,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -339,28 +339,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qlineedit-members.html b/doc/html/qlineedit-members.html index d580b68cd..1f3785458 100644 --- a/doc/html/qlineedit-members.html +++ b/doc/html/qlineedit-members.html @@ -68,7 +68,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -142,7 +142,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasAcceptableInput()
    • hasFocus()
    • hasMouse() @@ -172,7 +172,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -236,7 +236,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -380,28 +380,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qlistbox-members.html b/doc/html/qlistbox-members.html index 8227b58f4..6a7d54b2c 100644 --- a/doc/html/qlistbox-members.html +++ b/doc/html/qlistbox-members.html @@ -79,7 +79,7 @@ body { background: #ffffff; color: black; }
    • clipper()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • columnMode()
    • connect() @@ -169,7 +169,7 @@ body { background: #ffffff; color: black; }
    • grabKeyboard()
    • grabMouse()
    • hScrollBarMode() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -205,7 +205,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -286,7 +286,7 @@ body { background: #ffffff; color: black; }
    • ownPalette()
    • paintCell()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -474,28 +474,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qlistboxitem.html b/doc/html/qlistboxitem.html index bc67e65bf..4a5e706e9 100644 --- a/doc/html/qlistboxitem.html +++ b/doc/html/qlistboxitem.html @@ -130,7 +130,7 @@ Returns the item that comes after this in the list box. If this is the last item, 0 is returned.

      See also prev(). -

      void TQListBoxItem::paint ( TQPainter * p ) [pure virtual protected] +

      void TQListBoxItem::paint ( TQPainter * p ) [pure virtual protected]

      Implement this function to draw your item. The painter, p, is diff --git a/doc/html/qlistboxpixmap.html b/doc/html/qlistboxpixmap.html index 3a028822e..5cee82968 100644 --- a/doc/html/qlistboxpixmap.html +++ b/doc/html/qlistboxpixmap.html @@ -106,7 +106,7 @@ Returns the height of the pixmap in list box lb.

      See also paint() and width().

      Reimplemented from TQListBoxItem. -

      void TQListBoxPixmap::paint ( TQPainter * painter ) [virtual protected] +

      void TQListBoxPixmap::paint ( TQPainter * painter ) [virtual protected]

      Draws the pixmap using painter. diff --git a/doc/html/qlistboxtext.html b/doc/html/qlistboxtext.html index 33e196faa..a27b7eb13 100644 --- a/doc/html/qlistboxtext.html +++ b/doc/html/qlistboxtext.html @@ -85,7 +85,7 @@ Returns the height of a line of text in list box lb.

      See also paint() and width().

      Reimplemented from TQListBoxItem. -

      void TQListBoxText::paint ( TQPainter * painter ) [virtual protected] +

      void TQListBoxText::paint ( TQPainter * painter ) [virtual protected]

      Draws the text using painter. diff --git a/doc/html/qlistview-members.html b/doc/html/qlistview-members.html index 5b6732072..212eaa24f 100644 --- a/doc/html/qlistview-members.html +++ b/doc/html/qlistview-members.html @@ -76,7 +76,7 @@ body { background: #ffffff; color: black; }
    • clipper()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • collapsed()
    • colorGroup()
    • columnAlignment() @@ -173,7 +173,7 @@ body { background: #ffffff; color: black; }
    • grabKeyboard()
    • grabMouse()
    • hScrollBarMode() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -206,7 +206,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -283,7 +283,7 @@ body { background: #ffffff; color: black; }
    • ownPalette()
    • paintEmptyArea()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -477,28 +477,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qlistviewitem.html b/doc/html/qlistviewitem.html index c665fe85b..ab1e54665 100644 --- a/doc/html/qlistviewitem.html +++ b/doc/html/qlistviewitem.html @@ -519,7 +519,7 @@ This function is called if the user presses Enter during in-place renaming of the item in column col.

      See also cancelRename(). -

      void TQListViewItem::paintBranches ( TQPainter * p, const TQColorGroup & cg, int w, int y, int h ) [virtual] +

      void TQListViewItem::paintBranches ( TQPainter * p, const TQColorGroup & cg, int w, int y, int h ) [virtual]

      Paints a set of branches from this item to (some of) its children.

      Painter p is set up with clipping and translation so that you @@ -532,11 +532,11 @@ system's allowed coordinate range). is called; this function must draw on all of the pixels.

      See also paintCell() and TQListView::drawContentsOffset(). -

      void TQListViewItem::paintCell ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align ) [virtual] +

      void TQListViewItem::paintCell ( TQPainter * p, const TQColorGroup & cg, int column, int width, int align ) [virtual]

      This virtual function paints the contents of one column of an item and aligns it as described by align. -

      p is a TQPainter open on the relevant paint device. p is +

      p is a TQPainter open on the relevant paint device. p is translated so (0, 0) is the top-left pixel in the cell and width-1, height()-1 is the bottom-right pixel in the cell. The other properties of p (pen, brush, etc) are undefined. cg is the color group to use. column is the logical column number @@ -554,7 +554,7 @@ painter p has the right font on entry.

      Example: listviews/listviews.cpp.

      Reimplemented in TQCheckListItem. -

      void TQListViewItem::paintFocus ( TQPainter * p, const TQColorGroup & cg, const TQRect & r ) [virtual] +

      void TQListViewItem::paintFocus ( TQPainter * p, const TQColorGroup & cg, const TQRect & r ) [virtual]

      Paints a focus indicator on the rectangle r using painter p and colors cg. @@ -777,7 +777,7 @@ item's children, and invalidateHeight() to inval height.

      See also height(). -

      int TQListViewItem::width ( const TQFontMetrics & fm, const TQListView * lv, int c ) const [virtual] +

      int TQListViewItem::width ( const TQFontMetrics & fm, const TQListView * lv, int c ) const [virtual]

      Returns the number of pixels of width required to draw column c of list view lv, using the metrics fm without cropping. The diff --git a/doc/html/qmag-example.html b/doc/html/qmag-example.html index a96f9b184..d2e3e52e9 100644 --- a/doc/html/qmag-example.html +++ b/doc/html/qmag-example.html @@ -61,7 +61,7 @@ magnified area as a .bmp file. #include <tqregexp.h> #include <ntqapplication.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <ntqwmatrix.h> @@ -78,7 +78,7 @@ public slots: void multiSave(); protected: - void paintEvent( TQPaintEvent * ); + void paintEvent( TQPaintEvent * ); void mousePressEvent( TQMouseEvent * ); void mouseReleaseEvent( TQMouseEvent * ); void mouseMoveEvent( TQMouseEvent * ); @@ -294,11 +294,11 @@ void MagWidget::grab() } -void MagWidget::paintEvent( TQPaintEvent * ) +void MagWidget::paintEvent( TQPaintEvent * ) { if ( !pm.isNull() ) { - TQPainter paint( this ); - paint.drawPixmap( 0, zoom ? zoom->height()+4 : 0, pm, + TQPainter paint( this ); + paint.drawPixmap( 0, zoom ? zoom->height()+4 : 0, pm, 0,0, width(), height()-yoffset ); } } @@ -379,8 +379,8 @@ void MagWidget::grabAround(TQPoint pos) { TQRgb px = image.pixel(x,y); pixelinfo.sprintf(" %3d,%3d,%3d #%02x%02x%02x", - tqRed(px), tqGreen(px), tqBlue(px), - tqRed(px), tqGreen(px), tqBlue(px)); + tqRed(px), tqGreen(px), tqBlue(px), + tqRed(px), tqGreen(px), tqBlue(px)); } TQString label; label.sprintf( "x=%d, y=%d %s", diff --git a/doc/html/qmessagebox-members.html b/doc/html/qmessagebox-members.html index d97f5556b..f85618f48 100644 --- a/doc/html/qmessagebox-members.html +++ b/doc/html/qmessagebox-members.html @@ -66,7 +66,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -118,7 +118,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -145,7 +145,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -203,7 +203,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -334,28 +334,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qmotifdialog-members.html b/doc/html/qmotifdialog-members.html index 2f4ad5637..59d7d7d12 100644 --- a/doc/html/qmotifdialog-members.html +++ b/doc/html/qmotifdialog-members.html @@ -64,7 +64,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -116,7 +116,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -141,7 +141,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -198,7 +198,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -321,28 +321,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qmotifwidget-members.html b/doc/html/qmotifwidget-members.html index 879dc4739..67e37e7a9 100644 --- a/doc/html/qmotifwidget-members.html +++ b/doc/html/qmotifwidget-members.html @@ -62,7 +62,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -110,7 +110,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -135,7 +135,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -191,7 +191,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -304,28 +304,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qmovie-h.html b/doc/html/qmovie-h.html deleted file mode 100644 index aaf7bc94e..000000000 --- a/doc/html/qmovie-h.html +++ /dev/null @@ -1,160 +0,0 @@ - - - - - -ntqmovie.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqmovie.h

      - -

      This is the verbatim text of the ntqmovie.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqmovie.h   3.3.8   edited Jan 11 14:38 $
      -**
      -** Definition of movie classes
      -**
      -** Created : 970617
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the kernel module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQMOVIE_H
      -#define TQMOVIE_H
      -
      -#ifndef QT_H
      -#include "ntqpixmap.h" // ### remove or keep for users' convenience?
      -#endif // QT_H
      -
      -#ifndef TQT_NO_MOVIE
      -
      -class TQDataSource;
      -class TQObject;
      -class TQMoviePrivate;
      -
      -class TQ_EXPORT TQMovie {
      -public:
      -    TQMovie();
      -    TQMovie(int bufsize);
      -    TQMovie(TQDataSource*, int bufsize=1024);
      -    TQMovie(const TQString &fileName, int bufsize=1024);
      -    TQMovie(TQByteArray data, int bufsize=1024);
      -    TQMovie(const TQMovie&);
      -    ~TQMovie();
      -
      -    TQMovie& operator=(const TQMovie&);
      -
      -    int pushSpace() const;
      -    void pushData(const uchar* data, int length);
      -
      -    const TQColor& backgroundColor() const;
      -    void setBackgroundColor(const TQColor&);
      -
      -    const TQRect& getValidRect() const;
      -    const TQPixmap& framePixmap() const;
      -    const TQImage& frameImage() const;
      -
      -    bool isNull() const;
      -
      -    int  frameNumber() const;
      -    int  steps() const;
      -    bool paused() const;
      -    bool finished() const;
      -    bool running() const;
      -
      -    void unpause();
      -    void pause();
      -    void step();
      -    void step(int);
      -    void restart();
      -
      -    int  speed() const;
      -    void setSpeed(int);
      -
      -    void connectResize(TQObject* receiver, const char *member);
      -    void disconnectResize(TQObject* receiver, const char *member=0);
      -
      -    void connectUpdate(TQObject* receiver, const char *member);
      -    void disconnectUpdate(TQObject* receiver, const char *member=0);
      -
      -    enum Status { SourceEmpty=-2,
      -		  UnrecognizedFormat=-1,
      -		  Paused=1,
      -		  EndOfFrame=2,
      -		  EndOfLoop=3,
      -		  EndOfMovie=4,
      -		  SpeedChanged=5 };
      -    void connectStatus(TQObject* receiver, const char *member);
      -    void disconnectStatus(TQObject* receiver, const char *member=0);
      -
      -private:
      -    TQMoviePrivate *d;
      -};
      -
      -#endif	// TQT_NO_MOVIE
      -
      -#endif
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qmovie-members.html b/doc/html/qmovie-members.html deleted file mode 100644 index 6f27011cd..000000000 --- a/doc/html/qmovie-members.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - -TQMovie Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQMovie

      - -

      This is the complete list of member functions for -TQMovie, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qmovie.png b/doc/html/qmovie.png deleted file mode 100644 index 78c79b2cb..000000000 Binary files a/doc/html/qmovie.png and /dev/null differ diff --git a/doc/html/qmultilineedit-members.html b/doc/html/qmultilineedit-members.html index 5a12fed03..40c193968 100644 --- a/doc/html/qmultilineedit-members.html +++ b/doc/html/qmultilineedit-members.html @@ -81,7 +81,7 @@ body { background: #ffffff; color: black; }
    • clipper()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • color()
    • colorGroup()
    • connect() @@ -191,7 +191,7 @@ body { background: #ffffff; color: black; }
    • grabKeyboard()
    • grabMouse()
    • hScrollBarMode() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMarkedText()
    • hasMouse() @@ -228,7 +228,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -314,7 +314,7 @@ body { background: #ffffff; color: black; }
    • pageDown()
    • pageUp()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -540,28 +540,28 @@ body { background: #ffffff; color: black; }
    • wrapColumnOrWidth()
    • wrapPolicy()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y()
    • zoomIn()
    • zoomOut() diff --git a/doc/html/qnamespace-h.html b/doc/html/qnamespace-h.html index c87d5fb42..0da21b4eb 100644 --- a/doc/html/qnamespace-h.html +++ b/doc/html/qnamespace-h.html @@ -140,7 +140,7 @@ public: // the following four enums can be combined to one integer which // is passed as textflag to drawText and qt_format_text. - // documented in qpainter.cpp + // documented in tqpainter.cpp enum AlignmentFlags { AlignAuto = 0x0000, // text alignment AlignLeft = 0x0001, @@ -155,7 +155,7 @@ public: AlignCenter = AlignVCenter | AlignHCenter }; - // documented in qpainter.cpp + // documented in tqpainter.cpp enum TextFlags { SingleLine = 0x0080, // misc. flags DontClip = 0x0100, @@ -311,14 +311,14 @@ public: AvoidDither = 0x00000080 }; - // documented in qpainter.cpp + // documented in tqpainter.cpp enum BGMode { // background mode TransparentMode, OpaqueMode }; #ifndef TQT_NO_COMPAT - // documented in qpainter.cpp + // documented in tqpainter.cpp enum PaintUnit { // paint unit PixelUnit, LoMetricUnit, // OBSOLETE @@ -671,7 +671,7 @@ public: RightArrow }; - // documented in qpainter.cpp + // documented in tqpainter.cpp enum RasterOp { // raster op mode CopyROP, OrROP, @@ -691,7 +691,7 @@ public: NorROP, LastROP=NorROP }; - // documented in qpainter.cpp + // documented in tqpainter.cpp enum PenStyle { // pen style NoPen, SolidLine, @@ -702,7 +702,7 @@ public: MPenStyle = 0x0f }; - // documented in qpainter.cpp + // documented in tqpainter.cpp enum PenCapStyle { // line endcap style FlatCap = 0x00, SquareCap = 0x10, @@ -710,7 +710,7 @@ public: MPenCapStyle = 0x30 }; - // documented in qpainter.cpp + // documented in tqpainter.cpp enum PenJoinStyle { // line join style MiterJoin = 0x00, BevelJoin = 0x40, @@ -718,7 +718,7 @@ public: MPenJoinStyle = 0xc0 }; - // documented in qpainter.cpp + // documented in tqpainter.cpp enum BrushStyle { // brush style NoBrush, SolidPattern, diff --git a/doc/html/qnpinstance.html b/doc/html/qnpinstance.html index f862bb5f6..414e737cd 100644 --- a/doc/html/qnpinstance.html +++ b/doc/html/qnpinstance.html @@ -87,9 +87,9 @@ in which functions are called. Sometimes the browser will call newWindow() first, at other times, newStreamCreated() will be called first (assuming the <EMBED> tag has a SRC parameter).

      None of TQt's GUI functionality may be used until after the -first call to newWindow(). This includes any use of TQPaintDevice +first call to newWindow(). This includes any use of TQPaintDevice (i.e. TQPixmap, TQWidget, and all subclasses), TQApplication, anything -related to TQPainter (TQBrush, etc.), fonts, TQMovie, TQToolTip, etc. +related to TQPainter (TQBrush, etc.), fonts, TQMovie, TQToolTip, etc. Useful classes which specifically can be used are TQImage, TQFile, and TQBuffer.

      This restriction can easily be accommodated by structuring your @@ -244,7 +244,7 @@ Plugin API.

      Passes url, window, buf, len, and file to NPN_PostURL. -

      void TQNPInstance::print ( TQPainter * ) [virtual] +

      void TQNPInstance::print ( TQPainter * ) [virtual]

      This function is under development and is subject to change.

      This function is not tested. diff --git a/doc/html/qnpwidget-members.html b/doc/html/qnpwidget-members.html index 6be98c40f..b6abd2e79 100644 --- a/doc/html/qnpwidget-members.html +++ b/doc/html/qnpwidget-members.html @@ -62,7 +62,7 @@ body { background: #ffffff; color: black; }

    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -111,7 +111,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -137,7 +137,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -193,7 +193,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -306,28 +306,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qpaintdevice-h.html b/doc/html/qpaintdevice-h.html deleted file mode 100644 index c079d3593..000000000 --- a/doc/html/qpaintdevice-h.html +++ /dev/null @@ -1,450 +0,0 @@ - - - - - -ntqpaintdevice.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqpaintdevice.h

      - -

      This is the verbatim text of the ntqpaintdevice.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqpaintdevice.h   3.3.8   edited Jan 11 14:38 $
      -**
      -** Definition of TQPaintDevice class
      -**
      -** Created : 940721
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the kernel module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQPAINTDEVICE_H
      -#define TQPAINTDEVICE_H
      -
      -#ifndef QT_H
      -#include "ntqwindowdefs.h"
      -#include "ntqrect.h"
      -#endif // QT_H
      -
      -class TQIODevice;
      -class TQString;
      -class TQTextItem;
      -
      -
      -#if defined(TQ_WS_X11)
      -struct TQPaintDeviceX11Data;
      -#endif
      -
      -union TQPDevCmdParam {
      -    int			 ival;
      -    int			*ivec;
      -    TQString	        *str;
      -    const TQPoint	*point;
      -    const TQRect		*rect;
      -    const TQPointArray	*ptarr;
      -    const TQPixmap	*pixmap;
      -    const TQImage	*image;
      -    const TQColor	*color;
      -    const TQFont		*font;
      -    const TQPen		*pen;
      -    const TQBrush	*brush;
      -    const TQRegion	*rgn;
      -    const TQWMatrix	*matrix;
      -    const TQTextItem     *textItem;
      -    TQIODevice		*device;
      -};
      -
      -
      -
      -class TQ_EXPORT TQPaintDevice				// device for TQPainter
      -{
      -public:
      -    virtual ~TQPaintDevice();
      -
      -    int		devType() const;
      -    bool	isExtDev() const;
      -    bool	paintingActive() const;
      -
      -    virtual void setResolution( int );
      -    virtual int resolution() const;
      -
      -    // Windows:	  get device context
      -    // X-Windows: get drawable
      -#if defined(TQ_WS_WIN)
      -    virtual HDC		handle() const;
      -#elif defined(TQ_WS_X11)
      -    virtual TQt::HANDLE	handle() const;
      -    virtual TQt::HANDLE  x11RenderHandle() const;
      -#elif defined(TQ_WS_MAC)
      -    virtual TQt::HANDLE      handle() const;
      -#endif
      -
      -#if defined(TQ_WS_X11)
      -    Display 	   *x11Display() const;
      -    int		    x11Screen() const;
      -    int		    x11Depth() const;
      -    int		    x11Cells() const;
      -    TQt::HANDLE	    x11Colormap() const;
      -    bool	    x11DefaultColormap() const;
      -    void	   *x11Visual() const;
      -    bool	    x11DefaultVisual() const;
      -
      -    static Display *x11AppDisplay();
      -    static int	    x11AppScreen();
      -
      -    static int      x11AppDpiX();
      -    static int      x11AppDpiY();
      -    static void     x11SetAppDpiX(int);
      -    static void     x11SetAppDpiY(int);
      -    static int	    x11AppDepth();
      -    static int	    x11AppCells();
      -    static TQt::HANDLE   x11AppRootWindow();
      -    static TQt::HANDLE   x11AppColormap();
      -    static bool     x11AppDefaultColormap();
      -    static void    *x11AppVisual();
      -    static bool	    x11AppDefaultVisual();
      -
      -    // ### in 4.0, the above need to go away, the below needs to take a -1 default
      -    // argument, signifying the default screen...
      -    static int	    x11AppDepth( int screen );
      -    static int	    x11AppCells( int screen );
      -    static TQt::HANDLE   x11AppRootWindow( int screen );
      -    static TQt::HANDLE   x11AppColormap( int screen );
      -    static void    *x11AppVisual( int screen );
      -    static bool     x11AppDefaultColormap( int screen );
      -    static bool	    x11AppDefaultVisual( int screen );
      -    static int      x11AppDpiX( int );
      -    static int      x11AppDpiY( int );
      -    static void     x11SetAppDpiX( int, int );
      -    static void     x11SetAppDpiY( int, int );
      -#endif
      -
      -    enum PDevCmd {
      -	PdcNOP = 0, //  <void>
      -	PdcDrawPoint = 1, // point
      -	PdcDrawFirst = PdcDrawPoint,
      -	PdcMoveTo = 2, // point
      -	PdcLineTo = 3, // point
      -	PdcDrawLine = 4, // point,point
      -	PdcDrawRect = 5, // rect
      -	PdcDrawRoundRect = 6, // rect,ival,ival
      -	PdcDrawEllipse = 7, // rect
      -	PdcDrawArc = 8, // rect,ival,ival
      -	PdcDrawPie = 9, // rect,ival,ival
      -	PdcDrawChord = 10, // rect,ival,ival
      -	PdcDrawLineSegments = 11, // ptarr
      -	PdcDrawPolyline = 12, // ptarr
      -	PdcDrawPolygon = 13, // ptarr,ival
      -	PdcDrawCubicBezier = 14, // ptarr
      -	PdcDrawText = 15, // point,str
      -	PdcDrawTextFormatted = 16, // rect,ival,str
      -	PdcDrawPixmap = 17, // rect,pixmap
      -	PdcDrawImage = 18, // rect,image
      -	PdcDrawText2 = 19, // point,str
      -	PdcDrawText2Formatted = 20, // rect,ival,str
      -	PdcDrawTextItem = 21,
      -	PdcDrawLast = PdcDrawTextItem,
      -
      -	// no painting commands below PdcDrawLast.
      -
      -	PdcBegin = 30, //  <void>
      -	PdcEnd = 31, //  <void>
      -	PdcSave = 32, //  <void>
      -	PdcRestore = 33, //  <void>
      -	PdcSetdev = 34, // device - PRIVATE
      -	PdcSetBkColor = 40, // color
      -	PdcSetBkMode = 41, // ival
      -	PdcSetROP = 42, // ival
      -	PdcSetBrushOrigin = 43, // point
      -	PdcSetFont = 45, // font
      -	PdcSetPen = 46, // pen
      -	PdcSetBrush = 47, // brush
      -	PdcSetTabStops = 48, // ival
      -	PdcSetTabArray = 49, // ival,ivec
      -	PdcSetUnit = 50, // ival
      -	PdcSetVXform = 51, // ival
      -	PdcSetWindow = 52, // rect
      -	PdcSetViewport = 53, // rect
      -	PdcSetWXform = 54, // ival
      -	PdcSetWMatrix = 55, // matrix,ival
      -	PdcSaveWMatrix = 56,
      -	PdcRestoreWMatrix = 57,
      -	PdcSetClip = 60, // ival
      -	PdcSetClipRegion = 61, // rgn
      -
      -	PdcReservedStart = 0, // codes 0-199 are reserved
      -	PdcReservedStop = 199 //   for TQt
      -    };
      -
      -protected:
      -    TQPaintDevice( uint devflags );
      -
      -#if defined(TQ_WS_WIN)
      -    HDC		hdc;				// device context
      -#elif defined(TQ_WS_X11)
      -    TQt::HANDLE	hd;				// handle to drawable
      -    TQt::HANDLE  rendhd;                         // handle to RENDER pict
      -
      -    void		 copyX11Data( const TQPaintDevice * );
      -    void		 cloneX11Data( const TQPaintDevice * );
      -    virtual void	 setX11Data( const TQPaintDeviceX11Data* );
      -    TQPaintDeviceX11Data* getX11Data( bool def=FALSE ) const;
      -#elif defined(TQ_WS_MAC)
      -#if !defined( TQMAC_NO_QUARTZ )
      -    CGContextRef ctx;
      -#endif
      -    void * hd;
      -#endif
      -
      -    virtual bool cmd( int, TQPainter *, TQPDevCmdParam * );
      -    virtual int	 metric( int ) const;
      -    virtual int	 fontMet( TQFont *, int, const char * = 0, int = 0 ) const;
      -    virtual int	 fontInf( TQFont *, int ) const;
      -
      -    ushort	devFlags;			// device flags
      -    ushort	painters;			// refcount
      -
      -    friend class TQPainter;
      -    friend class TQPaintDeviceMetrics;
      -#if defined(TQ_WS_MAC)
      -#ifndef TQMAC_NO_QUARTZ
      -    virtual CGContextRef macCGContext(bool clipped=TRUE) const;
      -#endif
      -    friend TQ_EXPORT void unclippedScaledBitBlt( TQPaintDevice *, int, int, int, int,
      -						const TQPaintDevice *, int, int, int, int, TQt::RasterOp, bool, bool );
      -#else
      -    friend TQ_EXPORT void bitBlt( TQPaintDevice *, int, int,
      -				 const TQPaintDevice *,
      -				 int, int, int, int, TQt::RasterOp, bool );
      -#endif
      -#if defined(TQ_WS_X11)
      -    friend void tqt_init_internal( int *, char **, Display *, TQt::HANDLE, TQt::HANDLE );
      -    friend void tqt_cleanup();
      -#endif
      -
      -private:
      -#if defined(TQ_WS_X11)
      -    static Display *x_appdisplay;
      -    static int	    x_appscreen;
      -
      -    static int	    x_appdepth;
      -    static int	    x_appcells;
      -    static TQt::HANDLE   x_approotwindow;
      -    static TQt::HANDLE   x_appcolormap;
      -    static bool	    x_appdefcolormap;
      -    static void	   *x_appvisual;
      -    static bool     x_appdefvisual;
      -
      -    // ### in 4.0, remove the above, and replace with the below
      -    static int	      *x_appdepth_arr;
      -    static int	      *x_appcells_arr;
      -    static TQt::HANDLE *x_approotwindow_arr;
      -    static TQt::HANDLE *x_appcolormap_arr;
      -    static bool	      *x_appdefcolormap_arr;
      -    static void	     **x_appvisual_arr;
      -    static bool       *x_appdefvisual_arr;
      -
      -    TQPaintDeviceX11Data* x11Data;
      -#endif
      -
      -private:	// Disabled copy constructor and operator=
      -#if defined(TQ_DISABLE_COPY)
      -    TQPaintDevice( const TQPaintDevice & );
      -    TQPaintDevice &operator=( const TQPaintDevice & );
      -#endif
      -};
      -
      -
      -TQ_EXPORT
      -void bitBlt( TQPaintDevice *dst, int dx, int dy,
      -	     const TQPaintDevice *src, int sx=0, int sy=0, int sw=-1, int sh=-1,
      -	     TQt::RasterOp = TQt::CopyROP, bool ignoreMask=FALSE );
      -
      -TQ_EXPORT
      -void bitBlt( TQPaintDevice *dst, int dx, int dy,
      -	     const TQImage *src, int sx=0, int sy=0, int sw=-1, int sh=-1,
      -	     int conversion_flags=0 );
      -
      -
      -#if defined(TQ_WS_X11)
      -
      -struct TQ_EXPORT TQPaintDeviceX11Data : public TQShared {
      -    Display*	x_display;
      -    int		x_screen;
      -    int		x_depth;
      -    int		x_cells;
      -    TQt::HANDLE	x_colormap;
      -    bool	x_defcolormap;
      -    void*	x_visual;
      -    bool	x_defvisual;
      -};
      -
      -#endif
      -
      -/*****************************************************************************
      -  Inline functions
      - *****************************************************************************/
      -
      -inline int TQPaintDevice::devType() const
      -{ return devFlags & TQInternal::DeviceTypeMask; }
      -
      -inline bool TQPaintDevice::isExtDev() const
      -{ return (devFlags & TQInternal::ExternalDevice) != 0; }
      -
      -inline bool TQPaintDevice::paintingActive() const
      -{ return painters != 0; }
      -
      -#if defined(TQ_WS_X11)
      -inline Display *TQPaintDevice::x11Display() const
      -{ return x11Data ? x11Data->x_display : x_appdisplay; }
      -
      -inline int TQPaintDevice::x11Screen() const
      -{ return x11Data ? x11Data->x_screen : x_appscreen; }
      -
      -inline int TQPaintDevice::x11Depth() const
      -{ return x11Data ? x11Data->x_depth : x_appdepth; }
      -
      -inline int TQPaintDevice::x11Cells() const
      -{ return x11Data ? x11Data->x_cells : x_appcells; }
      -
      -inline TQt::HANDLE TQPaintDevice::x11Colormap() const
      -{ return x11Data ? x11Data->x_colormap : x_appcolormap; }
      -
      -inline bool TQPaintDevice::x11DefaultColormap() const
      -{ return x11Data ? x11Data->x_defcolormap : x_appdefcolormap; }
      -
      -inline void *TQPaintDevice::x11Visual() const
      -{ return x11Data ? x11Data->x_visual : x_appvisual; }
      -
      -inline bool TQPaintDevice::x11DefaultVisual() const
      -{ return x11Data ? x11Data->x_defvisual : x_appdefvisual; }
      -
      -inline Display *TQPaintDevice::x11AppDisplay()
      -{ return x_appdisplay; }
      -
      -inline int TQPaintDevice::x11AppScreen()
      -{ return x_appscreen; }
      -
      -inline int TQPaintDevice::x11AppDepth( int screen )
      -{ return x_appdepth_arr[ screen == -1 ? x_appscreen : screen ]; }
      -
      -inline int TQPaintDevice::x11AppCells( int screen )
      -{ return x_appcells_arr[ screen == -1 ? x_appscreen : screen ]; }
      -
      -inline TQt::HANDLE TQPaintDevice::x11AppRootWindow( int screen )
      -{ return x_approotwindow_arr[ screen == -1 ? x_appscreen : screen ]; }
      -
      -inline TQt::HANDLE TQPaintDevice::x11AppColormap( int screen )
      -{ return x_appcolormap_arr[ screen == -1 ? x_appscreen : screen ]; }
      -
      -inline bool TQPaintDevice::x11AppDefaultColormap( int screen )
      -{ return x_appdefcolormap_arr[ screen == -1 ? x_appscreen : screen ]; }
      -
      -inline void *TQPaintDevice::x11AppVisual( int screen )
      -{ return x_appvisual_arr[ screen == -1 ? x_appscreen : screen ]; }
      -
      -inline bool TQPaintDevice::x11AppDefaultVisual( int screen )
      -{ return x_appdefvisual_arr[ screen == -1 ? x_appscreen : screen ]; }
      -
      -inline int TQPaintDevice::x11AppDepth()
      -{ return x_appdepth; }
      -
      -inline int TQPaintDevice::x11AppCells()
      -{ return x_appcells; }
      -
      -inline TQt::HANDLE TQPaintDevice::x11AppRootWindow()
      -{ return x_approotwindow; }
      -
      -inline TQt::HANDLE TQPaintDevice::x11AppColormap()
      -{ return x_appcolormap; }
      -
      -inline bool TQPaintDevice::x11AppDefaultColormap()
      -{ return x_appdefcolormap; }
      -
      -inline void *TQPaintDevice::x11AppVisual()
      -{ return x_appvisual; }
      -
      -inline bool TQPaintDevice::x11AppDefaultVisual()
      -{ return x_appdefvisual; }
      -
      -#endif // TQ_WS_X11
      -
      -
      -TQ_EXPORT
      -inline void bitBlt( TQPaintDevice *dst, const TQPoint &dp,
      -		    const TQPaintDevice *src, const TQRect &sr =TQRect(0,0,-1,-1),
      -		    TQt::RasterOp rop=TQt::CopyROP, bool ignoreMask=FALSE )
      -{
      -    bitBlt( dst, dp.x(), dp.y(), src, sr.x(), sr.y(), sr.width(), sr.height(),
      -	    rop, ignoreMask );
      -}
      -
      -
      -
      -
      -#endif // TQPAINTDEVICE_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qpaintdevice-members.html b/doc/html/qpaintdevice-members.html deleted file mode 100644 index 2049a6b5d..000000000 --- a/doc/html/qpaintdevice-members.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - -TQPaintDevice Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQPaintDevice

      - -

      This is the complete list of member functions for -TQPaintDevice, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qpaintdevicemetrics-h.html b/doc/html/qpaintdevicemetrics-h.html deleted file mode 100644 index f58e87de3..000000000 --- a/doc/html/qpaintdevicemetrics-h.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - -ntqpaintdevicemetrics.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqpaintdevicemetrics.h

      - -

      This is the verbatim text of the ntqpaintdevicemetrics.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqpaintdevicemetrics.h   3.3.8   edited Jan 11 14:38 $
      -**
      -** Definition of TQPaintDeviceMetrics class
      -**
      -** Created : 941109
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the kernel module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQPAINTDEVICEMETRICS_H
      -#define TQPAINTDEVICEMETRICS_H
      -
      -#ifndef QT_H
      -#include "ntqpaintdevice.h"
      -#endif // QT_H
      -
      -
      -class TQ_EXPORT TQPaintDeviceMetrics			// paint device metrics
      -{
      -public:
      -    TQPaintDeviceMetrics( const TQPaintDevice * );
      -
      -    enum {
      -	PdmWidth = 1,
      -	PdmHeight,
      -	PdmWidthMM,
      -	PdmHeightMM,
      -	PdmNumColors,
      -	PdmDepth,
      -	PdmDpiX,
      -	PdmDpiY,
      -	PdmPhysicalDpiX,
      -	PdmPhysicalDpiY
      -    };
      -
      -    int	  width()	const	{ return (int)pdev->metric(PdmWidth); }
      -    int	  height()	const	{ return (int)pdev->metric(PdmHeight); }
      -    int	  widthMM()	const	{ return (int)pdev->metric(PdmWidthMM); }
      -    int	  heightMM()	const	{ return (int)pdev->metric(PdmHeightMM); }
      -    int	  logicalDpiX()	const	{ return (int)pdev->metric(PdmDpiX); }
      -    int	  logicalDpiY()	const	{ return (int)pdev->metric(PdmDpiY); }
      -    int	  physicalDpiX()const	{ return (int)pdev->metric(PdmPhysicalDpiX); }
      -    int	  physicalDpiY()const	{ return (int)pdev->metric(PdmPhysicalDpiY); }
      -    int	  numColors()	const	{ return (int)pdev->metric(PdmNumColors); }
      -    int	  depth()	const	{ return (int)pdev->metric(PdmDepth); }
      -
      -private:
      -    TQPaintDevice *pdev;
      -};
      -
      -
      -#endif // TQPAINTDEVICEMETRICS_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qpaintdevicemetrics-members.html b/doc/html/qpaintdevicemetrics-members.html deleted file mode 100644 index 2a19b1141..000000000 --- a/doc/html/qpaintdevicemetrics-members.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - -TQPaintDeviceMetrics Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQPaintDeviceMetrics

      - -

      This is the complete list of member functions for -TQPaintDeviceMetrics, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qpainter-h.html b/doc/html/qpainter-h.html deleted file mode 100644 index 56e6199fe..000000000 --- a/doc/html/qpainter-h.html +++ /dev/null @@ -1,743 +0,0 @@ - - - - - -ntqpainter.h Include File - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      ntqpainter.h

      - -

      This is the verbatim text of the ntqpainter.h include file. It is provided only for illustration; the copyright remains with Trolltech. -


      -
      -/****************************************************************************
      -** $Id: qt/ntqpainter.h   3.3.8   edited Jan 11 14:38 $
      -**
      -** Definition of TQPainter class
      -**
      -** Created : 940112
      -**
      -** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      -**
      -** This file is part of the kernel module of the TQt GUI Toolkit.
      -**
      -** This file may be used under the terms of the GNU General Public
      -** License versions 2.0 or 3.0 as published by the Free Software
      -** Foundation and appearing in the file LICENSE.GPL included in the
      -** packaging of this file. Alternatively you may (at your option) use any
      -** later version of the GNU General Public License if such license has
      -** been publicly approved by Trolltech ASA (or its successors, if any)
      -** and the KDE Free TQt Foundation.
      -**
      -** Please review the following information to ensure GNU General
      -** Public Licensing requirements will be met:
      -** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      -** If you are unsure which license is appropriate for your use, please
      -** review the following information:
      -** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      -** or contact the sales department at sales@trolltech.com.
      -**
      -** This file may be used under the terms of the Q Public License as
      -** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      -** included in the packaging of this file.  Licensees holding valid TQt
      -** Commercial licenses may use this file in accordance with the TQt
      -** Commercial License Agreement provided with the Software.
      -**
      -** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      -** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      -** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      -** herein.
      -**
      -**********************************************************************/
      -
      -#ifndef TQPAINTER_H
      -#define TQPAINTER_H
      -
      -
      -#ifndef QT_H
      -#include "ntqcolor.h"
      -#include "ntqfontmetrics.h"
      -#include "ntqfontinfo.h"
      -#include "ntqregion.h"
      -#include "ntqpen.h"
      -#include "ntqbrush.h"
      -#include "ntqpointarray.h"
      -#include "ntqwmatrix.h"
      -#endif // QT_H
      -
      -class TQTextCodec;
      -class TQTextParag;
      -class TQPaintDevice;
      -class TQTextItem;
      -#if defined( TQ_WS_MAC )
      -class TQMacSavedPortInfo;
      -#endif
      -class TQPainterPrivate;
      -
      -class TQ_EXPORT TQPainter : public TQt
      -{
      -public:
      -    enum CoordinateMode { CoordDevice, CoordPainter };
      -
      -    TQPainter();
      -    TQPainter( const TQPaintDevice *, bool unclipped = FALSE );
      -    TQPainter( const TQPaintDevice *, const TQWidget *, bool unclipped = FALSE );
      -   ~TQPainter();
      -
      -    bool	begin( const TQPaintDevice *, bool unclipped = FALSE );
      -    bool	begin( const TQPaintDevice *, const TQWidget *, bool unclipped = FALSE );
      -    bool	end();
      -    TQPaintDevice *device() const;
      -
      -    static void redirect( TQPaintDevice *pdev, TQPaintDevice *replacement );
      -    static TQPaintDevice *redirect( TQPaintDevice *pdev );
      -
      -    bool	isActive() const;
      -
      -    void	flush( const TQRegion &region, CoordinateMode cm = CoordDevice );
      -    void	flush();
      -    void	save();
      -    void	restore();
      -
      -  // Drawing tools
      -
      -    TQFontMetrics fontMetrics()	const;
      -    TQFontInfo	 fontInfo()	const;
      -
      -    const TQFont &font()		const;
      -    void	setFont( const TQFont & );
      -    const TQPen &pen()		const;
      -    void	setPen( const TQPen & );
      -    void	setPen( PenStyle );
      -    void	setPen( const TQColor & );
      -    const TQBrush &brush()	const;
      -    void	setBrush( const TQBrush & );
      -    void	setBrush( BrushStyle );
      -    void	setBrush( const TQColor & );
      -    TQPoint	pos() const;
      -
      -  // Drawing attributes/modes
      -
      -    const TQColor &backgroundColor() const;
      -    void	setBackgroundColor( const TQColor & );
      -    BGMode	backgroundMode() const;
      -    void	setBackgroundMode( BGMode );
      -    RasterOp	rasterOp()	const;
      -    void	setRasterOp( RasterOp );
      -    const TQPoint &brushOrigin() const;
      -    void	setBrushOrigin( int x, int y );
      -    void	setBrushOrigin( const TQPoint & );
      -
      -  // Scaling and transformations
      -
      -//    PaintUnit unit()	       const;		// get set painter unit
      -//    void	setUnit( PaintUnit );		// NOT IMPLEMENTED!!!
      -
      -    bool	hasViewXForm() const;
      -    bool	hasWorldXForm() const;
      -
      -#ifndef TQT_NO_TRANSFORMATIONS
      -    void	setViewXForm( bool );		// set xform on/off
      -    TQRect	window()       const;		// get window
      -    void	setWindow( const TQRect & );	// set window
      -    void	setWindow( int x, int y, int w, int h );
      -    TQRect	viewport()   const;		// get viewport
      -    void	setViewport( const TQRect & );	// set viewport
      -    void	setViewport( int x, int y, int w, int h );
      -
      -    void	setWorldXForm( bool );		// set world xform on/off
      -    const TQWMatrix &worldMatrix() const;	// get/set world xform matrix
      -    void	setWorldMatrix( const TQWMatrix &, bool combine=FALSE );
      -
      -    void	saveWorldMatrix();
      -    void	restoreWorldMatrix();
      -
      -    void	scale( double sx, double sy );
      -    void	shear( double sh, double sv );
      -    void	rotate( double a );
      -#endif
      -    void	translate( double dx, double dy );
      -    void	resetXForm();
      -    double	translationX() const;
      -    double	translationY() const;
      -
      -    TQPoint	xForm( const TQPoint & ) const;	// map virtual -> device
      -    TQRect	xForm( const TQRect & )	const;
      -    TQPointArray xForm( const TQPointArray & ) const;
      -    TQPointArray xForm( const TQPointArray &, int index, int npoints ) const;
      -    TQPoint	xFormDev( const TQPoint & ) const; // map device -> virtual
      -    TQRect	xFormDev( const TQRect & )  const;
      -    TQPointArray xFormDev( const TQPointArray & ) const;
      -    TQPointArray xFormDev( const TQPointArray &, int index, int npoints ) const;
      -
      -  // Clipping
      -
      -    void	setClipping( bool );		// set clipping on/off
      -    bool	hasClipping() const;
      -    TQRegion clipRegion( CoordinateMode = CoordDevice ) const;
      -    void	setClipRect( const TQRect &, CoordinateMode = CoordDevice );	// set clip rectangle
      -    void	setClipRect( int x, int y, int w, int h, CoordinateMode = CoordDevice );
      -    void	setClipRegion( const TQRegion &, CoordinateMode = CoordDevice );// set clip region
      -
      -  // Graphics drawing functions
      -
      -    void	drawPoint( int x, int y );
      -    void	drawPoint( const TQPoint & );
      -    void	drawPoints( const TQPointArray& a,
      -			    int index=0, int npoints=-1 );
      -    void	moveTo( int x, int y );
      -    void	moveTo( const TQPoint & );
      -    void	lineTo( int x, int y );
      -    void	lineTo( const TQPoint & );
      -    void	drawLine( int x1, int y1, int x2, int y2 );
      -    void	drawLine( const TQPoint &, const TQPoint & );
      -    void	drawRect( int x, int y, int w, int h );
      -    void	drawRect( const TQRect & );
      -    void	drawWinFocusRect( int x, int y, int w, int h );
      -    void	drawWinFocusRect( int x, int y, int w, int h,
      -				  const TQColor &bgColor );
      -    void	drawWinFocusRect( const TQRect & );
      -    void	drawWinFocusRect( const TQRect &,
      -				  const TQColor &bgColor );
      -    void	drawRoundRect( int x, int y, int w, int h, int = 25, int = 25 );
      -    void	drawRoundRect( const TQRect &, int = 25, int = 25 );
      -    void	drawEllipse( int x, int y, int w, int h );
      -    void	drawEllipse( const TQRect & );
      -    void	drawArc( int x, int y, int w, int h, int a, int alen );
      -    void	drawArc( const TQRect &, int a, int alen );
      -    void	drawPie( int x, int y, int w, int h, int a, int alen );
      -    void	drawPie( const TQRect &, int a, int alen );
      -    void	drawChord( int x, int y, int w, int h, int a, int alen );
      -    void	drawChord( const TQRect &, int a, int alen );
      -    void	drawLineSegments( const TQPointArray &,
      -				  int index=0, int nlines=-1 );
      -    void	drawPolyline( const TQPointArray &,
      -			      int index=0, int npoints=-1 );
      -    void	drawPolygon( const TQPointArray &, bool winding=FALSE,
      -			     int index=0, int npoints=-1 );
      -    void	drawConvexPolygon( const TQPointArray &,
      -			     int index=0, int npoints=-1 );
      -#ifndef TQT_NO_BEZIER
      -    void	drawCubicBezier( const TQPointArray &, int index=0 );
      -#endif
      -    void	drawPixmap( int x, int y, const TQPixmap &,
      -			    int sx=0, int sy=0, int sw=-1, int sh=-1 );
      -    void	drawPixmap( const TQPoint &, const TQPixmap &,
      -			    const TQRect &sr );
      -    void	drawPixmap( const TQPoint &, const TQPixmap & );
      -    void	drawPixmap( const TQRect &, const TQPixmap & );
      -    void	drawImage( int x, int y, const TQImage &,
      -			   int sx = 0, int sy = 0, int sw = -1, int sh = -1,
      -			   int conversionFlags = 0 );
      -    void	drawImage( const TQPoint &, const TQImage &,
      -			   const TQRect &sr, int conversionFlags = 0 );
      -    void	drawImage( const TQPoint &, const TQImage &,
      -			   int conversion_flags = 0 );
      -    void	drawImage( const TQRect &, const TQImage & );
      -    void	drawTiledPixmap( int x, int y, int w, int h, const TQPixmap &,
      -				 int sx=0, int sy=0 );
      -    void	drawTiledPixmap( const TQRect &, const TQPixmap &,
      -				 const TQPoint & );
      -    void	drawTiledPixmap( const TQRect &, const TQPixmap & );
      -#ifndef TQT_NO_PICTURE
      -    void	drawPicture( const TQPicture & );
      -    void	drawPicture( int x, int y, const TQPicture & );
      -    void	drawPicture( const TQPoint &, const TQPicture & );
      -#endif
      -
      -    void	fillRect( int x, int y, int w, int h, const TQBrush & );
      -    void	fillRect( const TQRect &, const TQBrush & );
      -    void	eraseRect( int x, int y, int w, int h );
      -    void	eraseRect( const TQRect & );
      -
      -  // Text drawing functions
      -
      -    enum TextDirection {
      -	Auto,
      -	RTL,
      -	LTR
      -    };
      -
      -    void	drawText( int x, int y, const TQString &, int len = -1, TextDirection dir = Auto );
      -    void	drawText( const TQPoint &, const TQString &, int len = -1, TextDirection dir = Auto );
      -
      -    void     drawText( int x, int y, const TQString &, int pos, int len, TextDirection dir = Auto );
      -    void     drawText( const TQPoint &p, const TQString &, int pos, int len, TextDirection dir = Auto );
      -
      -    void	drawText( int x, int y, int w, int h, int flags,
      -			  const TQString&, int len = -1, TQRect *br=0,
      -			  TQTextParag **intern=0 );
      -    void	drawText( const TQRect &, int flags,
      -			  const TQString&, int len = -1, TQRect *br=0,
      -			  TQTextParag **intern=0 );
      -
      -    void drawTextItem( int x, int y, const TQTextItem &ti, int textflags = 0 );
      -    void drawTextItem( const TQPoint& p, const TQTextItem &ti, int textflags = 0 );
      -
      -    TQRect	boundingRect( int x, int y, int w, int h, int flags,
      -			      const TQString&, int len = -1, TQTextParag **intern=0 );
      -    TQRect	boundingRect( const TQRect &, int flags,
      -			      const TQString&, int len = -1, TQTextParag **intern=0 );
      -
      -    int		tabStops() const;
      -    void	setTabStops( int );
      -    int	       *tabArray() const;
      -    void	setTabArray( int * );
      -
      -    // Other functions
      -
      -#if defined(TQ_WS_WIN)
      -    HDC		handle() const;
      -#elif defined(TQ_WS_X11) || defined(TQ_WS_MAC)
      -    HANDLE	handle() const;
      -#endif
      -
      -
      -    static void initialize();
      -    static void cleanup();
      -
      -private:
      -    void	init();
      -    void        destroy();
      -    void	updateFont();
      -    void	updatePen();
      -    void	updateBrush();
      -#ifndef TQT_NO_TRANSFORMATIONS
      -    void	updateXForm();
      -    void	updateInvXForm();
      -#endif
      -    void	map( int, int, int *rx, int *ry ) const;
      -    void	map( int, int, int, int, int *, int *, int *, int * ) const;
      -    void	mapInv( int, int, int *, int * ) const;
      -    void	mapInv( int, int, int, int, int *, int *, int *, int * ) const;
      -    void	drawPolyInternal( const TQPointArray &, bool close=TRUE );
      -    void	drawWinFocusRect( int x, int y, int w, int h, bool xorPaint,
      -				  const TQColor &penColor );
      -
      -    enum { IsActive=0x01, ExtDev=0x02, IsStartingUp=0x04, NoCache=0x08,
      -	   VxF=0x10, WxF=0x20, ClipOn=0x40, SafePolygon=0x80, MonoDev=0x100,
      -	   DirtyFont=0x200, DirtyPen=0x400, DirtyBrush=0x800,
      -	   RGBColor=0x1000, FontMet=0x2000, FontInf=0x4000, CtorBegin=0x8000,
      -           UsePrivateCx = 0x10000, VolatileDC = 0x20000, TQt2Compat = 0x40000 };
      -    uint	flags;
      -    bool	testf( uint b ) const { return (flags&b)!=0; }
      -    void	setf( uint b )	{ flags |= b; }
      -    void	setf( uint b, bool v );
      -    void	clearf( uint b )	{ flags &= (uint)(~b); }
      -    void	fix_neg_rect( int *x, int *y, int *w, int *h );
      -
      -    TQPainterPrivate *d;
      -    TQPaintDevice *pdev;
      -    TQColor	bg_col;
      -    uchar	bg_mode;
      -    uchar	rop;
      -    uchar	pu;
      -    TQPoint	bro;
      -    TQFont	cfont;
      -    TQFont *pfont; 	// font used for metrics (might be different for printers)
      -    TQPen	cpen;
      -    TQBrush	cbrush;
      -    TQRegion	crgn;
      -    int		tabstops;
      -    int	       *tabarray;
      -    int		tabarraylen;
      -    bool	block_ext;	// for temporary blocking of external devices
      -
      -    // Transformations
      -#ifndef TQT_NO_TRANSFORMATIONS
      -    TQCOORD	wx, wy, ww, wh;
      -    TQCOORD	vx, vy, vw, vh;
      -    TQWMatrix	wxmat;
      -
      -    // Cached composition (and inverse) of transformations
      -    TQWMatrix	xmat;
      -    TQWMatrix	ixmat;
      -
      -
      -
      -    double	m11() const { return xmat.m11(); }
      -    double      m12() const { return xmat.m12(); }
      -    double      m21() const { return xmat.m21(); }
      -    double      m22() const { return xmat.m22(); }
      -    double      dx() const { return xmat.dx(); }
      -    double      dy() const { return xmat.dy(); }
      -    double	im11() const { return ixmat.m11(); }
      -    double      im12() const { return ixmat.m12(); }
      -    double      im21() const { return ixmat.m21(); }
      -    double      im22() const { return ixmat.m22(); }
      -    double      idx() const { return ixmat.dx(); }
      -    double      idy() const { return ixmat.dy(); }
      -
      -    int		txop;
      -    bool	txinv;
      -
      -#else
      -    // even without transformations we still have translations
      -    int		xlatex;
      -    int		xlatey;
      -#endif
      -
      -    void       *penRef;				// pen cache ref
      -    void       *brushRef;			// brush cache ref
      -    void       *ps_stack;
      -    void       *wm_stack;
      -    void	killPStack();
      -
      -protected:
      -#ifdef Q_OS_TEMP
      -    TQPoint	internalCurrentPos;
      -    uint	old_pix;			// ### All win platforms in 4.0
      -#endif
      -#if defined(TQ_WS_WIN)
      -    friend class TQFontEngineWin;
      -    friend class TQFontEngineBox;
      -    QT_WIN_PAINTER_MEMBERS
      -#elif defined(TQ_WS_X11)
      -    friend class TQFontEngineXLFD;
      -    friend class TQFontEngineXft;
      -    friend class TQFontEngineBox;
      -    Display    *dpy;				// current display
      -    int		scrn;				// current screen
      -    TQt::HANDLE	hd;				// handle to drawable
      -    TQt::HANDLE  rendhd;				// handle to Xft draw
      -    GC		gc;				// graphics context (standard)
      -    GC		gc_brush;			// graphics contect for brush
      -    TQPoint	curPt;				// current point
      -    uint	clip_serial;			// clipping serial number
      -#elif defined(TQ_WS_MAC)
      -    TQt::HANDLE	hd;				// handle to drawable
      -    void initPaintDevice(bool force=FALSE, TQPoint *off=NULL, TQRegion *rgn=NULL);
      -    friend const TQRegion &qt_mac_update_painter(TQPainter *, bool);
      -    friend class TQFontEngineMac;
      -    friend class TQMacPainter;
      -#endif
      -    friend class TQFontMetrics;
      -    friend class TQFontInfo;
      -    friend class TQTextLayout;
      -    friend void qt_format_text( const TQFont &, const TQRect &r,
      -		     int tf, const TQString& str, int len, TQRect *brect,
      -		     int tabstops, int* tabarray, int tabarraylen,
      -		     TQTextParag **internal, TQPainter* painter );
      -    friend void qt_draw_background( TQPainter *p, int x, int y, int w,  int h );
      -    friend void qt_draw_transformed_rect( TQPainter *p,  int x, int y, int w,  int h, bool fill );
      -    friend class TQPrinter;
      -
      -private:	// Disabled copy constructor and operator=
      -#if defined(TQ_DISABLE_COPY)
      -    TQPainter( const TQPainter & );
      -    TQPainter &operator=( const TQPainter & );
      -#endif
      -
      -    enum TransformationCodes {
      -	TxNone      = 0,		// transformation codes
      -	TxTranslate = 1,		// copy in qpainter_*.cpp
      -	TxScale     = 2,
      -	TxRotShear  = 3
      -    };
      -};
      -
      -
      -/*****************************************************************************
      -  TQPainter member functions
      - *****************************************************************************/
      -
      -inline TQPaintDevice *TQPainter::device() const
      -{
      -    return pdev;
      -}
      -
      -inline bool TQPainter::isActive() const
      -{
      -    return testf(IsActive);
      -}
      -
      -inline const TQFont &TQPainter::font() const
      -{
      -    return cfont;
      -}
      -
      -inline const TQPen &TQPainter::pen() const
      -{
      -    return cpen;
      -}
      -
      -inline const TQBrush &TQPainter::brush() const
      -{
      -    return cbrush;
      -}
      -
      -/*
      -inline PaintUnit TQPainter::unit() const
      -{
      -    return (PaintUnit)pu;
      -}
      -*/
      -
      -inline const TQColor &TQPainter::backgroundColor() const
      -{
      -    return bg_col;
      -}
      -
      -inline TQt::BGMode TQPainter::backgroundMode() const
      -{
      -    return (BGMode)bg_mode;
      -}
      -
      -inline TQt::RasterOp TQPainter::rasterOp() const
      -{
      -    return (RasterOp)rop;
      -}
      -
      -inline const TQPoint &TQPainter::brushOrigin() const
      -{
      -    return bro;
      -}
      -
      -inline bool TQPainter::hasViewXForm() const
      -{
      -#ifndef TQT_NO_TRANSFORMATIONS
      -    return testf(VxF);
      -#else
      -    return xlatex || xlatey;
      -#endif
      -}
      -
      -inline bool TQPainter::hasWorldXForm() const
      -{
      -#ifndef TQT_NO_TRANSFORMATIONS
      -    return testf(WxF);
      -#else
      -    return xlatex || xlatey;
      -#endif
      -}
      -
      -inline double TQPainter::translationX() const
      -{
      -#ifndef TQT_NO_TRANSFORMATIONS
      -    return worldMatrix().dx();
      -#else
      -    return xlatex;
      -#endif
      -}
      -
      -inline double TQPainter::translationY() const
      -{
      -#ifndef TQT_NO_TRANSFORMATIONS
      -    return worldMatrix().dy();
      -#else
      -    return xlatey;
      -#endif
      -}
      -
      -
      -inline bool TQPainter::hasClipping() const
      -{
      -    return testf(ClipOn);
      -}
      -
      -inline int TQPainter::tabStops() const
      -{
      -    return tabstops;
      -}
      -
      -inline int *TQPainter::tabArray() const
      -{
      -    return tabarray;
      -}
      -
      -#if defined(TQ_WS_WIN)
      -inline HDC TQPainter::handle() const
      -{
      -    return hdc;
      -}
      -#elif defined(TQ_WS_X11) || defined(TQ_WS_MAC)
      -inline TQt::HANDLE TQPainter::handle() const
      -{
      -    return hd;
      -}
      -#endif
      -
      -inline void TQPainter::setBrushOrigin( const TQPoint &p )
      -{
      -    setBrushOrigin( p.x(), p.y() );
      -}
      -
      -#ifndef TQT_NO_TRANSFORMATIONS
      -inline void TQPainter::setWindow( const TQRect &r )
      -{
      -    setWindow( r.x(), r.y(), r.width(), r.height() );
      -}
      -
      -inline void TQPainter::setViewport( const TQRect &r )
      -{
      -    setViewport( r.x(), r.y(), r.width(), r.height() );
      -}
      -#endif
      -
      -inline void TQPainter::setClipRect( int x, int y, int w, int h, CoordinateMode m )
      -{
      -    setClipRect( TQRect(x,y,w,h), m );
      -}
      -
      -inline void TQPainter::drawPoint( const TQPoint &p )
      -{
      -    drawPoint( p.x(), p.y() );
      -}
      -
      -inline void TQPainter::moveTo( const TQPoint &p )
      -{
      -    moveTo( p.x(), p.y() );
      -}
      -
      -inline void TQPainter::lineTo( const TQPoint &p )
      -{
      -    lineTo( p.x(), p.y() );
      -}
      -
      -inline void TQPainter::drawLine( const TQPoint &p1, const TQPoint &p2 )
      -{
      -    drawLine( p1.x(), p1.y(), p2.x(), p2.y() );
      -}
      -
      -inline void TQPainter::drawRect( const TQRect &r )
      -{
      -    drawRect( r.x(), r.y(), r.width(), r.height() );
      -}
      -
      -inline void TQPainter::drawWinFocusRect( const TQRect &r )
      -{
      -    drawWinFocusRect( r.x(), r.y(), r.width(), r.height() );
      -}
      -
      -inline void TQPainter::drawWinFocusRect( const TQRect &r,const TQColor &penColor )
      -{
      -    drawWinFocusRect( r.x(), r.y(), r.width(), r.height(), penColor );
      -}
      -
      -inline void TQPainter::drawRoundRect( const TQRect &r, int xRnd, int yRnd )
      -{
      -    drawRoundRect( r.x(), r.y(), r.width(), r.height(), xRnd, yRnd );
      -}
      -
      -inline void TQPainter::drawEllipse( const TQRect &r )
      -{
      -    drawEllipse( r.x(), r.y(), r.width(), r.height() );
      -}
      -
      -inline void TQPainter::drawArc( const TQRect &r, int a, int alen )
      -{
      -    drawArc( r.x(), r.y(), r.width(), r.height(), a, alen );
      -}
      -
      -inline void TQPainter::drawPie( const TQRect &r, int a, int alen )
      -{
      -    drawPie( r.x(), r.y(), r.width(), r.height(), a, alen );
      -}
      -
      -inline void TQPainter::drawChord( const TQRect &r, int a, int alen )
      -{
      -    drawChord( r.x(), r.y(), r.width(), r.height(), a, alen );
      -}
      -
      -inline void TQPainter::drawPixmap( const TQPoint &p, const TQPixmap &pm,
      -				  const TQRect &sr )
      -{
      -    drawPixmap( p.x(), p.y(), pm, sr.x(), sr.y(), sr.width(), sr.height() );
      -}
      -
      -inline void TQPainter::drawImage( const TQPoint &p, const TQImage &pm,
      -                                 const TQRect &sr, int conversionFlags )
      -{
      -    drawImage( p.x(), p.y(), pm,
      -	       sr.x(), sr.y(), sr.width(), sr.height(), conversionFlags );
      -}
      -
      -inline void TQPainter::drawTiledPixmap( const TQRect &r, const TQPixmap &pm,
      -				       const TQPoint &sp )
      -{
      -    drawTiledPixmap( r.x(), r.y(), r.width(), r.height(), pm, sp.x(), sp.y() );
      -}
      -
      -inline void TQPainter::drawTiledPixmap( const TQRect &r, const TQPixmap &pm )
      -{
      -    drawTiledPixmap( r.x(), r.y(), r.width(), r.height(), pm, 0, 0 );
      -}
      -
      -inline void TQPainter::fillRect( const TQRect &r, const TQBrush &brush )
      -{
      -    fillRect( r.x(), r.y(), r.width(), r.height(), brush );
      -}
      -
      -inline void TQPainter::eraseRect( int x, int y, int w, int h )
      -{
      -    fillRect( x, y, w, h, backgroundColor() );
      -}
      -
      -inline void TQPainter::eraseRect( const TQRect &r )
      -{
      -    fillRect( r.x(), r.y(), r.width(), r.height(), backgroundColor() );
      -}
      -
      -inline void TQPainter::drawText( const TQPoint &p, const TQString &s, int len, TextDirection dir )
      -{
      -    drawText( p.x(), p.y(), s, 0, len, dir );
      -}
      -
      -inline void TQPainter::drawText( const TQPoint &p, const TQString &s, int pos, int len, TextDirection dir )
      -{
      -    drawText( p.x(), p.y(), s, pos, len, dir );
      -}
      -
      -inline void TQPainter::drawText( int x, int y, int w, int h, int tf,
      -				const TQString& str, int len, TQRect *br, TQTextParag **i )
      -{
      -    TQRect r(x, y, w, h);
      -    drawText( r, tf, str, len, br, i );
      -}
      -
      -inline void TQPainter::drawTextItem( const TQPoint& p, const TQTextItem &ti, int textflags )
      -{
      -    drawTextItem( p.x(), p.y(), ti, textflags );
      -}
      -
      -inline TQRect TQPainter::boundingRect( int x, int y, int w, int h, int tf,
      -				     const TQString& str, int len, TQTextParag **i )
      -{
      -    TQRect r(x, y, w, h);
      -    return boundingRect( r, tf, str, len, i );
      -}
      -
      -#endif // TQPAINTER_H
      -
      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qpainter-members.html b/doc/html/qpainter-members.html deleted file mode 100644 index 57c3cd0dc..000000000 --- a/doc/html/qpainter-members.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - -TQPainter Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQPainter

      - -

      This is the complete list of member functions for -TQPainter, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qpaintevent-members.html b/doc/html/qpaintevent-members.html deleted file mode 100644 index e0a48dbbb..000000000 --- a/doc/html/qpaintevent-members.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - -TQPaintEvent Member List - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      Complete Member List for TQPaintEvent

      - -

      This is the complete list of member functions for -TQPaintEvent, including inherited members. - -

      - -


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qpaintevent.html b/doc/html/qpaintevent.html deleted file mode 100644 index bfdcea31e..000000000 --- a/doc/html/qpaintevent.html +++ /dev/null @@ -1,119 +0,0 @@ - - - - - -TQPaintEvent Class - - - - - - - -
      - -Home - | -All Classes - | -Main Classes - | -Annotated - | -Grouped Classes - | -Functions -

      TQPaintEvent Class Reference

      - -

      The TQPaintEvent class contains event parameters for paint events. -More... -

      #include <ntqevent.h> -

      Inherits TQEvent. -

      List of all member functions. -

      Public Members

      -
        -
      • TQPaintEvent ( const TQRegion & paintRegion, bool erased = TRUE )
      • -
      • TQPaintEvent ( const TQRect & paintRect, bool erased = TRUE )
      • -
      • TQPaintEvent ( const TQRegion & paintRegion, const TQRect & paintRect, bool erased = TRUE )
      • -
      • const TQRect & rect () const
      • -
      • const TQRegion & region () const
      • -
      • bool erased () const
      • -
      -

      Detailed Description

      - - -The TQPaintEvent class contains event parameters for paint events. -

      -

      Paint events are sent to widgets that need to update themselves, -for instance when part of a widget is exposed because a covering -widget is moved. -

      The event contains a region() that needs to be updated, and a -rect() that is the bounding rectangle of that region. Both are -provided because many widgets can't make much use of region(), and -rect() can be much faster than region().boundingRect(). Painting -is clipped to region() during processing of a paint event. -

      The erased() function returns TRUE if the region() has been -cleared to the widget's background (see -TQWidget::backgroundMode()), and FALSE if the region's contents are -arbitrary. -

      See also TQPainter, TQWidget::update(), TQWidget::repaint(), TQWidget::paintEvent(), TQWidget::backgroundMode, TQRegion, and Event Classes. - -


      Member Function Documentation

      -

      TQPaintEvent::TQPaintEvent ( const TQRegion & paintRegion, bool erased = TRUE ) -

      - -

      Constructs a paint event object with the region that should be -updated. The region is given by paintRegion. If erased is -TRUE the region will be cleared before repainting. - -

      TQPaintEvent::TQPaintEvent ( const TQRect & paintRect, bool erased = TRUE ) -

      - -

      Constructs a paint event object with the rectangle that should be -updated. The region is also given by paintRect. If erased is -TRUE the region will be cleared before repainting. - -

      TQPaintEvent::TQPaintEvent ( const TQRegion & paintRegion, const TQRect & paintRect, bool erased = TRUE ) -

      - -

      Constructs a paint event object with the rectangle paintRect -that should be updated. The region is given by paintRegion. If -erased is TRUE the region will be cleared before repainting. - -

      bool TQPaintEvent::erased () const -

      - -

      Returns TRUE if the paint event region (or rectangle) has been -erased with the widget's background; otherwise returns FALSE. - -

      const TQRect & TQPaintEvent::rect () const -

      - -

      Returns the rectangle that should be updated. -

      See also region() and TQPainter::setClipRect(). - -

      Examples: life/life.cpp, qfd/fontdisplayer.cpp, showimg/showimg.cpp, t10/cannon.cpp, t11/cannon.cpp, t13/cannon.cpp, and tooltip/tooltip.cpp. -

      const TQRegion & TQPaintEvent::region () const -

      - -

      Returns the region that should be updated. -

      See also rect() and TQPainter::setClipRegion(). - -

      Examples: qfd/fontdisplayer.cpp and scribble/scribble.cpp. - -


      -This file is part of the TQt toolkit. -Copyright © 1995-2007 -Trolltech. All Rights Reserved.


      - -
      Copyright © 2007 -TrolltechTrademarks -
      TQt 3.3.8
      -
      - diff --git a/doc/html/qpalette-h.html b/doc/html/qpalette-h.html index ccedcc6b5..4f748b6ce 100644 --- a/doc/html/qpalette-h.html +++ b/doc/html/qpalette-h.html @@ -79,9 +79,9 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "ntqwindowdefs.h" -#include "ntqcolor.h" +#include "tqcolor.h" #include "ntqshared.h" -#include "ntqbrush.h" // TQColor->TQBrush conversion +#include "tqbrush.h" // TQColor->TQBrush conversion #endif // QT_H #ifndef TQT_NO_PALETTE diff --git a/doc/html/qpen-h.html b/doc/html/qpen-h.html index 72ef832c7..dcac5bba4 100644 --- a/doc/html/qpen-h.html +++ b/doc/html/qpen-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQPEN_H #ifndef QT_H -#include "ntqcolor.h" +#include "tqcolor.h" #include "ntqshared.h" #endif // QT_H diff --git a/doc/html/qpicture-h.html b/doc/html/qpicture-h.html index 4a83c6a21..a1a98f644 100644 --- a/doc/html/qpicture-h.html +++ b/doc/html/qpicture-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQPICTURE_H #ifndef QT_H -#include "ntqpaintdevice.h" +#include "tqpaintdevice.h" #include "tqbuffer.h" #endif // QT_H diff --git a/doc/html/qpicture-members.html b/doc/html/qpicture-members.html index 9746d4985..ef241f24e 100644 --- a/doc/html/qpicture-members.html +++ b/doc/html/qpicture-members.html @@ -38,43 +38,43 @@ body { background: #ffffff; color: black; }
    • TQPicture()
    • ~TQPicture()
    • boundingRect() -
    • cmd() +
    • cmd()
    • copy()
    • data()
    • detach() -
    • handle() -
    • isExtDev() +
    • handle() +
    • isExtDev()
    • isNull()
    • load()
    • metric()
    • operator=() -
    • paintingActive() +
    • paintingActive()
    • play()
    • save()
    • setBoundingRect()
    • setData()
    • size() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()


      diff --git a/doc/html/qpixmap-h.html b/doc/html/qpixmap-h.html index 408930e20..b2002e9b3 100644 --- a/doc/html/qpixmap-h.html +++ b/doc/html/qpixmap-h.html @@ -78,8 +78,8 @@ body { background: #ffffff; color: black; } #define TQPIXMAP_H #ifndef QT_H -#include "ntqpaintdevice.h" -#include "ntqcolor.h" // char*->TQColor conversion +#include "tqpaintdevice.h" +#include "tqcolor.h" // char*->TQColor conversion #include "tqstring.h" // char*->TQString conversion #include "ntqnamespace.h" #endif // QT_H diff --git a/doc/html/qpixmap-members.html b/doc/html/qpixmap-members.html index 376726d34..af71e9ab3 100644 --- a/doc/html/qpixmap-members.html +++ b/doc/html/qpixmap-members.html @@ -37,7 +37,7 @@ body { background: #ffffff; color: black; } diff --git a/doc/html/qprinter-h.html b/doc/html/qprinter-h.html index fef22f398..c5a105f20 100644 --- a/doc/html/qprinter-h.html +++ b/doc/html/qprinter-h.html @@ -78,7 +78,7 @@ body { background: #ffffff; color: black; } #define TQPRINTER_H #ifndef QT_H -#include "ntqpaintdevice.h" +#include "tqpaintdevice.h" #include "tqstring.h" #include "tqstringlist.h" #endif // QT_H diff --git a/doc/html/qprinter-members.html b/doc/html/qprinter-members.html index b60cb409f..771ba41f5 100644 --- a/doc/html/qprinter-members.html +++ b/doc/html/qprinter-members.html @@ -39,14 +39,14 @@ body { background: #ffffff; color: black; }
    • ~TQPrinter()
    • abort()
    • aborted() -
    • cmd() +
    • cmd()
    • colorMode()
    • creator()
    • docName()
    • fromPage()
    • fullPage() -
    • handle() -
    • isExtDev() +
    • handle() +
    • isExtDev()
    • isOptionEnabled()
    • margins()
    • maxPage() @@ -58,7 +58,7 @@ body { background: #ffffff; color: black; }
    • outputToFile()
    • pageOrder()
    • pageSize() -
    • paintingActive() +
    • paintingActive()
    • paperSource()
    • printProgram()
    • printRange() @@ -89,27 +89,27 @@ body { background: #ffffff; color: black; }
    • setup()
    • toPage()
    • winPageSize() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()


      diff --git a/doc/html/qprogressbar-members.html b/doc/html/qprogressbar-members.html index b283c39b2..396c13dd7 100644 --- a/doc/html/qprogressbar-members.html +++ b/doc/html/qprogressbar-members.html @@ -62,7 +62,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -119,7 +119,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -145,7 +145,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -203,7 +203,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -334,28 +334,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qprogressdialog-members.html b/doc/html/qprogressdialog-members.html index 1d4d30702..8cfbb7056 100644 --- a/doc/html/qprogressdialog-members.html +++ b/doc/html/qprogressdialog-members.html @@ -68,7 +68,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -120,7 +120,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -145,7 +145,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -204,7 +204,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -340,28 +340,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qpushbutton-members.html b/doc/html/qpushbutton-members.html index fd003298d..5e16d8d6b 100644 --- a/doc/html/qpushbutton-members.html +++ b/doc/html/qpushbutton-members.html @@ -67,7 +67,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -118,7 +118,7 @@ body { background: #ffffff; color: black; }
    • grabKeyboard()
    • grabMouse()
    • group() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -148,7 +148,7 @@ body { background: #ffffff; color: black; }
    • isEnabledTo()
    • isEnabledToTLW()
    • isExclusiveToggle() -
    • isExtDev() +
    • isExtDev()
    • isFlat()
    • isFocusEnabled()
    • isFullScreen() @@ -207,7 +207,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -345,28 +345,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qradiobutton-members.html b/doc/html/qradiobutton-members.html index b2ed8fcde..87327036a 100644 --- a/doc/html/qradiobutton-members.html +++ b/doc/html/qradiobutton-members.html @@ -65,7 +65,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -116,7 +116,7 @@ body { background: #ffffff; color: black; }
    • grabKeyboard()
    • grabMouse()
    • group() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -145,7 +145,7 @@ body { background: #ffffff; color: black; }
    • isEnabledTo()
    • isEnabledToTLW()
    • isExclusiveToggle() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -202,7 +202,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -334,28 +334,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qscrollbar-members.html b/doc/html/qscrollbar-members.html index d054b7b09..484aeab0d 100644 --- a/doc/html/qscrollbar-members.html +++ b/doc/html/qscrollbar-members.html @@ -65,7 +65,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -115,7 +115,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -140,7 +140,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -202,7 +202,7 @@ body { background: #ffffff; color: black; }
    • ownPalette()
    • pageStep()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -342,28 +342,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qscrollview-members.html b/doc/html/qscrollview-members.html index 716fdeb13..6402f5221 100644 --- a/doc/html/qscrollview-members.html +++ b/doc/html/qscrollview-members.html @@ -69,7 +69,7 @@ body { background: #ffffff; color: black; }
    • clipper()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -148,7 +148,7 @@ body { background: #ffffff; color: black; }
    • grabKeyboard()
    • grabMouse()
    • hScrollBarMode() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -177,7 +177,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -239,7 +239,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -389,28 +389,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qslider-members.html b/doc/html/qslider-members.html index 359318b6a..d9726a1d9 100644 --- a/doc/html/qslider-members.html +++ b/doc/html/qslider-members.html @@ -66,7 +66,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -115,7 +115,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -140,7 +140,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -200,7 +200,7 @@ body { background: #ffffff; color: black; }
    • ownPalette()
    • pageStep()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -343,28 +343,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qspinbox-members.html b/doc/html/qspinbox-members.html index d893c9266..c8b1828a7 100644 --- a/doc/html/qspinbox-members.html +++ b/doc/html/qspinbox-members.html @@ -67,7 +67,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -119,7 +119,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -145,7 +145,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -206,7 +206,7 @@ body { background: #ffffff; color: black; }
    • ownPalette()
    • pageStep()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -353,28 +353,28 @@ body { background: #ffffff; color: black; }
    • windowState()
    • wrapping()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qsplashscreen-members.html b/doc/html/qsplashscreen-members.html index 39f26888a..bb2600663 100644 --- a/doc/html/qsplashscreen-members.html +++ b/doc/html/qsplashscreen-members.html @@ -63,7 +63,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -113,7 +113,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -138,7 +138,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -195,7 +195,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -310,28 +310,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qsplitter-members.html b/doc/html/qsplitter-members.html index 90ba7cd72..ac27efbdf 100644 --- a/doc/html/qsplitter-members.html +++ b/doc/html/qsplitter-members.html @@ -64,7 +64,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -123,7 +123,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • handleWidth()
    • hasFocus()
    • hasMouse() @@ -150,7 +150,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -213,7 +213,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -343,28 +343,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qsyntaxhighlighter-h.html b/doc/html/qsyntaxhighlighter-h.html index f4e8bb99b..281607f41 100644 --- a/doc/html/qsyntaxhighlighter-h.html +++ b/doc/html/qsyntaxhighlighter-h.html @@ -78,8 +78,8 @@ body { background: #ffffff; color: black; } #define TQSYNTAXHIGHLIGHTER_H #ifndef QT_H -#include "ntqfont.h" -#include "ntqcolor.h" +#include "tqfont.h" +#include "tqcolor.h" #include "tqstring.h" #endif // QT_H diff --git a/doc/html/qt.dcf b/doc/html/qt.dcf index 8f43f24ee..3eaf21acc 100644 --- a/doc/html/qt.dcf +++ b/doc/html/qt.dcf @@ -423,24 +423,24 @@
      -
      - QBrush - color - copy - detach - operator!= - operator= - operator== - pixmap - setColor - setPixmap - setStyle - style - ~QBrush - operator<< - operator>> -
      -
      +
      + TQBrush + color + copy + detach + operator!= + operator= + operator== + pixmap + setColor + setPixmap + setStyle + style + ~TQBrush + operator<< + operator>> +
      +
      TQBuffer @@ -951,65 +951,65 @@
      -
      - TQColor - Spec - alloc - blue - cleanup - colorNames - currentAllocContext - dark - destroyAllocContext - enterAllocContext - getHsv - getRgb - green - initGlobalColors - initialize - isValid - leaveAllocContext - light - maxColors - name - numBitPlanes - operator!= - operator= - operator== - pixel - red - rgb - setHsv - setNamedColor - setRgb - operator<< - operator>> - tqAlpha - tqBlue - tqGray - tqGreen - tqRed - tqRgb - tqRgba -
      -
      -
      -
      - QColorDialog - color - customColor - customCount - getColor - getRgba - selectColor - selectedAlpha - setColor - setCustomColor - setSelectedAlpha - setStandardColor - ~QColorDialog -
      -
      +
      + TQColor + Spec + alloc + blue + cleanup + colorNames + currentAllocContext + dark + destroyAllocContext + enterAllocContext + getHsv + getRgb + green + initGlobalColors + initialize + isValid + leaveAllocContext + light + maxColors + name + numBitPlanes + operator!= + operator= + operator== + pixel + red + rgb + setHsv + setNamedColor + setRgb + operator<< + operator>> + tqAlpha + tqBlue + tqGray + tqGreen + tqRed + tqRgb + tqRgba +
      +
      +
      +
      + TQColorDialog + color + customColor + customCount + getColor + getRgba + selectColor + selectedAlpha + setColor + setCustomColor + setSelectedAlpha + setStandardColor + ~TQColorDialog +
      +
      TQColorDrag @@ -1019,35 +1019,35 @@
      -
      - QColorGroup - ColorRole - background - base - brightText - brush - button - buttonText - color - dark - foreground - highlight - highlightedText - light - link - linkVisited - mid - midlight - operator!= - operator= - operator== - setBrush - setColor - shadow - text - ~QColorGroup - operator<< -
      +
      + TQColorGroup + ColorRole + background + base + brightText + brush + button + buttonText + color + dark + foreground + highlight + highlightedText + light + link + linkVisited + mid + midlight + operator!= + operator= + operator== + setBrush + setColor + shadow + text + ~TQColorGroup + operator<< +
      @@ -2478,141 +2478,141 @@
      -
      - QFont - Script - Stretch - StyleHint - StyleStrategy - Weight - bold - deciPointSize - defaultFamily - dirty - exactMatch - family - fixedPitch - fromString - handle - insertSubstitution - insertSubstitutions - isCopyOf - italic - key - lastResortFamily - lastResortFont - operator!= - operator= - operator== - overline - pixelSize - pointSize - pointSizeFloat - rawMode - rawName - removeSubstitution - resolve - setBold - setFamily - setFixedPitch - setItalic - setOverline - setPixelSize - setPointSize - setPointSizeFloat - setRawMode - setRawName - setStretch - setStrikeOut - setStyleHint - setStyleStrategy - setUnderline - setWeight - stretch - strikeOut - styleHint - styleStrategy - substitute - substitutes - substitutions - toString - underline - weight - ~QFont - operator<< - operator>> -
      -
      -
      -
      - QFontDatabase - bold - families - font - isBitmapScalable - isFixedPitch - isScalable - isSmoothlyScalable - italic - pointSizes - scriptName - scriptSample - smoothSizes - standardSizes - styleString - styles - weight -
      -
      -
      -
      - QFontDialog - getFont -
      -
      -
      -
      - QFontInfo - bold - exactMatch - family - fixedPitch - italic - operator= - pixelSize - pointSize - rawMode - styleHint - weight - ~QFontInfo -
      -
      -
      -
      - QFontMetrics - ascent - boundingRect - charWidth - descent - height - inFont - leading - leftBearing - lineSpacing - lineWidth - maxWidth - minLeftBearing - minRightBearing - operator= - overlinePos - rightBearing - size - strikeOutPos - underlinePos - width - ~QFontMetrics -
      -
      +
      + TQFont + Script + Stretch + StyleHint + StyleStrategy + Weight + bold + deciPointSize + defaultFamily + dirty + exactMatch + family + fixedPitch + fromString + handle + insertSubstitution + insertSubstitutions + isCopyOf + italic + key + lastResortFamily + lastResortFont + operator!= + operator= + operator== + overline + pixelSize + pointSize + pointSizeFloat + rawMode + rawName + removeSubstitution + resolve + setBold + setFamily + setFixedPitch + setItalic + setOverline + setPixelSize + setPointSize + setPointSizeFloat + setRawMode + setRawName + setStretch + setStrikeOut + setStyleHint + setStyleStrategy + setUnderline + setWeight + stretch + strikeOut + styleHint + styleStrategy + substitute + substitutes + substitutions + toString + underline + weight + ~TQFont + operator<< + operator>> +
      +
      +
      +
      + TQFontDatabase + bold + families + font + isBitmapScalable + isFixedPitch + isScalable + isSmoothlyScalable + italic + pointSizes + scriptName + scriptSample + smoothSizes + standardSizes + styleString + styles + weight +
      +
      +
      +
      + TQFontDialog + getFont +
      +
      +
      +
      + TQFontInfo + bold + exactMatch + family + fixedPitch + italic + operator= + pixelSize + pointSize + rawMode + styleHint + weight + ~TQFontInfo +
      +
      +
      +
      + TQFontMetrics + ascent + boundingRect + charWidth + descent + height + inFont + leading + leftBearing + lineSpacing + lineWidth + maxWidth + minLeftBearing + minRightBearing + operator= + overlinePos + rightBearing + size + strikeOutPos + underlinePos + width + ~TQFontMetrics +
      +
      QFrame @@ -4762,38 +4762,38 @@
      -
      - QMovie - Status - backgroundColor - connectResize - connectStatus - connectUpdate - disconnectResize - disconnectStatus - disconnectUpdate - finished - frameImage - frameNumber - framePixmap - getValidRect - isNull - operator= - pause - paused - pushData - pushSpace - restart - running - setBackgroundColor - setSpeed - speed - step - steps - unpause - ~QMovie -
      -
      +
      + TQMovie + Status + backgroundColor + connectResize + connectStatus + connectUpdate + disconnectResize + disconnectStatus + disconnectUpdate + finished + frameImage + frameNumber + framePixmap + getValidRect + isNull + operator= + pause + paused + pushData + pushSpace + restart + running + setBackgroundColor + setSpeed + speed + step + steps + unpause + ~TQMovie +
      +
      alignment @@ -5056,147 +5056,147 @@
      -
      - QPaintDevice - cmd - handle - isExtDev - paintingActive - x11AppCells - x11AppColormap - x11AppDefaultColormap - x11AppDefaultVisual - x11AppDepth - x11AppDisplay - x11AppDpiX - x11AppDpiY - x11AppRootWindow - x11AppScreen - x11AppVisual - x11Cells - x11Colormap - x11DefaultColormap - x11DefaultVisual - x11Depth - x11Display - x11Screen - x11SetAppDpiX - x11SetAppDpiY - x11Visual - ~QPaintDevice - bitBlt -
      -
      -
      -
      - QPaintDeviceMetrics - depth - height - heightMM - logicalDpiX - logicalDpiY - numColors - width - widthMM -
      -
      -
      -
      - QPainter - CoordinateMode - TextDirection - backgroundColor - backgroundMode - begin - boundingRect - brush - brushOrigin - clipRegion - device - drawArc - drawChord - drawConvexPolygon - drawCubicBezier - drawEllipse - drawImage - drawLine - drawLineSegments - drawPicture - drawPie - drawPixmap - drawPoint - drawPoints - drawPolygon - drawPolyline - drawRect - drawRoundRect - drawText - drawTiledPixmap - drawWinFocusRect - end - eraseRect - fillRect - flush - font - fontInfo - fontMetrics - handle - hasClipping - hasViewXForm - hasWorldXForm - isActive - lineTo - moveTo - pen - rasterOp - redirect - resetXForm - restore - rotate - save - scale - setBackgroundColor - setBackgroundMode - setBrush - setBrushOrigin - setClipRect - setClipRegion - setClipping - setFont - setPen - setRasterOp - setTabArray - setTabStops - setViewXForm - setViewport - setWindow - setWorldMatrix - setWorldXForm - shear - tabArray - tabStops - translate - viewport - window - worldMatrix - xForm - xFormDev - ~QPainter - qDrawPlainRect - qDrawShadeLine - qDrawShadePanel - qDrawShadeRect - qDrawWinButton - qDrawWinPanel -
      -
      -
      -
      - QPaintEvent - erased - rect - region -
      +
      + TQPaintDevice + cmd + handle + isExtDev + paintingActive + x11AppCells + x11AppColormap + x11AppDefaultColormap + x11AppDefaultVisual + x11AppDepth + x11AppDisplay + x11AppDpiX + x11AppDpiY + x11AppRootWindow + x11AppScreen + x11AppVisual + x11Cells + x11Colormap + x11DefaultColormap + x11DefaultVisual + x11Depth + x11Display + x11Screen + x11SetAppDpiX + x11SetAppDpiY + x11Visual + ~TQPaintDevice + bitBlt +
      +
      +
      +
      + TQPaintDeviceMetrics + depth + height + heightMM + logicalDpiX + logicalDpiY + numColors + width + widthMM +
      +
      +
      +
      + TQPainter + CoordinateMode + TextDirection + backgroundColor + backgroundMode + begin + boundingRect + brush + brushOrigin + clipRegion + device + drawArc + drawChord + drawConvexPolygon + drawCubicBezier + drawEllipse + drawImage + drawLine + drawLineSegments + drawPicture + drawPie + drawPixmap + drawPoint + drawPoints + drawPolygon + drawPolyline + drawRect + drawRoundRect + drawText + drawTiledPixmap + drawWinFocusRect + end + eraseRect + fillRect + flush + font + fontInfo + fontMetrics + handle + hasClipping + hasViewXForm + hasWorldXForm + isActive + lineTo + moveTo + pen + rasterOp + redirect + resetXForm + restore + rotate + save + scale + setBackgroundColor + setBackgroundMode + setBrush + setBrushOrigin + setClipRect + setClipRegion + setClipping + setFont + setPen + setRasterOp + setTabArray + setTabStops + setViewXForm + setViewport + setWindow + setWorldMatrix + setWorldXForm + shear + tabArray + tabStops + translate + viewport + window + worldMatrix + xForm + xFormDev + ~TQPainter + qDrawPlainRect + qDrawShadeLine + qDrawShadePanel + qDrawShadeRect + qDrawWinButton + qDrawWinPanel +
      +
      +
      +
      + TQPaintEvent + erased + rect + region +
      @@ -9269,8 +9269,8 @@
      A Rectangle Draw "Benchmark"
      -
      - A simple demonstration of QFont member functions +
      + A simple demonstration of TQFont member functions
      A simple HTTP daemon @@ -9659,8 +9659,8 @@
      QEmbed - File and Image Embedder
      -
      - qfont-examples +
      + tqfont-examples
      QMag diff --git a/doc/html/qtabbar-members.html b/doc/html/qtabbar-members.html index b6129c88e..c2bafd3e8 100644 --- a/doc/html/qtabbar-members.html +++ b/doc/html/qtabbar-members.html @@ -63,7 +63,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -113,7 +113,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -140,7 +140,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -201,7 +201,7 @@ body { background: #ffffff; color: black; }
    • paint()
    • paintEvent()
    • paintLabel() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -327,28 +327,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qtabdialog-members.html b/doc/html/qtabdialog-members.html index 0889800b9..b25ca0e26 100644 --- a/doc/html/qtabdialog-members.html +++ b/doc/html/qtabdialog-members.html @@ -68,7 +68,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -122,7 +122,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasApplyButton()
    • hasCancelButton()
    • hasDefaultButton() @@ -154,7 +154,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -212,7 +212,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -345,28 +345,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qtable-members.html b/doc/html/qtable-members.html index 428d97929..3078ab629 100644 --- a/doc/html/qtable-members.html +++ b/doc/html/qtable-members.html @@ -81,7 +81,7 @@ body { background: #ffffff; color: black; }
    • clipper()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • columnAt()
    • columnClicked() @@ -184,7 +184,7 @@ body { background: #ffffff; color: black; }
    • grabKeyboard()
    • grabMouse()
    • hScrollBarMode() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -225,7 +225,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -300,7 +300,7 @@ body { background: #ffffff; color: black; }
    • paintEmptyArea()
    • paintEvent()
    • paintFocus() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -513,28 +513,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qtableitem.html b/doc/html/qtableitem.html index 283244908..551dbe477 100644 --- a/doc/html/qtableitem.html +++ b/doc/html/qtableitem.html @@ -301,7 +301,7 @@ sorting. The default implementation returns the text() of th relevant item.

      See also TQTable::sorting. -

      void TQTableItem::paint ( TQPainter * p, const TQColorGroup & cg, const TQRect & cr, bool selected ) [virtual] +

      void TQTableItem::paint ( TQPainter * p, const TQColorGroup & cg, const TQRect & cr, bool selected ) [virtual]

      This virtual function is used to paint the contents of an item using the painter p in the rectangular area cr using the diff --git a/doc/html/qtabwidget-members.html b/doc/html/qtabwidget-members.html index 5e6f82116..98ae5d3f7 100644 --- a/doc/html/qtabwidget-members.html +++ b/doc/html/qtabwidget-members.html @@ -63,7 +63,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -116,7 +116,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -143,7 +143,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -202,7 +202,7 @@ body { background: #ffffff; color: black; }
    • ownPalette()
    • page()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -334,28 +334,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qvbox-members.html b/doc/html/qvbox-members.html index 4db3be526..b1e4c2b3a 100644 --- a/doc/html/qvbox-members.html +++ b/doc/html/qvbox-members.html @@ -61,7 +61,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -118,7 +118,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -143,7 +143,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -201,7 +201,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -323,28 +323,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qvbuttongroup-members.html b/doc/html/qvbuttongroup-members.html index a4b6913e9..3f951a633 100644 --- a/doc/html/qvbuttongroup-members.html +++ b/doc/html/qvbuttongroup-members.html @@ -65,7 +65,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • columns()
    • connect() @@ -124,7 +124,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -156,7 +156,7 @@ body { background: #ffffff; color: black; }
    • isEnabledTo()
    • isEnabledToTLW()
    • isExclusive() -
    • isExtDev() +
    • isExtDev()
    • isFlat()
    • isFocusEnabled()
    • isFullScreen() @@ -218,7 +218,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -358,28 +358,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qvgroupbox-members.html b/doc/html/qvgroupbox-members.html index c0d54ecba..965f4eac7 100644 --- a/doc/html/qvgroupbox-members.html +++ b/doc/html/qvgroupbox-members.html @@ -64,7 +64,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • columns()
    • connect() @@ -122,7 +122,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -151,7 +151,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFlat()
    • isFocusEnabled()
    • isFullScreen() @@ -211,7 +211,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -343,28 +343,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qwerty-example.html b/doc/html/qwerty-example.html index 5f8a887a7..b38dabef1 100644 --- a/doc/html/qwerty-example.html +++ b/doc/html/qwerty-example.html @@ -114,11 +114,11 @@ private: #include <tqfiledialog.h> #include <tqpopupmenu.h> #include <tqtextstream.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <ntqmessagebox.h> -#include <ntqpaintdevicemetrics.h> +#include <tqpaintdevicemetrics.h> #include <tqptrlist.h> -#include <ntqfontdialog.h> +#include <tqfontdialog.h> #include <tqtextcodec.h> @@ -179,7 +179,7 @@ enum { Uni = 0, MBug = 1, Lat1 = 2, Local = 3, Guess = 4, Codec = 5 }; // Unifont only comes in one pixel size, so we cannot let // it change pixel size as the display DPI changes. // - TQFont unifont("unifont",16,50); unifont.setPixelSize(16); + TQFont unifont("unifont",16,50); unifont.setPixelSize(16); e->setFont( unifont ); e->setFocus(); @@ -193,7 +193,7 @@ Editor::~Editor() { #ifndef TQT_NO_FONTDIALOG bool ok; - TQFont f = TQFontDialog::getFont( &ok, e->font() ); + TQFont f = TQFontDialog::getFont( &ok, e->font() ); if ( ok ) { e->setFont( f ); } @@ -379,29 +379,29 @@ void Editor::print() #ifndef TQT_NO_PRINTER if ( printer.setup(this) ) { // opens printer dialog printer.setFullPage(TRUE); // we'll set our own margins - TQPainter p; - p.begin( &printer ); // paint on printer - p.setFont( e->font() ); - TQFontMetrics fm = p.fontMetrics(); - TQPaintDeviceMetrics metrics( &printer ); // need width/height + TQPainter p; + p.begin( &printer ); // paint on printer + p.setFont( e->font() ); + TQFontMetrics fm = p.fontMetrics(); + TQPaintDeviceMetrics metrics( &printer ); // need width/height // of printer surface - const int MARGIN = metrics.logicalDpiX() / 2; // half-inch margin + const int MARGIN = metrics.logicalDpiX() / 2; // half-inch margin int yPos = MARGIN; // y position for each line for( int i = 0 ; i < e->numLines() ; i++ ) { if ( printer.aborted() ) break; - if ( yPos + fm.lineSpacing() > metrics.height() - MARGIN ) { + if ( yPos + fm.lineSpacing() > metrics.height() - MARGIN ) { // no more room on this page if ( !printer.newPage() ) // start new page break; // some error yPos = MARGIN; // back to top of page } - p.drawText( MARGIN, yPos, metrics.width() - 2*MARGIN, - fm.lineSpacing(), ExpandTabs, e->textLine( i ) ); - yPos += fm.lineSpacing(); + p.drawText( MARGIN, yPos, metrics.width() - 2*MARGIN, + fm.lineSpacing(), ExpandTabs, e->textLine( i ) ); + yPos += fm.lineSpacing(); } - p.end(); // send job to printer + p.end(); // send job to printer } #endif } diff --git a/doc/html/qwizard-members.html b/doc/html/qwizard-members.html index 06baf2047..61a192667 100644 --- a/doc/html/qwizard-members.html +++ b/doc/html/qwizard-members.html @@ -68,7 +68,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -121,7 +121,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -151,7 +151,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -214,7 +214,7 @@ body { background: #ffffff; color: black; }
    • page()
    • pageCount()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -348,28 +348,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/qxtwidget-members.html b/doc/html/qxtwidget-members.html index 88e4d97a0..1612ab731 100644 --- a/doc/html/qxtwidget-members.html +++ b/doc/html/qxtwidget-members.html @@ -62,7 +62,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -110,7 +110,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -135,7 +135,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -190,7 +190,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -303,28 +303,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • xtWidget()
    • y() diff --git a/doc/html/richtext-example.html b/doc/html/richtext-example.html index f592e46e4..119aaa472 100644 --- a/doc/html/richtext-example.html +++ b/doc/html/richtext-example.html @@ -95,7 +95,7 @@ protected slots: #include <ntqhbox.h> #include <ntqpushbutton.h> #include <tqtextview.h> -#include <ntqbrush.h> +#include <tqbrush.h> #include <ntqapplication.h> static const char* sayings[] = { @@ -163,9 +163,9 @@ static const char* sayings[] = { view = new TQTextView( this ); view->setText( "This is a <b>Test</b> with <i>italic</i> <u>stuff</u>" ); - TQBrush paper; - paper.setPixmap( TQPixmap( "../richtext/marble.png" ) ); - if ( paper.pixmap() != 0 ) + TQBrush paper; + paper.setPixmap( TQPixmap( "../richtext/marble.png" ) ); + if ( paper.pixmap() != 0 ) view->setPaper( paper ); else view->setPaper( white ); diff --git a/doc/html/scribble-example.html b/doc/html/scribble-example.html index 81d5aa09d..6d0ee2343 100644 --- a/doc/html/scribble-example.html +++ b/doc/html/scribble-example.html @@ -71,13 +71,13 @@ class Canvas : public TQWidget public: Canvas( TQWidget *parent = 0, const char *name = 0 ); - void setPenColor( const TQColor &c ) + void setPenColor( const TQColor &c ) { pen.setColor( c ); } void setPenWidth( int w ) { pen.setWidth( w ); } - TQColor penColor() + TQColor penColor() { return pen.color(); } int penWidth() @@ -92,7 +92,7 @@ protected: void mouseReleaseEvent( TQMouseEvent *e ); void mouseMoveEvent( TQMouseEvent *e ); void resizeEvent( TQResizeEvent *e ); - void paintEvent( TQPaintEvent *e ); + void paintEvent( TQPaintEvent *e ); TQPen pen; TQPointArray polyline; @@ -143,14 +143,14 @@ protected slots: #include <ntqapplication.h> #include <ntqevent.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <tqtoolbar.h> #include <tqtoolbutton.h> #include <ntqspinbox.h> #include <tqtooltip.h> #include <ntqrect.h> #include <ntqpoint.h> -#include <ntqcolordialog.h> +#include <tqcolordialog.h> #include <tqfiledialog.h> #include <ntqcursor.h> #include <tqimage.h> @@ -199,14 +199,14 @@ void Canvas::clearScreen() void Canvas::mouseMoveEvent( TQMouseEvent *e ) { if ( mousePressed ) { - TQPainter painter; - painter.begin( &buffer ); - painter.setPen( pen ); + TQPainter painter; + painter.begin( &buffer ); + painter.setPen( pen ); polyline[2] = polyline[1]; polyline[1] = polyline[0]; polyline[0] = e->pos(); - painter.drawPolyline( polyline ); - painter.end(); + painter.drawPolyline( polyline ); + painter.end(); TQRect r = polyline.boundingRect(); r = r.normalize(); @@ -234,11 +234,11 @@ void Canvas::clearScreen() bitBlt( &buffer, 0, 0, &tmp, 0, 0, tmp.width(), tmp.height() ); } -void Canvas::paintEvent( TQPaintEvent *e ) +void Canvas::paintEvent( TQPaintEvent *e ) { TQWidget::paintEvent( e ); - TQMemArray<TQRect> rects = e->region().rects(); + TQMemArray<TQRect> rects = e->region().rects(); for ( uint i = 0; i < rects.count(); i++ ) { TQRect r = rects[(int)i]; bitBlt( this, r.x(), r.y(), &buffer, r.x(), r.y(), r.width(), r.height() ); @@ -303,8 +303,8 @@ void Scribble::slotSave() void Scribble::slotColor() { - TQColor c = TQColorDialog::getColor( canvas->penColor(), this ); - if ( c.isValid() ) + TQColor c = TQColorDialog::getColor( canvas->penColor(), this ); + if ( c.isValid() ) canvas->setPenColor( c ); } diff --git a/doc/html/scrollview-example.html b/doc/html/scrollview-example.html index 33b5df43c..ae774fe80 100644 --- a/doc/html/scrollview-example.html +++ b/doc/html/scrollview-example.html @@ -52,7 +52,7 @@ optimized for very large contents. #include <tqmenubar.h> #include <tqpopupmenu.h> #include <ntqpushbutton.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <ntqpixmap.h> #include <ntqmessagebox.h> #include <ntqlayout.h> @@ -187,11 +187,11 @@ protected: // The Numbers { - TQFontMetrics fm=p->fontMetrics(); - int rowheight=fm.lineSpacing(); + TQFontMetrics fm=p->fontMetrics(); + int rowheight=fm.lineSpacing(); int toprow=cy/rowheight; int bottomrow=(cy+ch+rowheight-1)/rowheight; - int colwidth=fm.width("00000,000000 ")+3; + int colwidth=fm.width("00000,000000 ")+3; int leftcol=cx/colwidth; int rightcol=(cx+cw+colwidth-1)/colwidth; TQString str; @@ -200,7 +200,7 @@ protected: for (int c=leftcol; c<=rightcol; c++) { int px=c*colwidth; str.sprintf("%d,%d",c,r); - p->drawText(px+3, py+fm.ascent(), str); + p->drawText(px+3, py+fm.ascent(), str); } } diff --git a/doc/html/shared.html b/doc/html/shared.html index 680a14e8d..20ddca324 100644 --- a/doc/html/shared.html +++ b/doc/html/shared.html @@ -42,13 +42,13 @@ seem heavyweight.

      TQBitArrayArray of bits
      TQBitmapMonochrome (1-bit depth) pixmaps -
      TQBrushDefines the fill pattern of shapes drawn by a TQPainter +
      TQBrushDefines the fill pattern of shapes drawn by a TQPainter
      TQCStringAbstraction of the classic C zero-terminated char array (char *)
      TQCursorMouse cursor with an arbitrary shape
      TQDeepCopyTemplate class which ensures that implicitly shared and explicitly shared classes reference unique data -
      TQFontFont used for drawing text -
      TQFontInfoGeneral information about fonts -
      TQFontMetricsFont metrics information +
      TQFontFont used for drawing text +
      TQFontInfoGeneral information about fonts +
      TQFontMetricsFont metrics information
      TQIconSetSet of icons with different styles and sizes
      TQImageHardware-independent pixmap representation with direct access to the pixel data
      TQMapValue-based template class that provides a dictionary diff --git a/doc/html/shclass.html b/doc/html/shclass.html index eba64fcf6..bf8d201b4 100644 --- a/doc/html/shclass.html +++ b/doc/html/shclass.html @@ -169,18 +169,18 @@ explicitly shared:

      These classes have a detach() function that can be called if you want your object to get a private copy of the shared data. They also have a copy() function that returns a deep copy with a reference count of 1. -

      The same is true for TQImage, which does not inherit TQMemArray. TQMovie is also explicitly shared, but it does not support detach() or +

      The same is true for TQImage, which does not inherit TQMemArray. TQMovie is also explicitly shared, but it does not support detach() or copy().

      Implicitly Shared Classes

      The TQt classes that are implicitly shared are:

      • TQBitmap -
      • TQBrush +
      • TQBrush
      • TQCursor -
      • TQFont -
      • TQFontInfo -
      • TQFontMetrics +
      • TQFont +
      • TQFontInfo +
      • TQFontMetrics
      • TQIconSet
      • TQMap
      • TQPalette @@ -206,13 +206,13 @@ functions by value without concern for the copying overhead. TQPixmap p1, p2; p1.load( "image.bmp" ); p2 = p1; // p1 and p2 share data - TQPainter paint; - paint.begin( &p2 ); // cuts p2 loose from p1 - paint.drawText( 0,50, "Hi" ); - paint.end(); + TQPainter paint; + paint.begin( &p2 ); // cuts p2 loose from p1 + paint.drawText( 0,50, "Hi" ); + paint.end(); -

        In this example, p1 and p2 share data until TQPainter::begin() is +

        In this example, p1 and p2 share data until TQPainter::begin() is called for p2, because painting a pixmap will modify it. The same also happens if anything is bitBlt()'ed into p2. diff --git a/doc/html/showimg-example.html b/doc/html/showimg-example.html index b0d29e2e9..a64c4376f 100644 --- a/doc/html/showimg-example.html +++ b/doc/html/showimg-example.html @@ -66,7 +66,7 @@ public: ~ImageViewer(); bool loadImage( const TQString& ); protected: - void paintEvent( TQPaintEvent * ); + void paintEvent( TQPaintEvent * ); void resizeEvent( TQResizeEvent * ); void mousePressEvent( TQMouseEvent * ); void mouseReleaseEvent( TQMouseEvent * ); @@ -152,7 +152,7 @@ private slots: #include <ntqmessagebox.h> #include <tqpopupmenu.h> #include <ntqlabel.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <ntqapplication.h> #include <tqclipboard.h> @@ -254,7 +254,7 @@ private slots: ImageViewer::~ImageViewer() { if ( alloc_context ) - TQColor::destroyAllocContext( alloc_context ); + TQColor::destroyAllocContext( alloc_context ); if ( other == this ) other = 0; } @@ -521,14 +521,14 @@ bool ImageViewer::reconvertImage() if ( image.isNull() ) return FALSE; if ( alloc_context ) { - TQColor::destroyAllocContext( alloc_context ); + TQColor::destroyAllocContext( alloc_context ); alloc_context = 0; } if ( useColorContext() ) { - alloc_context = TQColor::enterAllocContext(); + alloc_context = TQColor::enterAllocContext(); // Clear the image to hide flickering palette - TQPainter painter(this); - painter.eraseRect(0, menubar->heightForWidth( width() ), width(), height()); + TQPainter painter(this); + painter.eraseRect(0, menubar->heightForWidth( width() ), width(), height()); } TQApplication::setOverrideCursor( waitCursor ); // this might take time @@ -546,7 +546,7 @@ bool ImageViewer::reconvertImage() TQApplication::restoreOverrideCursor(); // restore original cursor if ( useColorContext() ) - TQColor::leaveAllocContext(); + TQColor::leaveAllocContext(); return success; // TRUE if loaded OK } @@ -661,12 +661,12 @@ void ImageViewer::mouseMoveEvent( paintEvent( TQPaintEvent *e ) +void ImageViewer::paintEvent( TQPaintEvent *e ) { if ( pm.size() != TQSize( 0, 0 ) ) { // is an image loaded? - TQPainter painter(this); - painter.setClipRect(e->rect()); - painter.drawPixmap(0, menubar->heightForWidth( width() ), pmScaled); + TQPainter painter(this); + painter.setClipRect(e->rect()); + painter.drawPixmap(0, menubar->heightForWidth( width() ), pmScaled); } } diff --git a/doc/html/simple-application-example.html b/doc/html/simple-application-example.html index 764656365..b44d5a68e 100644 --- a/doc/html/simple-application-example.html +++ b/doc/html/simple-application-example.html @@ -118,8 +118,8 @@ private: #include <ntqapplication.h> #include <ntqaccel.h> #include <tqtextstream.h> -#include <ntqpainter.h> -#include <ntqpaintdevicemetrics.h> +#include <tqpainter.h> +#include <tqpaintdevicemetrics.h> #include <ntqwhatsthis.h> #include <ntqsimplerichtext.h> @@ -311,16 +311,16 @@ void ApplicationWindow::print() printer->setFullPage( TRUE ); if ( printer->setup(this) ) { // printer dialog statusBar()->message( "Printing..." ); - TQPainter p; - if( !p.begin( printer ) ) { // paint on printer + TQPainter p; + if( !p.begin( printer ) ) { // paint on printer statusBar()->message( "Printing aborted", 2000 ); return; } - TQPaintDeviceMetrics metrics( p.device() ); - int dpiy = metrics.logicalDpiY(); + TQPaintDeviceMetrics metrics( p.device() ); + int dpiy = metrics.logicalDpiY(); int margin = (int) ( (2/2.54)*dpiy ); // 2 cm margins - TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin ); + TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin ); TQSimpleRichText richText( TQStyleSheet::convertFromPlainText(e->text()), TQFont(), e->context(), @@ -332,9 +332,9 @@ void ApplicationWindow::print() do { richText.draw( &p, margin, margin, view, colorGroup() ); view.moveBy( 0, view.height() ); - p.translate( 0 , -view.height() ); - p.drawText( view.right() - p.fontMetrics().width( TQString::number( page ) ), - view.bottom() + p.fontMetrics().ascent() + 5, TQString::number( page ) ); + p.translate( 0 , -view.height() ); + p.drawText( view.right() - p.fontMetrics().width( TQString::number( page ) ), + view.bottom() + p.fontMetrics().ascent() + 5, TQString::number( page ) ); if ( view.top() - margin >= richText.height() ) break; printer->newPage(); diff --git a/doc/html/simple-application.html b/doc/html/simple-application.html index e9f951822..b667b00a0 100644 --- a/doc/html/simple-application.html +++ b/doc/html/simple-application.html @@ -453,16 +453,16 @@ and implicitly changes the window system caption to the new name. printer->setFullPage( TRUE ); if ( printer->setup(this) ) { // printer dialog statusBar()->message( "Printing..." ); - TQPainter p; - if( !p.begin( printer ) ) { // paint on printer + TQPainter p; + if( !p.begin( printer ) ) { // paint on printer statusBar()->message( "Printing aborted", 2000 ); return; } - TQPaintDeviceMetrics metrics( p.device() ); - int dpiy = metrics.logicalDpiY(); + TQPaintDeviceMetrics metrics( p.device() ); + int dpiy = metrics.logicalDpiY(); int margin = (int) ( (2/2.54)*dpiy ); // 2 cm margins - TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin ); + TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin ); TQSimpleRichText richText( TQStyleSheet::convertFromPlainText(e->text()), TQFont(), e->context(), @@ -474,9 +474,9 @@ and implicitly changes the window system caption to the new name. do { richText.draw( &p, margin, margin, view, colorGroup() ); view.moveBy( 0, view.height() ); - p.translate( 0 , -view.height() ); - p.drawText( view.right() - p.fontMetrics().width( TQString::number( page ) ), - view.bottom() + p.fontMetrics().ascent() + 5, TQString::number( page ) ); + p.translate( 0 , -view.height() ); + p.drawText( view.right() - p.fontMetrics().width( TQString::number( page ) ), + view.bottom() + p.fontMetrics().ascent() + 5, TQString::number( page ) ); if ( view.top() - margin >= richText.height() ) break; printer->newPage(); diff --git a/doc/html/simple-font-demo-example.html b/doc/html/simple-font-demo-example.html index 728f9a0ec..4dc4addac 100644 --- a/doc/html/simple-font-demo-example.html +++ b/doc/html/simple-font-demo-example.html @@ -1,5 +1,5 @@ - + @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

        This example demonstrates the use of various -TQFont member functions. +TQFont member functions.


        The main window API (viewer.h):

        /* $Id: qt/viewer.h   3.3.8   edited May 27 2003 $ */
        @@ -44,7 +44,7 @@ body { background: #ffffff; color: black; }
         
         
         #include <tqwidget.h>
        -#include <ntqfont.h>
        +#include <tqfont.h>
         
         class TQTextView;
         class TQPushButton;
        @@ -64,7 +64,7 @@ private slots:
         private:
             void setFontSubstitutions();
             void layout();
        -    void showFontInfo( TQFont & );
        +    void showFontInfo( TQFont & );
         
             TQTextView * greetings;
             TQTextView * fontInfo;
        @@ -130,11 +130,11 @@ private:
         
         void Viewer::setDefault()
         {
        -    TQFont font( "Bavaria" );
        -    font.setPointSize( 24 );
        +    TQFont font( "Bavaria" );
        +    font.setPointSize( 24 );
         
        -    font.setWeight( TQFont::Bold );
        -    font.setUnderline( TRUE );
        +    font.setWeight( TQFont::Bold );
        +    font.setUnderline( TRUE );
         
             greetings->setFont( font );
         
        @@ -143,8 +143,8 @@ void Viewer::setDefault()
         
         void Viewer::setSansSerif()
         {
        -    TQFont font( "Newyork", 18 );
        -    font.setStyleHint( TQFont::SansSerif );
        +    TQFont font( "Newyork", 18 );
        +    font.setStyleHint( TQFont::SansSerif );
             greetings->setFont( font );
         
             showFontInfo( font );
        @@ -152,33 +152,33 @@ void Viewer::setSansSerif()
         
         void Viewer::setItalics()
         {
        -    TQFont font( "Tokyo" );
        -    font.setPointSize( 32 );
        -    font.setWeight( TQFont::Bold );
        -    font.setItalic( TRUE );
        +    TQFont font( "Tokyo" );
        +    font.setPointSize( 32 );
        +    font.setWeight( TQFont::Bold );
        +    font.setItalic( TRUE );
         
             greetings->setFont( font );
         
             showFontInfo( font );
         }
         
        -void Viewer::showFontInfo( TQFont & font )
        +void Viewer::showFontInfo( TQFont & font )
         {
        -    TQFontInfo info( font );
        +    TQFontInfo info( font );
         
             TQString messageText;
             messageText = "Font requested: \"" +
        -                  font.family() + "\" " +
        -                  TQString::number( font.pointSize() ) + "pt<BR>" +
        +                  font.family() + "\" " +
        +                  TQString::number( font.pointSize() ) + "pt<BR>" +
                           "Font used: \"" +
        -                  info.family() + "\" " +
        -                  TQString::number( info.pointSize() ) + "pt<P>";
        +                  info.family() + "\" " +
        +                  TQString::number( info.pointSize() ) + "pt<P>";
         
        -    TQStringList substitutions = TQFont::substitutes( font.family() );
        +    TQStringList substitutions = TQFont::substitutes( font.family() );
         
             if ( ! substitutions.isEmpty() ){
                 messageText += "The following substitutions exist for " + \
        -                       font.family() + ":<UL>";
        +                       font.family() + ":<UL>";
         
                 TQStringList::Iterator i = substitutions.begin();
                 while ( i != substitutions.end() ){
        @@ -188,7 +188,7 @@ void Viewer::showFontInfo( TQFont
                  messageText += "</UL>";
             } else {
                 messageText += "No substitutions exist for " + \
        -                       font.family() + ".";
        +                       font.family() + ".";
             }
         
             fontInfo->setText( messageText );
        @@ -201,9 +201,9 @@ void Viewer::setFontSubstitutions()
             substitutes +=  "Mincho",
             substitutes << "Arabic Newspaper" << "crox";
         
        -    TQFont::insertSubstitutions( "Bavaria", substitutes );
        +    TQFont::insertSubstitutions( "Bavaria", substitutes );
         
        -    TQFont::insertSubstitution( "Tokyo", "Lucida" );
        +    TQFont::insertSubstitution( "Tokyo", "Lucida" );
         }
         
         
        @@ -243,8 +243,8 @@ void Viewer::setFontSubstitutions()
         


        -

        main() program (simple-qfont-demo.cpp): -

        /* $Id: qt/simple-qfont-demo.cpp   3.3.8   edited May 27 2003 $ */
        +

        main() program (simple-tqfont-demo.cpp): +

        /* $Id: qt/simple-tqfont-demo.cpp   3.3.8   edited May 27 2003 $ */
         
         #include "viewer.h"
         
        @@ -261,7 +261,7 @@ int main( int argc, char **argv )
         }
         
        -

        See also TQFont Examples. +

        See also TQFont Examples.


        diff --git a/doc/html/splitter-example.html b/doc/html/splitter-example.html index 6fd9a8cc7..b7dfccef9 100644 --- a/doc/html/splitter-example.html +++ b/doc/html/splitter-example.html @@ -52,7 +52,7 @@ decide for themselves how much space each child item should get. #include <ntqsplitter.h> #include <ntqmultilineedit.h> -#include <ntqpainter.h> +#include <tqpainter.h> class Test : public TQWidget { @@ -72,8 +72,8 @@ private: void Test::paintEvent(TQPaintEvent* e) { - TQPainter p(this); - p.setClipRect(e->rect()); + TQPainter p(this); + p.setClipRect(e->rect()); const int d = 1000; //large number int x1 = 0; int x2 = width()-1; @@ -81,16 +81,16 @@ private: int y2 = height()-1; int x = (x1+x2)/2; - p.drawLine( x, y1, x+d, y1+d ); - p.drawLine( x, y1, x-d, y1+d ); - p.drawLine( x, y2, x+d, y2-d ); - p.drawLine( x, y2, x-d, y2-d ); + p.drawLine( x, y1, x+d, y1+d ); + p.drawLine( x, y1, x-d, y1+d ); + p.drawLine( x, y2, x+d, y2-d ); + p.drawLine( x, y2, x-d, y2-d ); int y = (y1+y2)/2; - p.drawLine( x1, y, x1+d, y+d ); - p.drawLine( x1, y, x1+d, y-d ); - p.drawLine( x2, y, x2-d, y+d ); - p.drawLine( x2, y, x2-d, y-d ); + p.drawLine( x1, y, x1+d, y+d ); + p.drawLine( x1, y, x1+d, y-d ); + p.drawLine( x2, y, x2-d, y+d ); + p.drawLine( x2, y, x2-d, y-d ); } diff --git a/doc/html/sql-overview-table4-main-cpp.html b/doc/html/sql-overview-table4-main-cpp.html index d51883d46..9c113701c 100644 --- a/doc/html/sql-overview-table4-main-cpp.html +++ b/doc/html/sql-overview-table4-main-cpp.html @@ -78,7 +78,7 @@ void StatusPicker::setStatusId( int statusid ) } -void CustomTable::paintField( TQPainter * p, const TQSqlField* field, +void CustomTable::paintField( TQPainter * p, const TQSqlField* field, const TQRect & cr, bool b) { if ( !field ) @@ -90,7 +90,7 @@ void CustomTable::paintField( next() ) { text = query.value( 0 ).toString(); } - p->drawText( 2,2, cr.width()-4, cr.height()-4, fieldAlignment( field ), text ); + p->drawText( 2,2, cr.width()-4, cr.height()-4, fieldAlignment( field ), text ); } else { TQDataTable::paintField( p, field, cr, b) ; diff --git a/doc/html/sql-overview-table4-main-h.html b/doc/html/sql-overview-table4-main-h.html index 7e5bd6b92..ca278f13e 100644 --- a/doc/html/sql-overview-table4-main-h.html +++ b/doc/html/sql-overview-table4-main-h.html @@ -45,7 +45,7 @@ body { background: #ffffff; color: black; } #include <ntqapplication.h> #include <ntqcombobox.h> #include <tqmap.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <tqsqldatabase.h> #include <tqsqlcursor.h> #include <tqsqleditorfactory.h> @@ -75,7 +75,7 @@ public: TQWidget * parent = 0, const char * name = 0 ) : TQDataTable( cursor, autoPopulate, parent, name ) {} void paintField( - TQPainter * p, const TQSqlField* field, const TQRect & cr, bool ); + TQPainter * p, const TQSqlField* field, const TQRect & cr, bool ); }; diff --git a/doc/html/sql.html b/doc/html/sql.html index 161e59d32..7d8163269 100644 --- a/doc/html/sql.html +++ b/doc/html/sql.html @@ -1383,7 +1383,7 @@ to subclass TQDataTable and reimplement the paintField() function. TQWidget * parent = 0, const char * name = 0 ) : TQDataTable( cursor, autoPopulate, parent, name ) {} void paintField( - TQPainter * p, const TQSqlField* field, const TQRect & cr, bool ); + TQPainter * p, const TQSqlField* field, const TQRect & cr, bool ); };

        From sql/overview/table4/main.h @@ -1392,7 +1392,7 @@ to subclass TQDataTable and reimplement the paintField() function. anything. We also declare the paintField function.

        -

            void CustomTable::paintField( TQPainter * p, const TQSqlField* field,
        +
            void CustomTable::paintField( TQPainter * p, const TQSqlField* field,
                                           const TQRect & cr, bool b)
             {
                 if ( !field )
        @@ -1404,7 +1404,7 @@ anything. We also declare the paintField function.
                     if ( query.next() ) {
                         text = query.value( 0 ).toString();
                     }
        -            p->drawText( 2,2, cr.width()-4, cr.height()-4, fieldAlignment( field ), text );
        +            p->drawText( 2,2, cr.width()-4, cr.height()-4, fieldAlignment( field ), text );
                 }
                 else {
                     TQDataTable::paintField( p, field, cr, b) ;
        diff --git a/doc/html/statistics-example.html b/doc/html/statistics-example.html
        index 6ddf8e155..5e3a6ef4f 100644
        --- a/doc/html/statistics-example.html
        +++ b/doc/html/statistics-example.html
        @@ -56,7 +56,7 @@ class TableItem : public TQTableItem
         {
         public:
             TableItem( TQTable *t, EditType et, const TQString &txt ) : TQTableItem( t, et, txt ) {}
        -    void paint( TQPainter *p, const TQColorGroup &cg, const TQRect &cr, bool selected );
        +    void paint( TQPainter *p, const TQColorGroup &cg, const TQRect &cr, bool selected );
         };
         
         class ComboItem : public TQTableItem
        @@ -212,13 +212,13 @@ void Table::recalcSum( int, int col )
         
         
         
        -void TableItem::paint( TQPainter *p, const TQColorGroup &cg, const TQRect &cr, bool selected )
        +void TableItem::paint( TQPainter *p, const TQColorGroup &cg, const TQRect &cr, bool selected )
         {
        -    TQColorGroup g( cg );
        +    TQColorGroup g( cg );
             // last row is the sum row - we want to make it more visible by
             // using a red background
             if ( row() == table()->numRows() - 1 )
        -        g.setColor( TQColorGroup::Base, red );
        +        g.setColor( TQColorGroup::Base, red );
             TQTableItem::paint( p, g, cr, selected );
         }
         
        diff --git a/doc/html/t10-cannon-cpp.html b/doc/html/t10-cannon-cpp.html
        index 508b70b26..7f1b1865e 100644
        --- a/doc/html/t10-cannon-cpp.html
        +++ b/doc/html/t10-cannon-cpp.html
        @@ -39,7 +39,7 @@ body { background: #ffffff; color: black; }
         ****************************************************************/
         
         #include "cannon.h"
        -#include <ntqpainter.h>
        +#include <tqpainter.h>
         #include <ntqpixmap.h>
         
         
        @@ -77,26 +77,26 @@ void CannonField::setForce( int newton )
         }
         
         
        -void CannonField::paintEvent( TQPaintEvent *e )
        +void CannonField::paintEvent( TQPaintEvent *e )
         {
        -    if ( !e->rect().intersects( cannonRect() ) )
        +    if ( !e->rect().intersects( cannonRect() ) )
                 return;
         
             TQRect cr = cannonRect();
             TQPixmap pix( cr.size() );
             pix.fill( this, cr.topLeft() );
         
        -    TQPainter p( &pix );
        -    p.setBrush( blue );
        -    p.setPen( NoPen );
        -    p.translate( 0, pix.height() - 1 );
        -    p.drawPie( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
        -    p.rotate( -ang );
        -    p.drawRect( TQRect(33, -4, 15, 8) );
        -    p.end();
        -
        -    p.begin( this );
        -    p.drawPixmap( cr.topLeft(), pix );
        +    TQPainter p( &pix );
        +    p.setBrush( blue );
        +    p.setPen( NoPen );
        +    p.translate( 0, pix.height() - 1 );
        +    p.drawPie( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
        +    p.rotate( -ang );
        +    p.drawRect( TQRect(33, -4, 15, 8) );
        +    p.end();
        +
        +    p.begin( this );
        +    p.drawPixmap( cr.topLeft(), pix );
         }
         
         
        diff --git a/doc/html/t10-cannon-h.html b/doc/html/t10-cannon-h.html
        index 093a15427..e13c4d1c6 100644
        --- a/doc/html/t10-cannon-h.html
        +++ b/doc/html/t10-cannon-h.html
        @@ -64,7 +64,7 @@ signals:
             void  forceChanged( int );
         
         protected:
        -    void  paintEvent( TQPaintEvent * );
        +    void  paintEvent( TQPaintEvent * );
         
         private:
             TQRect cannonRect() const;
        diff --git a/doc/html/t10-main-cpp.html b/doc/html/t10-main-cpp.html
        index 1f1153419..55f66b0fe 100644
        --- a/doc/html/t10-main-cpp.html
        +++ b/doc/html/t10-main-cpp.html
        @@ -41,7 +41,7 @@ body { background: #ffffff; color: black; }
         #include <ntqapplication.h>
         #include <ntqpushbutton.h>
         #include <ntqlcdnumber.h>
        -#include <ntqfont.h>
        +#include <tqfont.h>
         #include <ntqlayout.h>
         
         #include "lcdrange.h"
        diff --git a/doc/html/t11-cannon-cpp.html b/doc/html/t11-cannon-cpp.html
        index 86c56baf7..f76366d67 100644
        --- a/doc/html/t11-cannon-cpp.html
        +++ b/doc/html/t11-cannon-cpp.html
        @@ -40,7 +40,7 @@ body { background: #ffffff; color: black; }
         
         #include "cannon.h"
         #include <tqtimer.h>
        -#include <ntqpainter.h>
        +#include <tqpainter.h>
         #include <ntqpixmap.h>
         
         #include <math.h>
        @@ -112,10 +112,10 @@ void CannonField::moveShot()
         }
         
         
        -void CannonField::paintEvent( TQPaintEvent *e )
        +void CannonField::paintEvent( TQPaintEvent *e )
         {
        -    TQRect updateR = e->rect();
        -    TQPainter p( this );
        +    TQRect updateR = e->rect();
        +    TQPainter p( this );
         
             if ( updateR.intersects( cannonRect() ) )
                 paintCannon( &p );
        @@ -125,33 +125,33 @@ void CannonField::paintEvent( CannonField::paintShot( TQPainter *p )
        +void CannonField::paintShot( TQPainter *p )
         {
        -    p->setBrush( black );
        -    p->setPen( NoPen );
        -    p->drawRect( shotRect() );
        +    p->setBrush( black );
        +    p->setPen( NoPen );
        +    p->drawRect( shotRect() );
         }
         
         
         const TQRect barrelRect(33, -4, 15, 8);
         
        -void CannonField::paintCannon( TQPainter *p )
        +void CannonField::paintCannon( TQPainter *p )
         {
             TQRect cr = cannonRect();
             TQPixmap pix( cr.size() );
             pix.fill( this, cr.topLeft() );
         
        -    TQPainter tmp( &pix );
        -    tmp.setBrush( blue );
        -    tmp.setPen( NoPen );
        +    TQPainter tmp( &pix );
        +    tmp.setBrush( blue );
        +    tmp.setPen( NoPen );
         
        -    tmp.translate( 0, pix.height() - 1 );
        -    tmp.drawPie( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
        -    tmp.rotate( -ang );
        -    tmp.drawRect( barrelRect );
        -    tmp.end();
        +    tmp.translate( 0, pix.height() - 1 );
        +    tmp.drawPie( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
        +    tmp.rotate( -ang );
        +    tmp.drawRect( barrelRect );
        +    tmp.end();
         
        -    p->drawPixmap( cr.topLeft(), pix );
        +    p->drawPixmap( cr.topLeft(), pix );
         }
         
         
        diff --git a/doc/html/t11-cannon-h.html b/doc/html/t11-cannon-h.html
        index 2d9b9f94d..ac33f658d 100644
        --- a/doc/html/t11-cannon-h.html
        +++ b/doc/html/t11-cannon-h.html
        @@ -70,11 +70,11 @@ signals:
             void  forceChanged( int );
         
         protected:
        -    void  paintEvent( TQPaintEvent * );
        +    void  paintEvent( TQPaintEvent * );
         
         private:
        -    void  paintShot( TQPainter * );
        -    void  paintCannon( TQPainter * );
        +    void  paintShot( TQPainter * );
        +    void  paintCannon( TQPainter * );
             TQRect cannonRect() const;
             TQRect shotRect() const;
         
        diff --git a/doc/html/t11-main-cpp.html b/doc/html/t11-main-cpp.html
        index f523cdd98..a05267f03 100644
        --- a/doc/html/t11-main-cpp.html
        +++ b/doc/html/t11-main-cpp.html
        @@ -41,7 +41,7 @@ body { background: #ffffff; color: black; }
         #include <ntqapplication.h>
         #include <ntqpushbutton.h>
         #include <ntqlcdnumber.h>
        -#include <ntqfont.h>
        +#include <tqfont.h>
         #include <ntqlayout.h>
         
         #include "lcdrange.h"
        diff --git a/doc/html/t12-cannon-cpp.html b/doc/html/t12-cannon-cpp.html
        index 704d75fd8..9a7cca267 100644
        --- a/doc/html/t12-cannon-cpp.html
        +++ b/doc/html/t12-cannon-cpp.html
        @@ -40,7 +40,7 @@ body { background: #ffffff; color: black; }
         
         #include "cannon.h"
         #include <tqtimer.h>
        -#include <ntqpainter.h>
        +#include <tqpainter.h>
         #include <ntqpixmap.h>
         #include <tqdatetime.h>
         
        @@ -137,10 +137,10 @@ void CannonField::moveShot()
         }
         
         
        -void CannonField::paintEvent( TQPaintEvent *e )
        +void CannonField::paintEvent( TQPaintEvent *e )
         {
        -    TQRect updateR = e->rect();
        -    TQPainter p( this );
        +    TQRect updateR = e->rect();
        +    TQPainter p( this );
         
             if ( updateR.intersects( cannonRect() ) )
                 paintCannon( &p );
        @@ -152,41 +152,41 @@ void CannonField::paintEvent( CannonField::paintShot( TQPainter *p )
        +void CannonField::paintShot( TQPainter *p )
         {
        -    p->setBrush( black );
        -    p->setPen( NoPen );
        -    p->drawRect( shotRect() );
        +    p->setBrush( black );
        +    p->setPen( NoPen );
        +    p->drawRect( shotRect() );
         }
         
         
        -void CannonField::paintTarget( TQPainter *p )
        +void CannonField::paintTarget( TQPainter *p )
         {
        -    p->setBrush( red );
        -    p->setPen( black );
        -    p->drawRect( targetRect() );
        +    p->setBrush( red );
        +    p->setPen( black );
        +    p->drawRect( targetRect() );
         }
         
         
         const TQRect barrelRect(33, -4, 15, 8);
         
        -void CannonField::paintCannon( TQPainter *p )
        +void CannonField::paintCannon( TQPainter *p )
         {
             TQRect cr = cannonRect();
             TQPixmap pix( cr.size() );
             pix.fill( this, cr.topLeft() );
         
        -    TQPainter tmp( &pix );
        -    tmp.setBrush( blue );
        -    tmp.setPen( NoPen );
        +    TQPainter tmp( &pix );
        +    tmp.setBrush( blue );
        +    tmp.setPen( NoPen );
         
        -    tmp.translate( 0, pix.height() - 1 );
        -    tmp.drawPie( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
        -    tmp.rotate( -ang );
        -    tmp.drawRect( barrelRect );
        -    tmp.end();
        +    tmp.translate( 0, pix.height() - 1 );
        +    tmp.drawPie( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
        +    tmp.rotate( -ang );
        +    tmp.drawRect( barrelRect );
        +    tmp.end();
         
        -    p->drawPixmap( cr.topLeft(), pix );
        +    p->drawPixmap( cr.topLeft(), pix );
         }
         
         
        diff --git a/doc/html/t12-cannon-h.html b/doc/html/t12-cannon-h.html
        index f4770b6c7..b490c5956 100644
        --- a/doc/html/t12-cannon-h.html
        +++ b/doc/html/t12-cannon-h.html
        @@ -73,12 +73,12 @@ signals:
             void  forceChanged( int );
         
         protected:
        -    void  paintEvent( TQPaintEvent * );
        +    void  paintEvent( TQPaintEvent * );
         
         private:
        -    void  paintShot( TQPainter * );
        -    void  paintTarget( TQPainter * );
        -    void  paintCannon( TQPainter * );
        +    void  paintShot( TQPainter * );
        +    void  paintTarget( TQPainter * );
        +    void  paintCannon( TQPainter * );
             TQRect cannonRect() const;
             TQRect shotRect() const;
             TQRect targetRect() const;
        diff --git a/doc/html/t12-main-cpp.html b/doc/html/t12-main-cpp.html
        index 2b90c94c3..f49b697c2 100644
        --- a/doc/html/t12-main-cpp.html
        +++ b/doc/html/t12-main-cpp.html
        @@ -41,7 +41,7 @@ body { background: #ffffff; color: black; }
         #include <ntqapplication.h>
         #include <ntqpushbutton.h>
         #include <ntqlcdnumber.h>
        -#include <ntqfont.h>
        +#include <tqfont.h>
         #include <ntqlayout.h>
         
         #include "lcdrange.h"
        diff --git a/doc/html/t13-cannon-cpp.html b/doc/html/t13-cannon-cpp.html
        index d41617e29..8ce4fd1af 100644
        --- a/doc/html/t13-cannon-cpp.html
        +++ b/doc/html/t13-cannon-cpp.html
        @@ -40,7 +40,7 @@ body { background: #ffffff; color: black; }
         
         #include "cannon.h"
         #include <tqtimer.h>
        -#include <ntqpainter.h>
        +#include <tqpainter.h>
         #include <ntqpixmap.h>
         #include <tqdatetime.h>
         
        @@ -159,15 +159,15 @@ void CannonField::moveShot()
         }
         
         
        -void CannonField::paintEvent( TQPaintEvent *e )
        +void CannonField::paintEvent( TQPaintEvent *e )
         {
        -    TQRect updateR = e->rect();
        -    TQPainter p( this );
        +    TQRect updateR = e->rect();
        +    TQPainter p( this );
         
             if ( gameEnded ) {
        -        p.setPen( black );
        -        p.setFont( TQFont( "Courier", 48, TQFont::Bold ) );
        -        p.drawText( rect(), AlignCenter, "Game Over" );
        +        p.setPen( black );
        +        p.setFont( TQFont( "Courier", 48, TQFont::Bold ) );
        +        p.drawText( rect(), AlignCenter, "Game Over" );
             }
             if ( updateR.intersects( cannonRect() ) )
                 paintCannon( &p );
        @@ -178,41 +178,41 @@ void CannonField::paintEvent( CannonField::paintShot( TQPainter *p )
        +void CannonField::paintShot( TQPainter *p )
         {
        -    p->setBrush( black );
        -    p->setPen( NoPen );
        -    p->drawRect( shotRect() );
        +    p->setBrush( black );
        +    p->setPen( NoPen );
        +    p->drawRect( shotRect() );
         }
         
         
        -void CannonField::paintTarget( TQPainter *p )
        +void CannonField::paintTarget( TQPainter *p )
         {
        -    p->setBrush( red );
        -    p->setPen( black );
        -    p->drawRect( targetRect() );
        +    p->setBrush( red );
        +    p->setPen( black );
        +    p->drawRect( targetRect() );
         }
         
         
         const TQRect barrelRect(33, -4, 15, 8);
         
        -void CannonField::paintCannon( TQPainter *p )
        +void CannonField::paintCannon( TQPainter *p )
         {
             TQRect cr = cannonRect();
             TQPixmap pix( cr.size() );
             pix.fill( this, cr.topLeft() );
         
        -    TQPainter tmp( &pix );
        -    tmp.setBrush( blue );
        -    tmp.setPen( NoPen );
        +    TQPainter tmp( &pix );
        +    tmp.setBrush( blue );
        +    tmp.setPen( NoPen );
         
        -    tmp.translate( 0, pix.height() - 1 );
        -    tmp.drawPie( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
        -    tmp.rotate( -ang );
        -    tmp.drawRect( barrelRect );
        -    tmp.end();
        +    tmp.translate( 0, pix.height() - 1 );
        +    tmp.drawPie( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
        +    tmp.rotate( -ang );
        +    tmp.drawRect( barrelRect );
        +    tmp.end();
         
        -    p->drawPixmap( cr.topLeft(), pix );
        +    p->drawPixmap( cr.topLeft(), pix );
         }
         
         
        diff --git a/doc/html/t13-cannon-h.html b/doc/html/t13-cannon-h.html
        index d6b38c8bc..7b11616dd 100644
        --- a/doc/html/t13-cannon-h.html
        +++ b/doc/html/t13-cannon-h.html
        @@ -78,12 +78,12 @@ signals:
             void  canShoot( bool );
         
         protected:
        -    void  paintEvent( TQPaintEvent * );
        +    void  paintEvent( TQPaintEvent * );
         
         private:
        -    void  paintShot( TQPainter * );
        -    void  paintTarget( TQPainter * );
        -    void  paintCannon( TQPainter * );
        +    void  paintShot( TQPainter * );
        +    void  paintTarget( TQPainter * );
        +    void  paintCannon( TQPainter * );
             TQRect cannonRect() const;
             TQRect shotRect() const;
             TQRect targetRect() const;
        diff --git a/doc/html/t13-gamebrd-cpp.html b/doc/html/t13-gamebrd-cpp.html
        index 1bd5e2550..56238458e 100644
        --- a/doc/html/t13-gamebrd-cpp.html
        +++ b/doc/html/t13-gamebrd-cpp.html
        @@ -40,7 +40,7 @@ body { background: #ffffff; color: black; }
         
         #include "gamebrd.h"
         
        -#include <ntqfont.h>
        +#include <tqfont.h>
         #include <ntqapplication.h>
         #include <ntqlabel.h>
         #include <ntqpushbutton.h>
        diff --git a/doc/html/t14-cannon-cpp.html b/doc/html/t14-cannon-cpp.html
        index e51955539..f9849a2d6 100644
        --- a/doc/html/t14-cannon-cpp.html
        +++ b/doc/html/t14-cannon-cpp.html
        @@ -40,7 +40,7 @@ body { background: #ffffff; color: black; }
         
         #include "cannon.h"
         #include <tqtimer.h>
        -#include <ntqpainter.h>
        +#include <tqpainter.h>
         #include <ntqpixmap.h>
         #include <tqdatetime.h>
         
        @@ -191,15 +191,15 @@ void CannonField::mouseReleaseEventpaintEvent( TQPaintEvent *e )
        +void CannonField::paintEvent( TQPaintEvent *e )
         {
        -    TQRect updateR = e->rect();
        -    TQPainter p( this );
        +    TQRect updateR = e->rect();
        +    TQPainter p( this );
         
             if ( gameEnded ) {
        -        p.setPen( black );
        -        p.setFont( TQFont( "Courier", 48, TQFont::Bold ) );
        -        p.drawText( rect(), AlignCenter, "Game Over" );
        +        p.setPen( black );
        +        p.setFont( TQFont( "Courier", 48, TQFont::Bold ) );
        +        p.drawText( rect(), AlignCenter, "Game Over" );
             }
             if ( updateR.intersects( cannonRect() ) )
                 paintCannon( &p );
        @@ -211,47 +211,47 @@ void CannonField::paintEvent( CannonField::paintShot( TQPainter *p )
        +void CannonField::paintShot( TQPainter *p )
         {
        -    p->setBrush( black );
        -    p->setPen( NoPen );
        -    p->drawRect( shotRect() );
        +    p->setBrush( black );
        +    p->setPen( NoPen );
        +    p->drawRect( shotRect() );
         }
         
         
        -void CannonField::paintTarget( TQPainter *p )
        +void CannonField::paintTarget( TQPainter *p )
         {
        -    p->setBrush( red );
        -    p->setPen( black );
        -    p->drawRect( targetRect() );
        +    p->setBrush( red );
        +    p->setPen( black );
        +    p->drawRect( targetRect() );
         }
         
        -void CannonField::paintBarrier( TQPainter *p )
        +void CannonField::paintBarrier( TQPainter *p )
         {
        -    p->setBrush( yellow );
        -    p->setPen( black );
        -    p->drawRect( barrierRect() );
        +    p->setBrush( yellow );
        +    p->setPen( black );
        +    p->drawRect( barrierRect() );
         }
         
         const TQRect barrelRect(33, -4, 15, 8);
         
        -void CannonField::paintCannon( TQPainter *p )
        +void CannonField::paintCannon( TQPainter *p )
         {
             TQRect cr = cannonRect();
             TQPixmap pix( cr.size() );
             pix.fill( this, cr.topLeft() );
         
        -    TQPainter tmp( &pix );
        -    tmp.setBrush( blue );
        -    tmp.setPen( NoPen );
        +    TQPainter tmp( &pix );
        +    tmp.setBrush( blue );
        +    tmp.setPen( NoPen );
         
        -    tmp.translate( 0, pix.height() - 1 );
        -    tmp.drawPie( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
        -    tmp.rotate( -ang );
        -    tmp.drawRect( barrelRect );
        -    tmp.end();
        +    tmp.translate( 0, pix.height() - 1 );
        +    tmp.drawPie( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
        +    tmp.rotate( -ang );
        +    tmp.drawRect( barrelRect );
        +    tmp.end();
         
        -    p->drawPixmap( cr.topLeft(), pix );
        +    p->drawPixmap( cr.topLeft(), pix );
         }
         
         
        diff --git a/doc/html/t14-cannon-h.html b/doc/html/t14-cannon-h.html
        index 31cb927a0..29494bccc 100644
        --- a/doc/html/t14-cannon-h.html
        +++ b/doc/html/t14-cannon-h.html
        @@ -79,16 +79,16 @@ signals:
             void  canShoot( bool );
         
         protected:
        -    void  paintEvent( TQPaintEvent * );
        +    void  paintEvent( TQPaintEvent * );
             void  mousePressEvent( TQMouseEvent * );
             void  mouseMoveEvent( TQMouseEvent * );
             void  mouseReleaseEvent( TQMouseEvent * );
         
         private:
        -    void  paintShot( TQPainter * );
        -    void  paintTarget( TQPainter * );
        -    void  paintBarrier( TQPainter * );
        -    void  paintCannon( TQPainter * );
        +    void  paintShot( TQPainter * );
        +    void  paintTarget( TQPainter * );
        +    void  paintBarrier( TQPainter * );
        +    void  paintCannon( TQPainter * );
             TQRect cannonRect() const;
             TQRect shotRect() const;
             TQRect targetRect() const;
        diff --git a/doc/html/t14-gamebrd-cpp.html b/doc/html/t14-gamebrd-cpp.html
        index 1912c14fb..9934c0ac8 100644
        --- a/doc/html/t14-gamebrd-cpp.html
        +++ b/doc/html/t14-gamebrd-cpp.html
        @@ -40,7 +40,7 @@ body { background: #ffffff; color: black; }
         
         #include "gamebrd.h"
         
        -#include <ntqfont.h>
        +#include <tqfont.h>
         #include <ntqapplication.h>
         #include <ntqlabel.h>
         #include <ntqaccel.h>
        diff --git a/doc/html/t7-main-cpp.html b/doc/html/t7-main-cpp.html
        index 5709a8b3d..cc1816a6b 100644
        --- a/doc/html/t7-main-cpp.html
        +++ b/doc/html/t7-main-cpp.html
        @@ -41,7 +41,7 @@ body { background: #ffffff; color: black; }
         #include <ntqapplication.h>
         #include <ntqpushbutton.h>
         #include <ntqlcdnumber.h>
        -#include <ntqfont.h>
        +#include <tqfont.h>
         #include <ntqvbox.h>
         #include <ntqgrid.h>
         
        diff --git a/doc/html/t8-cannon-cpp.html b/doc/html/t8-cannon-cpp.html
        index 95f09d43d..1a57d06b6 100644
        --- a/doc/html/t8-cannon-cpp.html
        +++ b/doc/html/t8-cannon-cpp.html
        @@ -39,7 +39,7 @@ body { background: #ffffff; color: black; }
         ****************************************************************/
         
         #include "cannon.h"
        -#include <ntqpainter.h>
        +#include <tqpainter.h>
         
         
         CannonField::CannonField( TQWidget *parent, const char *name )
        @@ -64,11 +64,11 @@ void CannonField::setAngle( int degrees )
         }
         
         
        -void CannonField::paintEvent( TQPaintEvent * )
        +void CannonField::paintEvent( TQPaintEvent * )
         {
             TQString s = "Angle = " + TQString::number( ang );
        -    TQPainter p( this );
        -    p.drawText( 200, 200, s );
        +    TQPainter p( this );
        +    p.drawText( 200, 200, s );
         }
         
         
        diff --git a/doc/html/t8-cannon-h.html b/doc/html/t8-cannon-h.html
        index f4229abd4..d0b73da85 100644
        --- a/doc/html/t8-cannon-h.html
        +++ b/doc/html/t8-cannon-h.html
        @@ -60,7 +60,7 @@ signals:
             void angleChanged( int );
         
         protected:
        -    void paintEvent( TQPaintEvent * );
        +    void paintEvent( TQPaintEvent * );
         
         private:
             int ang;
        diff --git a/doc/html/t8-main-cpp.html b/doc/html/t8-main-cpp.html
        index 74a074d2a..a137a6e2d 100644
        --- a/doc/html/t8-main-cpp.html
        +++ b/doc/html/t8-main-cpp.html
        @@ -41,7 +41,7 @@ body { background: #ffffff; color: black; }
         #include <ntqapplication.h>
         #include <ntqpushbutton.h>
         #include <ntqlcdnumber.h>
        -#include <ntqfont.h>
        +#include <tqfont.h>
         #include <ntqlayout.h>
         
         #include "lcdrange.h"
        diff --git a/doc/html/t9-cannon-cpp.html b/doc/html/t9-cannon-cpp.html
        index cb582225a..019a15a0b 100644
        --- a/doc/html/t9-cannon-cpp.html
        +++ b/doc/html/t9-cannon-cpp.html
        @@ -39,7 +39,7 @@ body { background: #ffffff; color: black; }
         ****************************************************************/
         
         #include "cannon.h"
        -#include <ntqpainter.h>
        +#include <tqpainter.h>
         
         
         CannonField::CannonField( TQWidget *parent, const char *name )
        @@ -64,17 +64,17 @@ void CannonField::setAngle( int degrees )
         }
         
         
        -void CannonField::paintEvent( TQPaintEvent * )
        +void CannonField::paintEvent( TQPaintEvent * )
         {
        -    TQPainter p( this );
        +    TQPainter p( this );
         
        -    p.setBrush( blue );
        -    p.setPen( NoPen );
        +    p.setBrush( blue );
        +    p.setPen( NoPen );
         
        -    p.translate( 0, rect().bottom() );
        -    p.drawPie( TQRect(-35, -35, 70, 70), 0, 90*16 );
        -    p.rotate( -ang );
        -    p.drawRect( TQRect(33, -4, 15, 8) );
        +    p.translate( 0, rect().bottom() );
        +    p.drawPie( TQRect(-35, -35, 70, 70), 0, 90*16 );
        +    p.rotate( -ang );
        +    p.drawRect( TQRect(33, -4, 15, 8) );
         }
         
         
        diff --git a/doc/html/t9-cannon-h.html b/doc/html/t9-cannon-h.html
        index 3055d8536..2a87c696f 100644
        --- a/doc/html/t9-cannon-h.html
        +++ b/doc/html/t9-cannon-h.html
        @@ -60,7 +60,7 @@ signals:
             void angleChanged( int );
         
         protected:
        -    void paintEvent( TQPaintEvent * );
        +    void paintEvent( TQPaintEvent * );
         
         private:
             int ang;
        diff --git a/doc/html/t9-main-cpp.html b/doc/html/t9-main-cpp.html
        index e12b085cb..f90f8fb30 100644
        --- a/doc/html/t9-main-cpp.html
        +++ b/doc/html/t9-main-cpp.html
        @@ -41,7 +41,7 @@ body { background: #ffffff; color: black; }
         #include <ntqapplication.h>
         #include <ntqpushbutton.h>
         #include <ntqlcdnumber.h>
        -#include <ntqfont.h>
        +#include <tqfont.h>
         #include <ntqlayout.h>
         
         #include "lcdrange.h"
        diff --git a/doc/html/table-statistics-statistics-cpp.html b/doc/html/table-statistics-statistics-cpp.html
        index 72e03d781..39dc96fe2 100644
        --- a/doc/html/table-statistics-statistics-cpp.html
        +++ b/doc/html/table-statistics-statistics-cpp.html
        @@ -151,13 +151,13 @@ void Table::recalcSum( int, int col )
         
         
         
        -void TableItem::paint( TQPainter *p, const TQColorGroup &cg, const TQRect &cr, bool selected )
        +void TableItem::paint( TQPainter *p, const TQColorGroup &cg, const TQRect &cr, bool selected )
         {
        -    TQColorGroup g( cg );
        +    TQColorGroup g( cg );
             // last row is the sum row - we want to make it more visible by
             // using a red background
             if ( row() == table()->numRows() - 1 )
        -        g.setColor( TQColorGroup::Base, red );
        +        g.setColor( TQColorGroup::Base, red );
             TQTableItem::paint( p, g, cr, selected );
         }
         
        diff --git a/doc/html/tetrix-example.html b/doc/html/tetrix-example.html
        index f5dbb7ed7..20a13f57d 100644
        --- a/doc/html/tetrix-example.html
        +++ b/doc/html/tetrix-example.html
        @@ -48,7 +48,7 @@ This is the TQt implementation of the well known game Tetris.
         
         #include "qtetrix.h"
         #include "tqdragapp.h"
        -#include "ntqfont.h"
        +#include "tqfont.h"
         
         int main( int argc, char **argv )
         {
        diff --git a/doc/html/themes-example.html b/doc/html/themes-example.html
        index 1a6d2da17..8c0ac4f89 100644
        --- a/doc/html/themes-example.html
        +++ b/doc/html/themes-example.html
        @@ -74,38 +74,38 @@ public:
             void unPolish( TQApplication*);
         
             void drawPrimitive( PrimitiveElement pe,
        -                        TQPainter *p,
        +                        TQPainter *p,
                                 const TQRect &r,
        -                        const TQColorGroup &cg,
        +                        const TQColorGroup &cg,
                                 SFlags flags = Style_Default,
                                 const TQStyleOption& = TQStyleOption::Default ) const;
         
             void drawControl( ControlElement element,
        -                      TQPainter *p,
        +                      TQPainter *p,
                               const TQWidget *widget,
                               const TQRect &r,
        -                      const TQColorGroup &cg,
        +                      const TQColorGroup &cg,
                               SFlags how = Style_Default,
                               const TQStyleOption& = TQStyleOption::Default ) const;
         
             void drawControlMask( ControlElement element,
        -                          TQPainter *p,
        +                          TQPainter *p,
                                   const TQWidget *widget,
                                   const TQRect &r,
                                   const TQStyleOption& = TQStyleOption::Default ) const;
         
             void drawComplexControl( ComplexControl cc,
        -                             TQPainter *p,
        +                             TQPainter *p,
                                      const TQWidget *widget,
                                      const TQRect &r,
        -                             const TQColorGroup &cg,
        +                             const TQColorGroup &cg,
                                      SFlags how = Style_Default,
                                      SCFlags sub = SC_All,
                                      SCFlags subActive = SC_None,
                                      const TQStyleOption& = TQStyleOption::Default ) const;
         
             void drawComplexControlMask( ComplexControl control,
        -                                 TQPainter *p,
        +                                 TQPainter *p,
                                          const TQWidget *widget,
                                          const TQRect &r,
                                          const TQStyleOption& = TQStyleOption::Default ) const;
        @@ -120,7 +120,7 @@ public:
         
         private:
             void drawSemicircleButton(TQPainter *p, const TQRect &r, int dir,
        -                              bool sunken, const TQColorGroup &g ) const;
        +                              bool sunken, const TQColorGroup &g ) const;
             TQPalette oldPalette;
             TQPixmap *sunkenDark;
             TQPixmap *sunkenLight;
        @@ -150,7 +150,7 @@ private:
         
         #include "ntqapplication.h"
         #include "ntqcombobox.h"
        -#include "ntqpainter.h"
        +#include "tqpainter.h"
         #include "ntqdrawutil.h" // for now
         #include "ntqpixmap.h" // for now
         #include "ntqpalette.h" // for now
        @@ -882,7 +882,7 @@ static const char *button_xpm[] = {
         ".rb..g.e#s.YaPbV#z.wbnbV.wbn#Dbn.OaP.4.y.4#N.K.K#T#t.U.Q#z.w#F#YazanaNan.bap#Ga0az#0#P#b#KbR.Z#aaz#ibK#h#u.wbC#B#b.1bebs#B#D#baLbcbA.k#P#G#E#S#2.K.8bAbL.Tbw.6.K#G#0.wbVbVbV#s#s.e.Oba.K.4aT.k.0"
         };
         
        -static void drawroundrect( TQPainter *p, TQCOORD x, TQCOORD y,
        +static void drawroundrect( TQPainter *p, TQCOORD x, TQCOORD y,
                                    TQCOORD w, TQCOORD h, TQCOORD d );
         
         static inline int buttonthickness( int d );
        @@ -924,8 +924,8 @@ enum { PointUp, PointDown, PointLeft, PointRight };
             int i;
             for (i=0; i<img.numColors(); i++) {
                 TQRgb rgb = img.color(i);
        -        TQColor c(rgb);
        -        rgb = c.dark(120).rgb();
        +        TQColor c(rgb);
        +        rgb = c.dark(120).rgb();
                 img.setColor(i,rgb);
             }
             TQPixmap mid;
        @@ -935,8 +935,8 @@ enum { PointUp, PointDown, PointLeft, PointRight };
             img.detach();
             for (i=0; i<img.numColors(); i++) {
                 TQRgb rgb = img.color(i);
        -        TQColor c(rgb);
        -        rgb = c.light().rgb();
        +        TQColor c(rgb);
        +        rgb = c.light().rgb();
                 img.setColor(i,rgb);
             }
             TQPixmap light;
        @@ -946,8 +946,8 @@ enum { PointUp, PointDown, PointLeft, PointRight };
             img.detach();
             for (i=0; i<img.numColors(); i++) {
                 TQRgb rgb = img.color(i);
        -        TQColor c(rgb);
        -        rgb = c.dark(180).rgb();
        +        TQColor c(rgb);
        +        rgb = c.dark(180).rgb();
                 img.setColor(i,rgb);
             }
             TQPixmap dark;
        @@ -962,8 +962,8 @@ enum { PointUp, PointDown, PointLeft, PointRight };
             img.detach();
             for (i=0; i<img.numColors(); i++) {
                 TQRgb rgb = img.color(i);
        -        TQColor c(rgb);
        -        rgb = c.dark(180).rgb();
        +        TQColor c(rgb);
        +        rgb = c.dark(180).rgb();
                 img.setColor(i,rgb);
             }
             sunkenDark = new TQPixmap;
        @@ -974,8 +974,8 @@ enum { PointUp, PointDown, PointLeft, PointRight };
             img.detach();
             for (i=0; i<img.numColors(); i++) {
                 TQRgb rgb = img.color(i);
        -        TQColor c(rgb);
        -        rgb = c.light(130).rgb();
        +        TQColor c(rgb);
        +        rgb = c.light(130).rgb();
                 img.setColor(i,rgb);
             }
             sunkenLight= new TQPixmap;
        @@ -985,7 +985,7 @@ enum { PointUp, PointDown, PointLeft, PointRight };
         
             TQPalette op(TQColor(212,140,95));
             // TQPalette op(white);
        -    TQColorGroup active (op.active().foreground(),
        +    TQColorGroup active (op.active().foreground(),
                              TQBrush(op.active().button(),button),
                              TQBrush(op.active().light(), light),
                              TQBrush(op.active().dark(), dark),
        @@ -995,7 +995,7 @@ enum { PointUp, PointDown, PointLeft, PointRight };
                              TQColor(236,182,120),
                              TQBrush(op.active().background(), background)
                              );
        -    TQColorGroup disabled (op.disabled().foreground(),
        +    TQColorGroup disabled (op.disabled().foreground(),
                              TQBrush(op.disabled().button(),button),
                              TQBrush(op.disabled().light(), light),
                              op.disabled().dark(),
        @@ -1055,9 +1055,9 @@ void NorwegianWoodStyle::unPolish( void NorwegianWoodStyle::drawPrimitive( PrimitiveElement pe,
        -                                        TQPainter *p,
        +                                        TQPainter *p,
                                                 const TQRect &r,
        -                                        const TQColorGroup &cg,
        +                                        const TQColorGroup &cg,
                                                 SFlags flags, const TQStyleOption& opt ) const
         {
             int x, y, w, h;
        @@ -1071,12 +1071,12 @@ void NorwegianWoodStyle::unPolish( TQRegion internR = roundRectRegion( TQRect(x + b, y + b,
                                                                w - 2 * b,
                                                                h - 2 * b), d - b );
        -            TQPen oldPen = p->pen();
        +            TQPen oldPen = p->pen();
         
        -            TQBrush brush( flags & Style_Sunken ? cg.brush(TQColorGroup::Mid) :
        -                          cg.brush(TQColorGroup::Button) );
        -            p->setClipRegion( internR );
        -            p->fillRect( r, brush );
        +            TQBrush brush( flags & Style_Sunken ? cg.brush(TQColorGroup::Mid) :
        +                          cg.brush(TQColorGroup::Button) );
        +            p->setClipRegion( internR );
        +            p->fillRect( r, brush );
         
                     int e = TQMIN( w, h ) / 2;
                     TQPoint p2( x + w - 1 - e, y + e );
        @@ -1085,24 +1085,24 @@ void NorwegianWoodStyle::unPolish( TQPointArray a;
                     a.setPoints( 5, x,y, x+w-1, y, p2.x(), p2.y(), p3.x(), p3.y(),
                                  x, y + h - 1 );
        -            p->setClipRegion( TQRegion(a) - internR );
        +            p->setClipRegion( TQRegion(a) - internR );
         
        -            p->fillRect( r, (flags & Style_Sunken ? TQBrush( cg.dark(), *sunkenDark)
        -                                             : cg.brush(TQColorGroup::Light)) );
        +            p->fillRect( r, (flags & Style_Sunken ? TQBrush( cg.dark(), *sunkenDark)
        +                                             : cg.brush(TQColorGroup::Light)) );
         
                     // A little inversion is needed the buttons
                     // ( but not flat)
                     if ( flags & Style_Raised || flags & Style_Sunken ) {
                         a.setPoint( 0, x + w - 1, y + w - 1 );
        -                p->setClipRegion( TQRegion( a ) - internR );
        +                p->setClipRegion( TQRegion( a ) - internR );
         
        -                p->fillRect( r, (flags & Style_Sunken ? TQBrush( cg.light(), *sunkenLight) : cg.brush( TQColorGroup::Dark ) ) );
        +                p->fillRect( r, (flags & Style_Sunken ? TQBrush( cg.light(), *sunkenLight) : cg.brush( TQColorGroup::Dark ) ) );
                     }
        -            p->setClipRegion( internR );
        -            p->setClipping( FALSE );
        -            p->setPen( cg.foreground() );
        +            p->setClipRegion( internR );
        +            p->setClipping( FALSE );
        +            p->setPen( cg.foreground() );
                     drawroundrect( p, x, y, w, h, d );
        -            p->setPen( oldPen );
        +            p->setPen( oldPen );
                     break;
                 }
             case PE_ScrollBarAddLine:
        @@ -1124,10 +1124,10 @@ void NorwegianWoodStyle::unPolish( void NorwegianWoodStyle::drawControl( ControlElement element,
        -                                      TQPainter *p,
        +                                      TQPainter *p,
                                               const TQWidget *widget,
                                               const TQRect &r,
        -                                      const TQColorGroup &cg,
        +                                      const TQColorGroup &cg,
                                               SFlags how, const TQStyleOption& opt ) const
         {
             switch( element ) {
        @@ -1135,7 +1135,7 @@ void NorwegianWoodStyle::unPolish( TQPushButton *btn;
                     btn = ( const TQPushButton * )widget;
        -            TQColorGroup myCg( cg );
        +            TQColorGroup myCg( cg );
                     SFlags flags = Style_Default;
                     if ( btn->isOn() )
                         flags |= Style_On;
        @@ -1151,17 +1151,17 @@ void NorwegianWoodStyle::unPolish(             r.coords( &x1, &y1, &x2, &y2 );
         
        -            p->setPen( cg.foreground() );
        -            p->setBrush( TQBrush( cg.button(), NoBrush ) );
        +            p->setPen( cg.foreground() );
        +            p->setBrush( TQBrush( cg.button(), NoBrush ) );
         
        -            TQBrush fill;
        +            TQBrush fill;
                     if ( btn->isDown() )
        -                fill = cg.brush( TQColorGroup::Mid );
        +                fill = cg.brush( TQColorGroup::Mid );
                     else if ( btn->isOn() )
        -                fill = TQBrush( cg.mid(), Dense4Pattern );
        +                fill = TQBrush( cg.mid(), Dense4Pattern );
                     else
        -                fill = cg.brush( TQColorGroup::Button );
        -            myCg.setBrush( TQColorGroup::Mid, fill );
        +                fill = cg.brush( TQColorGroup::Button );
        +            myCg.setBrush( TQColorGroup::Mid, fill );
         
                     if ( btn->isDefault() ) {
                         x1 += 2;
        @@ -1178,7 +1178,7 @@ void NorwegianWoodStyle::unPolish( TQPen pen( TQt::black, 4 );
                         pen.setCapStyle( TQt::RoundCap );
                         pen.setJoinStyle( TQt::RoundJoin );
        -                p->setPen( pen );
        +                p->setPen( pen );
                         drawroundrect( p, x1 - 1, y1 - 1, x2 - x1 + 3, y2 - y1 + 3, 8 );
                     }
         
        @@ -1194,8 +1194,8 @@ void NorwegianWoodStyle::unPolish(             if ( p->brush().style() != NoBrush )
        -                p->setBrush( NoBrush );
        +            if ( p->brush().style() != NoBrush )
        +                p->setBrush( NoBrush );
                     break;
                 }
             case CE_PushButtonLabel:
        @@ -1212,7 +1212,7 @@ void NorwegianWoodStyle::unPolish( isMenuButton() )
                         dx = ( y2 - y1 ) / 3;
                     if ( dx || dy )
        -                p->translate( dx, dy );
        +                p->translate( dx, dy );
         
                     x += 2;
                     y += 2;
        @@ -1222,10 +1222,10 @@ void NorwegianWoodStyle::unPolish( isEnabled(),
                               btn->pixmap(), btn->text(), -1,
        -                      (btn->isDown() || btn->isOn()) ? &cg.brightText()
        -                      : &cg.buttonText() );
        +                      (btn->isDown() || btn->isOn()) ? &cg.brightText()
        +                      : &cg.buttonText() );
                     if ( dx || dy )
        -                p->translate( -dx, -dy );
        +                p->translate( -dx, -dy );
                     break;
                 }
             default:
        @@ -1235,7 +1235,7 @@ void NorwegianWoodStyle::unPolish( void NorwegianWoodStyle::drawControlMask( ControlElement element,
        -                                          TQPainter *p,
        +                                          TQPainter *p,
                                                   const TQWidget *widget,
                                                   const TQRect &r,
                                                   const TQStyleOption& opt ) const
        @@ -1244,8 +1244,8 @@ void NorwegianWoodStyle::unPolish(             int d = TQMIN( r.width(), r.height() ) / 2;
        -            p->setPen( color1 );
        -            p->setBrush( color1 );
        +            p->setPen( color1 );
        +            p->setBrush( color1 );
                     drawroundrect( p, r.x(), r.y(), r.width(), r.height(), d );
                     break;
                 }
        @@ -1256,10 +1256,10 @@ void NorwegianWoodStyle::unPolish( void NorwegianWoodStyle::drawComplexControl( ComplexControl cc,
        -                                             TQPainter *p,
        +                                             TQPainter *p,
                                                      const TQWidget *widget,
                                                      const TQRect &r,
        -                                             const TQColorGroup &cg,
        +                                             const TQColorGroup &cg,
                                                      SFlags how,
                                                      SCFlags sub,
                                                      SCFlags subActive,
        @@ -1283,20 +1283,20 @@ void NorwegianWoodStyle::unPolish( drawPrimitive( PE_ArrowDown, p,
                                        TQRect(ax, ay, awh, awh), cg, how, opt );
         
        -            TQPen oldPen = p->pen();
        -            p->setPen( cg.light() );
        -            p->drawLine( ax, sy, ax + awh - 1, sy );
        -            p->drawLine( ax, sy, ax, sy + sh - 1 );
        -            p->setPen( cg.dark() );
        -            p->drawLine( ax + 1, sy + sh - 1, ax + awh - 1, sy + sh - 1 );
        -            p->drawLine( ax + awh - 1, sy + 1, ax + awh - 1, sy + sh - 1 );
        -            p->setPen( oldPen );
        +            TQPen oldPen = p->pen();
        +            p->setPen( cg.light() );
        +            p->drawLine( ax, sy, ax + awh - 1, sy );
        +            p->drawLine( ax, sy, ax, sy + sh - 1 );
        +            p->setPen( cg.dark() );
        +            p->drawLine( ax + 1, sy + sh - 1, ax + awh - 1, sy + sh - 1 );
        +            p->drawLine( ax + awh - 1, sy + 1, ax + awh - 1, sy + sh - 1 );
        +            p->setPen( oldPen );
         
                     if ( cmb->editable() ) {
                         TQRect r( querySubControlMetrics(CC_ComboBox, widget,
                                                         SC_ComboBoxEditField, opt) );
        -                qDrawShadePanel( p, r, cg, TRUE, 1,
        -                                 &cg.brush(TQColorGroup::Button) );
        +                qDrawShadePanel( p, r, cg, TRUE, 1,
        +                                 &cg.brush(TQColorGroup::Button) );
                     }
         
                     break;
        @@ -1309,7 +1309,7 @@ void NorwegianWoodStyle::unPolish( void NorwegianWoodStyle::drawComplexControlMask( ComplexControl control,
        -                                                 TQPainter *p,
        +                                                 TQPainter *p,
                                                          const TQWidget *widget,
                                                          const TQRect &r,
                                                          const TQStyleOption& opt ) const
        @@ -1318,8 +1318,8 @@ void NorwegianWoodStyle::unPolish( width(), r.height() ) / 2;
        -            p->setPen( color1 );
        -            p->setBrush( color1 );
        +            p->setPen( color1 );
        +            p->setBrush( color1 );
                     drawroundrect( p, r.x(), r.y(), r.width(), r.height(), d );
                     break;
                 }
        @@ -1426,12 +1426,12 @@ void NorwegianWoodStyle::unPolish( TQPainter *p, TQCOORD x, TQCOORD y,
        +static void drawroundrect( TQPainter *p, TQCOORD x, TQCOORD y,
                                    TQCOORD w, TQCOORD h, TQCOORD d )
         {
             int rx = (200*d)/w;
             int ry = (200*d)/h;
        -    p->drawRoundRect( x, y, w, h, rx, ry );
        +    p->drawRoundRect( x, y, w, h, rx, ry );
         }
         
         static TQRegion roundRectRegion( const TQRect& g, int r )
        @@ -1495,9 +1495,9 @@ static void get_combo_parameters( const TQRect &r
         static inline int buttonthickness( int d )
         { return  d > 20 ? 5 : ( d < 10 ? 2: 3 ); }
         
        -void NorwegianWoodStyle::drawSemicircleButton( TQPainter *p, const TQRect &r,
        +void NorwegianWoodStyle::drawSemicircleButton( TQPainter *p, const TQRect &r,
                                                        int dir, bool sunken,
        -                                               const TQColorGroup &g ) const
        +                                               const TQColorGroup &g ) const
         {
             int b =  pixelMetric( PM_ScrollBarExtent ) > 20 ? 3 : 2;
         
        @@ -1531,21 +1531,21 @@ void NorwegianWoodStyle::drawSemicircleButton( TQPointArray a;
             a.setPoints( 3, r.x(), r.y(), r.x(), r.bottom(), r.right(), r.top() );
         
        -    TQRegion oldClip = p->clipRegion();
        -    bool bReallyClip = p->hasClipping();  // clip only if we really want.
        -    p->setClipRegion( intern );
        -    p->fillRect( r, g.brush( TQColorGroup::Button ) );
        +    TQRegion oldClip = p->clipRegion();
        +    bool bReallyClip = p->hasClipping();  // clip only if we really want.
        +    p->setClipRegion( intern );
        +    p->fillRect( r, g.brush( TQColorGroup::Button ) );
         
        -    p->setClipRegion( TQRegion(a)&extrn );
        -    p->fillRect( r, sunken ? g.dark() : g.light() );
        +    p->setClipRegion( TQRegion(a)&extrn );
        +    p->fillRect( r, sunken ? g.dark() : g.light() );
         
             a.setPoints( 3, r.right(), r.bottom(), r.x(), r.bottom(),
                          r.right(), r.top() );
        -    p->setClipRegion( TQRegion(a) &  extrn );
        -    p->fillRect( r, sunken ? g.light() : g.dark() );
        +    p->setClipRegion( TQRegion(a) &  extrn );
        +    p->fillRect( r, sunken ? g.light() : g.dark() );
         
        -    p->setClipRegion( oldClip );
        -    p->setClipping( bReallyClip );
        +    p->setClipRegion( oldClip );
        +    p->setClipping( bReallyClip );
         }
         
         #endif
        @@ -1588,25 +1588,25 @@ public:
             void unPolish( TQWidget* );
         
             void drawPrimitive( PrimitiveElement pe,
        -                        TQPainter *p,
        +                        TQPainter *p,
                                 const TQRect &r,
        -                        const TQColorGroup &cg,
        +                        const TQColorGroup &cg,
                                 SFlags flags = Style_Default,
                                 const TQStyleOption& = TQStyleOption::Default) const;
         
             void drawControl( ControlElement element,
        -                      TQPainter *p,
        +                      TQPainter *p,
                               const TQWidget *widget,
                               const TQRect &r,
        -                      const TQColorGroup &cg,
        +                      const TQColorGroup &cg,
                               SFlags how = Style_Default,
                               const TQStyleOption& = TQStyleOption::Default ) const;
         
             void drawComplexControl( ComplexControl cc,
        -                             TQPainter *p,
        +                             TQPainter *p,
                                      const TQWidget *widget,
                                      const TQRect &r,
        -                             const TQColorGroup &cg,
        +                             const TQColorGroup &cg,
                                      SFlags how = Style_Default,
                                      SCFlags sub = SC_All,
                                      SCFlags subActive = SC_None,
        @@ -1615,10 +1615,10 @@ public:
         
         
         private:
        -    void drawMetalFrame(  TQPainter *p, int x, int y, int w, int h ) const;
        -    void drawMetalGradient( TQPainter *p, int x, int y, int w, int h,
        +    void drawMetalFrame(  TQPainter *p, int x, int y, int w, int h ) const;
        +    void drawMetalGradient( TQPainter *p, int x, int y, int w, int h,
                                   bool sunken, bool horz, bool flat=FALSE ) const;
        -    void drawMetalButton( TQPainter *p, int x, int y, int w, int h,
        +    void drawMetalButton( TQPainter *p, int x, int y, int w, int h,
                                   bool sunken, bool horz, bool flat=FALSE ) const;
             TQPalette oldPalette;
         };
        @@ -1646,7 +1646,7 @@ private:
         
         #include "ntqapplication.h"
         #include "ntqcombobox.h"
        -#include "ntqpainter.h"
        +#include "tqpainter.h"
         #include "ntqdrawutil.h" // for now
         #include "ntqpixmap.h" // for now
         #include "ntqpalette.h" // for now
        @@ -1681,9 +1681,9 @@ private:
             // we simply create a nice TQColorGroup with a couple of fancy
             // pixmaps here and apply to it all widgets
         
        -    TQFont f("times", app->font().pointSize() );
        -    f.setBold( TRUE );
        -    f.setItalic( TRUE );
        +    TQFont f("times", app->font().pointSize() );
        +    f.setBold( TRUE );
        +    f.setItalic( TRUE );
             app->setFont( f, TRUE, "TQMenuBar");
             app->setFont( f, TRUE, "TQPopupMenu");
         
        @@ -1691,7 +1691,7 @@ private:
         
             //    TQPixmap button( stonedark_xpm );
         
        -    TQColor gold("#B9B9A5A54040"); //same as topgrad below
        +    TQColor gold("#B9B9A5A54040"); //same as topgrad below
             TQPixmap button( 1, 1 ); button.fill( gold );
         
             TQPixmap background(marble_xpm);
        @@ -1701,10 +1701,10 @@ private:
         
             TQPalette op = app->palette();
         
        -    TQColor backCol( 227,227,227 );
        +    TQColor backCol( 227,227,227 );
         
             // TQPalette op(white);
        -    TQColorGroup active (op.active().foreground(),
        +    TQColorGroup active (op.active().foreground(),
                              TQBrush(op.active().button(),button),
                              TQBrush(op.active().light(), light),
                              TQBrush(op.active().dark(), dark),
        @@ -1714,9 +1714,9 @@ private:
                              op.active().base(),//                   TQColor(236,182,120),
                              TQBrush(backCol, background)
                              );
        -    active.setColor( TQColorGroup::ButtonText,  TQt::white  );
        -    active.setColor( TQColorGroup::Shadow,  TQt::black  );
        -    TQColorGroup disabled (op.disabled().foreground(),
        +    active.setColor( TQColorGroup::ButtonText,  TQt::white  );
        +    active.setColor( TQColorGroup::Shadow,  TQt::black  );
        +    TQColorGroup disabled (op.disabled().foreground(),
                              TQBrush(op.disabled().button(),button),
                              TQBrush(op.disabled().light(), light),
                              op.disabled().dark(),
        @@ -1780,9 +1780,9 @@ void MetalStyle::unPolish( void MetalStyle::drawPrimitive( PrimitiveElement pe,
        -                                TQPainter *p,
        +                                TQPainter *p,
                                         const TQRect &r,
        -                                const TQColorGroup &cg,
        +                                const TQColorGroup &cg,
                                         SFlags flags, const TQStyleOption& opt ) const
         {
             switch( pe ) {
        @@ -1824,10 +1824,10 @@ void MetalStyle::unPolish( void MetalStyle::drawControl( ControlElement element,
        -                              TQPainter *p,
        +                              TQPainter *p,
                                       const TQWidget *widget,
                                       const TQRect &r,
        -                              const TQColorGroup &cg,
        +                              const TQColorGroup &cg,
                                       SFlags how,
                                       const TQStyleOption& opt ) const
         {
        @@ -1840,25 +1840,25 @@ void MetalStyle::unPolish(             r.coords( &x1, &y1, &x2, &y2 );
         
        -            p->setPen( cg.foreground() );
        -            p->setBrush( TQBrush(cg.button(), NoBrush) );
        +            p->setPen( cg.foreground() );
        +            p->setBrush( TQBrush(cg.button(), NoBrush) );
         
         
        -            TQBrush fill;
        +            TQBrush fill;
                     if ( btn->isDown() )
        -                fill = cg.brush( TQColorGroup::Mid );
        +                fill = cg.brush( TQColorGroup::Mid );
                     else if ( btn->isOn() )
        -                fill = TQBrush( cg.mid(), Dense4Pattern );
        +                fill = TQBrush( cg.mid(), Dense4Pattern );
                     else
        -                fill = cg.brush( TQColorGroup::Button );
        +                fill = cg.brush( TQColorGroup::Button );
         
                     if ( btn->isDefault() ) {
                         TQPointArray a;
                         a.setPoints( 9,
                                      x1, y1, x2, y1, x2, y2, x1, y2, x1, y1+1,
                                      x2-1, y1+1, x2-1, y2-1, x1+1, y2-1, x1+1, y1+1 );
        -                p->setPen( TQt::black );
        -                p->drawPolyline( a );
        +                p->setPen( TQt::black );
        +                p->drawPolyline( a );
                         x1 += 2;
                         y1 += 2;
                         x2 -= 2;
        @@ -1885,8 +1885,8 @@ void MetalStyle::unPolish(             if ( p->brush().style() != NoBrush )
        -                p->setBrush( NoBrush );
        +            if ( p->brush().style() != NoBrush )
        +                p->setBrush( NoBrush );
                     break;
                 }
             case CE_PushButtonLabel:
        @@ -1907,7 +1907,7 @@ void MetalStyle::unPolish(                 p->translate( dx, dy );
        +                p->translate( dx, dy );
                     x += 2;
                     y += 2;
                     w -= 4;
        @@ -1916,9 +1916,9 @@ void MetalStyle::unPolish( isEnabled(),
                               btn->pixmap(), btn->text(), -1,
        -                      (btn->isDown() || btn->isOn())? &cg.brightText() : &cg.buttonText() );
        +                      (btn->isDown() || btn->isOn())? &cg.brightText() : &cg.buttonText() );
                     if ( dx || dy )
        -                p->translate( -dx, -dy );
        +                p->translate( -dx, -dy );
                     break;
                 }
             default:
        @@ -1927,10 +1927,10 @@ void MetalStyle::unPolish( void MetalStyle::drawComplexControl( ComplexControl cc,
        -                                     TQPainter *p,
        +                                     TQPainter *p,
                                              const TQWidget *widget,
                                              const TQRect &r,
        -                                     const TQColorGroup &cg,
        +                                     const TQColorGroup &cg,
                                              SFlags how,
                                              SCFlags sub,
                                              SCFlags subActive,
        @@ -1956,9 +1956,9 @@ void MetalStyle::unPolish( TQComboBox *cmb = ( const TQComboBox* ) widget;
         
        -            qDrawWinPanel( p, r.x(), r.y(), r.width(), r.height(), cg, TRUE,
        -                           cmb->isEnabled() ? &cg.brush( TQColorGroup::Base ) :
        -                                              &cg.brush( TQColorGroup::Background ) );
        +            qDrawWinPanel( p, r.x(), r.y(), r.width(), r.height(), cg, TRUE,
        +                           cmb->isEnabled() ? &cg.brush( TQColorGroup::Base ) :
        +                                              &cg.brush( TQColorGroup::Background ) );
                     drawMetalButton( p, r.x() + r.width() - 2 - 16, r.y() + 2, 16, r.height() - 4,
                                      how & Style_Sunken, TRUE );
                     drawPrimitive( PE_ArrowDown, p,
        @@ -1982,7 +1982,7 @@ void MetalStyle::unPolish( MetalStyle::drawMetalButton( TQPainter *p, int x, int y, int w, int h,
        +void MetalStyle::drawMetalButton( TQPainter *p, int x, int y, int w, int h,
                                           bool sunken, bool horz, bool flat  ) const
         {
         
        @@ -1993,13 +1993,13 @@ void MetalStyle::drawMetalButton( T
         
         
         
        -void MetalStyle::drawMetalFrame( TQPainter *p, int x, int y, int w, int h ) const
        +void MetalStyle::drawMetalFrame( TQPainter *p, int x, int y, int w, int h ) const
         {
        -    TQColor top1("#878769691515");
        -    TQColor top2("#C6C6B4B44949");
        +    TQColor top1("#878769691515");
        +    TQColor top2("#C6C6B4B44949");
         
        -    TQColor bot2("#70705B5B1414");
        -    TQColor bot1("#56564A4A0E0E"); //first from the bottom
        +    TQColor bot2("#70705B5B1414");
        +    TQColor bot1("#56564A4A0E0E"); //first from the bottom
         
         
             int x2 = x + w - 1;
        @@ -2007,39 +2007,39 @@ void MetalStyle::drawMetalFrame( TQ
         
             //frame:
         
        -    p->setPen( top1 );
        -    p->drawLine( x, y2, x, y );
        -    p->drawLine( x, y, x2-1, y );
        -    p->setPen( top2 );
        -    p->drawLine( x+1, y2 -1, x+1, y+1 );
        -    p->drawLine( x+1, y+1 , x2-2, y+1 );
        +    p->setPen( top1 );
        +    p->drawLine( x, y2, x, y );
        +    p->drawLine( x, y, x2-1, y );
        +    p->setPen( top2 );
        +    p->drawLine( x+1, y2 -1, x+1, y+1 );
        +    p->drawLine( x+1, y+1 , x2-2, y+1 );
         
        -    p->setPen( bot1 );
        -    p->drawLine( x+1, y2, x2, y2 );
        -    p->drawLine( x2, y2, x2, y );
        -    p->setPen( bot2 );
        -    p->drawLine( x+1, y2-1, x2-1, y2-1 );
        -    p->drawLine( x2-1, y2-1, x2-1, y+1 );
        +    p->setPen( bot1 );
        +    p->drawLine( x+1, y2, x2, y2 );
        +    p->drawLine( x2, y2, x2, y );
        +    p->setPen( bot2 );
        +    p->drawLine( x+1, y2-1, x2-1, y2-1 );
        +    p->drawLine( x2-1, y2-1, x2-1, y+1 );
         
         
         }
         
         
        -void MetalStyle::drawMetalGradient( TQPainter *p, int x, int y, int w, int h,
        +void MetalStyle::drawMetalGradient( TQPainter *p, int x, int y, int w, int h,
                                             bool sunken, bool horz, bool flat  ) const
         
         {
        -    TQColor highlight("#E8E8DDDD6565");
        -    TQColor subh1("#CECEBDBD5151");
        -    TQColor subh2("#BFBFACAC4545");
        +    TQColor highlight("#E8E8DDDD6565");
        +    TQColor subh1("#CECEBDBD5151");
        +    TQColor subh2("#BFBFACAC4545");
         
        -    TQColor topgrad("#B9B9A5A54040");
        -    TQColor botgrad("#89896C6C1A1A");
        +    TQColor topgrad("#B9B9A5A54040");
        +    TQColor botgrad("#89896C6C1A1A");
         
         
         
             if ( flat && !sunken ) {
        -            p->fillRect( x + 2, y + 2, w - 4,h -4, topgrad );
        +            p->fillRect( x + 2, y + 2, w - 4,h -4, topgrad );
             } else {
                 // highlight:
                 int i = 0;
        @@ -2053,18 +2053,18 @@ void MetalStyle::drawMetalGradient( drawLine( x1, y1+i, x2, y1+i ); \
        +                    p->drawLine( x1, y1+i, x2, y1+i ); \
                          else \
        -                    p->drawLine( x1+i, y1, x1+i, y2 ); \
        +                    p->drawLine( x1+i, y1, x1+i, y2 ); \
                          i++;
         
                 if ( !sunken ) {
        -            p->setPen( highlight );
        +            p->setPen( highlight );
                     DRAWLINE;
                     DRAWLINE;
        -            p->setPen( subh1 );
        +            p->setPen( subh1 );
                     DRAWLINE;
        -            p->setPen( subh2 );
        +            p->setPen( subh2 );
                     DRAWLINE;
                 }
                 // gradient:
        @@ -2072,32 +2072,32 @@ void MetalStyle::drawMetalGradient(             topgrad.hsv( &h1, &s1, &v1 );
        -            botgrad.hsv( &h2, &s2, &v2 );
        +            topgrad.hsv( &h1, &s1, &v1 );
        +            botgrad.hsv( &h2, &s2, &v2 );
                 } else {
        -            botgrad.hsv( &h1, &s1, &v1 );
        -            topgrad.hsv( &h2, &s2, &v2 );
        +            botgrad.hsv( &h1, &s1, &v1 );
        +            topgrad.hsv( &h2, &s2, &v2 );
                 }
         
                 if ( ng > 1 ) {
                     for ( int j =0; j < ng; j++ ) {
        -                p->setPen( TQColor( h1 + ((h2-h1)*j)/(ng-1),
        +                p->setPen( TQColor( h1 + ((h2-h1)*j)/(ng-1),
                                            s1 + ((s2-s1)*j)/(ng-1),
                                            v1 + ((v2-v1)*j)/(ng-1),  TQColor::Hsv ) );
                         DRAWLINE;
                     }
                 } else if ( ng == 1 ) {
        -            p->setPen( TQColor((h1+h2)/2, (s1+s2)/2, (v1+v2)/2, TQColor::Hsv) );
        +            p->setPen( TQColor((h1+h2)/2, (s1+s2)/2, (v1+v2)/2, TQColor::Hsv) );
                     DRAWLINE;
                 }
                 if ( sunken ) {
        -            p->setPen( subh2 );
        +            p->setPen( subh2 );
                     DRAWLINE;
         
        -            p->setPen( subh1 );
        +            p->setPen( subh1 );
                     DRAWLINE;
         
        -            p->setPen( highlight );
        +            p->setPen( highlight );
                     DRAWLINE;
                     DRAWLINE;
                 }
        @@ -2135,7 +2135,7 @@ void MetalStyle::drawMetalGradient( tqmainwindow.h>
        -#include <ntqfont.h>
        +#include <tqfont.h>
         
         class TQTabWidget;
         
        @@ -2155,7 +2155,7 @@ protected slots:
             void aboutTQt();
         
         private:
        -    TQFont appFont;
        +    TQFont appFont;
         };
         
         
        @@ -2191,7 +2191,7 @@ private:
         #include <tqpopupmenu.h>
         #include <tqmenubar.h>
         #include <ntqmessagebox.h>
        -#include <ntqfont.h>
        +#include <tqfont.h>
         #include <tqstylefactory.h>
         #include <tqaction.h>
         #include <tqsignalmapper.h>
        diff --git a/doc/html/threads.html b/doc/html/threads.html
        index febd6d2c3..f52ad6d3e 100644
        --- a/doc/html/threads.html
        +++ b/doc/html/threads.html
        @@ -235,17 +235,17 @@ mutex is not unlocked when re-entering the event loop (e.g. when
         executing a modal dialog with TQDialog::exec()).
         

        If another thread locks the TQt library mutex, then the event loop will stop processing events, and the locking thread may do simple GUI -operations. Operations such as creating a TQPainter and drawing a line +operations. Operations such as creating a TQPainter and drawing a line are examples of simple GUI operations:

             ...
             tqApp->lock();
         
        -    TQPainter p;
        -    p.begin( mywidget );
        -    p.setPen( TQColor( "red" ) );
        -    p.drawLine( 0,0,100,100 );
        -    p.end();
        +    TQPainter p;
        +    p.begin( mywidget );
        +    p.setPen( TQColor( "red" ) );
        +    p.drawLine( 0,0,100,100 );
        +    p.end();
         
             tqApp->unlock();
             ...
        diff --git a/doc/html/tictac-example.html b/doc/html/tictac-example.html
        index cdb2a1126..f3ac95b51 100644
        --- a/doc/html/tictac-example.html
        +++ b/doc/html/tictac-example.html
        @@ -78,7 +78,7 @@ public:
             TQSize sizeHint() const { return TQSize( 32, 32 ); }
             TQSize minimumSizeHint() const { return TQSize( 10, 10 ); }
         protected:
        -    void        drawButtonLabel( TQPainter * );
        +    void        drawButtonLabel( TQPainter * );
         private:
             Type t;
         };
        @@ -164,7 +164,7 @@ private:
         
         #include "tictac.h"
         #include <ntqapplication.h>
        -#include <ntqpainter.h>
        +#include <tqpainter.h>
         #include <ntqdrawutil.h>
         #include <ntqcombobox.h>
         #include <ntqcheckbox.h>
        @@ -191,15 +191,15 @@ private:
         // Paints TicTacButton
         //
         
        -void TicTacButton::drawButtonLabel( TQPainter *p )
        +void TicTacButton::drawButtonLabel( TQPainter *p )
         {
             TQRect r = rect();
        -    p->setPen( TQPen( white,2 ) );               // set fat pen
        +    p->setPen( TQPen( white,2 ) );               // set fat pen
             if ( t == Circle ) {
        -        p->drawEllipse( r.left()+4, r.top()+4, r.width()-8, r.height()-8 );
        +        p->drawEllipse( r.left()+4, r.top()+4, r.width()-8, r.height()-8 );
             } else if ( t == Cross ) {                  // draw cross
        -        p->drawLine( r.topLeft()   +TQPoint(4,4), r.bottomRight()-TQPoint(4,4));
        -        p->drawLine( r.bottomLeft()+TQPoint(4,-4),r.topRight()   -TQPoint(4,-4));
        +        p->drawLine( r.topLeft()   +TQPoint(4,4), r.bottomRight()-TQPoint(4,4));
        +        p->drawLine( r.bottomLeft()+TQPoint(4,-4),r.topRight()   -TQPoint(4,-4));
             }
         }
         
        diff --git a/doc/html/titleindex b/doc/html/titleindex
        index 0a15fcf2f..08ccb296f 100644
        --- a/doc/html/titleindex
        +++ b/doc/html/titleindex
        @@ -11,7 +11,7 @@ A Tiny QTL Example | qtl-tqvaluelist-example.html
         A qt-interest mail archive search | archivesearch-example.html
         A simple HTTP daemon | httpd-example.html
         A simple NNTP implementation | networkprotocol-example.html
        -A simple demonstration of QFont member functions | simple-font-demo-example.html
        +A simple demonstration of TQFont member functions | simple-font-demo-example.html
         A simple mail client | mail-example.html
         A small client-server example | clientserver-example.html
         A tiny SAX2 parser | tagreader-example.html
        @@ -172,8 +172,8 @@ TQBitmap Class | tqbitmap.html
         TQBitmap Member List | tqbitmap-members.html
         QBoxLayout Class | qboxlayout.html
         QBoxLayout Member List | qboxlayout-members.html
        -QBrush Class | ntqbrush.html
        -QBrush Member List | qbrush-members.html
        +TQBrush Class | tqbrush.html
        +TQBrush Member List | tqbrush-members.html
         TQBuffer Class | tqbuffer.html
         TQBuffer Member List | tqbuffer-members.html
         QButton Class | ntqbutton.html
        @@ -234,14 +234,14 @@ TQClipboard Class | tqclipboard.html
         TQClipboard Member List | tqclipboard-members.html
         QCloseEvent Class | qcloseevent.html
         QCloseEvent Member List | qcloseevent-members.html
        -TQColor Class | ntqcolor.html
        -TQColor Member List | qcolor-members.html
        -QColorDialog Class | ntqcolordialog.html
        -QColorDialog Member List | qcolordialog-members.html
        +TQColor Class | tqcolor.html
        +TQColor Member List | tqcolor-members.html
        +TQColorDialog Class | tqcolordialog.html
        +TQColorDialog Member List | tqcolordialog-members.html
         TQColorDrag Class | tqcolordrag.html
         TQColorDrag Member List | tqcolordrag-members.html
        -QColorGroup Class | qcolorgroup.html
        -QColorGroup Member List | qcolorgroup-members.html
        +TQColorGroup Class | tqcolorgroup.html
        +TQColorGroup Member List | tqcolorgroup-members.html
         QComboBox Class | ntqcombobox.html
         QComboBox Member List | qcombobox-members.html
         QComboTableItem Class | qcombotableitem.html
        @@ -378,17 +378,17 @@ QFocusData Class | ntqfocusdata.html
         QFocusData Member List | qfocusdata-members.html
         QFocusEvent Class | qfocusevent.html
         QFocusEvent Member List | qfocusevent-members.html
        -QFont Class | ntqfont.html
        -QFont Examples | qfont-examples.html
        -QFont Member List | qfont-members.html
        -QFontDatabase Class | ntqfontdatabase.html
        -QFontDatabase Member List | qfontdatabase-members.html
        -QFontDialog Class | ntqfontdialog.html
        -QFontDialog Member List | qfontdialog-members.html
        -QFontInfo Class | ntqfontinfo.html
        -QFontInfo Member List | qfontinfo-members.html
        -QFontMetrics Class | ntqfontmetrics.html
        -QFontMetrics Member List | qfontmetrics-members.html
        +TQFont Class | tqfont.html
        +TQFont Examples | tqfont-examples.html
        +TQFont Member List | tqfont-members.html
        +TQFontDatabase Class | tqfontdatabase.html
        +TQFontDatabase Member List | tqfontdatabase-members.html
        +TQFontDialog Class | tqfontdialog.html
        +TQFontDialog Member List | tqfontdialog-members.html
        +TQFontInfo Class | tqfontinfo.html
        +TQFontInfo Member List | tqfontinfo-members.html
        +TQFontMetrics Class | tqfontmetrics.html
        +TQFontMetrics Member List | tqfontmetrics-members.html
         QFrame Class | ntqframe.html
         QFrame Member List | qframe-members.html
         TQFtp Class | tqftp.html
        @@ -575,8 +575,8 @@ QMouseEvent Class | qmouseevent.html
         QMouseEvent Member List | qmouseevent-members.html
         QMoveEvent Class | qmoveevent.html
         QMoveEvent Member List | qmoveevent-members.html
        -QMovie Class | ntqmovie.html
        -QMovie Member List | qmovie-members.html
        +TQMovie Class | tqmovie.html
        +TQMovie Member List | tqmovie-members.html
         QMultiLineEdit Class | ntqmultilineedit.html
         QMultiLineEdit Member List | qmultilineedit-members.html
         TQMutex Class | tqmutex.html
        @@ -605,14 +605,14 @@ TQObjectListIterator Class | tqobjectlistiterator.html
         TQObjectListIterator Member List | tqobjectlistiterator-members.html
         QPNGImagePacker Class | qpngimagepacker.html
         QPNGImagePacker Member List | qpngimagepacker-members.html
        -QPaintDevice Class | ntqpaintdevice.html
        -QPaintDevice Member List | qpaintdevice-members.html
        -QPaintDeviceMetrics Class | ntqpaintdevicemetrics.html
        -QPaintDeviceMetrics Member List | qpaintdevicemetrics-members.html
        -QPaintEvent Class | qpaintevent.html
        -QPaintEvent Member List | qpaintevent-members.html
        -QPainter Class | ntqpainter.html
        -QPainter Member List | qpainter-members.html
        +TQPaintDevice Class | tqpaintdevice.html
        +TQPaintDevice Member List | tqpaintdevice-members.html
        +TQPaintDeviceMetrics Class | tqpaintdevicemetrics.html
        +TQPaintDeviceMetrics Member List | tqpaintdevicemetrics-members.html
        +TQPaintEvent Class | tqpaintevent.html
        +TQPaintEvent Member List | tqpaintevent-members.html
        +TQPainter Class | tqpainter.html
        +TQPainter Member List | tqpainter-members.html
         TQPair Class | tqpair.html
         TQPair Member List | tqpair-members.html
         QPalette Class | ntqpalette.html
        @@ -1083,7 +1083,7 @@ ntqasyncio.h Include File | qasyncio-h.html
         tqbig5codec.h Include File | tqbig5codec-h.html
         tqbitarray.h Include File | tqbitarray-h.html
         tqbitmap.h Include File | tqbitmap-h.html
        -ntqbrush.h Include File | qbrush-h.html
        +tqbrush.h Include File | tqbrush-h.html
         tqbuffer.h Include File | tqbuffer-h.html
         ntqbutton.h Include File | qbutton-h.html
         ntqbuttongroup.h Include File | qbuttongroup-h.html
        @@ -1092,8 +1092,8 @@ tqcanvas.h Include File | tqcanvas-h.html
         ntqcdestyle.h Include File | qcdestyle-h.html
         ntqcheckbox.h Include File | qcheckbox-h.html
         tqclipboard.h Include File | tqclipboard-h.html
        -ntqcolor.h Include File | qcolor-h.html
        -ntqcolordialog.h Include File | qcolordialog-h.html
        +tqcolor.h Include File | tqcolor-h.html
        +tqcolordialog.h Include File | tqcolordialog-h.html
         ntqcombobox.h Include File | qcombobox-h.html
         ntqcommonstyle.h Include File | qcommonstyle-h.html
         tqcstring.h Include File | tqcstring-h.html
        @@ -1127,11 +1127,11 @@ tqfile.h Include File | tqfile-h.html
         tqfiledialog.h Include File | tqfiledialog-h.html
         tqfileinfo.h Include File | tqfileinfo-h.html
         ntqfocusdata.h Include File | qfocusdata-h.html
        -ntqfont.h Include File | qfont-h.html
        -ntqfontdatabase.h Include File | qfontdatabase-h.html
        -ntqfontdialog.h Include File | qfontdialog-h.html
        -ntqfontinfo.h Include File | qfontinfo-h.html
        -ntqfontmetrics.h Include File | qfontmetrics-h.html
        +tqfont.h Include File | tqfont-h.html
        +tqfontdatabase.h Include File | tqfontdatabase-h.html
        +tqfontdialog.h Include File | tqfontdialog-h.html
        +tqfontinfo.h Include File | tqfontinfo-h.html
        +tqfontmetrics.h Include File | tqfontmetrics-h.html
         ntqframe.h Include File | qframe-h.html
         tqftp.h Include File | tqftp-h.html
         tqgb18030codec.h Include File | tqgb18030codec-h.html
        @@ -1180,7 +1180,7 @@ qmotifdialog.h Include File | qmotifdialog-h.html
         ntqmotifplusstyle.h Include File | qmotifplusstyle-h.html
         ntqmotifstyle.h Include File | qmotifstyle-h.html
         qmotifwidget.h Include File | qmotifwidget-h.html
        -ntqmovie.h Include File | qmovie-h.html
        +tqmovie.h Include File | tqmovie-h.html
         ntqmultilineedit.h Include File | qmultilineedit-h.html
         tqmutex.h Include File | tqmutex-h.html
         ntqnamespace.h Include File | qnamespace-h.html
        @@ -1190,9 +1190,9 @@ ntqnp.h Include File | qnp-h.html
         tqobject.h Include File | tqobject-h.html
         tqobjectcleanuphandler.h Include File | tqobjectcleanuphandler-h.html
         tqobjectlist.h Include File | tqobjectlist-h.html
        -ntqpaintdevice.h Include File | qpaintdevice-h.html
        -ntqpaintdevicemetrics.h Include File | qpaintdevicemetrics-h.html
        -ntqpainter.h Include File | qpainter-h.html
        +tqpaintdevice.h Include File | tqpaintdevice-h.html
        +tqpaintdevicemetrics.h Include File | tqpaintdevicemetrics-h.html
        +tqpainter.h Include File | tqpainter-h.html
         tqpair.h Include File | tqpair-h.html
         ntqpalette.h Include File | qpalette-h.html
         ntqpen.h Include File | qpen-h.html
        diff --git a/doc/html/tooltip-example.html b/doc/html/tooltip-example.html
        index b3a81e63f..edccc2c2d 100644
        --- a/doc/html/tooltip-example.html
        +++ b/doc/html/tooltip-example.html
        @@ -74,7 +74,7 @@ public:
             TQRect tip( const TQPoint & );
         
         protected:
        -    void paintEvent( TQPaintEvent * );
        +    void paintEvent( TQPaintEvent * );
             void mousePressEvent( TQMouseEvent * );
             void resizeEvent( TQResizeEvent * );
         
        @@ -100,7 +100,7 @@ private:
         
         #include "tooltip.h"
         #include <ntqapplication.h>
        -#include <ntqpainter.h>
        +#include <tqpainter.h>
         #include <stdlib.h>
         
         
        @@ -147,25 +147,25 @@ TellMe::~TellMe()
         }
         
         
        -void TellMe::paintEvent( TQPaintEvent * e )
        +void TellMe::paintEvent( TQPaintEvent * e )
         {
        -    TQPainter p( this );
        +    TQPainter p( this );
         
             // I try to be efficient here, and repaint only what's needed
         
        -    if ( e->rect().intersects( r1 ) ) {
        -        p.setBrush( blue );
        -        p.drawRect( r1 );
        +    if ( e->rect().intersects( r1 ) ) {
        +        p.setBrush( blue );
        +        p.drawRect( r1 );
             }
         
        -    if ( e->rect().intersects( r2 ) ) {
        -        p.setBrush( blue );
        -        p.drawRect( r2 );
        +    if ( e->rect().intersects( r2 ) ) {
        +        p.setBrush( blue );
        +        p.drawRect( r2 );
             }
         
        -    if ( e->rect().intersects( r3 ) ) {
        -        p.setBrush( red );
        -        p.drawRect( r3 );
        +    if ( e->rect().intersects( r3 ) ) {
        +        p.setBrush( red );
        +        p.drawRect( r3 );
             }
         }
         
        diff --git a/doc/html/tqaction-application-example.html b/doc/html/tqaction-application-example.html
        index d81f8b19c..444153767 100644
        --- a/doc/html/tqaction-application-example.html
        +++ b/doc/html/tqaction-application-example.html
        @@ -119,8 +119,8 @@ private:
         #include <ntqapplication.h>
         #include <ntqaccel.h>
         #include <tqtextstream.h>
        -#include <ntqpainter.h>
        -#include <ntqpaintdevicemetrics.h>
        +#include <tqpainter.h>
        +#include <tqpaintdevicemetrics.h>
         #include <ntqwhatsthis.h>
         #include <tqaction.h>
         #include <ntqsimplerichtext.h>
        @@ -324,16 +324,16 @@ void ApplicationWindow::print()
             printer->setFullPage( TRUE );
             if ( printer->setup(this) ) {               // printer dialog
                 statusBar()->message( "Printing..." );
        -        TQPainter p;
        -        if( !p.begin( printer ) ) {               // paint on printer
        +        TQPainter p;
        +        if( !p.begin( printer ) ) {               // paint on printer
                     statusBar()->message( "Printing aborted", 2000 );
                     return;
                 }
         
        -        TQPaintDeviceMetrics metrics( p.device() );
        -        int dpiy = metrics.logicalDpiY();
        +        TQPaintDeviceMetrics metrics( p.device() );
        +        int dpiy = metrics.logicalDpiY();
                 int margin = (int) ( (2/2.54)*dpiy ); // 2 cm margins
        -        TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin );
        +        TQRect view( margin, margin, metrics.width() - 2*margin, metrics.height() - 2*margin );
                 TQSimpleRichText richText( TQStyleSheet::convertFromPlainText(e->text()),
                                           TQFont(),
                                           e->context(),
        @@ -345,9 +345,9 @@ void ApplicationWindow::print()
                 do {
                     richText.draw( &p, margin, margin, view, colorGroup() );
                     view.moveBy( 0, view.height() );
        -            p.translate( 0 , -view.height() );
        -            p.drawText( view.right() - p.fontMetrics().width( TQString::number( page ) ),
        -                        view.bottom() + p.fontMetrics().ascent() + 5, TQString::number( page ) );
        +            p.translate( 0 , -view.height() );
        +            p.drawText( view.right() - p.fontMetrics().width( TQString::number( page ) ),
        +                        view.bottom() + p.fontMetrics().ascent() + 5, TQString::number( page ) );
                     if ( view.top() - margin >= richText.height() )
                         break;
                     printer->newPage();
        diff --git a/doc/html/tqbitmap-members.html b/doc/html/tqbitmap-members.html
        index 94d9b9888..4428fa86c 100644
        --- a/doc/html/tqbitmap-members.html
        +++ b/doc/html/tqbitmap-members.html
        @@ -36,7 +36,7 @@ body { background: #ffffff; color: black; }
         
         
         
        diff --git a/doc/html/tqbitmap.html b/doc/html/tqbitmap.html
        index c4e78871e..abea71e97 100644
        --- a/doc/html/tqbitmap.html
        +++ b/doc/html/tqbitmap.html
        @@ -58,7 +58,7 @@ The TQBitmap class provides monochrome (1-bit depth) pixmaps.
         
         
         

        The TQBitmap class is a monochrome off-screen paint device used -mainly for creating custom TQCursor and TQBrush objects, in +mainly for creating custom TQCursor and TQBrush objects, in TQPixmap::setMask() and for TQRegion.

        A TQBitmap is a TQPixmap with a depth of 1. If a pixmap with a depth greater than 1 is assigned to a @@ -66,19 +66,19 @@ bitmap, the bitmap will be dithered automatically. A TQBitmap is guaranteed to always have the depth 1, unless it is TQPixmap::isNull() which has depth 0.

        When drawing in a TQBitmap (or TQPixmap with depth 1), we recommend -using the TQColor objects TQt::color0 and TQt::color1. +using the TQColor objects TQt::color0 and TQt::color1. Painting with color0 sets the bitmap bits to 0, and painting with color1 sets the bits to 1. For a bitmap, 0-bits indicate background (or transparent) and 1-bits indicate foreground (or opaque). Using the black and white TQColor objects make no -sense because the TQColor::pixel() value is not necessarily 0 for +sense because the TQColor::pixel() value is not necessarily 0 for black and 1 for white.

        The TQBitmap can be transformed (translated, scaled, sheared or rotated) using xForm().

        Just like the TQPixmap class, TQBitmap is optimized by the use of implicit sharing, so it is very efficient to pass TQBitmap objects as arguments. -

        See also TQPixmap, TQPainter::drawPixmap(), bitBlt(), Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. +

        See also TQPixmap, TQPainter::drawPixmap(), bitBlt(), Shared Classes, Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes.


        Member Function Documentation

        TQBitmap::TQBitmap () @@ -90,7 +90,7 @@ Constructs a null bitmap.

        Constructs a bitmap with width w and height h.

        The contents of the bitmap is uninitialized if clear is FALSE; -otherwise it is filled with pixel value 0 (the TQColor TQt::color0). +otherwise it is filled with pixel value 0 (the TQColor TQt::color0).

        The optional optimization argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may @@ -102,7 +102,7 @@ benefit from setting this argument; see TQColor TQt::color0). +otherwise it is filled with pixel value 0 (the TQColor TQt::color0).

        The optional optimization argument specifies the optimization setting for the bitmap. The default optimization should be used in most cases. Games and other pixmap-intensive applications may diff --git a/doc/html/tqbrush-h.html b/doc/html/tqbrush-h.html new file mode 100644 index 000000000..2afa12832 --- /dev/null +++ b/doc/html/tqbrush-h.html @@ -0,0 +1,139 @@ + + + + + +tqbrush.h Include File + + + + + + + +
        + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

        tqbrush.h

        + +

        This is the verbatim text of the tqbrush.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


        +
        +/****************************************************************************
        +** $Id: qt/tqbrush.h   3.3.8   edited Jan 11 14:38 $
        +**
        +** Definition of TQBrush class
        +**
        +** Created : 940112
        +**
        +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
        +**
        +** This file is part of the kernel module of the TQt GUI Toolkit.
        +**
        +** This file may be used under the terms of the GNU General Public
        +** License versions 2.0 or 3.0 as published by the Free Software
        +** Foundation and appearing in the file LICENSE.GPL included in the
        +** packaging of this file. Alternatively you may (at your option) use any
        +** later version of the GNU General Public License if such license has
        +** been publicly approved by Trolltech ASA (or its successors, if any)
        +** and the KDE Free TQt Foundation.
        +**
        +** Please review the following information to ensure GNU General
        +** Public Licensing requirements will be met:
        +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
        +** If you are unsure which license is appropriate for your use, please
        +** review the following information:
        +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
        +** or contact the sales department at sales@trolltech.com.
        +**
        +** This file may be used under the terms of the Q Public License as
        +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
        +** included in the packaging of this file.  Licensees holding valid TQt
        +** Commercial licenses may use this file in accordance with the TQt
        +** Commercial License Agreement provided with the Software.
        +**
        +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
        +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
        +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
        +** herein.
        +**
        +**********************************************************************/
        +
        +#ifndef TQBRUSH_H
        +#define TQBRUSH_H
        +
        +#ifndef QT_H
        +#include "tqcolor.h"
        +#include "ntqshared.h"
        +#endif // QT_H
        +
        +
        +class TQ_EXPORT TQBrush: public TQt
        +{
        +friend class TQPainter;
        +public:
        +    TQBrush();
        +    TQBrush( BrushStyle );
        +    TQBrush( const TQColor &, BrushStyle=SolidPattern );
        +    TQBrush( const TQColor &, const TQPixmap & );
        +    TQBrush( const TQBrush & );
        +   ~TQBrush();
        +    TQBrush &operator=( const TQBrush & );
        +
        +    BrushStyle	style()	 const		{ return data->style; }
        +    void	setStyle( BrushStyle );
        +    const TQColor &color()const		{ return data->color; }
        +    void	setColor( const TQColor & );
        +    TQPixmap    *pixmap() const		{ return data->pixmap; }
        +    void	setPixmap( const TQPixmap & );
        +
        +    bool	operator==( const TQBrush &p ) const;
        +    bool	operator!=( const TQBrush &b ) const
        +					{ return !(operator==(b)); }
        +
        +private:
        +    TQBrush	copy()	const;
        +    void	detach();
        +    void	init( const TQColor &, BrushStyle );
        +    struct TQBrushData : public TQShared {	// brush data
        +	BrushStyle style;
        +	TQColor	  color;
        +	TQPixmap	 *pixmap;
        +    } *data;
        +};
        +
        +
        +/*****************************************************************************
        +  TQBrush stream functions
        + *****************************************************************************/
        +
        +#ifndef TQT_NO_DATASTREAM
        +TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQBrush & );
        +TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQBrush & );
        +#endif
        +
        +#endif // TQBRUSH_H
        +
        + +


        + +
        Copyright © 2007 +TrolltechTrademarks +
        TQt 3.3.8
        +
        + diff --git a/doc/html/tqbrush-members.html b/doc/html/tqbrush-members.html new file mode 100644 index 000000000..b60641156 --- /dev/null +++ b/doc/html/tqbrush-members.html @@ -0,0 +1,57 @@ + + + + + +TQBrush Member List + + + + + + + +
        + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

        Complete Member List for TQBrush

        + +

        This is the complete list of member functions for +TQBrush, including inherited members. + +

        + +


        + +
        Copyright © 2007 +TrolltechTrademarks +
        TQt 3.3.8
        +
        + diff --git a/doc/html/tqbrush.html b/doc/html/tqbrush.html new file mode 100644 index 000000000..8e50eb06a --- /dev/null +++ b/doc/html/tqbrush.html @@ -0,0 +1,239 @@ + + + + + +TQBrush Class + + + + + + + +
        + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

        TQBrush Class Reference

        + +

        The TQBrush class defines the fill pattern of shapes drawn by a TQPainter. +More... +

        #include <tqbrush.h> +

        Inherits TQt. +

        List of all member functions. +

        Public Members

        +
          +
        • TQBrush ()
        • +
        • TQBrush ( BrushStyle style )
        • +
        • TQBrush ( const TQColor & color, BrushStyle style = SolidPattern )
        • +
        • TQBrush ( const TQColor & color, const TQPixmap & pixmap )
        • +
        • TQBrush ( const TQBrush & b )
        • +
        • ~TQBrush ()
        • +
        • TQBrush & operator= ( const TQBrush & b )
        • +
        • BrushStyle style () const
        • +
        • void setStyle ( BrushStyle s )
        • +
        • const TQColor & color () const
        • +
        • void setColor ( const TQColor & c )
        • +
        • TQPixmap * pixmap () const
        • +
        • void setPixmap ( const TQPixmap & pixmap )
        • +
        • bool operator== ( const TQBrush & b ) const
        • +
        • bool operator!= ( const TQBrush & b ) const
        • +
        +

        Related Functions

        +
          +
        • TQDataStream & operator<< ( TQDataStream & s, const TQBrush & b )
        • +
        • TQDataStream & operator>> ( TQDataStream & s, TQBrush & b )
        • +
        +

        Detailed Description

        + + +

        The TQBrush class defines the fill pattern of shapes drawn by a TQPainter. +

        + + +

        A brush has a style and a color. One of the brush styles is a +custom pattern, which is defined by a TQPixmap. +

        The brush style defines the fill pattern. The default brush style +is NoBrush (depending on how you construct a brush). This style +tells the painter to not fill shapes. The standard style for +filling is SolidPattern. +

        The brush color defines the color of the fill pattern. The TQColor +documentation lists the predefined colors. +

        Use the TQPen class for specifying line/outline styles. +

        Example: +

        +        TQPainter painter;
        +        TQBrush   brush( yellow );           // yellow solid pattern
        +        painter.begin( &anyPaintDevice );   // paint something
        +        painter.setBrush( brush );          // set the yellow brush
        +        painter.setPen( NoPen );            // do not draw outline
        +        painter.drawRect( 40,30, 200,100 ); // draw filled rectangle
        +        painter.setBrush( NoBrush );        // do not fill
        +        painter.setPen( black );            // set black pen, 0 pixel width
        +        painter.drawRect( 10,10, 30,20 );   // draw rectangle outline
        +        painter.end();                      // painting done
        +    
        + +

        See the setStyle() function for a complete list of brush styles. +

        Brush Styles
        +

        See also TQPainter, TQPainter::setBrush(), TQPainter::setBrushOrigin(), Graphics Classes, Image Processing Classes, and Implicitly and Explicitly Shared Classes. + +


        Member Function Documentation

        +

        TQBrush::TQBrush () +

        +Constructs a default black brush with the style NoBrush (will +not fill shapes). + +

        TQBrush::TQBrush ( BrushStyle style ) +

        +Constructs a black brush with the style style. +

        See also setStyle(). + +

        TQBrush::TQBrush ( const TQColor & color, BrushStyle style = SolidPattern ) +

        +Constructs a brush with the color color and the style style. +

        See also setColor() and setStyle(). + +

        TQBrush::TQBrush ( const TQColor & color, const TQPixmap & pixmap ) +

        +Constructs a brush with the color color and a custom pattern +stored in pixmap. +

        The color will only have an effect for monochrome pixmaps, i.e. +for TQPixmap::depth() == 1. +

        Pixmap brushes are currently not supported when printing on X11. +

        See also setColor() and setPixmap(). + +

        TQBrush::TQBrush ( const TQBrush & b ) +

        +Constructs a brush that is a shallow + copy of b. + +

        TQBrush::~TQBrush () +

        +Destroys the brush. + +

        const TQColor & TQBrush::color () const +

        + +

        Returns the brush color. +

        See also setColor(). + +

        bool TQBrush::operator!= ( const TQBrush & b ) const +

        + +

        Returns TRUE if the brush is different from b; otherwise +returns FALSE. +

        Two brushes are different if they have different styles, colors or +pixmaps. +

        See also operator==(). + +

        TQBrush & TQBrush::operator= ( const TQBrush & b ) +

        +Assigns b to this brush and returns a reference to this brush. + +

        bool TQBrush::operator== ( const TQBrush & b ) const +

        +Returns TRUE if the brush is equal to b; otherwise returns +FALSE. +

        Two brushes are equal if they have equal styles, colors and +pixmaps. +

        See also operator!=(). + +

        TQPixmap * TQBrush::pixmap () const +

        + +

        Returns a pointer to the custom brush pattern, or 0 if no custom +brush pattern has been set. +

        See also setPixmap(). + +

        Example: richtext/richtext.cpp. +

        void TQBrush::setColor ( const TQColor & c ) +

        +Sets the brush color to c. +

        See also color() and setStyle(). + +

        Example: picture/picture.cpp. +

        void TQBrush::setPixmap ( const TQPixmap & pixmap ) +

        +Sets the brush pixmap to pixmap. The style is set to CustomPattern. +

        The current brush color will only have an effect for monochrome +pixmaps, i.e. for TQPixmap::depth() == 1. +

        Pixmap brushes are currently not supported when printing on X11. +

        See also pixmap() and color(). + +

        Example: richtext/richtext.cpp. +

        void TQBrush::setStyle ( BrushStyle s ) +

        +Sets the brush style to s. +

        The brush styles are: +

        +
        Pattern Meaning +
        NoBrush will not fill shapes (default). +
        SolidPattern solid (100%) fill pattern. +
        Dense1Pattern 94% fill pattern. +
        Dense2Pattern 88% fill pattern. +
        Dense3Pattern 63% fill pattern. +
        Dense4Pattern 50% fill pattern. +
        Dense5Pattern 37% fill pattern. +
        Dense6Pattern 12% fill pattern. +
        Dense7Pattern 6% fill pattern. +
        HorPattern horizontal lines pattern. +
        VerPattern vertical lines pattern. +
        CrossPattern crossing lines pattern. +
        BDiagPattern diagonal lines (directed /) pattern. +
        FDiagPattern diagonal lines (directed \) pattern. +
        DiagCrossPattern diagonal crossing lines pattern. +
        CustomPattern set when a pixmap pattern is being used. +
        +

        On Windows, dense and custom patterns cannot be transparent. +

        See the Detailed Description for a picture +of all the styles. +

        See also style(). + +

        BrushStyle TQBrush::style () const +

        + +

        Returns the brush style. +

        See also setStyle(). + +


        Related Functions

        +

        TQDataStream & operator<< ( TQDataStream & s, const TQBrush & b ) +

        + +

        Writes the brush b to the stream s and returns a reference +to the stream. +

        See also Format of the TQDataStream operators. + +

        TQDataStream & operator>> ( TQDataStream & s, TQBrush & b ) +

        + +

        Reads the brush b from the stream s and returns a reference +to the stream. +

        See also Format of the TQDataStream operators. + + +


        +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


        + +
        Copyright © 2007 +TrolltechTrademarks +
        TQt 3.3.8
        +
        + diff --git a/doc/html/tqcanvas-h.html b/doc/html/tqcanvas-h.html index 281ea932c..bdc30490b 100644 --- a/doc/html/tqcanvas-h.html +++ b/doc/html/tqcanvas-h.html @@ -81,7 +81,7 @@ body { background: #ffffff; color: black; } #include "ntqscrollview.h" #include "ntqpixmap.h" #include "tqptrlist.h" -#include "ntqbrush.h" +#include "tqbrush.h" #include "ntqpen.h" #include "tqvaluelist.h" #include "ntqpointarray.h" diff --git a/doc/html/tqcanvas.html b/doc/html/tqcanvas.html index a076153bc..b9f9f7043 100644 --- a/doc/html/tqcanvas.html +++ b/doc/html/tqcanvas.html @@ -214,7 +214,7 @@ items. setUnchanged(). The entire canvas can be set as changed with setAllChanged(). A list of all the items on the canvas is returned by allItems(). -

        An area can be copied (painted) to a TQPainter with drawArea(). +

        An area can be copied (painted) to a TQPainter with drawArea().

        If the canvas is resized it emits the resized() signal.

        The examples/canvas application and the 2D graphics page of the examples/demo application demonstrate many of TQCanvas's facilities. @@ -280,7 +280,7 @@ with setAdvancePeriod(). Returns a list of all the items in the canvas. -

        TQColor TQCanvas::backgroundColor () const +

        TQColor TQCanvas::backgroundColor () const

        Returns the color set by setBackgroundColor(). By default, this is white. @@ -325,21 +325,21 @@ are included just for being in the chunks.

        This is a utility function mainly used to implement the simpler TQCanvasItem::collisions() function. -

        void TQCanvas::drawArea ( const TQRect & clip, TQPainter * painter, bool dbuf = FALSE ) +

        void TQCanvas::drawArea ( const TQRect & clip, TQPainter * painter, bool dbuf = FALSE )

        Paints all canvas items that are in the area clip to painter, using double-buffering if dbuf is TRUE.

        e.g. to print the canvas to a printer:

             TQPrinter pr;
             if ( pr.setup() ) {
        -        TQPainter p(&pr);
        +        TQPainter p(&pr);
                 canvas.drawArea( canvas.rect(), &p );
             }
             

        Example: canvas/canvas.cpp. -

        void TQCanvas::drawBackground ( TQPainter & painter, const TQRect & clip ) [virtual protected] +

        void TQCanvas::drawBackground ( TQPainter & painter, const TQRect & clip ) [virtual protected]

        This virtual function is called for all updates of the canvas. It renders any background graphics using the painter painter, in @@ -351,7 +351,7 @@ using the background color. update() is next called.

        See also setBackgroundColor(), setBackgroundPixmap(), and setTiles(). -

        void TQCanvas::drawForeground ( TQPainter & painter, const TQRect & clip ) [virtual protected] +

        void TQCanvas::drawForeground ( TQPainter & painter, const TQRect & clip ) [virtual protected]

        This virtual function is called for all updates of the canvas. It renders any foreground graphics using the painter painter, in @@ -442,7 +442,7 @@ Marks the whole canvas as changed. All views of the canvas will be entirely redrawn when update() is called next. -

        void TQCanvas::setBackgroundColor ( const TQColor & c ) [virtual] +

        void TQCanvas::setBackgroundColor ( const TQColor & c ) [virtual]

        Sets the solid background to be the color c.

        See also backgroundColor(), setBackgroundPixmap(), and setTiles(). diff --git a/doc/html/tqcanvasellipse.html b/doc/html/tqcanvasellipse.html index 50920ce30..6ed91eab7 100644 --- a/doc/html/tqcanvasellipse.html +++ b/doc/html/tqcanvasellipse.html @@ -62,7 +62,7 @@ The TQCanvasEllipse class provides an ellipse or ellipse segment on a TQBrush. +

        A canvas item that paints an ellipse or ellipse segment with a TQBrush. The ellipse's height, width, start angle and angle length can be set at construction time. The size can be changed at runtime with setSize(), and the angles can be changed (if you're displaying an @@ -122,7 +122,7 @@ ellipse). this will be 0.

        See also setAngles() and angleLength(). -

        void TQCanvasEllipse::drawShape ( TQPainter & p ) [virtual protected] +

        void TQCanvasEllipse::drawShape ( TQPainter & p ) [virtual protected]

        Draws the ellipse, centered at x(), y() using the painter p.

        Note that TQCanvasEllipse does not support an outline (the pen is diff --git a/doc/html/tqcanvasitem.html b/doc/html/tqcanvasitem.html index e3a60392e..b52ce72aa 100644 --- a/doc/html/tqcanvasitem.html +++ b/doc/html/tqcanvasitem.html @@ -246,16 +246,16 @@ doesn't need to actually embed into a "wall" item before a collision is detected. For items without velocity, plain intersection is used. -

        void TQCanvasItem::draw ( TQPainter & painter ) [pure virtual] +

        void TQCanvasItem::draw ( TQPainter & painter ) [pure virtual]

        This abstract virtual function draws the canvas item using painter.

        Warning: When you reimplement this function, make sure that you leave the painter in the same state as you found it. For example, -if you start by calling TQPainter::translate(50, 50), end your +if you start by calling TQPainter::translate(50, 50), end your code by calling TQPainter::translate(-50, -50). Be also aware that the painter might already have some transformations set (i.e., -don't call TQPainter::resetXForm() when you're done). +don't call TQPainter::resetXForm() when you're done).

        Reimplemented in TQCanvasSprite, TQCanvasPolygonalItem, and TQCanvasText.

        bool TQCanvasItem::enabled () const diff --git a/doc/html/tqcanvaspixmap-members.html b/doc/html/tqcanvaspixmap-members.html index 7419d9a66..7cc4ce1fe 100644 --- a/doc/html/tqcanvaspixmap-members.html +++ b/doc/html/tqcanvaspixmap-members.html @@ -37,7 +37,7 @@ body { background: #ffffff; color: black; } diff --git a/doc/html/tqcanvaspolygon.html b/doc/html/tqcanvaspolygon.html index 75befa862..eca05bd07 100644 --- a/doc/html/tqcanvaspolygon.html +++ b/doc/html/tqcanvaspolygon.html @@ -58,7 +58,7 @@ The TQCanvasPolygon class provides a polygon on a TQCanv

        -

        Paints a polygon with a TQBrush. The polygon's points can be set in +

        Paints a polygon with a TQBrush. The polygon's points can be set in the constructor or set or changed later using setPoints(). Use points() to retrieve the points, or areaPoints() to retrieve the points relative to the canvas's origin. @@ -87,7 +87,7 @@ current x(), y

        See also setPoints() and points().

        Reimplemented from TQCanvasPolygonalItem. -

        void TQCanvasPolygon::drawShape ( TQPainter & p ) [virtual protected] +

        void TQCanvasPolygon::drawShape ( TQPainter & p ) [virtual protected]

        Draws the polygon using the painter p.

        Note that TQCanvasPolygon does not support an outline (the pen is diff --git a/doc/html/tqcanvaspolygonalitem.html b/doc/html/tqcanvaspolygonalitem.html index 2a8771781..289a19a7e 100644 --- a/doc/html/tqcanvaspolygonalitem.html +++ b/doc/html/tqcanvaspolygonalitem.html @@ -96,7 +96,7 @@ points the polygonal item will have after item is visible, call invalidate() before updating with a different result from areaPoints().

        By default, TQCanvasPolygonalItem objects have a black pen and no -brush (the default TQPen and TQBrush constructors). You can change +brush (the default TQPen and TQBrush constructors). You can change this with setPen() and setBrush(), but note that some TQCanvasPolygonalItem subclasses only use the brush, ignoring the pen setting. @@ -137,20 +137,20 @@ Returns the bounding rectangle of the polygonal item, based on areaPoints().

        Reimplemented from TQCanvasItem. -

        TQBrush TQCanvasPolygonalItem::brush () const +

        TQBrush TQCanvasPolygonalItem::brush () const

        -

        Returns the TQBrush used to fill the item, if filled. +

        Returns the TQBrush used to fill the item, if filled.

        See also setBrush(). -

        void TQCanvasPolygonalItem::draw ( TQPainter & p ) [virtual protected] +

        void TQCanvasPolygonalItem::draw ( TQPainter & p ) [virtual protected]

        Reimplemented from TQCanvasItem, this draws the polygonal item by setting the pen and brush for the item on the painter p and calling drawShape().

        Reimplemented from TQCanvasItem. -

        void TQCanvasPolygonalItem::drawShape ( TQPainter & p ) [pure virtual protected] +

        void TQCanvasPolygonalItem::drawShape ( TQPainter & p ) [pure virtual protected]

        Subclasses must reimplement this function to draw their shape. The @@ -158,10 +158,10 @@ pen and brush of p are already set to pen() and Warning: When you reimplement this function, make sure that you leave the painter in the same state as you found it. For example, -if you start by calling TQPainter::translate(50, 50), end your +if you start by calling TQPainter::translate(50, 50), end your code by calling TQPainter::translate(-50, -50). Be also aware that the painter might already have some transformations set (i.e., -don't call TQPainter::resetXForm() when you're done). +don't call TQPainter::resetXForm() when you're done).

        See also draw().

        Reimplemented in TQCanvasRectangle, TQCanvasPolygon, and TQCanvasEllipse. @@ -193,9 +193,9 @@ Returns 2 (TQCanvasItem::Rtti_PolygonalItem).

        Reimplemented from TQCanvasItem.

        Reimplemented in TQCanvasRectangle, TQCanvasPolygon, TQCanvasLine, and TQCanvasEllipse. -

        void TQCanvasPolygonalItem::setBrush ( TQBrush b ) [virtual] +

        void TQCanvasPolygonalItem::setBrush ( TQBrush b ) [virtual]

        -Sets the TQBrush used when drawing the polygonal item to the brush b. +Sets the TQBrush used when drawing the polygonal item to the brush b.

        See also setPen(), brush(), and drawShape().

        Examples: canvas/canvas.cpp and chart/chartform_canvas.cpp. diff --git a/doc/html/tqcanvasrectangle.html b/doc/html/tqcanvasrectangle.html index dd28deb59..a26bf341c 100644 --- a/doc/html/tqcanvasrectangle.html +++ b/doc/html/tqcanvasrectangle.html @@ -98,7 +98,7 @@ Destroys the rectangle. Simply calls TQCanvasItem::chunks(). -

        void TQCanvasRectangle::drawShape ( TQPainter & p ) [virtual protected] +

        void TQCanvasRectangle::drawShape ( TQPainter & p ) [virtual protected]

        Draws the rectangle on painter p. diff --git a/doc/html/tqcanvassprite.html b/doc/html/tqcanvassprite.html index 036717f4f..2fc843958 100644 --- a/doc/html/tqcanvassprite.html +++ b/doc/html/tqcanvassprite.html @@ -161,7 +161,7 @@ current frame. This assumes that the images are tightly cropped (i.e. do not have transparent pixels all along a side).

        Reimplemented from TQCanvasItem. -

        void TQCanvasSprite::draw ( TQPainter & painter ) [virtual] +

        void TQCanvasSprite::draw ( TQPainter & painter ) [virtual]

        Draws the current frame's image at the sprite's current position on painter painter. diff --git a/doc/html/tqcanvastext.html b/doc/html/tqcanvastext.html index 08db29fe7..297d7d864 100644 --- a/doc/html/tqcanvastext.html +++ b/doc/html/tqcanvastext.html @@ -86,7 +86,7 @@ Constructs a TQCanvasText with the text "<text>", on canvas. Constructs a TQCanvasText with the text t, on canvas canvas. -

        TQCanvasText::TQCanvasText ( const TQString & t, TQFont f, TQCanvas * canvas ) +

        TQCanvasText::TQCanvasText ( const TQString & t, TQFont f, TQCanvas * canvas )

        Constructs a TQCanvasText with the text t and font f, on the canvas canvas. @@ -100,17 +100,17 @@ Destroys the canvas text item. Returns the bounding rectangle of the text.

        Reimplemented from TQCanvasItem. -

        TQColor TQCanvasText::color () const +

        TQColor TQCanvasText::color () const

        Returns the color of the text.

        See also setColor(). -

        void TQCanvasText::draw ( TQPainter & painter ) [virtual protected] +

        void TQCanvasText::draw ( TQPainter & painter ) [virtual protected]

        Draws the text using the painter painter.

        Reimplemented from TQCanvasItem. -

        TQFont TQCanvasText::font () const +

        TQFont TQCanvasText::font () const

        Returns the font in which the text is drawn.

        See also setFont(). @@ -121,13 +121,13 @@ Returns 3 (TQCanvasItem::Rtti_Text).

        See also TQCanvasItem::rtti().

        Reimplemented from TQCanvasItem. -

        void TQCanvasText::setColor ( const TQColor & c ) +

        void TQCanvasText::setColor ( const TQColor & c )

        Sets the color of the text to the color c.

        See also color() and setFont().

        Example: chart/chartform_canvas.cpp. -

        void TQCanvasText::setFont ( const TQFont & f ) +

        void TQCanvasText::setFont ( const TQFont & f )

        Sets the font in which the text is drawn to font f.

        See also font(). @@ -141,7 +141,7 @@ Sets the text item's text to t. The text may contain newlines.

        void TQCanvasText::setTextFlags ( int f )

        Sets the alignment flags to f. These are a bitwise OR of the -flags available to TQPainter::drawText() -- see the +flags available to TQPainter::drawText() -- see the TQt::AlignmentFlags.

        See also setFont() and setColor(). diff --git a/doc/html/tqcanvasview-members.html b/doc/html/tqcanvasview-members.html index 614ecb835..c703fd711 100644 --- a/doc/html/tqcanvasview-members.html +++ b/doc/html/tqcanvasview-members.html @@ -70,7 +70,7 @@ body { background: #ffffff; color: black; }

      • clipper()
      • close()
      • closeEvent() -
      • cmd() +
      • cmd()
      • colorGroup()
      • connect()
      • connectNotify() @@ -149,7 +149,7 @@ body { background: #ffffff; color: black; }
      • grabKeyboard()
      • grabMouse()
      • hScrollBarMode() -
      • handle() +
      • handle()
      • hasFocus()
      • hasMouse()
      • hasMouseTracking() @@ -179,7 +179,7 @@ body { background: #ffffff; color: black; }
      • isEnabled()
      • isEnabledTo()
      • isEnabledToTLW() -
      • isExtDev() +
      • isExtDev()
      • isFocusEnabled()
      • isFullScreen()
      • isHidden() @@ -241,7 +241,7 @@ body { background: #ffffff; color: black; }
      • ownFont()
      • ownPalette()
      • paintEvent() -
      • paintingActive() +
      • paintingActive()
      • palette()
      • paletteBackgroundColor()
      • paletteBackgroundPixmap() @@ -394,28 +394,28 @@ body { background: #ffffff; color: black; }
      • windowState()
      • worldMatrix()
      • x() -
      • x11AppCells() -
      • x11AppColormap() -
      • x11AppDefaultColormap() -
      • x11AppDefaultVisual() -
      • x11AppDepth() -
      • x11AppDisplay() -
      • x11AppDpiX() -
      • x11AppDpiY() -
      • x11AppRootWindow() -
      • x11AppScreen() -
      • x11AppVisual() -
      • x11Cells() -
      • x11Colormap() -
      • x11DefaultColormap() -
      • x11DefaultVisual() -
      • x11Depth() -
      • x11Display() +
      • x11AppCells() +
      • x11AppColormap() +
      • x11AppDefaultColormap() +
      • x11AppDefaultVisual() +
      • x11AppDepth() +
      • x11AppDisplay() +
      • x11AppDpiX() +
      • x11AppDpiY() +
      • x11AppRootWindow() +
      • x11AppScreen() +
      • x11AppVisual() +
      • x11Cells() +
      • x11Colormap() +
      • x11DefaultColormap() +
      • x11DefaultVisual() +
      • x11Depth() +
      • x11Display()
      • x11Event() -
      • x11Screen() -
      • x11SetAppDpiX() -
      • x11SetAppDpiY() -
      • x11Visual() +
      • x11Screen() +
      • x11SetAppDpiX() +
      • x11SetAppDpiY() +
      • x11Visual()
      • y()
      diff --git a/doc/html/tqcanvasview.html b/doc/html/tqcanvasview.html index 26039627b..0f53f6074 100644 --- a/doc/html/tqcanvasview.html +++ b/doc/html/tqcanvasview.html @@ -105,7 +105,7 @@ this view, i.e. the bounding rectangle of the view in canvas coordinates. TQRect canvasRect = myCanvasView->inverseWorldMatrix().mapRect(rc); -

      See also TQWMatrix, TQPainter::setWorldMatrix(), Graphics Classes, and Image Processing Classes. +

      See also TQWMatrix, TQPainter::setWorldMatrix(), Graphics Classes, and Image Processing Classes.


      Member Function Documentation

      @@ -132,7 +132,7 @@ Destroys the canvas view. The associated canvas is not deleted.

      Returns a pointer to the canvas which the TQCanvasView is currently showing. -

      void TQCanvasView::drawContents ( TQPainter * p, int cx, int cy, int cw, int ch ) [virtual protected] +

      void TQCanvasView::drawContents ( TQPainter * p, int cx, int cy, int cw, int ch ) [virtual protected]

      Repaints part of the TQCanvas that the canvas view is showing starting at cx by cy, with a width of cw and a height of ch using the painter p. diff --git a/doc/html/tqcolor-h.html b/doc/html/tqcolor-h.html new file mode 100644 index 000000000..5c6c40897 --- /dev/null +++ b/doc/html/tqcolor-h.html @@ -0,0 +1,274 @@ + + + + + +tqcolor.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqcolor.h

      + +

      This is the verbatim text of the tqcolor.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqcolor.h   3.3.8   edited Jan 11 14:38 $
      +**
      +** Definition of TQColor class
      +**
      +** Created : 940112
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the kernel module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQCOLOR_H
      +#define TQCOLOR_H
      +
      +#ifndef QT_H
      +#include "ntqwindowdefs.h"
      +#include "tqstringlist.h"
      +#endif // QT_H
      +
      +const TQRgb  TQT_RGB_MASK    = 0x00ffffff;		// masks RGB values
      +
      +TQ_EXPORT inline int tqRed( TQRgb rgb )		// get red part of RGB
      +{ return (int)((rgb >> 16) & 0xff); }
      +
      +TQ_EXPORT inline int tqGreen( TQRgb rgb )		// get green part of RGB
      +{ return (int)((rgb >> 8) & 0xff); }
      +
      +TQ_EXPORT inline int tqBlue( TQRgb rgb )		// get blue part of RGB
      +{ return (int)(rgb & 0xff); }
      +
      +TQ_EXPORT inline int tqAlpha( TQRgb rgb )		// get alpha part of RGBA
      +{ return (int)((rgb >> 24) & 0xff); }
      +
      +TQ_EXPORT inline TQRgb tqRgb( int r, int g, int b )// set RGB value
      +{ return (0xff << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); }
      +
      +TQ_EXPORT inline TQRgb tqRgba( int r, int g, int b, int a )// set RGBA value
      +{ return ((a & 0xff) << 24) | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff); }
      +
      +TQ_EXPORT inline int tqGray( int r, int g, int b )// convert R,G,B to gray 0..255
      +{ return (r*11+g*16+b*5)/32; }
      +
      +TQ_EXPORT inline int tqGray( TQRgb rgb )		// convert RGB to gray 0..255
      +{ return tqGray( tqRed(rgb), tqGreen(rgb), tqBlue(rgb) ); }
      +
      +
      +class TQ_EXPORT TQColor
      +{
      +public:
      +    enum Spec { Rgb, Hsv };
      +
      +    TQColor();
      +    TQColor( int r, int g, int b );
      +    TQColor( int x, int y, int z, Spec );
      +    TQColor( TQRgb rgb, uint pixel=0xffffffff);
      +    TQColor( const TQString& name );
      +    TQColor( const char *name );
      +    TQColor( const TQColor & );
      +    TQColor &operator=( const TQColor & );
      +
      +    bool   isValid() const;
      +    bool   isDirty() const;
      +    TQString name() const;
      +    void   setNamedColor( const TQString& name );
      +
      +    TQRgb   rgb()    const;
      +    void   setRgb( int r, int g, int b );
      +    void   setRgb( TQRgb rgb );
      +    void   getRgb( int *r, int *g, int *b ) const { rgb( r, g, b ); }
      +    void   rgb( int *r, int *g, int *b ) const; // obsolete
      +
      +    int	   red()    const;
      +    int	   green()  const;
      +    int	   blue()   const;
      +
      +    void   setHsv( int h, int s, int v );
      +    void   getHsv( int *h, int *s, int *v ) const { hsv( h, s, v ); }
      +    void   hsv( int *h, int *s, int *v ) const; // obsolete
      +    void   getHsv( int &h, int &s, int &v ) const { hsv( &h, &s, &v ); } // obsolete
      +
      +    TQColor light( int f = 150 ) const;
      +    TQColor dark( int f = 200 )	const;
      +
      +    bool   operator==( const TQColor &c ) const;
      +    bool   operator!=( const TQColor &c ) const;
      +
      +    uint   alloc();
      +    uint   pixel()  const;
      +
      +#if defined(TQ_WS_X11)
      +    // ### in 4.0, make this take a default argument of -1 for default screen?
      +    uint alloc( int screen );
      +    uint pixel( int screen ) const;
      +#endif
      +
      +    static int  maxColors();
      +    static int  numBitPlanes();
      +
      +    static int  enterAllocContext();
      +    static void leaveAllocContext();
      +    static int  currentAllocContext();
      +    static void destroyAllocContext( int );
      +
      +#if defined(TQ_WS_WIN)
      +    static const TQRgb* palette( int* numEntries = 0 );
      +    static int setPaletteEntries( const TQRgb* entries, int numEntries,
      +				  int base = -1 );
      +    static HPALETTE hPal()  { return hpal; }
      +    static uint	realizePal( TQWidget * );
      +#endif
      +
      +    static void initialize();
      +    static void cleanup();
      +#ifndef TQT_NO_STRINGLIST
      +    static TQStringList colorNames();
      +#endif
      +    enum { Dirt = 0x44495254, Invalid = 0x49000000 };
      +
      +private:
      +    void setSystemNamedColor( const TQString& name );
      +    void setPixel( uint pixel );
      +    static void initGlobalColors();
      +    static uint argbToPix32(TQRgb);
      +    static TQColor* globalColors();
      +    static bool color_init;
      +    static bool globals_init;
      +#if defined(TQ_WS_WIN)
      +    static HPALETTE hpal;
      +#endif
      +    static enum ColorModel { d8, d32 } colormodel;
      +    union {
      +	TQRgb argb;
      +	struct D8 {
      +	    TQRgb argb;
      +	    uchar pix;
      +	    uchar invalid;
      +	    uchar dirty;
      +	    uchar direct;
      +	} d8;
      +	struct D32 {
      +	    TQRgb argb;
      +	    uint pix;
      +	    bool invalid() const { return argb == TQColor::Invalid && pix == TQColor::Dirt; }
      +	    bool probablyDirty() const { return pix == TQColor::Dirt; }
      +	} d32;
      +    } d;
      +};
      +
      +
      +inline TQColor::TQColor()
      +{ d.d32.argb = Invalid; d.d32.pix = Dirt; }
      +
      +inline TQColor::TQColor( int r, int g, int b )
      +{
      +    d.d32.argb = Invalid;
      +    d.d32.pix = Dirt;
      +    setRgb( r, g, b );
      +}
      +
      +inline TQRgb TQColor::rgb() const
      +{ return d.argb; }
      +
      +inline int TQColor::red() const
      +{ return tqRed(d.argb); }
      +
      +inline int TQColor::green() const
      +{ return tqGreen(d.argb); }
      +
      +inline int TQColor::blue() const
      +{ return tqBlue(d.argb); }
      +
      +inline bool TQColor::isValid() const
      +{
      +    if ( colormodel == d8 )
      +	return !d.d8.invalid;
      +    else
      +	return !d.d32.invalid();
      +}
      +
      +inline bool TQColor::operator==( const TQColor &c ) const
      +{
      +    return d.argb == c.d.argb && isValid() == c.isValid();
      +}
      +
      +inline bool TQColor::operator!=( const TQColor &c ) const
      +{
      +    return !operator==(c);
      +}
      +
      +
      +/*****************************************************************************
      +  TQColor stream functions
      + *****************************************************************************/
      +
      +#ifndef TQT_NO_DATASTREAM
      +TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQColor & );
      +TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQColor & );
      +#endif
      +
      +#endif // TQCOLOR_H
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqcolor-members.html b/doc/html/tqcolor-members.html new file mode 100644 index 000000000..11ee2ea06 --- /dev/null +++ b/doc/html/tqcolor-members.html @@ -0,0 +1,75 @@ + + + + + +TQColor Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQColor

      + +

      This is the complete list of member functions for +TQColor, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqcolor.html b/doc/html/tqcolor.html new file mode 100644 index 000000000..08598f1e6 --- /dev/null +++ b/doc/html/tqcolor.html @@ -0,0 +1,618 @@ + + + + + +TQColor Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQColor Class Reference

      + +

      The TQColor class provides colors based on RGB or HSV values. +More... +

      #include <tqcolor.h> +

      List of all member functions. +

      Public Members

      +
        +
      • enum Spec { Rgb, Hsv }
      • +
      • TQColor ()
      • +
      • TQColor ( int r, int g, int b )
      • +
      • TQColor ( int x, int y, int z, Spec colorSpec )
      • +
      • TQColor ( TQRgb rgb, uint pixel = 0xffffffff )
      • +
      • TQColor ( const TQString & name )
      • +
      • TQColor ( const char * name )
      • +
      • TQColor ( const TQColor & c )
      • +
      • TQColor & operator= ( const TQColor & c )
      • +
      • bool isValid () const
      • +
      • TQString name () const
      • +
      • void setNamedColor ( const TQString & name )
      • +
      • TQRgb rgb () const
      • +
      • void setRgb ( int r, int g, int b )
      • +
      • void setRgb ( TQRgb rgb )
      • +
      • void getRgb ( int * r, int * g, int * b ) const
      • +
      • void rgb ( int * r, int * g, int * b ) const  (obsolete)
      • +
      • int red () const
      • +
      • int green () const
      • +
      • int blue () const
      • +
      • void setHsv ( int h, int s, int v )
      • +
      • void getHsv ( int * h, int * s, int * v ) const
      • +
      • void hsv ( int * h, int * s, int * v ) const  (obsolete)
      • +
      • void getHsv ( int & h, int & s, int & v ) const  (obsolete)
      • +
      • TQColor light ( int factor = 150 ) const
      • +
      • TQColor dark ( int factor = 200 ) const
      • +
      • bool operator== ( const TQColor & c ) const
      • +
      • bool operator!= ( const TQColor & c ) const
      • +
      • uint alloc ()
      • +
      • uint pixel () const
      • +
      • uint pixel ( int screen ) const
      • +
      +

      Static Public Members

      + +

      Related Functions

      +
        +
      • TQDataStream & operator<< ( TQDataStream & s, const TQColor & c )
      • +
      • TQDataStream & operator>> ( TQDataStream & s, TQColor & c )
      • +
      • int tqRed ( TQRgb rgb )
      • +
      • int tqGreen ( TQRgb rgb )
      • +
      • int tqBlue ( TQRgb rgb )
      • +
      • int tqAlpha ( TQRgb rgba )
      • +
      • TQRgb tqRgb ( int r, int g, int b )
      • +
      • TQRgb tqRgba ( int r, int g, int b, int a )
      • +
      • int tqGray ( int r, int g, int b )
      • +
      • int tqGray ( tqRgb rgb )
      • +
      +

      Detailed Description

      + + +The TQColor class provides colors based on RGB or HSV values. +

      + + +

      A color is normally specified in terms of RGB (red, green and blue) +components, but it is also possible to specify HSV (hue, saturation +and value) or set a color name (the names are copied from from the +X11 color database). +

      In addition to the RGB value, a TQColor also has a pixel value and a +validity. The pixel value is used by the underlying window system +to refer to a color. It can be thought of as an index into the +display hardware's color table. +

      The validity (isValid()) indicates whether the color is legal at +all. For example, a RGB color with RGB values out of range is +illegal. For performance reasons, TQColor mostly disregards illegal +colors. The result of using an invalid color is unspecified and +will usually be surprising. +

      There are 19 predefined TQColor objects: white, black, red, darkRed, green, darkGreen, blue, darkBlue, cyan, darkCyan, magenta, darkMagenta, yellow, darkYellow, gray, darkGray, lightGray, color0 and color1, accessible as members of the TQt namespace (ie. TQt::red). +

      TQt Colors
      +

      The colors color0 (zero pixel value) and color1 (non-zero +pixel value) are special colors for drawing in bitmaps. Painting with color0 sets the bitmap bits to 0 +(transparent, i.e. background), and painting with color1 sets the +bits to 1 (opaque, i.e. foreground). +

      The TQColor class has an efficient, dynamic color allocation +strategy. A color is normally allocated the first time it is used +(lazy allocation), that is, whenever the pixel() function is called. +The following steps are taken to allocate a color. If, at any point, +a suitable color is found then the appropriate pixel value is +returned and the subsequent steps are not taken: +

        +
      1. Is the pixel value valid? If it is, just return it; otherwise, +allocate a pixel value. +
      2. Check an internal hash table to see if we allocated an equal RGB +value earlier. If we did, set the corresponding pixel value for the +color and return it. +
      3. Try to allocate the RGB value. If we succeed, we get a pixel value +that we save in the internal table with the RGB value. +Return the pixel value. +
      4. The color could not be allocated. Find the closest matching +color, save it in the internal table, and return it. +
      +

      A color can be set by passing setNamedColor() an RGB string like +"#112233", or a color name, e.g. "blue". The names are taken from +X11's rgb.txt database but can also be used under Windows. To get +a lighter or darker color use light() and dark() respectively. +Colors can also be set using setRgb() and setHsv(). The color +components can be accessed in one go with rgb() and hsv(), or +individually with red(), green() and blue(). +

      Use maxColors() and numBitPlanes() to determine the maximum number +of colors and the number of bit planes supported by the underlying +window system, +

      If you need to allocate many colors temporarily, for example in an +image viewer application, enterAllocContext(), leaveAllocContext() and +destroyAllocContext() will prove useful. +

      HSV Colors +

      +

      Because many people don't know the HSV color model very well, we'll +cover it briefly here. +

      The RGB model is hardware-oriented. Its representation is close to +what most monitors show. In contrast, HSV represents color in a way +more suited to the human perception of color. For example, the +relationships "stronger than", "darker than" and "the opposite of" +are easily expressed in HSV but are much harder to express in RGB. +

      HSV, like RGB, has three components: +

        +

      • H, for hue, is either 0-359 if the color is chromatic (not +gray), or meaningless if it is gray. It represents degrees on the +color wheel familiar to most people. Red is 0 (degrees), green is +120 and blue is 240. +

      • S, for saturation, is 0-255, and the bigger it is, the +stronger the color is. Grayish colors have saturation near 0; very +strong colors have saturation near 255. +

      • V, for value, is 0-255 and represents lightness or brightness +of the color. 0 is black; 255 is as far from black as possible. +

      +

      Here are some examples: Pure red is H=0, S=255, V=255. A dark red, +moving slightly towards the magenta, could be H=350 (equivalent to +-10), S=255, V=180. A grayish light red could have H about 0 (say +350-359 or 0-10), S about 50-100, and S=255. +

      TQt returns a hue value of -1 for achromatic colors. If you pass a +too-big hue value, TQt forces it into range. Hue 360 or 720 is +treated as 0; hue 540 is treated as 180. +

      See also TQPalette, TQColorGroup, TQApplication::setColorSpec(), Color FAQ, Widget Appearance and Style, Graphics Classes, and Image Processing Classes. + +


      Member Type Documentation

      +

      TQColor::Spec

      + +

      The type of color specified, either RGB or HSV, e.g. in the +TQColor::TQColor( x, y, z, colorSpec) constructor. +

        +
      • TQColor::Rgb +
      • TQColor::Hsv +
      +

      Member Function Documentation

      +

      TQColor::TQColor () +

      + +

      Constructs an invalid color with the RGB value (0, 0, 0). An +invalid color is a color that is not properly set up for the +underlying window system. +

      The alpha value of an invalid color is unspecified. +

      See also isValid(). + +

      TQColor::TQColor ( int r, int g, int b ) +

      + +

      Constructs a color with the RGB value r, g, b, in the +same way as setRgb(). +

      The color is left invalid if any or the arguments are illegal. +

      See also setRgb(). + +

      TQColor::TQColor ( int x, int y, int z, Spec colorSpec ) +

      +Constructs a color with the RGB or HSV value x, y, z. +

      The arguments are an RGB value if colorSpec is TQColor::Rgb. x (red), y (green), and z (blue). All of them must be in the +range 0-255. +

      The arguments are an HSV value if colorSpec is TQColor::Hsv. x (hue) must be -1 for achromatic colors and 0-359 for chromatic +colors; y (saturation) and z (value) must both be in the +range 0-255. +

      See also setRgb() and setHsv(). + +

      TQColor::TQColor ( TQRgb rgb, uint pixel = 0xffffffff ) +

      +Constructs a color with the RGB value rgb and a custom pixel +value pixel. +

      If pixel == 0xffffffff (the default), then the color uses the +RGB value in a standard way. If pixel is something else, then +the pixel value is set directly to pixel, skipping the normal +allocation procedure. + +

      TQColor::TQColor ( const TQString & name ) +

      +Constructs a named color in the same way as setNamedColor() using +name name. +

      The color is left invalid if name cannot be parsed. +

      See also setNamedColor(). + +

      TQColor::TQColor ( const char * name ) +

      +Constructs a named color in the same way as setNamedColor() using +name name. +

      The color is left invalid if name cannot be parsed. +

      See also setNamedColor(). + +

      TQColor::TQColor ( const TQColor & c ) +

      +Constructs a color that is a copy of c. + +

      uint TQColor::alloc () +

      +Allocates the RGB color and returns the pixel value. +

      Allocating a color means to obtain a pixel value from the RGB +specification. The pixel value is an index into the global color +table, but should be considered an arbitrary platform-dependent value. +

      The pixel() function calls alloc() if necessary, so in general you +don't need to call this function. +

      See also enterAllocContext(). + +

      int TQColor::blue () const +

      + +

      Returns the B (blue) component of the RGB value. + +

      void TQColor::cleanup () [static] +

      +Internal clean up required for TQColor. +This function is called from the TQApplication destructor. +

      See also initialize(). + +

      TQStringList TQColor::colorNames () [static] +

      + +Returns a TQStringList containing the color names TQt knows about. + +

      int TQColor::currentAllocContext () [static] +

      +Returns the current color allocation context. +

      The default context is 0. +

      See also enterAllocContext() and leaveAllocContext(). + +

      TQColor TQColor::dark ( int factor = 200 ) const +

      +Returns a darker (or lighter) color, but does not change this +object. +

      Returns a darker color if factor is greater than 100. Setting +factor to 300 returns a color that has one-third the +brightness. +

      Returns a lighter color if factor is less than 100. We +recommend using lighter() for this purpose. If factor is 0 or +negative, the return value is unspecified. +

      (This function converts the current RGB color to HSV, divides V by +factor and converts back to RGB.) +

      See also light(). + +

      Examples: desktop/desktop.cpp and themes/wood.cpp. +

      void TQColor::destroyAllocContext ( int context ) [static] +

      +Destroys a color allocation context, context. +

      This function deallocates all colors that were allocated in the +specified context. If context == -1, it frees up all colors +that the application has allocated. If context == -2, it frees +up all colors that the application has allocated, except those in +the default context. +

      The function does nothing for true color displays. +

      See also enterAllocContext() and alloc(). + +

      Example: showimg/showimg.cpp. +

      int TQColor::enterAllocContext () [static] +

      +Enters a color allocation context and returns a non-zero unique +identifier. +

      Color allocation contexts are useful for programs that need to +allocate many colors and throw them away later, like image +viewers. The allocation context functions work for true color +displays as well as for colormap displays, except that +TQColor::destroyAllocContext() does nothing for true color. +

      Example: +

      +    TQPixmap loadPixmap( TQString fileName )
      +    {
      +        static int alloc_context = 0;
      +        if ( alloc_context )
      +            TQColor::destroyAllocContext( alloc_context );
      +        alloc_context = TQColor::enterAllocContext();
      +        TQPixmap pm( fileName );
      +        TQColor::leaveAllocContext();
      +        return pm;
      +    }
      +    
      + +

      The example code loads a pixmap from file. It frees up all colors +that were allocated the last time loadPixmap() was called. +

      The initial/default context is 0. TQt keeps a list of colors +associated with their allocation contexts. You can call +destroyAllocContext() to get rid of all colors that were allocated +in a specific context. +

      Calling enterAllocContext() enters an allocation context. The +allocation context lasts until you call leaveAllocContext(). +TQColor has an internal stack of allocation contexts. Each call to +enterAllocContex() must have a corresponding leaveAllocContext(). +

      +        // context 0 active
      +    int c1 = TQColor::enterAllocContext();    // enter context c1
      +        // context c1 active
      +    int c2 = TQColor::enterAllocContext();    // enter context c2
      +        // context c2 active
      +    TQColor::leaveAllocContext();             // leave context c2
      +        // context c1 active
      +    TQColor::leaveAllocContext();             // leave context c1
      +        // context 0 active
      +        // Now, free all colors that were allocated in context c2
      +    TQColor::destroyAllocContext( c2 );
      +    
      + +

      You may also want to set the application's color specification. +See TQApplication::setColorSpec() for more information. +

      See also leaveAllocContext(), currentAllocContext(), destroyAllocContext(), and TQApplication::setColorSpec(). + +

      Example: showimg/showimg.cpp. +

      void TQColor::getHsv ( int * h, int * s, int * v ) const +

      +

      Returns the current RGB value as HSV. The contents of the h, s and v pointers are set to the HSV values. If any of the three +pointers are null, the function does nothing. +

      The hue (which h points to) is set to -1 if the color is +achromatic. +

      Warning: Colors are stored internally as RGB values, so getHSv() +may return slightly different values to those set by setHsv(). +

      See also setHsv() and rgb(). + +

      void TQColor::getHsv ( int & h, int & s, int & v ) const +

      + +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      +

      void TQColor::getRgb ( int * r, int * g, int * b ) const +

      +

      Sets the contents pointed to by r, g and b to the red, +green and blue components of the RGB value respectively. The value +range for a component is 0..255. +

      See also rgb(), setRgb(), and getHsv(). + +

      int TQColor::green () const +

      + +

      Returns the G (green) component of the RGB value. + +

      void TQColor::hsv ( int * h, int * s, int * v ) const +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +Use getHsv() instead. + +

      Example: themes/metal.cpp. +

      void TQColor::initialize () [static] +

      +Internal initialization required for TQColor. +This function is called from the TQApplication constructor. +

      See also cleanup(). + +

      bool TQColor::isValid () const +

      + +

      Returns FALSE if the color is invalid, i.e. it was constructed using the +default constructor; otherwise returns TRUE. + +

      Examples: chart/element.cpp, chart/setdataform.cpp, and scribble/scribble.cpp. +

      void TQColor::leaveAllocContext () [static] +

      +Leaves a color allocation context. +

      See enterAllocContext() for a detailed explanation. +

      See also enterAllocContext() and currentAllocContext(). + +

      Example: showimg/showimg.cpp. +

      TQColor TQColor::light ( int factor = 150 ) const +

      +Returns a lighter (or darker) color, but does not change this +object. +

      Returns a lighter color if factor is greater than 100. Setting +factor to 150 returns a color that is 50% brighter. +

      Returns a darker color if factor is less than 100. We recommend +using dark() for this purpose. If factor is 0 or negative, the +return value is unspecified. +

      (This function converts the current RGB color to HSV, multiplies V +by factor, and converts the result back to RGB.) +

      See also dark(). + +

      Examples: desktop/desktop.cpp and themes/wood.cpp. +

      int TQColor::maxColors () [static] +

      +Returns the maximum number of colors supported by the underlying +window system if the window system uses a palette. +

      Otherwise returns -1. Use numBitPlanes() to calculate the available +colors in that case. + +

      TQString TQColor::name () const +

      +Returns the name of the color in the format "#RRGGBB", i.e. a "#" +character followed by three two-digit hexadecimal numbers. +

      See also setNamedColor(). + +

      Example: chart/setdataform.cpp. +

      int TQColor::numBitPlanes () [static] +

      +Returns the number of color bit planes for the underlying window +system. +

      The returned value is equal to the default pixmap depth. +

      See also TQPixmap::defaultDepth(). + +

      bool TQColor::operator!= ( const TQColor & c ) const +

      + +Returns TRUE if this color has a different RGB value from c; +otherwise returns FALSE. + +

      TQColor & TQColor::operator= ( const TQColor & c ) +

      +Assigns a copy of the color c and returns a reference to this +color. + +

      bool TQColor::operator== ( const TQColor & c ) const +

      + +

      Returns TRUE if this color has the same RGB value as c; +otherwise returns FALSE. + +

      uint TQColor::pixel () const +

      +Returns the pixel value. +

      This value is used by the underlying window system to refer to a +color. It can be thought of as an index into the display +hardware's color table, but the value is an arbitrary 32-bit +value. +

      See also alloc(). + +

      uint TQColor::pixel ( int screen ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns the pixel value for screen screen. +

      This value is used by the underlying window system to refer to a color. +It can be thought of as an index into the display hardware's color table, +but the value is an arbitrary 32-bit value. +

      See also alloc(). + +

      int TQColor::red () const +

      + +

      Returns the R (red) component of the RGB value. + +

      TQRgb TQColor::rgb () const +

      + +

      Returns the RGB value. +

      The return type TQRgb is equivalent to unsigned int. +

      For an invalid color, the alpha value of the returned color is +unspecified. +

      See also setRgb(), hsv(), tqRed(), tqBlue(), tqGreen(), and isValid(). + +

      void TQColor::rgb ( int * r, int * g, int * b ) const +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +Use getRgb() instead +

      void TQColor::setHsv ( int h, int s, int v ) +

      +Sets a HSV color value. h is the hue, s is the saturation +and v is the value of the HSV color. +

      If s or v are not in the range 0-255, or h is < -1, the +color is not changed. +

      Warning: Colors are stored internally as RGB values, so getHSv() +may return slightly different values to those set by setHsv(). +

      See also hsv() and setRgb(). + +

      Examples: drawdemo/drawdemo.cpp, grapher/grapher.cpp, and progress/progress.cpp. +

      void TQColor::setNamedColor ( const TQString & name ) +

      +Sets the RGB value to name, which may be in one of these +formats: +
        +
      • #RGB (each of R, G and B is a single hex digit) +
      • #RRGGBB +
      • #RRRGGGBBB +
      • #RRRRGGGGBBBB +
      • A name from the X color database (rgb.txt) (e.g. +"steelblue" or "gainsboro"). These color names also work +under Windows. +
      +

      The color is invalid if name cannot be parsed. + +

      void TQColor::setRgb ( int r, int g, int b ) +

      +Sets the RGB value to r, g, b. The arguments, r, g +and b must all be in the range 0..255. If any of them are +outside the legal range, the color is not changed. +

      See also rgb() and setHsv(). + +

      void TQColor::setRgb ( TQRgb rgb ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Sets the RGB value to rgb. +

      The type TQRgb is equivalent to unsigned int. +

      See also rgb() and setHsv(). + +


      Related Functions

      +

      TQDataStream & operator<< ( TQDataStream & s, const TQColor & c ) +

      + +Writes a color object, c to the stream, s. +

      See also Format of the TQDataStream operators. + +

      TQDataStream & operator>> ( TQDataStream & s, TQColor & c ) +

      + +Reads a color object, c, from the stream, s. +

      See also Format of the TQDataStream operators. + +

      int tqAlpha ( TQRgb rgba ) +

      + + +

      Returns the alpha component of the RGBA quadruplet rgba. + +

      int tqBlue ( TQRgb rgb ) +

      + + +

      Returns the blue component of the RGB triplet rgb. +

      See also tqRgb() and TQColor::blue(). + +

      int tqGray ( int r, int g, int b ) +

      + + +

      Returns a gray value 0..255 from the (r, g, b) triplet. +

      The gray value is calculated using the formula (r*11 + g*16 + +b*5)/32. + +

      int tqGray ( tqRgb rgb ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      Returns a gray value 0..255 from the given rgb colour. + +

      int tqGreen ( TQRgb rgb ) +

      + + +

      Returns the green component of the RGB triplet rgb. +

      See also tqRgb() and TQColor::green(). + +

      int tqRed ( TQRgb rgb ) +

      + + +

      Returns the red component of the RGB triplet rgb. +

      See also tqRgb() and TQColor::red(). + +

      TQRgb tqRgb ( int r, int g, int b ) +

      + + +

      Returns the RGB triplet (r,g,b). +

      The return type TQRgb is equivalent to unsigned int. +

      See also tqRgba(), tqRed(), tqGreen(), and tqBlue(). + +

      TQRgb tqRgba ( int r, int g, int b, int a ) +

      + + +

      Returns the RGBA quadruplet (r,g,b,a). +

      The return type TQRgba is equivalent to unsigned int. +

      See also tqRgb(), tqRed(), tqGreen(), and tqBlue(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqcolordialog-h.html b/doc/html/tqcolordialog-h.html new file mode 100644 index 000000000..3d7974436 --- /dev/null +++ b/doc/html/tqcolordialog-h.html @@ -0,0 +1,138 @@ + + + + + +tqcolordialog.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqcolordialog.h

      + +

      This is the verbatim text of the tqcolordialog.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqcolordialog.h   3.3.8   edited Jan 11 14:37 $
      +**
      +** Definition of TQColorDialog class
      +**
      +** Created : 990222
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the dialogs module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQCOLORDIALOG_H
      +#define TQCOLORDIALOG_H
      +
      +#ifndef QT_H
      +#include "ntqdialog.h"
      +#endif // QT_H
      +
      +#ifndef TQT_NO_COLORDIALOG
      +
      +class TQColorDialogPrivate;
      +
      +class TQ_EXPORT TQColorDialog : public TQDialog
      +{
      +    TQ_OBJECT
      +
      +public:
      +    static TQColor getColor( const TQColor& init = white, TQWidget* parent=0, const char* name=0 );
      +    static TQRgb getRgba( TQRgb, bool* ok = 0,
      +			 TQWidget* parent=0, const char* name=0 );
      +
      +    static int customCount();
      +    static TQRgb customColor( int );
      +    static void setCustomColor( int, TQRgb );
      +    static void setStandardColor( int, TQRgb );
      +
      +private:
      +    ~TQColorDialog();
      +    TQColorDialog( TQWidget* parent=0, const char* name=0, bool modal=FALSE );
      +
      +    void setColor( const TQColor& );
      +    TQColor color() const;
      +
      +    bool selectColor( const TQColor& );
      +
      +    void setSelectedAlpha( int );
      +    int selectedAlpha() const;
      +
      +    void showCustom( bool=TRUE );
      +
      +private:	// Disabled copy constructor and operator=
      +    TQColorDialogPrivate *d;
      +    friend class TQColorDialogPrivate;
      +    friend class TQColorShower;
      +
      +#if defined(TQ_DISABLE_COPY)
      +    TQColorDialog( const TQColorDialog & );
      +    TQColorDialog& operator=( const TQColorDialog & );
      +#endif
      +};
      +
      +#endif
      +
      +#endif //TQCOLORDIALOG_H
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqcolordialog-members.html b/doc/html/tqcolordialog-members.html new file mode 100644 index 000000000..ce6b5df71 --- /dev/null +++ b/doc/html/tqcolordialog-members.html @@ -0,0 +1,355 @@ + + + + + +TQColorDialog Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQColorDialog

      + +

      This is the complete list of member functions for +TQColorDialog, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqcolordialog.html b/doc/html/tqcolordialog.html new file mode 100644 index 000000000..0bf8f88f0 --- /dev/null +++ b/doc/html/tqcolordialog.html @@ -0,0 +1,118 @@ + + + + + +TQColorDialog Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQColorDialog Class Reference

      + +

      The TQColorDialog class provides a dialog widget for specifying colors. +More... +

      #include <tqcolordialog.h> +

      Inherits TQDialog. +

      List of all member functions. +

      Static Public Members

      +
        +
      • TQColor getColor ( const TQColor & initial = white, TQWidget * parent = 0, const char * name = 0 )
      • +
      • TQRgb getRgba ( TQRgb initial, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 )
      • +
      • int customCount ()
      • +
      • TQRgb customColor ( int i )
      • +
      • void setCustomColor ( int i, TQRgb c )
      • +
      • void setStandardColor ( int i, TQRgb c )
      • +
      +

      Detailed Description

      + + +The TQColorDialog class provides a dialog widget for specifying colors. + + + +

      The color dialog's function is to allow users to choose colors. +For example, you might use this in a drawing program to allow the +user to set the brush color. +

      The static functions provide modal color dialogs. + +

      The static getColor() function shows the dialog and allows the +user to specify a color. The getRgba() function does the same but +also allows the user to specify a color with an alpha channel +(transparency) value. +

      The user can store customCount() different custom colors. The +custom colors are shared by all color dialogs, and remembered +during the execution of the program. Use setCustomColor() to set +the custom colors, and use customColor() to get them. +

      See also Dialog Classes and Graphics Classes. + +


      Member Function Documentation

      +

      TQRgb TQColorDialog::customColor ( int i ) [static] +

      +Returns custom color number i as a TQRgb. + +

      int TQColorDialog::customCount () [static] +

      +Returns the number of custom colors supported by TQColorDialog. All +color dialogs share the same custom colors. + +

      TQColor TQColorDialog::getColor ( const TQColor & initial = white, TQWidget * parent = 0, const char * name = 0 ) [static] +

      +Pops up a modal color dialog, lets the user choose a color, and +returns that color. The color is initially set to initial. The +dialog is a child of parent and is called name. It returns +an invalid (see TQColor::isValid()) color if the user cancels the +dialog. All colors allocated by the dialog will be deallocated +before this function returns. + +

      Examples: chart/setdataform.cpp and scribble/scribble.cpp. +

      TQRgb TQColorDialog::getRgba ( TQRgb initial, bool * ok = 0, TQWidget * parent = 0, const char * name = 0 ) [static] +

      +Pops up a modal color dialog to allow the user to choose a color +and an alpha channel (transparency) value. The color+alpha is +initially set to initial. The dialog is a child of parent +and called name. +

      If ok is non-null, *ok is set to TRUE if the user clicked +OK, and to FALSE if the user clicked Cancel. +

      If the user clicks Cancel, the initial value is returned. + +

      void TQColorDialog::setCustomColor ( int i, TQRgb c ) [static] +

      +Sets custom color number i to the TQRgb value c. + +

      void TQColorDialog::setStandardColor ( int i, TQRgb c ) [static] +

      +Sets standard color number i to the TQRgb value c. + + +

      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqcolordlg-w.png b/doc/html/tqcolordlg-w.png new file mode 100644 index 000000000..edcfb18d2 Binary files /dev/null and b/doc/html/tqcolordlg-w.png differ diff --git a/doc/html/tqcolordrag.html b/doc/html/tqcolordrag.html index ef7c0895a..ebed61a78 100644 --- a/doc/html/tqcolordrag.html +++ b/doc/html/tqcolordrag.html @@ -56,7 +56,7 @@ transferring colors.

      This class provides a drag object which can be used to transfer data about colors for drag and drop and in the clipboard. For example, it -is used in TQColorDialog. +is used in TQColorDialog.

      The color is set in the constructor but can be changed with setColor().

      For more information about drag and drop, see the TQDragObject class @@ -64,7 +64,7 @@ and the drag and drop documentation.

      See also Drag And Drop Classes.


      Member Function Documentation

      -

      TQColorDrag::TQColorDrag ( const TQColor & col, TQWidget * dragsource = 0, const char * name = 0 ) +

      TQColorDrag::TQColorDrag ( const TQColor & col, TQWidget * dragsource = 0, const char * name = 0 )

      Constructs a color drag object with the color col. Passes dragsource and name to the TQStoredDrag constructor. @@ -77,11 +77,11 @@ Constructs a color drag object with a white color. Passes dragsource an Returns TRUE if the color drag object can decode the mime source e; otherwise returns FALSE. -

      bool TQColorDrag::decode ( TQMimeSource * e, TQColor & col ) [static] +

      bool TQColorDrag::decode ( TQMimeSource * e, TQColor & col ) [static]

      Decodes the mime source e and sets the decoded values to col. -

      void TQColorDrag::setColor ( const TQColor & col ) +

      void TQColorDrag::setColor ( const TQColor & col )

      Sets the color of the color drag to col. diff --git a/doc/html/tqcolorgroup-members.html b/doc/html/tqcolorgroup-members.html new file mode 100644 index 000000000..a534795e0 --- /dev/null +++ b/doc/html/tqcolorgroup-members.html @@ -0,0 +1,71 @@ + + + + + +TQColorGroup Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQColorGroup

      + +

      This is the complete list of member functions for +TQColorGroup, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqcolorgroup.html b/doc/html/tqcolorgroup.html new file mode 100644 index 000000000..4a8bc8fdb --- /dev/null +++ b/doc/html/tqcolorgroup.html @@ -0,0 +1,346 @@ + + + + + +TQColorGroup Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQColorGroup Class Reference

      + +

      The TQColorGroup class contains a group of widget colors. +More... +

      #include <ntqpalette.h> +

      List of all member functions. +

      Public Members

      +
        +
      • TQColorGroup ()
      • +
      • TQColorGroup ( const TQColor & foreground, const TQColor & background, const TQColor & light, const TQColor & dark, const TQColor & mid, const TQColor & text, const TQColor & base )  (obsolete)
      • +
      • TQColorGroup ( const TQBrush & foreground, const TQBrush & button, const TQBrush & light, const TQBrush & dark, const TQBrush & mid, const TQBrush & text, const TQBrush & bright_text, const TQBrush & base, const TQBrush & background )
      • +
      • TQColorGroup ( const TQColorGroup & other )
      • +
      • ~TQColorGroup ()
      • +
      • TQColorGroup & operator= ( const TQColorGroup & other )
      • +
      • enum ColorRole { Foreground, Button, Light, Midlight, Dark, Mid, Text, BrightText, ButtonText, Base, Background, Shadow, Highlight, HighlightedText, Link, LinkVisited, NColorRoles }
      • +
      • const TQColor & color ( ColorRole r ) const
      • +
      • const TQBrush & brush ( ColorRole r ) const
      • +
      • void setColor ( ColorRole r, const TQColor & c )
      • +
      • void setBrush ( ColorRole r, const TQBrush & b )
      • +
      • const TQColor & foreground () const
      • +
      • const TQColor & button () const
      • +
      • const TQColor & light () const
      • +
      • const TQColor & dark () const
      • +
      • const TQColor & mid () const
      • +
      • const TQColor & text () const
      • +
      • const TQColor & base () const
      • +
      • const TQColor & background () const
      • +
      • const TQColor & midlight () const
      • +
      • const TQColor & brightText () const
      • +
      • const TQColor & buttonText () const
      • +
      • const TQColor & shadow () const
      • +
      • const TQColor & highlight () const
      • +
      • const TQColor & highlightedText () const
      • +
      • const TQColor & link () const
      • +
      • const TQColor & linkVisited () const
      • +
      • bool operator== ( const TQColorGroup & g ) const
      • +
      • bool operator!= ( const TQColorGroup & g ) const
      • +
      +

      Related Functions

      +
        +
      • TQDataStream & operator<< ( TQDataStream & s, const TQColorGroup & g )
      • +
      +

      Detailed Description

      + + +The TQColorGroup class contains a group of widget colors. +

      + + +

      A color group contains a group of colors used by widgets for +drawing themselves. We recommend that widgets use color group +roles such as "foreground" and "base" rather than literal colors +like "red" or "turquoise". The color roles are enumerated and +defined in the ColorRole documentation. +

      The most common use of TQColorGroup is like this: +

      +        TQPainter p;
      +        ...
      +        p.setPen( colorGroup().foreground() );
      +        p.drawLine( ... )
      +    
      + +

      It is also possible to modify color groups or create new color +groups from scratch. +

      The color group class can be created using three different +constructors or by modifying one supplied by TQt. The default +constructor creates an all-black color group, which can then be +modified using set functions; there's also a constructor for +specifying all the color group colors. And there is also a copy +constructor. +

      We strongly recommend using a system-supplied color group and +modifying that as necessary. +

      You modify a color group by calling the access functions +setColor() and setBrush(), depending on whether you want a pure +color or a pixmap pattern. +

      There are also corresponding color() and brush() getters, and a +commonly used convenience function to get each ColorRole: +background(), foreground(), base(), etc. +

      See also TQColor, TQPalette, TQWidget::colorGroup, Widget Appearance and Style, Graphics Classes, and Image Processing Classes. + +


      Member Type Documentation

      +

      TQColorGroup::ColorRole

      + +

      The ColorRole enum defines the different symbolic color roles used +in current GUIs. +

      The central roles are: +

        +
      • TQColorGroup::Background - general background color. +
      • TQColorGroup::Foreground - general foreground color. +
      • TQColorGroup::Base - used as background color for text entry widgets, for example; +usually white or another light color. +
      • TQColorGroup::Text - the foreground color used with Base. Usually this +is the same as the Foreground, in which case it must provide good +contrast with Background and Base. +
      • TQColorGroup::Button - general button background color in which buttons need a +background different from Background, as in the Macintosh style. +
      • TQColorGroup::ButtonText - a foreground color used with the Button color. +

      There are some color roles used mostly for 3D bevel and shadow +effects: +

        +
      • TQColorGroup::Light - lighter than Button color. +
      • TQColorGroup::Midlight - between Button and Light. +
      • TQColorGroup::Dark - darker than Button. +
      • TQColorGroup::Mid - between Button and Dark. +
      • TQColorGroup::Shadow - a very dark color. +By default, the shadow color is TQt::black. +

      All of these are normally derived from Background and used in +ways that depend on that relationship. For example, buttons depend +on it to make the bevels look attractive, and Motif scroll bars +depend on Mid to be slightly different from Background. +

      Selected (marked) items have two roles: +

        +
      • TQColorGroup::Highlight - a color to indicate a selected item or the +current item. By default, the highlight color is TQt::darkBlue. +
      • TQColorGroup::HighlightedText - a text color that contrasts with Highlight. +By default, the highlighted text color is TQt::white. +

      Finally, there is a special role for text that needs to be +drawn where Text or Foreground would give poor contrast, +such as on pressed push buttons: +

        +
      • TQColorGroup::BrightText - a text color that is very different from Foreground and contrasts well with e.g. Dark. +
      • TQColorGroup::Link - a text color used for unvisited hyperlinks. +By default, the link color is TQt::blue. +
      • TQColorGroup::LinkVisited - a text color used for already visited hyperlinks. +By default, the linkvisited color is TQt::magenta. +
      • TQColorGroup::NColorRoles - Internal. +

      Note that text colors can be used for things other than just +words; text colors are usually used for text, but it's quite +common to use the text color roles for lines, icons, etc. +

      This image shows most of the color roles in use: +

      Color Roles
      +

      Member Function Documentation

      +

      TQColorGroup::TQColorGroup () +

      +Constructs a color group with all colors set to black. + +

      TQColorGroup::TQColorGroup ( const TQColor & foreground, const TQColor & background, const TQColor & light, const TQColor & dark, const TQColor & mid, const TQColor & text, const TQColor & base ) +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      Constructs a color group with the specified colors. The button +color will be set to the background color. + +

      TQColorGroup::TQColorGroup ( const TQBrush & foreground, const TQBrush & button, const TQBrush & light, const TQBrush & dark, const TQBrush & mid, const TQBrush & text, const TQBrush & bright_text, const TQBrush & base, const TQBrush & background ) +

      +Constructs a color group. You can pass either brushes, pixmaps or +plain colors for foreground, button, light, dark, mid, text, bright_text, base and background. +

      See also TQBrush. + +

      TQColorGroup::TQColorGroup ( const TQColorGroup & other ) +

      +Constructs a color group that is an independent copy of other. + +

      TQColorGroup::~TQColorGroup () +

      +Destroys the color group. + +

      const TQColor & TQColorGroup::background () const +

      + +

      Returns the background color of the color group. +

      See also ColorRole. + +

      const TQColor & TQColorGroup::base () const +

      + +

      Returns the base color of the color group. +

      See also ColorRole. + +

      const TQColor & TQColorGroup::brightText () const +

      + +

      Returns the bright text foreground color of the color group. +

      See also ColorRole. + +

      Examples: themes/metal.cpp and themes/wood.cpp. +

      const TQBrush & TQColorGroup::brush ( ColorRole r ) const +

      +Returns the brush that has been set for color role r. +

      See also color(), setBrush(), and ColorRole. + +

      Examples: themes/metal.cpp and themes/wood.cpp. +

      const TQColor & TQColorGroup::button () const +

      + +

      Returns the button color of the color group. +

      See also ColorRole. + +

      Examples: themes/metal.cpp and themes/wood.cpp. +

      const TQColor & TQColorGroup::buttonText () const +

      + +

      Returns the button text foreground color of the color group. +

      See also ColorRole. + +

      Examples: themes/metal.cpp and themes/wood.cpp. +

      const TQColor & TQColorGroup::color ( ColorRole r ) const +

      +Returns the color that has been set for color role r. +

      See also brush() and ColorRole. + +

      const TQColor & TQColorGroup::dark () const +

      + +

      Returns the dark color of the color group. +

      See also ColorRole. + +

      Example: themes/wood.cpp. +

      const TQColor & TQColorGroup::foreground () const +

      + +

      Returns the foreground color of the color group. +

      See also ColorRole. + +

      Examples: themes/metal.cpp and themes/wood.cpp. +

      const TQColor & TQColorGroup::highlight () const +

      + +

      Returns the highlight color of the color group. +

      See also ColorRole. + +

      const TQColor & TQColorGroup::highlightedText () const +

      + +

      Returns the highlighted text color of the color group. +

      See also ColorRole. + +

      const TQColor & TQColorGroup::light () const +

      + +

      Returns the light color of the color group. +

      See also ColorRole. + +

      Example: themes/wood.cpp. +

      const TQColor & TQColorGroup::link () const +

      + +

      Returns the unvisited link text color of the color group. +

      See also ColorRole. + +

      const TQColor & TQColorGroup::linkVisited () const +

      + +

      Returns the visited link text color of the color group. +

      See also ColorRole. + +

      const TQColor & TQColorGroup::mid () const +

      + +

      Returns the mid color of the color group. +

      See also ColorRole. + +

      Examples: themes/metal.cpp and themes/wood.cpp. +

      const TQColor & TQColorGroup::midlight () const +

      + +

      Returns the midlight color of the color group. +

      See also ColorRole. + +

      bool TQColorGroup::operator!= ( const TQColorGroup & g ) const +

      + +

      Returns TRUE if this color group is different from g; otherwise +returns FALSE. +

      See also +

      TQColorGroup & TQColorGroup::operator= ( const TQColorGroup & other ) +

      +Copies the colors of other to this color group. + +

      bool TQColorGroup::operator== ( const TQColorGroup & g ) const +

      +Returns TRUE if this color group is equal to g; otherwise +returns FALSE. +

      See also +

      void TQColorGroup::setBrush ( ColorRole r, const TQBrush & b ) +

      +Sets the brush used for color role r to b. +

      See also brush(), setColor(), and ColorRole. + +

      Example: themes/wood.cpp. +

      void TQColorGroup::setColor ( ColorRole r, const TQColor & c ) +

      +Sets the brush used for color role r to a solid color c. +

      See also brush() and ColorRole. + +

      Examples: listviews/listviews.cpp, table/statistics/statistics.cpp, and themes/metal.cpp. +

      const TQColor & TQColorGroup::shadow () const +

      + +

      Returns the shadow color of the color group. +

      See also ColorRole. + +

      const TQColor & TQColorGroup::text () const +

      + +

      Returns the text foreground color of the color group. +

      See also ColorRole. + +

      Example: listviews/listviews.cpp. +


      Related Functions

      +

      TQDataStream & operator<< ( TQDataStream & s, const TQColorGroup & g ) +

      + +

      Writes color group, g to the stream s. +

      See also Format of the TQDataStream operators. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqdatabrowser-members.html b/doc/html/tqdatabrowser-members.html index c06cd34ca..3b4d662a0 100644 --- a/doc/html/tqdatabrowser-members.html +++ b/doc/html/tqdatabrowser-members.html @@ -69,7 +69,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • confirmCancel()
    • confirmCancels() @@ -133,7 +133,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • handleError()
    • hasFocus()
    • hasMouse() @@ -161,7 +161,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -221,7 +221,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -359,28 +359,28 @@ body { background: #ffffff; color: black; }
    • windowState()
    • writeFields()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqdatastream.html b/doc/html/tqdatastream.html index a46c777cf..d7fba3c03 100644 --- a/doc/html/tqdatastream.html +++ b/doc/html/tqdatastream.html @@ -128,7 +128,7 @@ data to. The TQFile class is an example of an IO devic

      Each item written to the stream is written in a predefined binary format that varies depending on the item's type. Supported TQt -types include TQBrush, TQColor, TQDateTime, TQFont, TQPixmap, TQString, +types include TQBrush, TQColor, TQDateTime, TQFont, TQPixmap, TQString, TQVariant and many others. For the complete list of all TQt types supporting data streaming see the Format of the TQDataStream operators.

      For integers it is best to always cast to a TQt integer type for diff --git a/doc/html/tqdatatable-members.html b/doc/html/tqdatatable-members.html index 92a16e4fe..e9351c509 100644 --- a/doc/html/tqdatatable-members.html +++ b/doc/html/tqdatatable-members.html @@ -89,7 +89,7 @@ body { background: #ffffff; color: black; }

    • clipper()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • columnAt()
    • columnClicked() @@ -206,7 +206,7 @@ body { background: #ffffff; color: black; }
    • grabKeyboard()
    • grabMouse()
    • hScrollBarMode() -
    • handle() +
    • handle()
    • handleError()
    • hasFocus()
    • hasMouse() @@ -251,7 +251,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -328,7 +328,7 @@ body { background: #ffffff; color: black; }
    • paintEvent()
    • paintField()
    • paintFocus() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -569,28 +569,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqdatatable.html b/doc/html/tqdatatable.html index 89d010c7f..460e9b987 100644 --- a/doc/html/tqdatatable.html +++ b/doc/html/tqdatatable.html @@ -471,7 +471,7 @@ See the "numCols" property for detai

      Returns the number of rows in the table. See the "numRows" property for details.

      Reimplemented from TQTable. -

      void TQDataTable::paintField ( TQPainter * p, const TQSqlField * field, const TQRect & cr, bool selected ) [virtual protected] +

      void TQDataTable::paintField ( TQPainter * p, const TQSqlField * field, const TQRect & cr, bool selected ) [virtual protected]

      Paints the field on the painter p. The painter has already been translated to the appropriate cell's origin where the field is to be rendered. cr describes the cell coordinates in diff --git a/doc/html/tqdataview-members.html b/doc/html/tqdataview-members.html index dd8828d72..3436995bb 100644 --- a/doc/html/tqdataview-members.html +++ b/doc/html/tqdataview-members.html @@ -63,7 +63,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -112,7 +112,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -137,7 +137,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -192,7 +192,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -311,28 +311,28 @@ body { background: #ffffff; color: black; }
    • windowState()
    • writeFields()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqdateedit-members.html b/doc/html/tqdateedit-members.html index 66a2f4e2d..202e3817c 100644 --- a/doc/html/tqdateedit-members.html +++ b/doc/html/tqdateedit-members.html @@ -63,7 +63,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -113,7 +113,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -138,7 +138,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -196,7 +196,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -323,28 +323,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqdatetimeedit-members.html b/doc/html/tqdatetimeedit-members.html index e15baa4ff..5267a440c 100644 --- a/doc/html/tqdatetimeedit-members.html +++ b/doc/html/tqdatetimeedit-members.html @@ -63,7 +63,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -113,7 +113,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -138,7 +138,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -193,7 +193,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -310,28 +310,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqdatetimeeditbase-members.html b/doc/html/tqdatetimeeditbase-members.html index 217a8f8d7..21ba3f20e 100644 --- a/doc/html/tqdatetimeeditbase-members.html +++ b/doc/html/tqdatetimeeditbase-members.html @@ -60,7 +60,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -108,7 +108,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -133,7 +133,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -188,7 +188,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -301,28 +301,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqdir-example.html b/doc/html/tqdir-example.html index d00762889..f42b5435d 100644 --- a/doc/html/tqdir-example.html +++ b/doc/html/tqdir-example.html @@ -59,7 +59,7 @@ body { background: #ffffff; color: black; } #include <ntqmultilineedit.h> #include <ntqheader.h> #include <ntqevent.h> -#include <ntqpainter.h> +#include <tqpainter.h> #include <tqpopupmenu.h> #include <ntqpushbutton.h> #include <tqtoolbutton.h> @@ -135,10 +135,10 @@ void PixmapView::setPixmap( const TQ viewport()->repaint( FALSE ); } -void PixmapView::drawContents( TQPainter *p, int cx, int cy, int cw, int ch ) +void PixmapView::drawContents( TQPainter *p, int cx, int cy, int cw, int ch ) { - p->fillRect( cx, cy, cw, ch, colorGroup().brush( TQColorGroup::Base ) ); - p->drawPixmap( 0, 0, pixmap ); + p->fillRect( cx, cy, cw, ch, colorGroup().brush( TQColorGroup::Base ) ); + p->drawPixmap( 0, 0, pixmap ); } // **************************************************************************************************** diff --git a/doc/html/tqdragobject-h.html b/doc/html/tqdragobject-h.html index f5bb7e613..d8fa5af6a 100644 --- a/doc/html/tqdragobject-h.html +++ b/doc/html/tqdragobject-h.html @@ -85,7 +85,7 @@ class TQImageDragData; #include "tqobject.h" #include "tqimage.h" #include "tqstrlist.h" -#include "ntqcolor.h" +#include "tqcolor.h" #endif // QT_H #ifndef TQT_NO_MIME diff --git a/doc/html/tqfiledialog-members.html b/doc/html/tqfiledialog-members.html index 675a85e70..57a8fe1b1 100644 --- a/doc/html/tqfiledialog-members.html +++ b/doc/html/tqfiledialog-members.html @@ -68,7 +68,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -130,7 +130,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -157,7 +157,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -216,7 +216,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -362,28 +362,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqfont-examples.html b/doc/html/tqfont-examples.html new file mode 100644 index 000000000..c27d04e95 --- /dev/null +++ b/doc/html/tqfont-examples.html @@ -0,0 +1,48 @@ + + + + + +TQFont Examples + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQFont Examples

      + + +

      The following example programs show how to use the +classes TQFont, TQFontMetrics, TQFontInfo, and TQFontDatabase. +

      +

      +
      A simple demonstration of TQFont member functions +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfont-h.html b/doc/html/tqfont-h.html new file mode 100644 index 000000000..27ea3cc9d --- /dev/null +++ b/doc/html/tqfont-h.html @@ -0,0 +1,410 @@ + + + + + +tqfont.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqfont.h

      + +

      This is the verbatim text of the tqfont.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqfont.h   3.3.8   edited Jan 11 14:38 $
      +**
      +** Definition of TQFont class
      +**
      +** Created : 940514
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the kernel module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQFONT_H
      +#define TQFONT_H
      +
      +#ifndef QT_H
      +#include "ntqwindowdefs.h"
      +#include "tqstring.h"
      +#endif // QT_H
      +
      +
      +class TQFontPrivate;                                     /* don't touch */
      +class TQStringList;
      +class TQTextFormatCollection;
      +
      +class TQ_EXPORT TQFont
      +{
      +public:
      +    enum StyleHint {
      +	Helvetica,  SansSerif = Helvetica,
      +	Times,      Serif = Times,
      +	Courier,    TypeWriter = Courier,
      +	OldEnglish, Decorative = OldEnglish,
      +	System,
      +	AnyStyle
      +    };
      +
      +    enum StyleStrategy {
      +	PreferDefault    = 0x0001,
      +	PreferBitmap     = 0x0002,
      +	PreferDevice     = 0x0004,
      +	PreferOutline    = 0x0008,
      +	ForceOutline     = 0x0010,
      +	PreferMatch      = 0x0020,
      +	PreferQuality    = 0x0040,
      +	PreferAntialias  = 0x0080,
      +	NoAntialias      = 0x0100,
      +	OpenGLCompatible = 0x0200
      +    };
      +
      +    enum Weight {
      +	Light    = 25,
      +	Normal   = 50,
      +	DemiBold = 63,
      +	Bold     = 75,
      +	Black	 = 87
      +    };
      +
      +    enum Stretch {
      +	UltraCondensed =  50,
      +	ExtraCondensed =  62,
      +	Condensed      =  75,
      +	SemiCondensed  =  87,
      +	Unstretched    = 100,
      +	SemiExpanded   = 112,
      +	Expanded       = 125,
      +	ExtraExpanded  = 150,
      +	UltraExpanded  = 200
      +    };
      +
      +    // default font
      +    TQFont();
      +    // specific font
      +#ifdef Q_QDOC
      +    TQFont( const TQString &family, int pointSize = 12, int weight = Normal,
      +	   bool italic = FALSE );
      +#else
      +    TQFont( const TQString &family, int pointSize = -1, int weight = -1,
      +	   bool italic = FALSE );
      +#endif
      +    // copy constructor
      +    TQFont( const TQFont & );
      +
      +    ~TQFont();
      +
      +    TQString family() const;
      +    void setFamily( const TQString &);
      +
      +    int pointSize() const;
      +    float pointSizeFloat() const;
      +    void setPointSize( int );
      +    void setPointSizeFloat( float );
      +
      +    int pixelSize() const;
      +    void setPixelSize( int );
      +    void setPixelSizeFloat( float );
      +
      +    int weight() const;
      +    void setWeight( int );
      +
      +    bool bold() const;
      +    void setBold( bool );
      +
      +    bool italic() const;
      +    void setItalic( bool );
      +
      +    bool underline() const;
      +    void setUnderline( bool );
      +
      +    bool overline() const;
      +    void setOverline( bool );
      +
      +    bool strikeOut() const;
      +    void setStrikeOut( bool );
      +
      +    bool fixedPitch() const;
      +    void setFixedPitch( bool );
      +
      +    StyleHint styleHint() const;
      +    StyleStrategy styleStrategy() const;
      +    void setStyleHint( StyleHint, StyleStrategy = PreferDefault );
      +    void setStyleStrategy( StyleStrategy s );
      +
      +    int stretch() const;
      +    void setStretch( int );
      +
      +    // is raw mode still needed?
      +    bool rawMode() const;
      +    void setRawMode( bool );
      +
      +    // dupicated from TQFontInfo
      +    bool exactMatch() const;
      +
      +    TQFont &operator=( const TQFont & );
      +    bool operator==( const TQFont & ) const;
      +    bool operator!=( const TQFont & ) const;
      +    bool isCopyOf( const TQFont & ) const;
      +
      +
      +#ifdef TQ_WS_WIN
      +    HFONT handle() const;
      +#else // !TQ_WS_WIN
      +    TQt::HANDLE handle() const;
      +#endif // TQ_WS_WIN
      +
      +
      +    // needed for X11
      +    void setRawName( const TQString & );
      +    TQString rawName() const;
      +
      +    TQString key() const;
      +
      +    TQString toString() const;
      +    bool fromString(const TQString &);
      +
      +#ifndef TQT_NO_STRINGLIST
      +    static TQString substitute(const TQString &);
      +    static TQStringList substitutes(const TQString &);
      +    static TQStringList substitutions();
      +    static void insertSubstitution(const TQString&, const TQString &);
      +    static void insertSubstitutions(const TQString&, const TQStringList &);
      +    static void removeSubstitution(const TQString &);
      +#endif //TQT_NO_STRINGLIST
      +    static void initialize();
      +    static void cleanup();
      +    static void cacheStatistics();
      +
      +    // a copy of this lives in qunicodetables.cpp, as we can't include
      +    // tqfont.h it in tools/. Do not modify without changing the script
      +    // enum in qunicodetable_p.h aswell.
      +    enum Script {
      +	// European Alphabetic Scripts
      +	Latin,
      +	Greek,
      +	Cyrillic,
      +	Armenian,
      +	Georgian,
      +	Runic,
      +	Ogham,
      +	SpacingModifiers,
      +	CombiningMarks,
      +
      +	// Middle Eastern Scripts
      +	Hebrew,
      +	Arabic,
      +	Syriac,
      +	Thaana,
      +
      +	// South and Southeast Asian Scripts
      +	Devanagari,
      +	Bengali,
      +	Gurmukhi,
      +	Gujarati,
      +	Oriya,
      +	Tamil,
      +	Telugu,
      +	Kannada,
      +	Malayalam,
      +	Sinhala,
      +	Thai,
      +	Lao,
      +	Tibetan,
      +	Myanmar,
      +	Khmer,
      +
      +	// East Asian Scripts
      +	Han,
      +	Hiragana,
      +	Katakana,
      +	Hangul,
      +	Bopomofo,
      +	Yi,
      +
      +	// Additional Scripts
      +	Ethiopic,
      +	Cherokee,
      +	CanadianAboriginal,
      +	Mongolian,
      +
      +	// Symbols
      +	CurrencySymbols,
      +	LetterlikeSymbols,
      +	NumberForms,
      +	MathematicalOperators,
      +	TechnicalSymbols,
      +	GeometricSymbols,
      +	MiscellaneousSymbols,
      +	EnclosedAndSquare,
      +	Braille,
      +
      +	Unicode,
      +
      +	// some scripts added in Unicode 3.2
      +	Tagalog,
      +	Hanunoo,
      +	Buhid,
      +	Tagbanwa,
      +
      +	KatakanaHalfWidth,
      +
      +	// from Unicode 4.0
      +	Limbu,
      +	TaiLe,
      +
      +	// End
      +#if !defined(Q_QDOC)
      +	NScripts,
      +	UnknownScript = NScripts,
      +
      +	NoScript,
      +
      +	// ----------------------------------------
      +	// Dear User, you can see values > NScript,
      +	// but they are internal - do not touch.
      +
      +	Han_Japanese,
      +	Han_SimplifiedChinese,
      +	Han_TraditionalChinese,
      +	Han_Korean,
      +
      +	LastPrivateScript
      +#endif
      +    };
      +
      +    TQString defaultFamily() const;
      +    TQString lastResortFamily() const;
      +    TQString lastResortFont() const;
      +
      +#ifndef TQT_NO_COMPAT
      +
      +    static TQFont defaultFont();
      +    static void setDefaultFont( const TQFont & );
      +
      +#endif // TQT_NO_COMPAT
      +
      +    TQFont resolve( const TQFont & ) const;
      +
      +protected:
      +    // why protected?
      +    bool dirty() const;
      +    int deciPointSize() const;
      +
      +private:
      +    TQFont( TQFontPrivate *, TQPaintDevice *pd );
      +
      +    void detach();
      +
      +#if defined(TQ_WS_MAC)
      +    void macSetFont(TQPaintDevice *);
      +#elif defined(TQ_WS_X11)
      +    void x11SetScreen( int screen = -1 );
      +    int x11Screen() const;
      +#endif
      +
      +    friend class TQFontMetrics;
      +    friend class TQFontInfo;
      +    friend class TQPainter;
      +    friend class TQPSPrinterFont;
      +    friend class TQApplication;
      +    friend class TQWidget;
      +    friend class TQTextFormatCollection;
      +    friend class TQTextLayout;
      +    friend class TQTextItem;
      +    friend class TQGLContext;
      +#if defined(TQ_WS_X11) && !defined(TQT_NO_XFTFREETYPE)
      +    friend TQt::HANDLE qt_xft_handle(const TQFont &font);
      +#endif
      +#ifndef TQT_NO_DATASTREAM
      +    friend TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQFont & );
      +    friend TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQFont & );
      +#endif
      +
      +    TQFontPrivate *d;
      +};
      +
      +
      +inline bool TQFont::bold() const
      +{ return weight() > Normal; }
      +
      +
      +inline void TQFont::setBold( bool enable )
      +{ setWeight( enable ? Bold : Normal ); }
      +
      +
      +
      +
      +/*****************************************************************************
      +  TQFont stream functions
      + *****************************************************************************/
      +
      +#ifndef TQT_NO_DATASTREAM
      +TQ_EXPORT TQDataStream &operator<<( TQDataStream &, const TQFont & );
      +TQ_EXPORT TQDataStream &operator>>( TQDataStream &, TQFont & );
      +#endif
      +
      +
      +#endif // TQFONT_H
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfont-members.html b/doc/html/tqfont-members.html new file mode 100644 index 000000000..c8e22c426 --- /dev/null +++ b/doc/html/tqfont-members.html @@ -0,0 +1,104 @@ + + + + + +TQFont Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQFont

      + +

      This is the complete list of member functions for +TQFont, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfont.html b/doc/html/tqfont.html new file mode 100644 index 000000000..693bb5412 --- /dev/null +++ b/doc/html/tqfont.html @@ -0,0 +1,910 @@ + + + + + +TQFont Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQFont Class Reference

      + +

      The TQFont class specifies a font used for drawing text. +More... +

      #include <tqfont.h> +

      List of all member functions. +

      Public Members

      +
        +
      • enum StyleHint { Helvetica, SansSerif = Helvetica, Times, Serif = Times, Courier, TypeWriter = Courier, OldEnglish, Decorative = OldEnglish, System, AnyStyle }
      • +
      • enum StyleStrategy { PreferDefault = 0x0001, PreferBitmap = 0x0002, PreferDevice = 0x0004, PreferOutline = 0x0008, ForceOutline = 0x0010, PreferMatch = 0x0020, PreferQuality = 0x0040, PreferAntialias = 0x0080, NoAntialias = 0x0100, OpenGLCompatible = 0x0200 }
      • +
      • enum Weight { Light = 25, Normal = 50, DemiBold = 63, Bold = 75, Black = 87 }
      • +
      • enum Stretch { UltraCondensed = 50, ExtraCondensed = 62, Condensed = 75, SemiCondensed = 87, Unstretched = 100, SemiExpanded = 112, Expanded = 125, ExtraExpanded = 150, UltraExpanded = 200 }
      • +
      • TQFont ()
      • +
      • TQFont ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE )
      • +
      • TQFont ( const TQFont & font )
      • +
      • ~TQFont ()
      • +
      • TQString family () const
      • +
      • void setFamily ( const TQString & family )
      • +
      • int pointSize () const
      • +
      • float pointSizeFloat () const
      • +
      • void setPointSize ( int pointSize )
      • +
      • void setPointSizeFloat ( float pointSize )
      • +
      • int pixelSize () const
      • +
      • void setPixelSize ( int pixelSize )
      • +
      • void setPixelSizeFloat ( float pixelSize )  (obsolete)
      • +
      • int weight () const
      • +
      • void setWeight ( int weight )
      • +
      • bool bold () const
      • +
      • void setBold ( bool enable )
      • +
      • bool italic () const
      • +
      • void setItalic ( bool enable )
      • +
      • bool underline () const
      • +
      • void setUnderline ( bool enable )
      • +
      • bool overline () const
      • +
      • void setOverline ( bool enable )
      • +
      • bool strikeOut () const
      • +
      • void setStrikeOut ( bool enable )
      • +
      • bool fixedPitch () const
      • +
      • void setFixedPitch ( bool enable )
      • +
      • StyleHint styleHint () const
      • +
      • StyleStrategy styleStrategy () const
      • +
      • void setStyleHint ( StyleHint hint, StyleStrategy strategy = PreferDefault )
      • +
      • void setStyleStrategy ( StyleStrategy s )
      • +
      • int stretch () const
      • +
      • void setStretch ( int factor )
      • +
      • bool rawMode () const
      • +
      • void setRawMode ( bool enable )
      • +
      • bool exactMatch () const
      • +
      • TQFont & operator= ( const TQFont & font )
      • +
      • bool operator== ( const TQFont & f ) const
      • +
      • bool operator!= ( const TQFont & f ) const
      • +
      • bool isCopyOf ( const TQFont & f ) const
      • +
      • HFONT handle () const
      • +
      • void setRawName ( const TQString & name )
      • +
      • TQString rawName () const
      • +
      • TQString key () const
      • +
      • TQString toString () const
      • +
      • bool fromString ( const TQString & descrip )
      • +
      • enum Script { Latin, Greek, Cyrillic, Armenian, Georgian, Runic, Ogham, SpacingModifiers, CombiningMarks, Hebrew, Arabic, Syriac, Thaana, Devanagari, Bengali, Gurmukhi, Gujarati, Oriya, Tamil, Telugu, Kannada, Malayalam, Sinhala, Thai, Lao, Tibetan, Myanmar, Khmer, Han, Hiragana, Katakana, Hangul, Bopomofo, Yi, Ethiopic, Cherokee, CanadianAboriginal, Mongolian, CurrencySymbols, LetterlikeSymbols, NumberForms, MathematicalOperators, TechnicalSymbols, GeometricSymbols, MiscellaneousSymbols, EnclosedAndSquare, Braille, Unicode, Tagalog, Hanunoo, Buhid, Tagbanwa, KatakanaHalfWidth, Limbu, TaiLe }
      • +
      • TQString defaultFamily () const
      • +
      • TQString lastResortFamily () const
      • +
      • TQString lastResortFont () const
      • +
      • TQFont resolve ( const TQFont & other ) const
      • +
      +

      Static Public Members

      +
        +
      • TQString substitute ( const TQString & familyName )
      • +
      • TQStringList substitutes ( const TQString & familyName )
      • +
      • TQStringList substitutions ()
      • +
      • void insertSubstitution ( const TQString & familyName, const TQString & substituteName )
      • +
      • void insertSubstitutions ( const TQString & familyName, const TQStringList & substituteNames )
      • +
      • void removeSubstitution ( const TQString & familyName )
      • +
      • TQFont defaultFont ()  (obsolete)
      • +
      • void setDefaultFont ( const TQFont & f )  (obsolete)
      • +
      +

      Protected Members

      + +

      Related Functions

      +
        +
      • TQDataStream & operator<< ( TQDataStream & s, const TQFont & font )
      • +
      • TQDataStream & operator>> ( TQDataStream & s, TQFont & font )
      • +
      +

      Detailed Description

      + + +The TQFont class specifies a font used for drawing text. +

      + + + +

      When you create a TQFont object you specify various attributes that +you want the font to have. TQt will use the font with the specified +attributes, or if no matching font exists, TQt will use the closest +matching installed font. The attributes of the font that is +actually used are retrievable from a TQFontInfo object. If the +window system provides an exact match exactMatch() returns TRUE. +Use TQFontMetrics to get measurements, e.g. the pixel length of a +string using TQFontMetrics::width(). +

      Use TQApplication::setFont() to set the application's default font. +

      If a choosen X11 font does not include all the characters that +need to be displayed, TQFont will try to find the characters in the +nearest equivalent fonts. When a TQPainter draws a character from a +font the TQFont will report whether or not it has the character; if +it does not, TQPainter will draw an unfilled square. +

      Create TQFonts like this: +

      +    TQFont serifFont( "Times", 10, Bold );
      +    TQFont sansFont( "Helvetica [Cronyx]", 12 );
      +    
      + +

      The attributes set in the constructor can also be set later, e.g. +setFamily(), setPointSize(), setPointSizeFloat(), setWeight() and +setItalic(). The remaining attributes must be set after +contstruction, e.g. setBold(), setUnderline(), setOverline(), +setStrikeOut() and setFixedPitch(). TQFontInfo objects should be +created after the font's attributes have been set. A TQFontInfo +object will not change, even if you change the font's +attributes. The corresponding "get" functions, e.g. family(), +pointSize(), etc., return the values that were set, even though +the values used may differ. The actual values are available from a +TQFontInfo object. +

      If the requested font family is unavailable you can influence the +font matching algorithm by choosing a +particular TQFont::StyleHint and TQFont::StyleStrategy with +setStyleHint(). The default family (corresponding to the current +style hint) is returned by defaultFamily(). +

      The font-matching algorithm has a lastResortFamily() and +lastResortFont() in cases where a suitable match cannot be found. +You can provide substitutions for font family names using +insertSubstitution() and insertSubstitutions(). Substitutions can +be removed with removeSubstitution(). Use substitute() to retrieve +a family's first substitute, or the family name itself if it has +no substitutes. Use substitutes() to retrieve a list of a family's +substitutes (which may be empty). +

      Every TQFont has a key() which you can use, for example, as the key +in a cache or dictionary. If you want to store a user's font +preferences you could use TQSettings, writing the font information +with toString() and reading it back with fromString(). The +operator<<() and operator>>() functions are also available, but +they work on a data stream. +

      It is possible to set the height of characters shown on the screen +to a specified number of pixels with setPixelSize(); however using +setPointSize() has a similar effect and provides device +independence. +

      Under the X Window System you can set a font using its system +specific name with setRawName(). +

      Loading fonts can be expensive, especially on X11. TQFont contains +extensive optimizations to make the copying of TQFont objects fast, +and to cache the results of the slow window system functions it +depends upon. +

      +The font matching algorithm works as follows: +

        +
      1. The specified font family is searched for. +
      2. If not found, the styleHint() is used to select a replacement +family. +
      3. Each replacement font family is searched for. +
      4. If none of these are found or there was no styleHint(), "helvetica" +will be searched for. +
      5. If "helvetica" isn't found TQt will try the lastResortFamily(). +
      6. If the lastResortFamily() isn't found TQt will try the +lastResortFont() which will always return a name of some kind. +
      +

      Once a font is found, the remaining attributes are matched in order of +priority: +

        +
      1. fixedPitch() +
      2. pointSize() (see below) +
      3. weight() +
      4. italic() +
      +

      If you have a font which matches on family, even if none of the +other attributes match, this font will be chosen in preference to +a font which doesn't match on family but which does match on the +other attributes. This is because font family is the dominant +search criteria. +

      The point size is defined to match if it is within 20% of the +requested point size. When several fonts match and are only +distinguished by point size, the font with the closest point size +to the one requested will be chosen. +

      The actual family, font size, weight and other font attributes +used for drawing text will depend on what's available for the +chosen family under the window system. A TQFontInfo object can be +used to determine the actual values used for drawing the text. +

      Examples: +

      +    TQFont f("Helvetica");
      +    
      + +If you had both an Adobe and a Cronyx Helvetica, you might get +either. +

      +    TQFont f1( "Helvetica [Cronyx]" );  // TQt 3.x
      +    TQFont f2( "Cronyx-Helvetica" );    // TQt 2.x compatibility
      +    
      + +You can specify the foundry you want in the family name. Both fonts, +f1 and f2, in the above example will be set to "Helvetica +[Cronyx]". +

      To determine the attributes of the font actually used in the window +system, use a TQFontInfo object, e.g. +

      +    TQFontInfo info( f1 );
      +    TQString family = info.family();
      +    
      + +

      To find out font metrics use a TQFontMetrics object, e.g. +

      +    TQFontMetrics fm( f1 );
      +    int pixelWidth = fm.width( "How many pixels wide is this text?" );
      +    int pixelHeight = fm.height();
      +    
      + +

      For more general information on fonts, see the +comp.fonts FAQ. +Information on encodings can be found from +Roman Czyborra's page. +

      See also TQFontMetrics, TQFontInfo, TQFontDatabase, TQApplication::setFont(), TQWidget::font, TQPainter::setFont(), TQFont::StyleHint, TQFont::Weight, Widget Appearance and Style, Graphics Classes, and Implicitly and Explicitly Shared Classes. + +


      Member Type Documentation

      +

      TQFont::Script

      + +

      This enum represents Unicode allocated +scripts. For exhaustive coverage see The + Unicode Standard Version 3.0. The following scripts are +supported: +

      Modern European alphabetic scripts (left to right): +

        +
      • TQFont::Latin - consists of most alphabets based on the original Latin alphabet. +
      • TQFont::Greek - covers ancient and modern Greek and Coptic. +
      • TQFont::Cyrillic - covers the Slavic and non-Slavic languages using +cyrillic alphabets. +
      • TQFont::Armenian - contains the Armenian alphabet used with the +Armenian language. +
      • TQFont::Georgian - covers at least the language Georgian. +
      • TQFont::Runic - covers the known constituents of the Runic alphabets used +by the early and medieval societies in the Germanic, +Scandinavian, and Anglo-Saxon areas. +
      • TQFont::Ogham - is an alphabetical script used to write a very early +form of Irish. +
      • TQFont::SpacingModifiers - are small signs indicating modifications +to the preceeding letter. +
      • TQFont::CombiningMarks - consist of diacritical marks not specific to +a particular alphabet, diacritical marks used in +combination with mathematical and technical symbols, and +glyph encodings applied to multiple letterforms. +

      Middle Eastern scripts (right to left): +

        +
      • TQFont::Hebrew - is used for writing Hebrew, Yiddish, and some other languages. +
      • TQFont::Arabic - covers the Arabic language as well as Persian, Urdu, +Kurdish and some others. +
      • TQFont::Syriac - is used to write the active liturgical languages and +dialects of several Middle Eastern and Southeast Indian +communities. +
      • TQFont::Thaana - is used to write the Maledivian Dhivehi language. +

      South and Southeast Asian scripts (left to right with few historical exceptions): +

        +
      • TQFont::Devanagari - covers classical Sanskrit and modern Hindi as +well as several other languages. +
      • TQFont::Bengali - is a relative to Devanagari employed to write the +Bengali language used in West Bengal/India and Bangladesh +as well as several minority languages. +
      • TQFont::Gurmukhi - is another Devanagari relative used to write Punjabi. +
      • TQFont::Gujarati - is closely related to Devanagari and used to write +the Gujarati language of the Gujarat state in India. +
      • TQFont::Oriya - is used to write the Oriya language of Orissa state/India. +
      • TQFont::Tamil - is used to write the Tamil language of Tamil Nadu state/India, +Sri Lanka, Singapore and parts of Malaysia as well as some +minority languages. +
      • TQFont::Telugu - is used to write the Telugu language of Andhra +Pradesh state/India and some minority languages. +
      • TQFont::Kannada - is another South Indian script used to write the +Kannada language of Karnataka state/India and some minority +languages. +
      • TQFont::Malayalam - is used to write the Malayalam language of Kerala +state/India. +
      • TQFont::Sinhala - is used for Sri Lanka's majority language Sinhala +and is also employed to write Pali, Sanskrit, and Tamil. +
      • TQFont::Thai - is used to write Thai and other Southeast Asian languages. +
      • TQFont::Lao - is a language and script quite similar to Thai. +
      • TQFont::Tibetan - is the script used to write Tibetan in several +countries like Tibet, the bordering Indian regions and +Nepal. It is also used in the Buddist philosophy and +liturgy of the Mongolian cultural area. +
      • TQFont::Myanmar - is mainly used to write the Burmese language of +Myanmar (former Burma). +
      • TQFont::Khmer - is the official language of Kampuchea. +

      East Asian scripts (traditionally top-down, right to left, modern +often horizontal left to right): +

        +
      • TQFont::Han - consists of the CJK (Chinese, Japanese, Korean) +idiographic characters. +
      • TQFont::Hiragana - is a cursive syllabary used to indicate phonetics +and pronounciation of Japanese words. +
      • TQFont::Katakana - is a non-cursive syllabic script used to write +Japanese words with visual emphasis and non-Japanese words +in a phonetical manner. +
      • TQFont::Hangul - is a Korean script consisting of alphabetic components. +
      • TQFont::Bopomofo - is a phonetic alphabet for Chinese (mainly Mandarin). +
      • TQFont::Yi - (also called Cuan or Wei) is a syllabary used to write +the Yi language of Southwestern China, Myanmar, Laos, and Vietnam. +

      Additional scripts that do not fit well into the script categories above: +

        +
      • TQFont::Ethiopic - is a syllabary used by several Central East African languages. +
      • TQFont::Cherokee - is a left-to-right syllabic script used to write +the Cherokee language. +
      • TQFont::CanadianAboriginal - consists of the syllabics used by some +Canadian aboriginal societies. +
      • TQFont::Mongolian - is the traditional (and recently reintroduced) +script used to write Mongolian. +

      Symbols: +

        +
      • TQFont::CurrencySymbols - contains currency symbols not encoded in other scripts. +
      • TQFont::LetterlikeSymbols - consists of symbols derived from +ordinary letters of an alphabetical script. +
      • TQFont::NumberForms - are provided for compatibility with other +existing character sets. +
      • TQFont::MathematicalOperators - consists of encodings for operators, +relations and other symbols like arrows used in a mathematical context. +
      • TQFont::TechnicalSymbols - contains representations for control +codes, the space symbol, APL symbols and other symbols +mainly used in the context of electronic data processing. +
      • TQFont::GeometricSymbols - covers block elements and geometric shapes. +
      • TQFont::MiscellaneousSymbols - consists of a heterogeneous collection +of symbols that do not fit any other Unicode character +block, e.g. Dingbats. +
      • TQFont::EnclosedAndSquare - is provided for compatibility with some +East Asian standards. +
      • TQFont::Braille - is an international writing system used by blind +people. This script encodes the 256 eight-dot patterns with +the 64 six-dot patterns as a subset. +
      • TQFont::Tagalog +
      • TQFont::Hanunoo +
      • TQFont::Buhid +
      • TQFont::Tagbanwa +
      • TQFont::KatakanaHalfWidth +
      • TQFont::Limbu - (Unicode 4.0) +
      • TQFont::TaiLe - (Unicode 4.0) +
      • TQFont::Unicode - includes all the above scripts. +
      +

      TQFont::Stretch

      + +

      Predefined stretch values that follow the CSS naming convention. +

        +
      • TQFont::UltraCondensed - 50 +
      • TQFont::ExtraCondensed - 62 +
      • TQFont::Condensed - 75 +
      • TQFont::SemiCondensed - 87 +
      • TQFont::Unstretched - 100 +
      • TQFont::SemiExpanded - 112 +
      • TQFont::Expanded - 125 +
      • TQFont::ExtraExpanded - 150 +
      • TQFont::UltraExpanded - 200 +

      See also setStretch() and stretch(). + +

      TQFont::StyleHint

      + +

      Style hints are used by the font + matching algorithm to find an appropriate default family +if a selected font family is not available. +

        +
      • TQFont::AnyStyle - leaves the font matching algorithm to choose the +family. This is the default. +
      • TQFont::SansSerif - the font matcher prefer sans serif fonts. +
      • TQFont::Helvetica - is a synonym for SansSerif. +
      • TQFont::Serif - the font matcher prefers serif fonts. +
      • TQFont::Times - is a synonym for Serif. +
      • TQFont::TypeWriter - the font matcher prefers fixed pitch fonts. +
      • TQFont::Courier - a synonym for TypeWriter. +
      • TQFont::OldEnglish - the font matcher prefers decorative fonts. +
      • TQFont::Decorative - is a synonym for OldEnglish. +
      • TQFont::System - the font matcher prefers system fonts. +
      +

      TQFont::StyleStrategy

      + +

      The style strategy tells the font + matching algorithm what type of fonts should be used to +find an appropriate default family. +

      The following strategies are available: +

        +
      • TQFont::PreferDefault - the default style strategy. It does not prefer +any type of font. +
      • TQFont::PreferBitmap - prefers bitmap fonts (as opposed to outline +fonts). +
      • TQFont::PreferDevice - prefers device fonts. +
      • TQFont::PreferOutline - prefers outline fonts (as opposed to bitmap fonts). +
      • TQFont::ForceOutline - forces the use of outline fonts. +
      • TQFont::NoAntialias - don't antialias the fonts. +
      • TQFont::PreferAntialias - antialias if possible. +
      • TQFont::OpenGLCompatible - forces the use of OpenGL compatible +fonts. +

      Any of these may be OR-ed with one of these flags: +

        +
      • TQFont::PreferMatch - prefer an exact match. The font matcher will try to +use the exact font size that has been specified. +
      • TQFont::PreferQuality - prefer the best quality font. The font matcher +will use the nearest standard point size that the font +supports. +
      +

      TQFont::Weight

      + +

      TQt uses a weighting scale from 0 to 99 similar to, but not the +same as, the scales used in Windows or CSS. A weight of 0 is +ultralight, whilst 99 will be an extremely black. +

      This enum contains the predefined font weights: +

        +
      • TQFont::Light - 25 +
      • TQFont::Normal - 50 +
      • TQFont::DemiBold - 63 +
      • TQFont::Bold - 75 +
      • TQFont::Black - 87 +
      +

      Member Function Documentation

      +

      TQFont::TQFont () +

      +Constructs a font object that uses the application's default font. +

      See also TQApplication::setFont() and TQApplication::font(). + +

      TQFont::TQFont ( const TQString & family, int pointSize = 12, int weight = Normal, bool italic = FALSE ) +

      +Constructs a font object with the specified family, pointSize, weight and italic settings. +

      If pointSize is <= 0 it is set to 1. +

      The family name may optionally also include a foundry name, +e.g. "Helvetica [Cronyx]". (The TQt 2.x syntax, i.e. +"Cronyx-Helvetica", is also supported.) If the family is +available from more than one foundry and the foundry isn't +specified, an arbitrary foundry is chosen. If the family isn't +available a family will be set using the font + matching algorithm. +

      See also Weight, setFamily(), setPointSize(), setWeight(), setItalic(), setStyleHint(), and TQApplication::font(). + +

      TQFont::TQFont ( const TQFont & font ) +

      +Constructs a font that is a copy of font. + +

      TQFont::~TQFont () +

      +Destroys the font object and frees all allocated resources. + +

      bool TQFont::bold () const +

      + +

      Returns TRUE if weight() is a value greater than TQFont::Normal; otherwise returns FALSE. +

      See also weight(), setBold(), and TQFontInfo::bold(). + +

      Example: chart/optionsform.cpp. +

      int TQFont::deciPointSize () const [protected] +

      +Returns the point size in 1/10ths of a point. +

      The returned value will be -1 if the font size has been specified +in pixels. +

      See also pointSize() and pointSizeFloat(). + +

      TQString TQFont::defaultFamily () const +

      +Returns the family name that corresponds to the current style +hint. +

      See also StyleHint, styleHint(), and setStyleHint(). + +

      TQFont TQFont::defaultFont () [static] +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      Please use TQApplication::font() instead. + +

      bool TQFont::dirty () const [protected] +

      +Returns TRUE if the font attributes have been changed and the font +has to be (re)loaded; otherwise returns FALSE. + +

      bool TQFont::exactMatch () const +

      +Returns TRUE if a window system font exactly matching the settings +of this font is available. +

      See also TQFontInfo. + +

      TQString TQFont::family () const +

      +Returns the requested font family name, i.e. the name set in the +constructor or the last setFont() call. +

      See also setFamily(), substitutes(), and substitute(). + +

      Examples: chart/optionsform.cpp and fonts/simple-tqfont-demo/viewer.cpp. +

      bool TQFont::fixedPitch () const +

      +Returns TRUE if fixed pitch has been set; otherwise returns FALSE. +

      See also setFixedPitch() and TQFontInfo::fixedPitch(). + +

      bool TQFont::fromString ( const TQString & descrip ) +

      +Sets this font to match the description descrip. The description +is a comma-separated list of the font attributes, as returned by +toString(). +

      See also toString() and operator>>(). + +

      HFONT TQFont::handle () const +

      +Returns the window system handle to the font, for low-level +access. Using this function is not portable. + +

      void TQFont::insertSubstitution ( const TQString & familyName, const TQString & substituteName ) [static] +

      +Inserts the family name substituteName into the substitution +table for familyName. +

      See also insertSubstitutions(), removeSubstitution(), substitutions(), substitute(), and substitutes(). + +

      Example: fonts/simple-tqfont-demo/viewer.cpp. +

      void TQFont::insertSubstitutions ( const TQString & familyName, const TQStringList & substituteNames ) [static] +

      +Inserts the list of families substituteNames into the +substitution list for familyName. +

      See also insertSubstitution(), removeSubstitution(), substitutions(), and substitute(). + +

      Example: fonts/simple-tqfont-demo/viewer.cpp. +

      bool TQFont::isCopyOf ( const TQFont & f ) const +

      +Returns TRUE if this font and f are copies of each other, i.e. +one of them was created as a copy of the other and neither has +been modified since. This is much stricter than equality. +

      See also operator=() and operator==(). + +

      bool TQFont::italic () const +

      +Returns TRUE if italic has been set; otherwise returns FALSE. +

      See also setItalic(). + +

      Example: chart/optionsform.cpp. +

      TQString TQFont::key () const +

      +Returns the font's key, a textual representation of a font. It is +typically used as the key for a cache or dictionary of fonts. +

      See also TQMap. + +

      TQString TQFont::lastResortFamily () const +

      +Returns the "last resort" font family name. +

      The current implementation tries a wide variety of common fonts, +returning the first one it finds. Is is possible that no family is +found in which case a null string is returned. +

      See also lastResortFont(). + +

      TQString TQFont::lastResortFont () const +

      +Returns a "last resort" font name for the font matching algorithm. +This is used if the last resort family is not available. It will +always return a name, if necessary returning something like +"fixed" or "system". +

      The current implementation tries a wide variety of common fonts, +returning the first one it finds. The implementation may change +at any time, but this function will always return a string +containing something. +

      It is theoretically possible that there really isn't a +lastResortFont() in which case TQt will abort with an error +message. We have not been able to identify a case where this +happens. Please report it as a bug if +it does, preferably with a list of the fonts you have installed. +

      See also lastResortFamily() and rawName(). + +

      bool TQFont::operator!= ( const TQFont & f ) const +

      +Returns TRUE if this font is different from f; otherwise +returns FALSE. +

      Two TQFonts are considered to be different if their font attributes +are different. If rawMode() is enabled for both fonts, only the +family fields are compared. +

      See also operator==(). + +

      TQFont & TQFont::operator= ( const TQFont & font ) +

      +Assigns font to this font and returns a reference to it. + +

      bool TQFont::operator== ( const TQFont & f ) const +

      +Returns TRUE if this font is equal to f; otherwise returns +FALSE. +

      Two TQFonts are considered equal if their font attributes are +equal. If rawMode() is enabled for both fonts, only the family +fields are compared. +

      See also operator!=() and isCopyOf(). + +

      bool TQFont::overline () const +

      +Returns TRUE if overline has been set; otherwise returns FALSE. +

      See also setOverline(). + +

      int TQFont::pixelSize () const +

      +Returns the pixel size of the font if it was set with +setPixelSize(). Returns -1 if the size was set with setPointSize() +or setPointSizeFloat(). +

      See also setPixelSize(), pointSize(), TQFontInfo::pointSize(), and TQFontInfo::pixelSize(). + +

      int TQFont::pointSize () const +

      +Returns the point size of the font. Returns -1 if the font size +was specified in pixels. +

      See also setPointSize(), deciPointSize(), and pointSizeFloat(). + +

      Examples: chart/optionsform.cpp and fonts/simple-tqfont-demo/viewer.cpp. +

      float TQFont::pointSizeFloat () const +

      +Returns the point size of the font. Returns -1 if the font size was +specified in pixels. +

      See also pointSize(), setPointSizeFloat(), pixelSize(), TQFontInfo::pointSize(), and TQFontInfo::pixelSize(). + +

      bool TQFont::rawMode () const +

      +Returns TRUE if raw mode is used for font name matching; otherwise +returns FALSE. +

      See also setRawMode() and rawName(). + +

      TQString TQFont::rawName () const +

      +Returns the name of the font within the underlying window system. +

      On Windows, this is usually just the family name of a TrueType +font. +

      On X11, it is an XLFD (X Logical Font Description). When TQt is +build with Xft support on X11, the return value can be an Xft +pattern or an XLFD. +

      Using the return value of this function is usually not portable. +

      See also setRawName(). + +

      void TQFont::removeSubstitution ( const TQString & familyName ) [static] +

      +Removes all the substitutions for familyName. +

      See also insertSubstitutions(), insertSubstitution(), substitutions(), and substitute(). + +

      TQFont TQFont::resolve ( const TQFont & other ) const +

      +Returns a new TQFont that has attributes copied from other. + +

      void TQFont::setBold ( bool enable ) +

      + +

      If enable is true sets the font's weight to TQFont::Bold; otherwise sets the weight to TQFont::Normal. +

      For finer boldness control use setWeight(). +

      See also bold() and setWeight(). + +

      Examples: menu/menu.cpp and themes/metal.cpp. +

      void TQFont::setDefaultFont ( const TQFont & f ) [static] +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      Please use TQApplication::setFont() instead. + +

      void TQFont::setFamily ( const TQString & family ) +

      +Sets the family name of the font. The name is case insensitive and +may include a foundry name. +

      The family name may optionally also include a foundry name, +e.g. "Helvetica [Cronyx]". (The TQt 2.x syntax, i.e. +"Cronyx-Helvetica", is also supported.) If the family is +available from more than one foundry and the foundry isn't +specified, an arbitrary foundry is chosen. If the family isn't +available a family will be set using the font + matching algorithm. +

      See also family(), setStyleHint(), and TQFontInfo. + +

      void TQFont::setFixedPitch ( bool enable ) +

      +If enable is TRUE, sets fixed pitch on; otherwise sets fixed +pitch off. +

      See also fixedPitch() and TQFontInfo. + +

      void TQFont::setItalic ( bool enable ) +

      +If enable is TRUE, italic is set on; otherwise italic is set +off. +

      See also italic() and TQFontInfo. + +

      Examples: fileiconview/tqfileiconview.cpp, fonts/simple-tqfont-demo/viewer.cpp, and themes/metal.cpp. +

      void TQFont::setOverline ( bool enable ) +

      +If enable is TRUE, sets overline on; otherwise sets overline off. +

      See also overline() and TQFontInfo. + +

      void TQFont::setPixelSize ( int pixelSize ) +

      +Sets the font size to pixelSize pixels. +

      Using this function makes the font device dependent. Use +setPointSize() or setPointSizeFloat() to set the size of the font +in a device independent manner. +

      See also pixelSize(). + +

      Example: qwerty/qwerty.cpp. +

      void TQFont::setPixelSizeFloat ( float pixelSize ) +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      Sets the logical pixel height of font characters when shown on +the screen to pixelSize. + +

      void TQFont::setPointSize ( int pointSize ) +

      +Sets the point size to pointSize. The point size must be +greater than zero. +

      See also pointSize() and setPointSizeFloat(). + +

      Example: fonts/simple-tqfont-demo/viewer.cpp. +

      void TQFont::setPointSizeFloat ( float pointSize ) +

      +Sets the point size to pointSize. The point size must be +greater than zero. The requested precision may not be achieved on +all platforms. +

      See also pointSizeFloat(), setPointSize(), and setPixelSize(). + +

      void TQFont::setRawMode ( bool enable ) +

      +If enable is TRUE, turns raw mode on; otherwise turns raw mode +off. This function only has an effect under X11. +

      If raw mode is enabled, TQt will search for an X font with a +complete font name matching the family name, ignoring all other +values set for the TQFont. If the font name matches several fonts, +TQt will use the first font returned by X. TQFontInfo cannot be +used to fetch information about a TQFont using raw mode (it will +return the values set in the TQFont for all parameters, including +the family name). +

      Warning: Do not use raw mode unless you really, really need it! In +most (if not all) cases, setRawName() is a much better choice. +

      See also rawMode() and setRawName(). + +

      void TQFont::setRawName ( const TQString & name ) +

      +Sets a font by its system specific name. The function is +particularly useful under X, where system font settings (for +example X resources) are usually available in XLFD (X Logical Font +Description) form only. You can pass an XLFD as name to this +function. +

      A font set with setRawName() is still a full-featured TQFont. It can +be queried (for example with italic()) or modified (for example with +setItalic()) and is therefore also suitable for rendering rich text. +

      If TQt's internal font database cannot resolve the raw name, the +font becomes a raw font with name as its family. +

      Note that the present implementation does not handle wildcards in +XLFDs well, and that font aliases (file fonts.alias in the font +directory on X11) are not supported. +

      See also rawName(), setRawMode(), and setFamily(). + +

      void TQFont::setStretch ( int factor ) +

      +Sets the stretch factor for the font. +

      The stretch factor changes the width of all characters in the font +by factor percent. For example, setting factor to 150 +results in all characters in the font being 1.5 times ( ie. 150% ) +wider. The default stretch factor is 100. The minimum stretch +factor is 1, and the maximum stretch factor is 4000. +

      The stretch factor is only applied to outline fonts. The stretch +factor is ignored for bitmap fonts. +

      NOTE: TQFont cannot stretch XLFD fonts. When loading XLFD fonts on +X11, the stretch factor is matched against a predefined set of +values for the SETWIDTH_NAME field of the XLFD. +

      See also stretch() and TQFont::StyleStrategy. + +

      void TQFont::setStrikeOut ( bool enable ) +

      +If enable is TRUE, sets strikeout on; otherwise sets strikeout +off. +

      See also strikeOut() and TQFontInfo. + +

      void TQFont::setStyleHint ( StyleHint hint, StyleStrategy strategy = PreferDefault ) +

      +Sets the style hint and strategy to hint and strategy, +respectively. +

      If these aren't set explicitly the style hint will default to +AnyStyle and the style strategy to PreferDefault. +

      TQt does not support style hints on X11 since this information +is not provided by the window system. +

      See also StyleHint, styleHint(), StyleStrategy, styleStrategy(), and TQFontInfo. + +

      Examples: desktop/desktop.cpp and fonts/simple-tqfont-demo/viewer.cpp. +

      void TQFont::setStyleStrategy ( StyleStrategy s ) +

      +Sets the style strategy for the font to s. +

      See also TQFont::StyleStrategy. + +

      void TQFont::setUnderline ( bool enable ) +

      +If enable is TRUE, sets underline on; otherwise sets underline +off. +

      See also underline() and TQFontInfo. + +

      Examples: fonts/simple-tqfont-demo/viewer.cpp and menu/menu.cpp. +

      void TQFont::setWeight ( int weight ) +

      +Sets the weight the font to weight, which should be a value +from the TQFont::Weight enumeration. +

      See also weight() and TQFontInfo. + +

      Example: fonts/simple-tqfont-demo/viewer.cpp. +

      int TQFont::stretch () const +

      +Returns the stretch factor for the font. +

      See also setStretch(). + +

      bool TQFont::strikeOut () const +

      +Returns TRUE if strikeout has been set; otherwise returns FALSE. +

      See also setStrikeOut(). + +

      StyleHint TQFont::styleHint () const +

      +Returns the StyleHint. +

      The style hint affects the font + matching algorithm. See TQFont::StyleHint for the list +of strategies. +

      See also setStyleHint(), TQFont::StyleStrategy, and TQFontInfo::styleHint(). + +

      StyleStrategy TQFont::styleStrategy () const +

      +Returns the StyleStrategy. +

      The style strategy affects the font + matching algorithm. See TQFont::StyleStrategy for the +list of strategies. +

      See also setStyleHint() and TQFont::StyleHint. + +

      TQString TQFont::substitute ( const TQString & familyName ) [static] +

      +Returns the first family name to be used whenever familyName is +specified. The lookup is case insensitive. +

      If there is no substitution for familyName, familyName is +returned. +

      To obtain a list of substitutions use substitutes(). +

      See also setFamily(), insertSubstitutions(), insertSubstitution(), and removeSubstitution(). + +

      TQStringList TQFont::substitutes ( const TQString & familyName ) [static] +

      +Returns a list of family names to be used whenever familyName +is specified. The lookup is case insensitive. +

      If there is no substitution for familyName, an empty list is +returned. +

      See also substitute(), insertSubstitutions(), insertSubstitution(), and removeSubstitution(). + +

      Example: fonts/simple-tqfont-demo/viewer.cpp. +

      TQStringList TQFont::substitutions () [static] +

      +Returns a sorted list of substituted family names. +

      See also insertSubstitution(), removeSubstitution(), and substitute(). + +

      TQString TQFont::toString () const +

      +Returns a description of the font. The description is a +comma-separated list of the attributes, perfectly suited for use +in TQSettings. +

      See also fromString() and operator<<(). + +

      bool TQFont::underline () const +

      +Returns TRUE if underline has been set; otherwise returns FALSE. +

      See also setUnderline(). + +

      int TQFont::weight () const +

      +Returns the weight of the font which is one of the enumerated +values from TQFont::Weight. +

      See also setWeight(), Weight, and TQFontInfo. + +


      Related Functions

      +

      TQDataStream & operator<< ( TQDataStream & s, const TQFont & font ) +

      + +

      Writes the font font to the data stream s. (toString() +writes to a text stream.) +

      See also Format of the TQDataStream operators. + +

      TQDataStream & operator>> ( TQDataStream & s, TQFont & font ) +

      + +

      Reads the font font from the data stream s. (fromString() +reads from a text stream.) +

      See also Format of the TQDataStream operators. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfontdatabase-h.html b/doc/html/tqfontdatabase-h.html new file mode 100644 index 000000000..e2d6a9115 --- /dev/null +++ b/doc/html/tqfontdatabase-h.html @@ -0,0 +1,265 @@ + + + + + +tqfontdatabase.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqfontdatabase.h

      + +

      This is the verbatim text of the tqfontdatabase.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqfontdatabase.h   3.3.8   edited Jan 11 14:46 $
      +**
      +** Definition of the TQFontDatabase class
      +**
      +** Created : 981126
      +**
      +** Copyright (C) 1999-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the kernel module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQFONTDATABASE_H
      +#define TQFONTDATABASE_H
      +
      +#ifndef QT_H
      +#include "ntqwindowdefs.h"
      +#include "tqstring.h"
      +#include "tqstringlist.h"
      +#include "tqfont.h"
      +#include "tqvaluelist.h"
      +#endif // QT_H
      +
      +
      +#ifndef TQT_NO_FONTDATABASE
      +
      +class TQFontStylePrivate; /* Don't touch! */
      +struct TQtFontStyle;
      +struct TQtFontFamily;
      +struct TQtFontFoundry;
      +struct TQFontDef;
      +class TQFontEngine;
      +
      +class TQFontDatabasePrivate;
      +
      +class TQ_EXPORT TQFontDatabase
      +{
      +public:
      +    static TQValueList<int> standardSizes();
      +
      +    TQFontDatabase();
      +
      +    TQStringList families() const;
      +    TQStringList families( TQFont::Script ) const;
      +    TQStringList styles( const TQString & ) const;
      +    TQValueList<int> pointSizes( const TQString &, const TQString & = TQString::null);
      +    TQValueList<int> smoothSizes( const TQString &, const TQString &);
      +    TQString styleString( const TQFont &);
      +
      +    TQFont font( const TQString &, const TQString &, int);
      +
      +    bool isBitmapScalable( const TQString &, const TQString & = TQString::null) const;
      +    bool isSmoothlyScalable( const TQString &, const TQString & = TQString::null) const;
      +    bool isScalable( const TQString &, const TQString & = TQString::null) const;
      +    bool isFixedPitch( const TQString &, const TQString & = TQString::null) const;
      +
      +    bool italic( const TQString &, const TQString &) const;
      +    bool bold( const TQString &, const TQString &) const;
      +    int weight( const TQString &, const TQString &) const;
      +
      +    static TQString scriptName(TQFont::Script);
      +    static TQString scriptSample(TQFont::Script);
      +
      +    // For source compatibility with < 3.0
      +#ifndef TQT_NO_COMPAT
      +
      +    TQStringList families(bool) const;
      +    TQStringList styles( const TQString &, const TQString & ) const;
      +    TQValueList<int> pointSizes( const TQString &, const TQString &, const TQString & );
      +    TQValueList<int> smoothSizes( const TQString &, const TQString &, const TQString & );
      +
      +    TQFont font( const TQString &, const TQString &, int, const TQString &);
      +
      +    bool isBitmapScalable( const TQString &, const TQString &, const TQString & ) const;
      +    bool isSmoothlyScalable( const TQString &, const TQString &, const TQString & ) const;
      +    bool isScalable( const TQString &, const TQString &, const TQString & ) const;
      +    bool isFixedPitch( const TQString &, const TQString &, const TQString & ) const;
      +
      +    bool italic( const TQString &, const TQString &, const TQString & ) const;
      +    bool bold( const TQString &, const TQString &, const TQString & ) const;
      +    int weight( const TQString &, const TQString &, const TQString & ) const;
      +
      +#endif // TQT_NO_COMPAT
      +
      +private:
      +#if defined(TQ_WS_X11) || defined(TQ_WS_WIN)
      +    static TQFontEngine *findFont( TQFont::Script script, const TQFontPrivate *fp,
      +				  const TQFontDef &request, int force_encoding_id = -1 );
      +#endif // TQ_WS_X11
      +
      +    static void createDatabase();
      +
      +    static void parseFontName(const TQString &name, TQString &foundry, TQString &family);
      +
      +    friend struct TQFontDef;
      +    friend class TQFontPrivate;
      +    friend class TQFontDialog;
      +    friend class TQFontEngineLatinXLFD;
      +
      +    TQFontDatabasePrivate *d;
      +};
      +
      +
      +#ifndef TQT_NO_COMPAT
      +
      +inline TQStringList TQFontDatabase::families( bool ) const
      +{
      +    return families();
      +}
      +
      +inline TQStringList TQFontDatabase::styles( const TQString &family,
      +					  const TQString & ) const
      +{
      +    return styles(family);
      +}
      +
      +inline TQValueList<int> TQFontDatabase::pointSizes( const TQString &family,
      +						  const TQString &style ,
      +						  const TQString & )
      +{
      +    return pointSizes(family, style);
      +}
      +
      +inline TQValueList<int> TQFontDatabase::smoothSizes( const TQString &family,
      +						   const TQString &style,
      +						   const TQString & )
      +{
      +    return smoothSizes(family, style);
      +}
      +
      +inline TQFont TQFontDatabase::font( const TQString &familyName,
      +				  const TQString &style,
      +				  int pointSize,
      +				  const TQString &)
      +{
      +    return font(familyName, style, pointSize);
      +}
      +
      +inline bool TQFontDatabase::isBitmapScalable( const TQString &family,
      +					     const TQString &style,
      +					     const TQString & ) const
      +{
      +    return isBitmapScalable(family, style);
      +}
      +
      +inline bool TQFontDatabase::isSmoothlyScalable( const TQString &family,
      +					       const TQString &style,
      +					       const TQString & ) const
      +{
      +    return isSmoothlyScalable(family, style);
      +}
      +
      +inline bool TQFontDatabase::isScalable( const TQString &family,
      +				       const TQString &style,
      +				       const TQString & ) const
      +{
      +    return isScalable(family, style);
      +}
      +
      +inline bool TQFontDatabase::isFixedPitch( const TQString &family,
      +					 const TQString &style,
      +					 const TQString & ) const
      +{
      +    return isFixedPitch(family, style);
      +}
      +
      +inline bool TQFontDatabase::italic( const TQString &family,
      +				   const TQString &style,
      +				   const TQString & ) const
      +{
      +    return italic(family, style);
      +}
      +
      +inline bool TQFontDatabase::bold( const TQString &family,
      +				 const TQString &style,
      +				 const TQString & ) const
      +{
      +    return bold(family, style);
      +}
      +
      +inline int TQFontDatabase::weight( const TQString &family,
      +				  const TQString &style,
      +				  const TQString & ) const
      +{
      +    return weight(family, style);
      +}
      +
      +#endif // TQT_NO_COMPAT
      +
      +#endif // TQT_NO_FONTDATABASE
      +
      +#endif // TQFONTDATABASE_H
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfontdatabase-members.html b/doc/html/tqfontdatabase-members.html new file mode 100644 index 000000000..029a52b41 --- /dev/null +++ b/doc/html/tqfontdatabase-members.html @@ -0,0 +1,63 @@ + + + + + +TQFontDatabase Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQFontDatabase

      + +

      This is the complete list of member functions for +TQFontDatabase, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfontdatabase.html b/doc/html/tqfontdatabase.html new file mode 100644 index 000000000..122198f95 --- /dev/null +++ b/doc/html/tqfontdatabase.html @@ -0,0 +1,322 @@ + + + + + +TQFontDatabase Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQFontDatabase Class Reference

      + +

      The TQFontDatabase class provides information about the fonts available in the underlying window system. +More... +

      #include <tqfontdatabase.h> +

      List of all member functions. +

      Public Members

      +
        +
      • TQFontDatabase ()
      • +
      • TQStringList families () const
      • +
      • TQStringList families ( TQFont::Script script ) const
      • +
      • TQStringList styles ( const TQString & family ) const
      • +
      • TQValueList<int> pointSizes ( const TQString & family, const TQString & style = TQString::null )
      • +
      • TQValueList<int> smoothSizes ( const TQString & family, const TQString & style )
      • +
      • TQString styleString ( const TQFont & f )
      • +
      • TQFont font ( const TQString & family, const TQString & style, int pointSize )
      • +
      • bool isBitmapScalable ( const TQString & family, const TQString & style = TQString::null ) const
      • +
      • bool isSmoothlyScalable ( const TQString & family, const TQString & style = TQString::null ) const
      • +
      • bool isScalable ( const TQString & family, const TQString & style = TQString::null ) const
      • +
      • bool isFixedPitch ( const TQString & family, const TQString & style = TQString::null ) const
      • +
      • bool italic ( const TQString & family, const TQString & style ) const
      • +
      • bool bold ( const TQString & family, const TQString & style ) const
      • +
      • int weight ( const TQString & family, const TQString & style ) const
      • +
      • TQStringList families ( bool ) const  (obsolete)
      • +
      • TQStringList styles ( const TQString & family, const TQString & ) const  (obsolete)
      • +
      • TQValueList<int> pointSizes ( const TQString & family, const TQString & style, const TQString & )  (obsolete)
      • +
      • TQValueList<int> smoothSizes ( const TQString & family, const TQString & style, const TQString & )  (obsolete)
      • +
      • TQFont font ( const TQString & familyName, const TQString & style, int pointSize, const TQString & )  (obsolete)
      • +
      • bool isBitmapScalable ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
      • +
      • bool isSmoothlyScalable ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
      • +
      • bool isScalable ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
      • +
      • bool isFixedPitch ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
      • +
      • bool italic ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
      • +
      • bool bold ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
      • +
      • int weight ( const TQString & family, const TQString & style, const TQString & ) const  (obsolete)
      • +
      +

      Static Public Members

      + +

      Detailed Description

      + + +The TQFontDatabase class provides information about the fonts available in the underlying window system. +

      + +

      The most common uses of this class are to query the database for +the list of font families() and for the pointSizes() and styles() +that are available for each family. An alternative to pointSizes() +is smoothSizes() which returns the sizes at which a given family +and style will look attractive. +

      If the font family is available from two or more foundries the +foundry name is included in the family name, e.g. "Helvetica +[Adobe]" and "Helvetica [Cronyx]". When you specify a family you +can either use the old hyphenated TQt 2.x "foundry-family" format, +e.g. "Cronyx-Helvetica", or the new bracketed TQt 3.x "family +[foundry]" format e.g. "Helvetica [Cronyx]". If the family has a +foundry it is always returned, e.g. by families(), using the +bracketed format. +

      The font() function returns a TQFont given a family, style and +point size. +

      A family and style combination can be checked to see if it is +italic() or bold(), and to retrieve its weight(). Similarly we can +call isBitmapScalable(), isSmoothlyScalable(), isScalable() and +isFixedPitch(). +

      A text version of a style is given by styleString(). +

      The TQFontDatabase class also supports some static functions, for +example, standardSizes(). You can retrieve the Unicode 3.0 +description of a script using +scriptName(), and a sample of characters in a script with +scriptSample(). +

      Example: +

      +#include <ntqapplication.h>
      +#include <tqfontdatabase.h>
      +#include <else.h>
      +
      +int main( int argc, char **argv )
      +{
      +    TQApplication app( argc, argv );
      +    TQFontDatabase fdb;
      +    TQStringList families = fdb.families();
      +    for ( TQStringList::Iterator f = families.begin(); f != families.end(); ++f ) {
      +        TQString family = *f;
      +        tqDebug( family );
      +        TQStringList styles = fdb.styles( family );
      +        for ( TQStringList::Iterator s = styles.begin(); s != styles.end(); ++s ) {
      +            TQString style = *s;
      +            TQString dstyle = "\t" + style + " (";
      +            TQValueList<int> smoothies = fdb.smoothSizes( family, style );
      +            for ( TQValueList<int>::Iterator points = smoothies.begin();
      +                  points != smoothies.end(); ++points ) {
      +                dstyle += TQString::number( *points ) + " ";
      +            }
      +            dstyle = dstyle.left( dstyle.length() - 1 ) + ")";
      +            tqDebug( dstyle );
      +        }
      +    }
      +    return 0;
      +}
      +
      + +This example gets the list of font families, then the list of +styles for each family and the point sizes that are available for +each family/style combination. +

      See also Environment Classes and Graphics Classes. + +


      Member Function Documentation

      +

      TQFontDatabase::TQFontDatabase () +

      +Creates a font database object. + +

      bool TQFontDatabase::bold ( const TQString & family, const TQString & style ) const +

      +Returns TRUE if the font that has family family and style style is bold; otherwise returns FALSE. +

      See also italic() and weight(). + +

      bool TQFontDatabase::bold ( const TQString & family, const TQString & style, const TQString & ) const +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      + +

      TQStringList TQFontDatabase::families () const +

      Returns a sorted list of the names of the available font families. +

      If a family exists in several foundries, the returned name for +that font is in the form "family [foundry]". Examples: "Times +[Adobe]", "Times [Cronyx]", "Palatino". + +

      TQStringList TQFontDatabase::families ( TQFont::Script script ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns a sorted list of the available font families which support +the Unicode script script. +

      If a family exists in several foundries, the returned name for +that font is in the form "family [foundry]". Examples: "Times +[Adobe]", "Times [Cronyx]", "Palatino". + +

      TQStringList TQFontDatabase::families ( bool ) const +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      + +

      TQFont TQFontDatabase::font ( const TQString & family, const TQString & style, int pointSize ) +

      +Returns a TQFont object that has family family, style style +and point size pointSize. If no matching font could be created, +a TQFont object that uses the application's default font is +returned. + +

      TQFont TQFontDatabase::font ( const TQString & familyName, const TQString & style, int pointSize, const TQString & ) +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      + +

      bool TQFontDatabase::isBitmapScalable ( const TQString & family, const TQString & style = TQString::null ) const +

      +Returns TRUE if the font that has family family and style style is a scalable bitmap font; otherwise returns FALSE. Scaling +a bitmap font usually produces an unattractive hardly readable +result, because the pixels of the font are scaled. If you need to +scale a bitmap font it is better to scale it to one of the fixed +sizes returned by smoothSizes(). +

      See also isScalable() and isSmoothlyScalable(). + +

      bool TQFontDatabase::isBitmapScalable ( const TQString & family, const TQString & style, const TQString & ) const +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      + +

      bool TQFontDatabase::isFixedPitch ( const TQString & family, const TQString & style = TQString::null ) const +

      +Returns TRUE if the font that has family family and style style is fixed pitch; otherwise returns FALSE. + +

      bool TQFontDatabase::isFixedPitch ( const TQString & family, const TQString & style, const TQString & ) const +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      + +

      bool TQFontDatabase::isScalable ( const TQString & family, const TQString & style = TQString::null ) const +

      +Returns TRUE if the font that has family family and style style is scalable; otherwise returns FALSE. +

      See also isBitmapScalable() and isSmoothlyScalable(). + +

      bool TQFontDatabase::isScalable ( const TQString & family, const TQString & style, const TQString & ) const +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      + +

      bool TQFontDatabase::isSmoothlyScalable ( const TQString & family, const TQString & style = TQString::null ) const +

      +Returns TRUE if the font that has family family and style style is smoothly scalable; otherwise returns FALSE. If this +function returns TRUE, it's safe to scale this font to any size, +and the result will always look attractive. +

      See also isScalable() and isBitmapScalable(). + +

      bool TQFontDatabase::isSmoothlyScalable ( const TQString & family, const TQString & style, const TQString & ) const +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      + +

      bool TQFontDatabase::italic ( const TQString & family, const TQString & style ) const +

      +Returns TRUE if the font that has family family and style style is italic; otherwise returns FALSE. +

      See also weight() and bold(). + +

      bool TQFontDatabase::italic ( const TQString & family, const TQString & style, const TQString & ) const +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      + +

      TQValueList<int> TQFontDatabase::pointSizes ( const TQString & family, const TQString & style = TQString::null ) +

      +Returns a list of the point sizes available for the font that has +family family and style style. The list may be empty. +

      See also smoothSizes() and standardSizes(). + +

      TQValueList<int> TQFontDatabase::pointSizes ( const TQString & family, const TQString & style, const TQString & ) +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      + +

      TQString TQFontDatabase::scriptName ( TQFont::Script script ) [static] +

      +Returns a string that gives a default description of the script +(e.g. for displaying to the user in a dialog). The name matches +the name of the script as defined by the Unicode 3.0 standard. +

      See also TQFont::Script. + +

      TQString TQFontDatabase::scriptSample ( TQFont::Script script ) [static] +

      +Returns a string with sample characters from script. +

      See also TQFont::Script. + +

      TQValueList<int> TQFontDatabase::smoothSizes ( const TQString & family, const TQString & style ) +

      +Returns the point sizes of a font that has family family and +style style that will look attractive. The list may be empty. +For non-scalable fonts and bitmap scalable fonts, this function +is equivalent to pointSizes(). +

      See also pointSizes() and standardSizes(). + +

      TQValueList<int> TQFontDatabase::smoothSizes ( const TQString & family, const TQString & style, const TQString & ) +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      + +

      TQValueList<int> TQFontDatabase::standardSizes () [static] +

      +Returns a list of standard font sizes. +

      See also smoothSizes() and pointSizes(). + +

      TQString TQFontDatabase::styleString ( const TQFont & f ) +

      +Returns a string that describes the style of the font f. For +example, "Bold Italic", "Bold", "Italic" or "Normal". An empty +string may be returned. + +

      TQStringList TQFontDatabase::styles ( const TQString & family ) const +

      +Returns a list of the styles available for the font family family. Some example styles: "Light", "Light Italic", "Bold", +"Oblique", "Demi". The list may be empty. + +

      TQStringList TQFontDatabase::styles ( const TQString & family, const TQString & ) const +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      + +

      int TQFontDatabase::weight ( const TQString & family, const TQString & style ) const +

      +Returns the weight of the font that has family family and style +style. If there is no such family and style combination, +returns -1. +

      See also italic() and bold(). + +

      int TQFontDatabase::weight ( const TQString & family, const TQString & style, const TQString & ) const +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfontdialog-h.html b/doc/html/tqfontdialog-h.html new file mode 100644 index 000000000..850067045 --- /dev/null +++ b/doc/html/tqfontdialog-h.html @@ -0,0 +1,157 @@ + + + + + +tqfontdialog.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqfontdialog.h

      + +

      This is the verbatim text of the tqfontdialog.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqfontdialog.h   3.3.8   edited Jan 11 14:37 $
      +**
      +** Definition of TQFontDialog
      +**
      +** Created : 970605
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the dialogs module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQFONTDIALOG_H
      +#define TQFONTDIALOG_H
      +
      +#include "ntqwindowdefs.h"
      +
      +#ifndef TQT_NO_FONTDIALOG
      +
      +//
      +//  W A R N I N G
      +//  -------------
      +//
      +//  This class is under development and has private constructors.
      +//
      +//  You may use the public static getFont() functions which are guaranteed
      +//  to be available in the future.
      +//
      +
      +#ifndef QT_H
      +#include "ntqdialog.h"
      +#include "tqfont.h"
      +#endif // QT_H
      +
      +class TQFontDialogPrivate;
      +
      +class TQ_EXPORT TQFontDialog: public TQDialog
      +{
      +    TQ_OBJECT
      +
      +public:
      +    static TQFont getFont( bool *ok, const TQFont &def,
      +			  TQWidget* parent=0, const char* name=0);
      +    static TQFont getFont( bool *ok, TQWidget* parent=0, const char* name=0);
      +
      +private:
      +    static TQFont getFont( bool *ok, const TQFont *def,
      +			  TQWidget* parent=0, const char* name=0);
      +
      +    TQFontDialog( TQWidget* parent=0, const char* name=0, bool modal=FALSE,
      +		 WFlags f=0 );
      +    ~TQFontDialog();
      +
      +    TQFont font() const;
      +    void setFont( const TQFont &font );
      +
      +    bool eventFilter( TQObject *, TQEvent * );
      +
      +    void updateFamilies();
      +    void updateStyles();
      +    void updateSizes();
      +
      +private slots:
      +    void sizeChanged( const TQString &);
      +    void familyHighlighted( int );
      +    void scriptHighlighted( int );
      +    void styleHighlighted( int );
      +    void sizeHighlighted( const TQString & );
      +    void updateSample();
      +
      +private:
      +    friend class TQFontDialogPrivate;
      +    TQFontDialogPrivate * d;
      +
      +private:	// Disabled copy constructor and operator=
      +#if defined(TQ_DISABLE_COPY)
      +    TQFontDialog( const TQFontDialog & );
      +    TQFontDialog& operator=( const TQFontDialog & );
      +#endif
      +};
      +
      +#endif
      +
      +#endif // TQFONTDIALOG_H
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfontdialog-members.html b/doc/html/tqfontdialog-members.html new file mode 100644 index 000000000..15cc9d0f7 --- /dev/null +++ b/doc/html/tqfontdialog-members.html @@ -0,0 +1,350 @@ + + + + + +TQFontDialog Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQFontDialog

      + +

      This is the complete list of member functions for +TQFontDialog, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfontdialog.html b/doc/html/tqfontdialog.html new file mode 100644 index 000000000..56dce6ff0 --- /dev/null +++ b/doc/html/tqfontdialog.html @@ -0,0 +1,143 @@ + + + + + +TQFontDialog Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQFontDialog Class Reference

      + +

      The TQFontDialog class provides a dialog widget for selecting a font. +More... +

      #include <tqfontdialog.h> +

      Inherits TQDialog. +

      List of all member functions. +

      Static Public Members

      +
        +
      • TQFont getFont ( bool * ok, const TQFont & initial, TQWidget * parent = 0, const char * name = 0 )
      • +
      • TQFont getFont ( bool * ok, TQWidget * parent = 0, const char * name = 0 )
      • +
      +

      Detailed Description

      + + + + +The TQFontDialog class provides a dialog widget for selecting a font. +

      The usual way to use this class is to call one of the static convenience +functions, e.g. getFont(). +

      Examples: +

      +    bool ok;
      +    TQFont font = TQFontDialog::getFont(
      +                    &ok, TQFont( "Helvetica [Cronyx]", 10 ), this );
      +    if ( ok ) {
      +        // font is set to the font the user selected
      +    } else {
      +        // the user canceled the dialog; font is set to the initial
      +        // value, in this case Helvetica [Cronyx], 10
      +    }
      +  
      + +

      The dialog can also be used to set a widget's font directly: +

      +    myWidget.setFont( TQFontDialog::getFont( 0, myWidget.font() ) );
      +  
      + +If the user clicks OK the font they chose will be used for myWidget, +and if they click Cancel the original font is used. +

      See also TQFont, TQFontInfo, TQFontMetrics, and Dialog Classes. + +

      + +


      Member Function Documentation

      +

      TQFont TQFontDialog::getFont ( bool * ok, const TQFont & initial, TQWidget * parent = 0, const char * name = 0 ) [static] +

      +Executes a modal font dialog and returns a font. +

      If the user clicks OK, the selected font is returned. If the user +clicks Cancel, the initial font is returned. +

      The dialog is called name, with the parent parent. +initial is the initially selected font. +If the ok parameter is not-null, *ok is set to TRUE if the +user clicked OK, and set to FALSE if the user clicked Cancel. +

      This static function is less flexible than the full TQFontDialog +object, but is convenient and easy to use. +

      Examples: +

      +    bool ok;
      +    TQFont font = TQFontDialog::getFont( &ok, TQFont( "Times", 12 ), this );
      +    if ( ok ) {
      +        // font is set to the font the user selected
      +    } else {
      +        // the user canceled the dialog; font is set to the initial
      +        // value, in this case Times, 12.
      +    }
      +  
      + +

      The dialog can also be used to set a widget's font directly: +

      +    myWidget.setFont( TQFontDialog::getFont( 0, myWidget.font() ) );
      +  
      + +In this example, if the user clicks OK the font they chose will be +used, and if they click Cancel the original font is used. + +

      Examples: chart/chartform.cpp, chart/optionsform.cpp, qfd/fontdisplayer.cpp, qwerty/qwerty.cpp, and xform/xform.cpp. +

      TQFont TQFontDialog::getFont ( bool * ok, TQWidget * parent = 0, const char * name = 0 ) [static] +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Executes a modal font dialog and returns a font. +

      If the user clicks OK, the selected font is returned. If the user +clicks Cancel, the TQt default font is returned. +

      The dialog is called name, with parent parent. +If the ok parameter is not-null, *ok is set to TRUE if the +user clicked OK, and FALSE if the user clicked Cancel. +

      This static function is less functional than the full TQFontDialog +object, but is convenient and easy to use. +

      Example: +

      +    bool ok;
      +    TQFont font = TQFontDialog::getFont( &ok, this );
      +    if ( ok ) {
      +        // font is set to the font the user selected
      +    } else {
      +        // the user canceled the dialog; font is set to the default
      +        // application font, TQApplication::font()
      +    }
      +  
      + +

      + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfontdlg-w.png b/doc/html/tqfontdlg-w.png new file mode 100644 index 000000000..2615fbbb4 Binary files /dev/null and b/doc/html/tqfontdlg-w.png differ diff --git a/doc/html/tqfontinfo-h.html b/doc/html/tqfontinfo-h.html new file mode 100644 index 000000000..84d06c32e --- /dev/null +++ b/doc/html/tqfontinfo-h.html @@ -0,0 +1,136 @@ + + + + + +tqfontinfo.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqfontinfo.h

      + +

      This is the verbatim text of the tqfontinfo.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqfontinfo.h   3.3.8   edited Jan 11 14:38 $
      +**
      +** Definition of TQFontInfo class
      +**
      +** Created : 950131
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the kernel module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQFONTINFO_H
      +#define TQFONTINFO_H
      +
      +#ifndef QT_H
      +#include "tqfont.h"
      +#endif // QT_H
      +
      +
      +class TQ_EXPORT TQFontInfo
      +{
      +public:
      +    TQFontInfo( const TQFont & );
      +    TQFontInfo( const TQFont &, TQFont::Script );
      +    TQFontInfo( const TQFontInfo & );
      +    ~TQFontInfo();
      +
      +    TQFontInfo	       &operator=( const TQFontInfo & );
      +
      +    TQString   	        family()	const;
      +    int			pixelSize()	const;
      +    int			pointSize()	const;
      +    bool		italic()	const;
      +    int			weight()	const;
      +    bool		bold()		const;
      +    bool		underline()	const;
      +    bool                overline()      const;
      +    bool		strikeOut()	const;
      +    bool		fixedPitch()	const;
      +    TQFont::StyleHint	styleHint()	const;
      +    bool		rawMode()	const;
      +
      +    bool		exactMatch()	const;
      +
      +
      +private:
      +    TQFontInfo( const TQPainter * );
      +
      +    TQFontPrivate *d;
      +    TQPainter *painter;
      +    int fscript;
      +
      +    friend class TQWidget;
      +    friend class TQPainter;
      +};
      +
      +
      +inline bool TQFontInfo::bold() const
      +{ return weight() > TQFont::Normal; }
      +
      +
      +#endif // TQFONTINFO_H
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfontinfo-members.html b/doc/html/tqfontinfo-members.html new file mode 100644 index 000000000..c98c4b260 --- /dev/null +++ b/doc/html/tqfontinfo-members.html @@ -0,0 +1,59 @@ + + + + + +TQFontInfo Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQFontInfo

      + +

      This is the complete list of member functions for +TQFontInfo, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfontinfo.html b/doc/html/tqfontinfo.html new file mode 100644 index 000000000..65dad6d00 --- /dev/null +++ b/doc/html/tqfontinfo.html @@ -0,0 +1,191 @@ + + + + + +TQFontInfo Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQFontInfo Class Reference

      + +

      The TQFontInfo class provides general information about fonts. +More... +

      #include <tqfontinfo.h> +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + +

      The TQFontInfo class provides general information about fonts. +

      + +

      The TQFontInfo class provides the same access functions as TQFont, +e.g. family(), pointSize(), italic(), weight(), fixedPitch(), +styleHint() etc. But whilst the TQFont access functions return the +values that were set, a TQFontInfo object returns the values that +apply to the font that will actually be used to draw the text. +

      For example, when the program asks for a 25pt Courier font on a +machine that has a non-scalable 24pt Courier font, TQFont will +(normally) use the 24pt Courier for rendering. In this case, +TQFont::pointSize() returns 25 and TQFontInfo::pointSize() returns +24. +

      There are three ways to create a TQFontInfo object. +

        +
      1. Calling the TQFontInfo constructor with a TQFont creates a font +info object for a screen-compatible font, i.e. the font cannot be +a printer font*. If the font is changed later, the font +info object is not updated. +

      2. TQWidget::fontInfo() returns the font info for a widget's font. +This is equivalent to calling TQFontInfo(widget->font()). If the +widget's font is changed later, the font info object is not +updated. +

      3. TQPainter::fontInfo() returns the font info for a painter's +current font. If the painter's font is changed later, the font +info object is not updated. +
      +

      * If you use a printer font the values returned may be +inaccurate. Printer fonts are not always accessible so the nearest +screen font is used if a printer font is supplied. +

      See also TQFont, TQFontMetrics, TQFontDatabase, Graphics Classes, and Implicitly and Explicitly Shared Classes. + +


      Member Function Documentation

      +

      TQFontInfo::TQFontInfo ( const TQFont & font ) +

      +Constructs a font info object for font. +

      The font must be screen-compatible, i.e. a font you use when +drawing text in widgets or pixmaps, not TQPicture or TQPrinter. +

      The font info object holds the information for the font that is +passed in the constructor at the time it is created, and is not +updated if the font's attributes are changed later. +

      Use TQPainter::fontInfo() to get the font info when painting. +This will give correct results also when painting on paint device +that is not screen-compatible. + +

      TQFontInfo::TQFontInfo ( const TQFont & font, TQFont::Script script ) +

      +Constructs a font info object for font using the specified script. + +

      TQFontInfo::TQFontInfo ( const TQFontInfo & fi ) +

      +Constructs a copy of fi. + +

      TQFontInfo::~TQFontInfo () +

      +Destroys the font info object. + +

      bool TQFontInfo::bold () const +

      + +

      Returns TRUE if weight() would return a value greater than TQFont::Normal; otherwise returns FALSE. +

      See also weight() and TQFont::bold(). + +

      Example: qfd/fontdisplayer.cpp. +

      bool TQFontInfo::exactMatch () const +

      +Returns TRUE if the matched window system font is exactly the same +as the one specified by the font; otherwise returns FALSE. +

      See also TQFont::exactMatch(). + +

      TQString TQFontInfo::family () const +

      +Returns the family name of the matched window system font. +

      See also TQFont::family(). + +

      Examples: fonts/simple-tqfont-demo/viewer.cpp and qfd/fontdisplayer.cpp. +

      bool TQFontInfo::fixedPitch () const +

      +Returns the fixed pitch value of the matched window system font. +

      See also TQFont::fixedPitch(). + +

      bool TQFontInfo::italic () const +

      +Returns the italic value of the matched window system font. +

      See also TQFont::italic(). + +

      Example: qfd/fontdisplayer.cpp. +

      TQFontInfo & TQFontInfo::operator= ( const TQFontInfo & fi ) +

      +Assigns the font info in fi. + +

      int TQFontInfo::pixelSize () const +

      +Returns the pixel size of the matched window system font. +

      See also TQFont::pointSize(). + +

      int TQFontInfo::pointSize () const +

      +Returns the point size of the matched window system font. +

      See also TQFont::pointSize(). + +

      Examples: fonts/simple-tqfont-demo/viewer.cpp and qfd/fontdisplayer.cpp. +

      bool TQFontInfo::rawMode () const +

      +Returns TRUE if the font is a raw mode font; otherwise returns +FALSE. +

      If it is a raw mode font, all other functions in TQFontInfo will +return the same values set in the TQFont, regardless of the font +actually used. +

      See also TQFont::rawMode(). + +

      TQFont::StyleHint TQFontInfo::styleHint () const +

      +Returns the style of the matched window system font. +

      Currently only returns the style hint set in TQFont. +

      See also TQFont::styleHint() and TQFont::StyleHint. + +

      int TQFontInfo::weight () const +

      +Returns the weight of the matched window system font. +

      See also TQFont::weight() and bold(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfontmetrics-h.html b/doc/html/tqfontmetrics-h.html new file mode 100644 index 000000000..6baea0f0c --- /dev/null +++ b/doc/html/tqfontmetrics-h.html @@ -0,0 +1,158 @@ + + + + + +tqfontmetrics.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqfontmetrics.h

      + +

      This is the verbatim text of the tqfontmetrics.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqfontmetrics.h   3.3.8   edited Jan 11 14:38 $
      +**
      +** Definition of TQFontMetrics class
      +**
      +** Created : 940514
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the kernel module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQFONTMETRICS_H
      +#define TQFONTMETRICS_H
      +
      +#ifndef QT_H
      +#include "tqfont.h"
      +#include "ntqrect.h"
      +#endif // QT_H
      +
      +class TQTextCodec;
      +class TQTextParag;
      +
      +class TQ_EXPORT TQFontMetrics
      +{
      +public:
      +    TQFontMetrics( const TQFont & );
      +    TQFontMetrics( const TQFont &, TQFont::Script );
      +    TQFontMetrics( const TQFontMetrics & );
      +    ~TQFontMetrics();
      +
      +    TQFontMetrics &operator=( const TQFontMetrics & );
      +
      +    int		ascent()	const;
      +    int		descent()	const;
      +    int		height()	const;
      +    int		leading()	const;
      +    int		lineSpacing()	const;
      +    int		minLeftBearing() const;
      +    int		minRightBearing() const;
      +    int		maxWidth()	const;
      +
      +    bool	inFont(TQChar)	const;
      +
      +    int		leftBearing(TQChar) const;
      +    int		rightBearing(TQChar) const;
      +    int		width( const TQString &, int len = -1 ) const;
      +
      +    int		width( TQChar ) const;
      +#ifndef TQT_NO_COMPAT
      +    int		width( char c ) const { return width( (TQChar) c ); }
      +#endif
      +
      +    int 		charWidth( const TQString &str, int pos ) const;
      +    TQRect	boundingRect( const TQString &, int len = -1 ) const;
      +    TQRect	boundingRect( TQChar ) const;
      +    TQRect	boundingRect( int x, int y, int w, int h, int flags,
      +			      const TQString& str, int len=-1, int tabstops=0,
      +			      int *tabarray=0, TQTextParag **intern=0 ) const;
      +    TQSize	size( int flags,
      +		      const TQString& str, int len=-1, int tabstops=0,
      +		      int *tabarray=0, TQTextParag **intern=0 ) const;
      +
      +    int		underlinePos()	const;
      +    int         overlinePos()   const;
      +    int		strikeOutPos()	const;
      +    int		lineWidth()	const;
      +
      +private:
      +    TQFontMetrics( const TQPainter * );
      +
      +    friend class TQWidget;
      +    friend class TQPainter;
      +    friend class TQTextFormat;
      +#if defined( TQ_WS_MAC )
      +    friend class TQFontPrivate;
      +#endif
      +
      +    TQFontPrivate  *d;
      +    TQPainter      *painter;
      +    int		   fscript;
      +};
      +
      +
      +#endif // TQFONTMETRICS_H
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfontmetrics-members.html b/doc/html/tqfontmetrics-members.html new file mode 100644 index 000000000..5aca12259 --- /dev/null +++ b/doc/html/tqfontmetrics-members.html @@ -0,0 +1,68 @@ + + + + + +TQFontMetrics Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQFontMetrics

      + +

      This is the complete list of member functions for +TQFontMetrics, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqfontmetrics.html b/doc/html/tqfontmetrics.html new file mode 100644 index 000000000..8e6729f2c --- /dev/null +++ b/doc/html/tqfontmetrics.html @@ -0,0 +1,419 @@ + + + + + +TQFontMetrics Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQFontMetrics Class Reference

      + +

      The TQFontMetrics class provides font metrics information. +More... +

      #include <tqfontmetrics.h> +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + +The TQFontMetrics class provides font metrics information. +

      + +

      TQFontMetrics functions calculate the size of characters and +strings for a given font. There are three ways you can create a +TQFontMetrics object: +

        +
      1. Calling the TQFontMetrics constructor with a TQFont creates a +font metrics object for a screen-compatible font, i.e. the font +cannot be a printer font*. If the font is changed +later, the font metrics object is not updated. +

      2. TQWidget::fontMetrics() returns the font metrics for a widget's +font. This is equivalent to TQFontMetrics(widget->font()). If the +widget's font is changed later, the font metrics object is not +updated. +

      3. TQPainter::fontMetrics() returns the font metrics for a +painter's current font. If the painter's font is changed later, the +font metrics object is not updated. +
      +

      * If you use a printer font the values returned may be +inaccurate. Printer fonts are not always accessible so the nearest +screen font is used if a printer font is supplied. +

      Once created, the object provides functions to access the +individual metrics of the font, its characters, and for strings +rendered in the font. +

      There are several functions that operate on the font: ascent(), +descent(), height(), leading() and lineSpacing() return the basic +size properties of the font. The underlinePos(), overlinePos(), +strikeOutPos() and lineWidth() functions, return the properties of +the line that underlines, overlines or strikes out the +characters. These functions are all fast. +

      There are also some functions that operate on the set of glyphs in +the font: minLeftBearing(), minRightBearing() and maxWidth(). +These are by necessity slow, and we recommend avoiding them if +possible. +

      For each character, you can get its width(), leftBearing() and +rightBearing() and find out whether it is in the font using +inFont(). You can also treat the character as a string, and use +the string functions on it. +

      The string functions include width(), to return the width of a +string in pixels (or points, for a printer), boundingRect(), to +return a rectangle large enough to contain the rendered string, +and size(), to return the size of that rectangle. +

      Example: +

      +    TQFont font( "times", 24 );
      +    TQFontMetrics fm( font );
      +    int pixelsWide = fm.width( "What's the width of this text?" );
      +    int pixelsHigh = fm.height();
      +    
      + +

      See also TQFont, TQFontInfo, TQFontDatabase, Graphics Classes, and Implicitly and Explicitly Shared Classes. + +


      Member Function Documentation

      +

      TQFontMetrics::TQFontMetrics ( const TQFont & font ) +

      +Constructs a font metrics object for font. +

      The font must be screen-compatible, i.e. a font you use when +drawing text in widgets or pixmaps, not TQPicture or TQPrinter. +

      The font metrics object holds the information for the font that is +passed in the constructor at the time it is created, and is not +updated if the font's attributes are changed later. +

      Use TQPainter::fontMetrics() to get the font metrics when painting. +This will give correct results also when painting on paint device +that is not screen-compatible. + +

      TQFontMetrics::TQFontMetrics ( const TQFont & font, TQFont::Script script ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Constructs a font metrics object for font using the given script. + +

      TQFontMetrics::TQFontMetrics ( const TQFontMetrics & fm ) +

      +Constructs a copy of fm. + +

      TQFontMetrics::~TQFontMetrics () +

      +Destroys the font metrics object and frees all allocated +resources. + +

      int TQFontMetrics::ascent () const +

      +Returns the ascent of the font. +

      The ascent of a font is the distance from the baseline to the +highest position characters extend to. In practice, some font +designers break this rule, e.g. when they put more than one accent +on top of a character, or to accommodate an unusual character in +an exotic language, so it is possible (though rare) that this +value will be too small. +

      See also descent(). + +

      Examples: drawdemo/drawdemo.cpp and scrollview/scrollview.cpp. +

      TQRect TQFontMetrics::boundingRect ( TQChar ch ) const +

      +Returns the rectangle that is covered by ink if the character +specified by ch were to be drawn at the origin of the coordinate +system. +

      Note that the bounding rectangle may extend to the left of (0, 0), +e.g. for italicized fonts, and that the text output may cover all pixels in the bounding rectangle. For a space character the rectangle +will usually be empty. +

      Note that the rectangle usually extends both above and below the +base line. +

      Warning: The width of the returned rectangle is not the advance width +of the character. Use boundingRect(const TQString &) or width() instead. +

      See also width(). + +

      Example: xform/xform.cpp. +

      TQRect TQFontMetrics::boundingRect ( const TQString & str, int len = -1 ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns the bounding rectangle that contains the first len +characters of string str. + +

      TQRect TQFontMetrics::boundingRect ( int x, int y, int w, int h, int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns the bounding rectangle of the first len characters of +str, which is the set of pixels the text would cover if drawn +at (0, 0). The drawing, and hence the bounding rectangle, is +constrained to the rectangle (x, y, w, h). +

      If len is negative (which is the default), the entire string is +used. +

      The flgs argument is the bitwise OR of the following flags: +

        +
      • AlignAuto aligns to the left border for all languages except +Arabic and Hebrew where it aligns to the right. +
      • AlignLeft aligns to the left border. +
      • AlignRight aligns to the right border. +
      • AlignJustify produces justified text. +
      • AlignHCenter aligns horizontally centered. +
      • AlignTop aligns to the top border. +
      • AlignBottom aligns to the bottom border. +
      • AlignVCenter aligns vertically centered +
      • AlignCenter (== AlignHCenter | AlignVCenter) +
      • SingleLine ignores newline characters in the text. +
      • ExpandTabs expands tabs (see below) +
      • ShowPrefix interprets "&x" as "x", i.e. underlined. +
      • WordBreak breaks the text to fit the rectangle. +
      +

      Horizontal alignment defaults to AlignAuto and vertical +alignment defaults to AlignTop. +

      If several of the horizontal or several of the vertical alignment +flags are set, the resulting alignment is undefined. +

      These flags are defined in ntqnamespace.h. +

      If ExpandTabs is set in flgs, then: if tabarray is +non-null, it specifies a 0-terminated sequence of pixel-positions +for tabs; otherwise if tabstops is non-zero, it is used as the +tab spacing (in pixels). +

      Note that the bounding rectangle may extend to the left of (0, 0), +e.g. for italicized fonts, and that the text output may cover all pixels in the bounding rectangle. +

      Newline characters are processed as linebreaks. +

      Despite the different actual character heights, the heights of the +bounding rectangles of "Yes" and "yes" are the same. +

      The bounding rectangle given by this function is somewhat larger +than that calculated by the simpler boundingRect() function. This +function uses the maximum left and +right font bearings as is +necessary for multi-line text to align correctly. Also, +fontHeight() and lineSpacing() are used to calculate the height, +rather than individual character heights. +

      The intern argument should not be used. +

      See also width(), TQPainter::boundingRect(), and TQt::AlignmentFlags. + +

      int TQFontMetrics::charWidth ( const TQString & str, int pos ) const +

      +Returns the width of the character at position pos in the +string str. +

      The whole string is needed, as the glyph drawn may change +depending on the context (the letter before and after the current +one) for some languages (e.g. Arabic). +

      This function also takes non spacing marks and ligatures into +account. + +

      int TQFontMetrics::descent () const +

      +Returns the descent of the font. +

      The descent is the distance from the base line to the lowest point +characters extend to. (Note that this is different from X, which +adds 1 pixel.) In practice, some font designers break this rule, +e.g. to accommodate an unusual character in an exotic language, so +it is possible (though rare) that this value will be too small. +

      See also ascent(). + +

      Examples: drawdemo/drawdemo.cpp and hello/hello.cpp. +

      int TQFontMetrics::height () const +

      +Returns the height of the font. +

      This is always equal to ascent()+descent()+1 (the 1 is for the +base line). +

      See also leading() and lineSpacing(). + +

      Examples: grapher/grapher.cpp, hello/hello.cpp, and qfd/fontdisplayer.cpp. +

      bool TQFontMetrics::inFont ( TQChar ch ) const +

      +Returns TRUE if character ch is a valid character in the font; +otherwise returns FALSE. + +

      Example: qfd/fontdisplayer.cpp. +

      int TQFontMetrics::leading () const +

      +Returns the leading of the font. +

      This is the natural inter-line spacing. +

      See also height() and lineSpacing(). + +

      int TQFontMetrics::leftBearing ( TQChar ch ) const +

      +Returns the left bearing of character ch in the font. +

      The left bearing is the right-ward distance of the left-most pixel +of the character from the logical origin of the character. This +value is negative if the pixels of the character extend to the +left of the logical origin. +

      See width(TQChar) for a graphical description of this metric. +

      See also rightBearing(), minLeftBearing(), and width(). + +

      Example: qfd/fontdisplayer.cpp. +

      int TQFontMetrics::lineSpacing () const +

      +Returns the distance from one base line to the next. +

      This value is always equal to leading()+height(). +

      See also height() and leading(). + +

      Examples: qfd/fontdisplayer.cpp, qwerty/qwerty.cpp, and scrollview/scrollview.cpp. +

      int TQFontMetrics::lineWidth () const +

      +Returns the width of the underline and strikeout lines, adjusted +for the point size of the font. +

      See also underlinePos(), overlinePos(), and strikeOutPos(). + +

      int TQFontMetrics::maxWidth () const +

      +Returns the width of the widest character in the font. + +

      Example: qfd/fontdisplayer.cpp. +

      int TQFontMetrics::minLeftBearing () const +

      +Returns the minimum left bearing of the font. +

      This is the smallest leftBearing(char) of all characters in the +font. +

      Note that this function can be very slow if the font is large. +

      See also minRightBearing() and leftBearing(). + +

      Example: qfd/fontdisplayer.cpp. +

      int TQFontMetrics::minRightBearing () const +

      +Returns the minimum right bearing of the font. +

      This is the smallest rightBearing(char) of all characters in the +font. +

      Note that this function can be very slow if the font is large. +

      See also minLeftBearing() and rightBearing(). + +

      Example: qfd/fontdisplayer.cpp. +

      TQFontMetrics & TQFontMetrics::operator= ( const TQFontMetrics & fm ) +

      +Assigns the font metrics fm. + +

      int TQFontMetrics::overlinePos () const +

      +Returns the distance from the base line to where an overline +should be drawn. +

      See also underlinePos(), strikeOutPos(), and lineWidth(). + +

      int TQFontMetrics::rightBearing ( TQChar ch ) const +

      +Returns the right bearing of character ch in the font. +

      The right bearing is the left-ward distance of the right-most +pixel of the character from the logical origin of a subsequent +character. This value is negative if the pixels of the character +extend to the right of the width() of the character. +

      See width() for a graphical description of this metric. +

      See also leftBearing(), minRightBearing(), and width(). + +

      Example: qfd/fontdisplayer.cpp. +

      TQSize TQFontMetrics::size ( int flgs, const TQString & str, int len = -1, int tabstops = 0, int * tabarray = 0, TQTextParag ** intern = 0 ) const +

      +Returns the size in pixels of the first len characters of str. +

      If len is negative (the default), the entire string is used. +

      The flgs argument is the bitwise OR of the following flags: +

        +
      • SingleLine ignores newline characters. +
      • ExpandTabs expands tabs (see below) +
      • ShowPrefix interprets "&x" as "x", i.e. underlined. +
      • WordBreak breaks the text to fit the rectangle. +
      +

      These flags are defined in ntqnamespace.h. +

      If ExpandTabs is set in flgs, then: if tabarray is +non-null, it specifies a 0-terminated sequence of pixel-positions +for tabs; otherwise if tabstops is non-zero, it is used as the +tab spacing (in pixels). +

      Newline characters are processed as linebreaks. +

      Despite the different actual character heights, the heights of the +bounding rectangles of "Yes" and "yes" are the same. +

      The intern argument should not be used. +

      See also boundingRect(). + +

      int TQFontMetrics::strikeOutPos () const +

      +Returns the distance from the base line to where the strikeout +line should be drawn. +

      See also underlinePos(), overlinePos(), and lineWidth(). + +

      int TQFontMetrics::underlinePos () const +

      +Returns the distance from the base line to where an underscore +should be drawn. +

      See also overlinePos(), strikeOutPos(), and lineWidth(). + +

      int TQFontMetrics::width ( TQChar ch ) const +

      +

      +

      Returns the logical width of character ch in pixels. This is a +distance appropriate for drawing a subsequent character after ch. +

      Some of the metrics are described in the image to the right. The +central dark rectangles cover the logical width() of each +character. The outer pale rectangles cover the leftBearing() and +rightBearing() of each character. Notice that the bearings of "f" +in this particular font are both negative, while the bearings of +"o" are both positive. +

      Warning: This function will produce incorrect results for Arabic +characters or non spacing marks in the middle of a string, as the +glyph shaping and positioning of marks that happens when +processing strings cannot be taken into account. Use charWidth() +instead if you aren't looking for the width of isolated +characters. +

      See also boundingRect() and charWidth(). + +

      Examples: drawdemo/drawdemo.cpp, hello/hello.cpp, movies/main.cpp, qfd/fontdisplayer.cpp, and scrollview/scrollview.cpp. +

      int TQFontMetrics::width ( const TQString & str, int len = -1 ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns the width of the first len characters of string str. + +

      int TQFontMetrics::width ( char c ) const +

      +

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      Provided to aid porting from TQt 1.x. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqiconset.html b/doc/html/tqiconset.html index 7adf6c857..f75757e29 100644 --- a/doc/html/tqiconset.html +++ b/doc/html/tqiconset.html @@ -123,9 +123,9 @@ TQt class TQToolButton is an example of such a w whichever icon is appropriate for the current state of your widget. For example:
      -    void MyWidget::drawIcon( TQPainter* p, TQPoint pos )
      +    void MyWidget::drawIcon( TQPainter* p, TQPoint pos )
           {
      -        p->drawPixmap( pos, icons->pixmap(
      +        p->drawPixmap( pos, icons->pixmap(
                                       TQIconSet::Small,
                                       isEnabled() ? TQIconSet::Normal :
                                                     TQIconSet::Disabled,
      diff --git a/doc/html/tqiconview-h.html b/doc/html/tqiconview-h.html
      index bc52dec64..193a08ff0 100644
      --- a/doc/html/tqiconview-h.html
      +++ b/doc/html/tqiconview-h.html
      @@ -83,7 +83,7 @@ body { background: #ffffff; color: black; }
       #include "ntqrect.h"
       #include "ntqpoint.h"
       #include "tqsize.h"
      -#include "ntqfont.h" // TQString->TQFont conversion
      +#include "tqfont.h" // TQString->TQFont conversion
       #include "tqdragobject.h"
       #include "tqbitmap.h"
       #include "ntqpicture.h"
      diff --git a/doc/html/tqiconview-members.html b/doc/html/tqiconview-members.html
      index a1cc0b8a1..c0d247288 100644
      --- a/doc/html/tqiconview-members.html
      +++ b/doc/html/tqiconview-members.html
      @@ -76,7 +76,7 @@ body { background: #ffffff; color: black; }
       
    • clipper()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -173,7 +173,7 @@ body { background: #ffffff; color: black; }
    • gridX()
    • gridY()
    • hScrollBarMode() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -206,7 +206,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -282,7 +282,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -468,28 +468,28 @@ body { background: #ffffff; color: black; }
    • windowState()
    • wordWrapIconText()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqiconview.html b/doc/html/tqiconview.html index 01453560a..3ba6a9d98 100644 --- a/doc/html/tqiconview.html +++ b/doc/html/tqiconview.html @@ -493,7 +493,7 @@ may reimplement this.

      See also TQIconDrag.

      Examples: fileiconview/tqfileiconview.cpp and iconview/simple_dd/main.cpp. -

      void TQIconView::drawBackground ( TQPainter * p, const TQRect & r ) [virtual protected] +

      void TQIconView::drawBackground ( TQPainter * p, const TQRect & r ) [virtual protected]

      This function is called to draw the rectangle r of the background using the painter p. @@ -502,7 +502,7 @@ background using the painter p. backgrounds.

      See also contentsX, contentsY, and drawContents(). -

      void TQIconView::drawRubber ( TQPainter * p ) [virtual protected] +

      void TQIconView::drawRubber ( TQPainter * p ) [virtual protected]

      Draws the rubber band using the painter p. @@ -620,7 +620,7 @@ This is an overloaded member function, provided for convenience. It behaves esse in-place renaming.

      See also TQIconViewItem::setRenameEnabled() and TQIconViewItem::rename(). -

      TQBrush TQIconView::itemTextBackground () const +

      TQBrush TQIconView::itemTextBackground () const

      Returns the brush to use when drawing the background of an item's text. See the "itemTextBackground" property for details.

      ItemTextPos TQIconView::itemTextPos () const @@ -786,7 +786,7 @@ See the "gridX" property for details.

      void TQIconView::setGridY ( int ry ) [virtual]

      Sets the vertical grid of the icon view to ry. See the "gridY" property for details. -

      void TQIconView::setItemTextBackground ( const TQBrush & b ) [virtual] +

      void TQIconView::setItemTextBackground ( const TQBrush & b ) [virtual]

      Sets the brush to use when drawing the background of an item's text to b. See the "itemTextBackground" property for details.

      void TQIconView::setItemTextPos ( ItemTextPos pos ) [virtual] @@ -922,7 +922,7 @@ column widths based on the icon view's contents. column heights based on the icon view's contents.

      Set this property's value with setGridY() and get this property's value with gridY(). -

      TQBrush itemTextBackground

      +

      TQBrush itemTextBackground

      This property holds the brush to use when drawing the background of an item's text.

      By default this brush is set to NoBrush, meaning that only the normal icon view background is used. diff --git a/doc/html/tqiconviewitem.html b/doc/html/tqiconviewitem.html index 6069d0b42..695a44d0e 100644 --- a/doc/html/tqiconviewitem.html +++ b/doc/html/tqiconviewitem.html @@ -360,12 +360,12 @@ in the icon view.

      See also prevItem().

      Example: fileiconview/tqfileiconview.cpp. -

      void TQIconViewItem::paintFocus ( TQPainter * p, const TQColorGroup & cg ) [virtual protected] +

      void TQIconViewItem::paintFocus ( TQPainter * p, const TQColorGroup & cg ) [virtual protected]

      Paints the focus rectangle of the item using the painter p and the color group cg. -

      void TQIconViewItem::paintItem ( TQPainter * p, const TQColorGroup & cg ) [virtual protected] +

      void TQIconViewItem::paintItem ( TQPainter * p, const TQColorGroup & cg ) [virtual protected]

      Paints the item using the painter p and the color group cg. If you want the item to be drawn with a different font or color, diff --git a/doc/html/tqimage.html b/doc/html/tqimage.html index 25540be7b..bf62f0be0 100644 --- a/doc/html/tqimage.html +++ b/doc/html/tqimage.html @@ -160,7 +160,7 @@ data. 1-bpp and 8-bpp images use a color lookup table; the pixel value is a color table index.

      32-bpp images encode an RGB value in 24 bits and ignore the color table. The most significant byte is used for the alpha buffer. -

      An entry in the color table is an RGB triplet encoded as a uint. Use the tqRed(), tqGreen() and tqBlue() functions (ntqcolor.h) to access the components, and tqRgb to make an RGB triplet (see the TQColor class +

      An entry in the color table is an RGB triplet encoded as a uint. Use the tqRed(), tqGreen() and tqBlue() functions (tqcolor.h) to access the components, and tqRgb to make an RGB triplet (see the TQColor class documentation).

      1-bpp (monochrome) images have a color table with a most two colors. There are two different formats: big endian (MSB first) or @@ -194,7 +194,7 @@ significant byte is reserved for the alpha buffer. TQImage image; // sets 32 bit pixel at (x,y) to yellow. uint *p = (uint *)image.scanLine(y) + x; - *p = tqRgb(255,255,0); + *p = tqRgb(255,255,0);

    • The scanlines are 32-bit aligned for all depths. The constructor @@ -367,9 +367,9 @@ to numBytes()/height().

      Returns the color in the color table at index i. The first color is at index 0. -

      A color value is an RGB triplet. Use the tqRed(), tqGreen() and tqBlue() functions (defined in ntqcolor.h) to +

      A color value is an RGB triplet. Use the tqRed(), tqGreen() and tqBlue() functions (defined in tqcolor.h) to get the color value components. -

      See also setColor(), numColors(), and TQColor. +

      See also setColor(), numColors(), and TQColor.

      Example: themes/wood.cpp.

      TQRgb * TQImage::colorTable () const @@ -534,10 +534,10 @@ value is written to each pixel in the image. If the image has an alpha buffer, only the 24 RGB bits are set and the upper 8 bits (alpha value) are left unchanged.

      Note: TQImage::pixel() returns the color of the pixel at the given -coordinates; TQColor::pixel() returns the pixel value of the +coordinates; TQColor::pixel() returns the pixel value of the underlying window system (essentially an index value), so normally you will want to use TQImage::pixel() to use a color from an -existing image or TQColor::rgb() to use a specific color. +existing image or TQColor::rgb() to use a specific color.

      See also invertPixels(), depth(), hasAlphaBuffer(), and create().

      TQImage TQImage::fromMimeSource ( const TQString & abs_name ) [static] @@ -751,7 +751,7 @@ output. Returns the color of the pixel at the coordinates (x, y).

      If (x, y) is not on the image, the results are undefined. -

      See also setPixel(), tqRed(), tqGreen(), tqBlue(), and valid(). +

      See also setPixel(), tqRed(), tqGreen(), tqBlue(), and valid().

      Examples: canvas/canvas.cpp and qmag/qmag.cpp.

      int TQImage::pixelIndex ( int x, int y ) const @@ -852,8 +852,8 @@ returned. pointer to TQRgb* (TQRgb has a 32-bit size) and use it to read/write the pixel value. You cannot use the uchar* pointer directly, because the pixel format depends on the byte order on -the underlying platform. Hint: use tqRed(), -tqGreen() and tqBlue(), etc. (ntqcolor.h) to access the pixels. +the underlying platform. Hint: use tqRed(), +tqGreen() and tqBlue(), etc. (tqcolor.h) to access the pixels.

      See also bytesPerLine(), bits(), and jumpTable().

      Example: desktop/desktop.cpp. @@ -878,7 +878,7 @@ to a TQPixmap.

      Sets a color in the color table at index i to c. -

      A color value is an RGB triplet. Use the tqRgb() function (defined in ntqcolor.h) to make RGB +

      A color value is an RGB triplet. Use the tqRgb() function (defined in tqcolor.h) to make RGB triplets.

      See also color(), setNumColors(), and numColors(). @@ -909,7 +909,7 @@ Sets the pixel index or color at the coordinates (x, y) to

      If (x, y) is not valid, the result is undefined.

      If the image is a paletted image (depth() <= 8) and index_or_rgb >= numColors(), the result is undefined. -

      See also pixelIndex(), pixel(), tqRgb(), tqRgba(), and valid(). +

      See also pixelIndex(), pixel(), tqRgb(), tqRgba(), and valid().

      void TQImage::setText ( const char * key, const char * lang, const TQString & s )

      diff --git a/doc/html/tqimageconsumer.html b/doc/html/tqimageconsumer.html index 365e9aa62..42a196b02 100644 --- a/doc/html/tqimageconsumer.html +++ b/doc/html/tqimageconsumer.html @@ -52,7 +52,7 @@ The TQImageConsumer class is an abstraction used by TQMovie class, or TQLabel::setMovie(), are easy to use and for +

      The TQMovie class, or TQLabel::setMovie(), are easy to use and for most situations do what you want with regards animated images.

      A TQImageConsumer consumes information about changes to the TQImage maintained by a TQImageDecoder. Think of the TQImage as the model or diff --git a/doc/html/tqimagedecoder.html b/doc/html/tqimagedecoder.html index b8724d7c0..7c26a12b8 100644 --- a/doc/html/tqimagedecoder.html +++ b/doc/html/tqimagedecoder.html @@ -58,7 +58,7 @@ The TQImageDecoder class is an incremental image decoder for all supported image

      New formats are installed by creating objects of class -TQImageFormatType; the TQMovie class can be used for all installed +TQImageFormatType; the TQMovie class can be used for all installed incremental image formats. TQImageDecoder is only useful for creating new ways of feeding data to an TQImageConsumer.

      A TQImageDecoder is a machine that decodes images. It takes encoded diff --git a/doc/html/tqimageformat.html b/doc/html/tqimageformat.html index 0b1e9b51e..f57488c9c 100644 --- a/doc/html/tqimageformat.html +++ b/doc/html/tqimageformat.html @@ -49,7 +49,7 @@ The TQImageFormat class is an incremental image decoder for a specific image for

      By making a derived class of TQImageFormatType, which in turn creates objects that are a subclass of TQImageFormat, you can add support for more incremental image formats, allowing such formats -to be sources for a TQMovie or for the first frame of the image +to be sources for a TQMovie or for the first frame of the image stream to be loaded as a TQImage or TQPixmap.

      Your new subclass must reimplement the decode() function in order to process your new format. diff --git a/doc/html/tqimageio.html b/doc/html/tqimageio.html index 7c466614d..23df3ec5f 100644 --- a/doc/html/tqimageio.html +++ b/doc/html/tqimageio.html @@ -89,7 +89,7 @@ are: PBM (P1 or P4), PGM (P2 or P5), and PPM (P3 or P6).

      You don't normally need to use this class; TQPixmap::load(), TQPixmap::save(), and TQImage contain sufficient functionality.

      For image files that contain sequences of images, only the first -is read. See TQMovie for loading multiple images. +is read. See TQMovie for loading multiple images.

      PBM, PGM, and PPM format output is always in the more condensed raw format. PPM and PGM files with more than 256 levels of intensity are scaled down when reading. @@ -100,7 +100,7 @@ license the technology. Such countries include Canada, Japan, the USA, France, Germany, Italy and the UK.

      GIF support may be removed completely in a future version of TQt. We recommend using the PNG format. -

      See also TQImage, TQPixmap, TQFile, TQMovie, Graphics Classes, Image Processing Classes, and Input/Output and Networking. +

      See also TQImage, TQPixmap, TQFile, TQMovie, Graphics Classes, Image Processing Classes, and Input/Output and Networking.


      Member Function Documentation

      TQImageIO::TQImageIO () diff --git a/doc/html/tqmainwindow-members.html b/doc/html/tqmainwindow-members.html index 999cc97c2..c68d6b110 100644 --- a/doc/html/tqmainwindow-members.html +++ b/doc/html/tqmainwindow-members.html @@ -67,7 +67,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -121,7 +121,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasDockWindow()
    • hasFocus()
    • hasMouse() @@ -150,7 +150,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -213,7 +213,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -353,28 +353,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqmenubar-members.html b/doc/html/tqmenubar-members.html index 8910d3e5e..5007dee58 100644 --- a/doc/html/tqmenubar-members.html +++ b/doc/html/tqmenubar-members.html @@ -67,7 +67,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectItem() @@ -128,7 +128,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -160,7 +160,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -227,7 +227,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -363,28 +363,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqmenubar.html b/doc/html/tqmenubar.html index 16bfaf39f..ab9b7c4f9 100644 --- a/doc/html/tqmenubar.html +++ b/doc/html/tqmenubar.html @@ -215,7 +215,7 @@ Removes all menu items.

      See also removeItem() and removeItemAt().

      Examples: mdi/application.cpp and qwerty/qwerty.cpp. -

      void TQMenuBar::drawContents ( TQPainter * p ) [virtual protected] +

      void TQMenuBar::drawContents ( TQPainter * p ) [virtual protected]

      Called from TQFrame::paintEvent(). Draws the menu bar contents using painter p. diff --git a/doc/html/tqmenudata-h.html b/doc/html/tqmenudata-h.html index dfafd57bd..9303c9b95 100644 --- a/doc/html/tqmenudata-h.html +++ b/doc/html/tqmenudata-h.html @@ -83,7 +83,7 @@ body { background: #ffffff; color: black; } #include "ntqkeysequence.h" #include "tqstring.h" #include "tqsignal.h" -#include "ntqfont.h" +#include "tqfont.h" #endif // QT_H #ifndef TQT_NO_MENUDATA diff --git a/doc/html/tqmovie-h.html b/doc/html/tqmovie-h.html new file mode 100644 index 000000000..6dcd762dd --- /dev/null +++ b/doc/html/tqmovie-h.html @@ -0,0 +1,160 @@ + + + + + +tqmovie.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqmovie.h

      + +

      This is the verbatim text of the tqmovie.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqmovie.h   3.3.8   edited Jan 11 14:38 $
      +**
      +** Definition of movie classes
      +**
      +** Created : 970617
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the kernel module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQMOVIE_H
      +#define TQMOVIE_H
      +
      +#ifndef QT_H
      +#include "ntqpixmap.h" // ### remove or keep for users' convenience?
      +#endif // QT_H
      +
      +#ifndef TQT_NO_MOVIE
      +
      +class TQDataSource;
      +class TQObject;
      +class TQMoviePrivate;
      +
      +class TQ_EXPORT TQMovie {
      +public:
      +    TQMovie();
      +    TQMovie(int bufsize);
      +    TQMovie(TQDataSource*, int bufsize=1024);
      +    TQMovie(const TQString &fileName, int bufsize=1024);
      +    TQMovie(TQByteArray data, int bufsize=1024);
      +    TQMovie(const TQMovie&);
      +    ~TQMovie();
      +
      +    TQMovie& operator=(const TQMovie&);
      +
      +    int pushSpace() const;
      +    void pushData(const uchar* data, int length);
      +
      +    const TQColor& backgroundColor() const;
      +    void setBackgroundColor(const TQColor&);
      +
      +    const TQRect& getValidRect() const;
      +    const TQPixmap& framePixmap() const;
      +    const TQImage& frameImage() const;
      +
      +    bool isNull() const;
      +
      +    int  frameNumber() const;
      +    int  steps() const;
      +    bool paused() const;
      +    bool finished() const;
      +    bool running() const;
      +
      +    void unpause();
      +    void pause();
      +    void step();
      +    void step(int);
      +    void restart();
      +
      +    int  speed() const;
      +    void setSpeed(int);
      +
      +    void connectResize(TQObject* receiver, const char *member);
      +    void disconnectResize(TQObject* receiver, const char *member=0);
      +
      +    void connectUpdate(TQObject* receiver, const char *member);
      +    void disconnectUpdate(TQObject* receiver, const char *member=0);
      +
      +    enum Status { SourceEmpty=-2,
      +		  UnrecognizedFormat=-1,
      +		  Paused=1,
      +		  EndOfFrame=2,
      +		  EndOfLoop=3,
      +		  EndOfMovie=4,
      +		  SpeedChanged=5 };
      +    void connectStatus(TQObject* receiver, const char *member);
      +    void disconnectStatus(TQObject* receiver, const char *member=0);
      +
      +private:
      +    TQMoviePrivate *d;
      +};
      +
      +#endif	// TQT_NO_MOVIE
      +
      +#endif
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqmovie-members.html b/doc/html/tqmovie-members.html new file mode 100644 index 000000000..7e69c510f --- /dev/null +++ b/doc/html/tqmovie-members.html @@ -0,0 +1,74 @@ + + + + + +TQMovie Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQMovie

      + +

      This is the complete list of member functions for +TQMovie, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqmovie.html b/doc/html/tqmovie.html new file mode 100644 index 000000000..b5b4b6d8b --- /dev/null +++ b/doc/html/tqmovie.html @@ -0,0 +1,388 @@ + + + + + +TQMovie Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQMovie Class Reference

      + +

      The TQMovie class provides incremental loading of animations or images, signalling as it progresses. +More... +

      #include <tqmovie.h> +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + +The TQMovie class provides incremental loading of animations or images, signalling as it progresses. +

      + + + +

      The simplest way to display a TQMovie is to use a TQLabel and +TQLabel::setMovie(). +

      A TQMovie provides a TQPixmap as the framePixmap(); connections can +be made via connectResize() and connectUpdate() to receive +notification of size and pixmap changes. All decoding is driven +by the normal event-processing mechanisms. +

      The movie begins playing as soon as the TQMovie is created +(actually, once control returns to the event loop). When the last +frame in the movie has been played, it may loop back to the start +if such looping is defined in the input source. +

      TQMovie objects are explicitly shared. This means that a TQMovie +copied from another TQMovie will be displaying the same frame at +all times. If one shared movie pauses, all pause. To make independent movies, they must be constructed separately. +

      The set of data formats supported by TQMovie is determined by the +decoder factories that have been installed; the format of the +input is determined as the input is decoded. +

      The supported formats are MNG (if TQt is configured with MNG +support enabled) and GIF (if TQt is configured with GIF support +enabled, see ntqgif.h). +

      If TQt is configured to support GIF reading, we are required to +state that "The Graphics Interchange Format(c) is the Copyright +property of CompuServe Incorporated. GIF(sm) is a Service Mark +property of CompuServe Incorporated. +

      Warning: If you are in a country that recognizes software patents +and in which Unisys holds a patent on LZW compression and/or +decompression and you want to use GIF, Unisys may require you to +license that technology. Such countries include Canada, Japan, +the USA, France, Germany, Italy and the UK. +

      GIF support may be removed completely in a future version of TQt. +We recommend using the MNG or PNG format. +

      TQMovie
      +

      See also TQLabel::setMovie(), Graphics Classes, Image Processing Classes, and Multimedia Classes. + +


      Member Type Documentation

      +

      TQMovie::Status

      + +
        +
      • TQMovie::SourceEmpty +
      • TQMovie::UnrecognizedFormat +
      • TQMovie::Paused +
      • TQMovie::EndOfFrame +
      • TQMovie::EndOfLoop +
      • TQMovie::EndOfMovie +
      • TQMovie::SpeedChanged +
      +

      Member Function Documentation

      +

      TQMovie::TQMovie () +

      +Constructs a null TQMovie. The only interesting thing to do with +such a movie is to assign another movie to it. +

      See also isNull(). + +

      TQMovie::TQMovie ( int bufsize ) +

      +Constructs a TQMovie with an external data source. You should later +call pushData() to send incoming animation data to the movie. +

      The bufsize argument sets the maximum amount of data the movie +will transfer from the data source per event loop. The lower this +value, the better interleaved the movie playback will be with +other event processing, but the slower the overall processing will +be. +

      See also pushData(). + +

      TQMovie::TQMovie ( TQDataSource * src, int bufsize = 1024 ) +

      +Constructs a TQMovie that reads an image sequence from the given +data source, src. The source must be allocated dynamically, +because TQMovie will take ownership of it and will destroy it when +the movie is destroyed. The movie starts playing as soon as event +processing continues. +

      The bufsize argument sets the maximum amount of data the movie +will transfer from the data source per event loop. The lower this +value, the better interleaved the movie playback will be with +other event processing, but the slower the overall processing will +be. + +

      TQMovie::TQMovie ( const TQString & fileName, int bufsize = 1024 ) +

      +Constructs a TQMovie that reads an image sequence from the file, fileName. +

      The bufsize argument sets the maximum amount of data the movie +will transfer from the data source per event loop. The lower this +value, the better interleaved the movie playback will be with +other event processing, but the slower the overall processing will +be. + +

      TQMovie::TQMovie ( TQByteArray data, int bufsize = 1024 ) +

      +Constructs a TQMovie that reads an image sequence from the byte +array, data. +

      The bufsize argument sets the maximum amount of data the movie +will transfer from the data source per event loop. The lower this +value, the better interleaved the movie playback will be with +other event processing, but the slower the overall processing will +be. + +

      TQMovie::TQMovie ( const TQMovie & movie ) +

      +Constructs a movie that uses the same data as movie movie. +TQMovies use explicit sharing, so operations on the copy will +affect both. + +

      TQMovie::~TQMovie () +

      +Destroys the TQMovie. If this is the last reference to the data of +the movie, the data is deallocated. + +

      const TQColor & TQMovie::backgroundColor () const +

      +Returns the background color of the movie set by +setBackgroundColor(). + +

      void TQMovie::connectResize ( TQObject * receiver, const char * member ) +

      +Connects the receiver's member of type void member(const TQSize&) so that it is signalled when the movie changes size. +

      Note that due to the explicit sharing of TQMovie objects, these +connections persist until they are explicitly disconnected with +disconnectResize() or until every shared copy of the movie is +deleted. + +

      Example: movies/main.cpp. +

      void TQMovie::connectStatus ( TQObject * receiver, const char * member ) +

      +Connects the receiver's member, of type void member(int) so that it is signalled when the movie changes +status. The status codes are negative for errors and positive for +information. +

      +
      Status Code Meaning +
      TQMovie::SourceEmpty +signalled if the input cannot be read. +
      TQMovie::UnrecognizedFormat +signalled if the input data is unrecognized. +
      TQMovie::Paused +signalled when the movie is paused by a call to paused() +or by after stepping pauses. +
      TQMovie::EndOfFrame +signalled at end-of-frame after any update and Paused signals. +
      TQMovie::EndOfLoop +signalled at end-of-loop, after any update signals, +EndOfFrame - but before EndOfMovie. +
      TQMovie::EndOfMovie +signalled when the movie completes and is not about to loop. +
      +

      More status messages may be added in the future, so a general test +for errors would test for negative. +

      Note that due to the explicit sharing of TQMovie objects, these +connections persist until they are explicitly disconnected with +disconnectStatus() or until every shared copy of the movie is +deleted. + +

      Example: movies/main.cpp. +

      void TQMovie::connectUpdate ( TQObject * receiver, const char * member ) +

      +Connects the receiver's member of type void member(const TQRect&) so that it is signalled when an area of the framePixmap() +has changed since the previous frame. +

      Note that due to the explicit sharing of TQMovie objects, these +connections persist until they are explicitly disconnected with +disconnectUpdate() or until every shared copy of the movie is +deleted. + +

      Example: movies/main.cpp. +

      void TQMovie::disconnectResize ( TQObject * receiver, const char * member = 0 ) +

      +Disconnects the receiver's member (or all members if member is zero) that were previously connected by connectResize(). + +

      void TQMovie::disconnectStatus ( TQObject * receiver, const char * member = 0 ) +

      +Disconnects the receiver's member (or all members if member is zero) that were previously connected by connectStatus(). + +

      void TQMovie::disconnectUpdate ( TQObject * receiver, const char * member = 0 ) +

      +Disconnects the receiver's member (or all members if \q +member is zero) that were previously connected by connectUpdate(). + +

      bool TQMovie::finished () const +

      +Returns TRUE if the image is no longer playing: this happens when +all loops of all frames are complete; otherwise returns FALSE. + +

      Example: movies/main.cpp. +

      const TQImage & TQMovie::frameImage () const +

      +Returns the current frame of the movie, as a TQImage. It is not +generally useful to keep a copy of this image. Also note that you +must not call this function if the movie is finished(), since by +then the image will not be available. +

      See also framePixmap(). + +

      int TQMovie::frameNumber () const +

      +Returns the number of times EndOfFrame has been emitted since the +start of the current loop of the movie. Thus, before any +EndOfFrame has been emitted the value will be 0; within slots +processing the first signal, frameNumber() will be 1, and so on. + +

      const TQPixmap & TQMovie::framePixmap () const +

      +Returns the current frame of the movie, as a TQPixmap. It is not +generally useful to keep a copy of this pixmap. It is better to +keep a copy of the TQMovie and get the framePixmap() only when +needed for drawing. +

      See also frameImage(). + +

      Example: movies/main.cpp. +

      const TQRect & TQMovie::getValidRect () const +

      +Returns the area of the pixmap for which pixels have been +generated. + +

      bool TQMovie::isNull () const +

      +Returns TRUE if the movie is null; otherwise returns FALSE. + +

      TQMovie & TQMovie::operator= ( const TQMovie & movie ) +

      +Makes this movie use the same data as movie movie. TQMovies use +explicit sharing. + +

      void TQMovie::pause () +

      +Pauses the progress of the animation. +

      See also unpause(). + +

      Example: movies/main.cpp. +

      bool TQMovie::paused () const +

      +Returns TRUE if the image is paused; otherwise returns FALSE. + +

      Example: movies/main.cpp. +

      void TQMovie::pushData ( const uchar * data, int length ) +

      +Pushes length bytes from data into the movie. length must +be no more than the amount returned by pushSpace() since the +previous call to pushData(). + +

      int TQMovie::pushSpace () const +

      +Returns the maximum amount of data that can currently be pushed +into the movie by a call to pushData(). This is affected by the +initial buffer size, but varies as the movie plays and data is +consumed. + +

      void TQMovie::restart () +

      +Rewinds the movie to the beginning. If the movie has not been +paused, it begins playing again. + +

      Example: movies/main.cpp. +

      bool TQMovie::running () const +

      +Returns TRUE if the image is not single-stepping, not paused, and +not finished; otherwise returns FALSE. + +

      void TQMovie::setBackgroundColor ( const TQColor & c ) +

      +Sets the background color of the pixmap to c. If the background +color isValid(), the pixmap will never have a mask because the +background color will be used in transparent regions of the image. +

      See also backgroundColor(). + +

      void TQMovie::setSpeed ( int percent ) +

      +Sets the movie's play speed as a percentage, to percent. This +is a percentage of the speed dictated by the input data format. +The default is 100 percent. + +

      int TQMovie::speed () const +

      +Returns the movie's play speed as a percentage. The default is 100 +percent. +

      See also setSpeed(). + +

      void TQMovie::step () +

      +Steps forward 1 frame and then pauses. + +

      Example: movies/main.cpp. +

      void TQMovie::step ( int steps ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Steps forward, showing steps frames, and then pauses. + +

      int TQMovie::steps () const +

      +Returns the number of steps remaining after a call to step(). If +the movie is paused, steps() returns 0. If it's running normally +or is finished, steps() returns a negative number. + +

      Example: movies/main.cpp. +

      void TQMovie::unpause () +

      +Unpauses the progress of the animation. +

      See also pause(). + +

      Example: movies/main.cpp. + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqmovie.png b/doc/html/tqmovie.png new file mode 100644 index 000000000..78c79b2cb Binary files /dev/null and b/doc/html/tqmovie.png differ diff --git a/doc/html/tqpaintdevice-h.html b/doc/html/tqpaintdevice-h.html new file mode 100644 index 000000000..4460ee5a2 --- /dev/null +++ b/doc/html/tqpaintdevice-h.html @@ -0,0 +1,450 @@ + + + + + +tqpaintdevice.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqpaintdevice.h

      + +

      This is the verbatim text of the tqpaintdevice.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqpaintdevice.h   3.3.8   edited Jan 11 14:38 $
      +**
      +** Definition of TQPaintDevice class
      +**
      +** Created : 940721
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the kernel module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQPAINTDEVICE_H
      +#define TQPAINTDEVICE_H
      +
      +#ifndef QT_H
      +#include "ntqwindowdefs.h"
      +#include "ntqrect.h"
      +#endif // QT_H
      +
      +class TQIODevice;
      +class TQString;
      +class TQTextItem;
      +
      +
      +#if defined(TQ_WS_X11)
      +struct TQPaintDeviceX11Data;
      +#endif
      +
      +union TQPDevCmdParam {
      +    int			 ival;
      +    int			*ivec;
      +    TQString	        *str;
      +    const TQPoint	*point;
      +    const TQRect		*rect;
      +    const TQPointArray	*ptarr;
      +    const TQPixmap	*pixmap;
      +    const TQImage	*image;
      +    const TQColor	*color;
      +    const TQFont		*font;
      +    const TQPen		*pen;
      +    const TQBrush	*brush;
      +    const TQRegion	*rgn;
      +    const TQWMatrix	*matrix;
      +    const TQTextItem     *textItem;
      +    TQIODevice		*device;
      +};
      +
      +
      +
      +class TQ_EXPORT TQPaintDevice				// device for TQPainter
      +{
      +public:
      +    virtual ~TQPaintDevice();
      +
      +    int		devType() const;
      +    bool	isExtDev() const;
      +    bool	paintingActive() const;
      +
      +    virtual void setResolution( int );
      +    virtual int resolution() const;
      +
      +    // Windows:	  get device context
      +    // X-Windows: get drawable
      +#if defined(TQ_WS_WIN)
      +    virtual HDC		handle() const;
      +#elif defined(TQ_WS_X11)
      +    virtual TQt::HANDLE	handle() const;
      +    virtual TQt::HANDLE  x11RenderHandle() const;
      +#elif defined(TQ_WS_MAC)
      +    virtual TQt::HANDLE      handle() const;
      +#endif
      +
      +#if defined(TQ_WS_X11)
      +    Display 	   *x11Display() const;
      +    int		    x11Screen() const;
      +    int		    x11Depth() const;
      +    int		    x11Cells() const;
      +    TQt::HANDLE	    x11Colormap() const;
      +    bool	    x11DefaultColormap() const;
      +    void	   *x11Visual() const;
      +    bool	    x11DefaultVisual() const;
      +
      +    static Display *x11AppDisplay();
      +    static int	    x11AppScreen();
      +
      +    static int      x11AppDpiX();
      +    static int      x11AppDpiY();
      +    static void     x11SetAppDpiX(int);
      +    static void     x11SetAppDpiY(int);
      +    static int	    x11AppDepth();
      +    static int	    x11AppCells();
      +    static TQt::HANDLE   x11AppRootWindow();
      +    static TQt::HANDLE   x11AppColormap();
      +    static bool     x11AppDefaultColormap();
      +    static void    *x11AppVisual();
      +    static bool	    x11AppDefaultVisual();
      +
      +    // ### in 4.0, the above need to go away, the below needs to take a -1 default
      +    // argument, signifying the default screen...
      +    static int	    x11AppDepth( int screen );
      +    static int	    x11AppCells( int screen );
      +    static TQt::HANDLE   x11AppRootWindow( int screen );
      +    static TQt::HANDLE   x11AppColormap( int screen );
      +    static void    *x11AppVisual( int screen );
      +    static bool     x11AppDefaultColormap( int screen );
      +    static bool	    x11AppDefaultVisual( int screen );
      +    static int      x11AppDpiX( int );
      +    static int      x11AppDpiY( int );
      +    static void     x11SetAppDpiX( int, int );
      +    static void     x11SetAppDpiY( int, int );
      +#endif
      +
      +    enum PDevCmd {
      +	PdcNOP = 0, //  <void>
      +	PdcDrawPoint = 1, // point
      +	PdcDrawFirst = PdcDrawPoint,
      +	PdcMoveTo = 2, // point
      +	PdcLineTo = 3, // point
      +	PdcDrawLine = 4, // point,point
      +	PdcDrawRect = 5, // rect
      +	PdcDrawRoundRect = 6, // rect,ival,ival
      +	PdcDrawEllipse = 7, // rect
      +	PdcDrawArc = 8, // rect,ival,ival
      +	PdcDrawPie = 9, // rect,ival,ival
      +	PdcDrawChord = 10, // rect,ival,ival
      +	PdcDrawLineSegments = 11, // ptarr
      +	PdcDrawPolyline = 12, // ptarr
      +	PdcDrawPolygon = 13, // ptarr,ival
      +	PdcDrawCubicBezier = 14, // ptarr
      +	PdcDrawText = 15, // point,str
      +	PdcDrawTextFormatted = 16, // rect,ival,str
      +	PdcDrawPixmap = 17, // rect,pixmap
      +	PdcDrawImage = 18, // rect,image
      +	PdcDrawText2 = 19, // point,str
      +	PdcDrawText2Formatted = 20, // rect,ival,str
      +	PdcDrawTextItem = 21,
      +	PdcDrawLast = PdcDrawTextItem,
      +
      +	// no painting commands below PdcDrawLast.
      +
      +	PdcBegin = 30, //  <void>
      +	PdcEnd = 31, //  <void>
      +	PdcSave = 32, //  <void>
      +	PdcRestore = 33, //  <void>
      +	PdcSetdev = 34, // device - PRIVATE
      +	PdcSetBkColor = 40, // color
      +	PdcSetBkMode = 41, // ival
      +	PdcSetROP = 42, // ival
      +	PdcSetBrushOrigin = 43, // point
      +	PdcSetFont = 45, // font
      +	PdcSetPen = 46, // pen
      +	PdcSetBrush = 47, // brush
      +	PdcSetTabStops = 48, // ival
      +	PdcSetTabArray = 49, // ival,ivec
      +	PdcSetUnit = 50, // ival
      +	PdcSetVXform = 51, // ival
      +	PdcSetWindow = 52, // rect
      +	PdcSetViewport = 53, // rect
      +	PdcSetWXform = 54, // ival
      +	PdcSetWMatrix = 55, // matrix,ival
      +	PdcSaveWMatrix = 56,
      +	PdcRestoreWMatrix = 57,
      +	PdcSetClip = 60, // ival
      +	PdcSetClipRegion = 61, // rgn
      +
      +	PdcReservedStart = 0, // codes 0-199 are reserved
      +	PdcReservedStop = 199 //   for TQt
      +    };
      +
      +protected:
      +    TQPaintDevice( uint devflags );
      +
      +#if defined(TQ_WS_WIN)
      +    HDC		hdc;				// device context
      +#elif defined(TQ_WS_X11)
      +    TQt::HANDLE	hd;				// handle to drawable
      +    TQt::HANDLE  rendhd;                         // handle to RENDER pict
      +
      +    void		 copyX11Data( const TQPaintDevice * );
      +    void		 cloneX11Data( const TQPaintDevice * );
      +    virtual void	 setX11Data( const TQPaintDeviceX11Data* );
      +    TQPaintDeviceX11Data* getX11Data( bool def=FALSE ) const;
      +#elif defined(TQ_WS_MAC)
      +#if !defined( TQMAC_NO_QUARTZ )
      +    CGContextRef ctx;
      +#endif
      +    void * hd;
      +#endif
      +
      +    virtual bool cmd( int, TQPainter *, TQPDevCmdParam * );
      +    virtual int	 metric( int ) const;
      +    virtual int	 fontMet( TQFont *, int, const char * = 0, int = 0 ) const;
      +    virtual int	 fontInf( TQFont *, int ) const;
      +
      +    ushort	devFlags;			// device flags
      +    ushort	painters;			// refcount
      +
      +    friend class TQPainter;
      +    friend class TQPaintDeviceMetrics;
      +#if defined(TQ_WS_MAC)
      +#ifndef TQMAC_NO_QUARTZ
      +    virtual CGContextRef macCGContext(bool clipped=TRUE) const;
      +#endif
      +    friend TQ_EXPORT void unclippedScaledBitBlt( TQPaintDevice *, int, int, int, int,
      +						const TQPaintDevice *, int, int, int, int, TQt::RasterOp, bool, bool );
      +#else
      +    friend TQ_EXPORT void bitBlt( TQPaintDevice *, int, int,
      +				 const TQPaintDevice *,
      +				 int, int, int, int, TQt::RasterOp, bool );
      +#endif
      +#if defined(TQ_WS_X11)
      +    friend void tqt_init_internal( int *, char **, Display *, TQt::HANDLE, TQt::HANDLE );
      +    friend void tqt_cleanup();
      +#endif
      +
      +private:
      +#if defined(TQ_WS_X11)
      +    static Display *x_appdisplay;
      +    static int	    x_appscreen;
      +
      +    static int	    x_appdepth;
      +    static int	    x_appcells;
      +    static TQt::HANDLE   x_approotwindow;
      +    static TQt::HANDLE   x_appcolormap;
      +    static bool	    x_appdefcolormap;
      +    static void	   *x_appvisual;
      +    static bool     x_appdefvisual;
      +
      +    // ### in 4.0, remove the above, and replace with the below
      +    static int	      *x_appdepth_arr;
      +    static int	      *x_appcells_arr;
      +    static TQt::HANDLE *x_approotwindow_arr;
      +    static TQt::HANDLE *x_appcolormap_arr;
      +    static bool	      *x_appdefcolormap_arr;
      +    static void	     **x_appvisual_arr;
      +    static bool       *x_appdefvisual_arr;
      +
      +    TQPaintDeviceX11Data* x11Data;
      +#endif
      +
      +private:	// Disabled copy constructor and operator=
      +#if defined(TQ_DISABLE_COPY)
      +    TQPaintDevice( const TQPaintDevice & );
      +    TQPaintDevice &operator=( const TQPaintDevice & );
      +#endif
      +};
      +
      +
      +TQ_EXPORT
      +void bitBlt( TQPaintDevice *dst, int dx, int dy,
      +	     const TQPaintDevice *src, int sx=0, int sy=0, int sw=-1, int sh=-1,
      +	     TQt::RasterOp = TQt::CopyROP, bool ignoreMask=FALSE );
      +
      +TQ_EXPORT
      +void bitBlt( TQPaintDevice *dst, int dx, int dy,
      +	     const TQImage *src, int sx=0, int sy=0, int sw=-1, int sh=-1,
      +	     int conversion_flags=0 );
      +
      +
      +#if defined(TQ_WS_X11)
      +
      +struct TQ_EXPORT TQPaintDeviceX11Data : public TQShared {
      +    Display*	x_display;
      +    int		x_screen;
      +    int		x_depth;
      +    int		x_cells;
      +    TQt::HANDLE	x_colormap;
      +    bool	x_defcolormap;
      +    void*	x_visual;
      +    bool	x_defvisual;
      +};
      +
      +#endif
      +
      +/*****************************************************************************
      +  Inline functions
      + *****************************************************************************/
      +
      +inline int TQPaintDevice::devType() const
      +{ return devFlags & TQInternal::DeviceTypeMask; }
      +
      +inline bool TQPaintDevice::isExtDev() const
      +{ return (devFlags & TQInternal::ExternalDevice) != 0; }
      +
      +inline bool TQPaintDevice::paintingActive() const
      +{ return painters != 0; }
      +
      +#if defined(TQ_WS_X11)
      +inline Display *TQPaintDevice::x11Display() const
      +{ return x11Data ? x11Data->x_display : x_appdisplay; }
      +
      +inline int TQPaintDevice::x11Screen() const
      +{ return x11Data ? x11Data->x_screen : x_appscreen; }
      +
      +inline int TQPaintDevice::x11Depth() const
      +{ return x11Data ? x11Data->x_depth : x_appdepth; }
      +
      +inline int TQPaintDevice::x11Cells() const
      +{ return x11Data ? x11Data->x_cells : x_appcells; }
      +
      +inline TQt::HANDLE TQPaintDevice::x11Colormap() const
      +{ return x11Data ? x11Data->x_colormap : x_appcolormap; }
      +
      +inline bool TQPaintDevice::x11DefaultColormap() const
      +{ return x11Data ? x11Data->x_defcolormap : x_appdefcolormap; }
      +
      +inline void *TQPaintDevice::x11Visual() const
      +{ return x11Data ? x11Data->x_visual : x_appvisual; }
      +
      +inline bool TQPaintDevice::x11DefaultVisual() const
      +{ return x11Data ? x11Data->x_defvisual : x_appdefvisual; }
      +
      +inline Display *TQPaintDevice::x11AppDisplay()
      +{ return x_appdisplay; }
      +
      +inline int TQPaintDevice::x11AppScreen()
      +{ return x_appscreen; }
      +
      +inline int TQPaintDevice::x11AppDepth( int screen )
      +{ return x_appdepth_arr[ screen == -1 ? x_appscreen : screen ]; }
      +
      +inline int TQPaintDevice::x11AppCells( int screen )
      +{ return x_appcells_arr[ screen == -1 ? x_appscreen : screen ]; }
      +
      +inline TQt::HANDLE TQPaintDevice::x11AppRootWindow( int screen )
      +{ return x_approotwindow_arr[ screen == -1 ? x_appscreen : screen ]; }
      +
      +inline TQt::HANDLE TQPaintDevice::x11AppColormap( int screen )
      +{ return x_appcolormap_arr[ screen == -1 ? x_appscreen : screen ]; }
      +
      +inline bool TQPaintDevice::x11AppDefaultColormap( int screen )
      +{ return x_appdefcolormap_arr[ screen == -1 ? x_appscreen : screen ]; }
      +
      +inline void *TQPaintDevice::x11AppVisual( int screen )
      +{ return x_appvisual_arr[ screen == -1 ? x_appscreen : screen ]; }
      +
      +inline bool TQPaintDevice::x11AppDefaultVisual( int screen )
      +{ return x_appdefvisual_arr[ screen == -1 ? x_appscreen : screen ]; }
      +
      +inline int TQPaintDevice::x11AppDepth()
      +{ return x_appdepth; }
      +
      +inline int TQPaintDevice::x11AppCells()
      +{ return x_appcells; }
      +
      +inline TQt::HANDLE TQPaintDevice::x11AppRootWindow()
      +{ return x_approotwindow; }
      +
      +inline TQt::HANDLE TQPaintDevice::x11AppColormap()
      +{ return x_appcolormap; }
      +
      +inline bool TQPaintDevice::x11AppDefaultColormap()
      +{ return x_appdefcolormap; }
      +
      +inline void *TQPaintDevice::x11AppVisual()
      +{ return x_appvisual; }
      +
      +inline bool TQPaintDevice::x11AppDefaultVisual()
      +{ return x_appdefvisual; }
      +
      +#endif // TQ_WS_X11
      +
      +
      +TQ_EXPORT
      +inline void bitBlt( TQPaintDevice *dst, const TQPoint &dp,
      +		    const TQPaintDevice *src, const TQRect &sr =TQRect(0,0,-1,-1),
      +		    TQt::RasterOp rop=TQt::CopyROP, bool ignoreMask=FALSE )
      +{
      +    bitBlt( dst, dp.x(), dp.y(), src, sr.x(), sr.y(), sr.width(), sr.height(),
      +	    rop, ignoreMask );
      +}
      +
      +
      +
      +
      +#endif // TQPAINTDEVICE_H
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqpaintdevice-members.html b/doc/html/tqpaintdevice-members.html new file mode 100644 index 000000000..971d0d4e4 --- /dev/null +++ b/doc/html/tqpaintdevice-members.html @@ -0,0 +1,73 @@ + + + + + +TQPaintDevice Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQPaintDevice

      + +

      This is the complete list of member functions for +TQPaintDevice, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqpaintdevice.html b/doc/html/tqpaintdevice.html new file mode 100644 index 000000000..082af7e69 --- /dev/null +++ b/doc/html/tqpaintdevice.html @@ -0,0 +1,464 @@ + + + + + +TQPaintDevice Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQPaintDevice Class Reference

      + +

      The TQPaintDevice class is the base class of objects that +can be painted. +More... +

      #include <tqpaintdevice.h> +

      Inherited by TQWidget, TQPixmap, TQPicture, and TQPrinter. +

      List of all member functions. +

      Public Members

      + +

      Static Public Members

      + +

      Protected Members

      +
        +
      • TQPaintDevice ( uint devflags )
      • +
      • virtual bool cmd ( int, TQPainter *, TQPDevCmdParam * )
      • +
      +

      Related Functions

      +
        +
      • void bitBlt ( TQPaintDevice * dst, int dx, int dy, const TQPaintDevice * src, int sx, int sy, int sw, int sh, TQt::RasterOp rop, bool ignoreMask )
      • +
      • void bitBlt ( TQPaintDevice * dst, const TQPoint & dp, const TQPaintDevice * src, const TQRect & sr, RasterOp rop )
      • +
      +

      Detailed Description

      + + +The TQPaintDevice class is the base class of objects that +can be painted. +

      + +

      A paint device is an abstraction of a two-dimensional space that +can be drawn using a TQPainter. The drawing capabilities are +implemented by the subclasses TQWidget, TQPixmap, TQPicture and +TQPrinter. +

      The default coordinate system of a paint device has its origin +located at the top-left position. X increases to the right and Y +increases downward. The unit is one pixel. There are several ways +to set up a user-defined coordinate system using the painter, for +example, using TQPainter::setWorldMatrix(). +

      Example (draw on a paint device): +

      +    void MyWidget::paintEvent( TQPaintEvent * )
      +    {
      +        TQPainter p;                       // our painter
      +        p.begin( this );                  // start painting the widget
      +        p.setPen( red );                  // red outline
      +        p.setBrush( yellow );             // yellow fill
      +        p.drawEllipse( 10, 20, 100,100 ); // 100x100 ellipse at position (10, 20)
      +        p.end();                          // painting done
      +    }
      +    
      + +

      The bit block transfer is an extremely useful operation for +copying pixels from one paint device to another (or to itself). It +is implemented as the global function bitBlt(). +

      Example (scroll widget contents 10 pixels to the right): +

      +    bitBlt( myWidget, 10, 0, myWidget );
      +    
      + +

      Warning: TQt requires that a TQApplication object exists before +any paint devices can be created. Paint devices access window +system resources, and these resources are not initialized before +an application object is created. +

      See also Graphics Classes and Image Processing Classes. + +


      Member Function Documentation

      +

      TQPaintDevice::TQPaintDevice ( uint devflags ) [protected] +

      +Constructs a paint device with internal flags devflags. This +constructor can be invoked only from TQPaintDevice subclasses. + +

      TQPaintDevice::~TQPaintDevice () [virtual] +

      +Destroys the paint device and frees window system resources. + +

      bool TQPaintDevice::cmd ( int, TQPainter *, TQPDevCmdParam * ) [virtual protected] +

      +Internal virtual function that interprets drawing commands from +the painter. +

      Implemented by subclasses that have no direct support for drawing +graphics (external paint devices, for example, TQPicture). + +

      TQt::HANDLE TQPaintDevice::handle () const [virtual] +

      +Returns the window system handle of the paint device, for +low-level access. Using this function is not portable. +

      The HANDLE type varies with platform; see tqpaintdevice.h and +ntqwindowdefs.h for details. +

      See also x11Display(). + +

      bool TQPaintDevice::isExtDev () const +

      + +

      Returns TRUE if the device is an external paint device; otherwise +returns FALSE. +

      External paint devices cannot be bitBlt()'ed from. TQPicture and +TQPrinter are external paint devices. + +

      bool TQPaintDevice::paintingActive () const +

      + +

      Returns TRUE if the device is being painted, i.e. someone has +called TQPainter::begin() but not yet called TQPainter::end() for +this device; otherwise returns FALSE. +

      See also TQPainter::isActive(). + +

      int TQPaintDevice::x11AppCells () [static] +

      + +

      Returns the number of entries in the colormap for the default +screen of the X display global to the application (X11 +only). Using this function is not portable. +

      See also x11Colormap(). + +

      int TQPaintDevice::x11AppCells ( int screen ) [static] +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      Returns the number of entries in the colormap for screen screen +of the X display global to the application (X11 only). Using this +function is not portable. +

      See also x11Colormap(). + +

      TQt::HANDLE TQPaintDevice::x11AppColormap () [static] +

      + +

      Returns the colormap for the default screen of the X display +global to the application (X11 only). Using this function is not +portable. +

      See also x11Cells(). + +

      TQt::HANDLE TQPaintDevice::x11AppColormap ( int screen ) [static] +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      Returns the colormap for screen screen of the X display global +to the application (X11 only). Using this function is not +portable. +

      See also x11Cells(). + +

      bool TQPaintDevice::x11AppDefaultColormap () [static] +

      + +

      Returns the default colormap for the default screen of the X +display global to the application (X11 only). Using this function +is not portable. +

      See also x11Cells(). + +

      bool TQPaintDevice::x11AppDefaultColormap ( int screen ) [static] +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      Returns the default colormap for screen screen of the X display +global to the application (X11 only). Using this function is not +portable. +

      See also x11Cells(). + +

      bool TQPaintDevice::x11AppDefaultVisual () [static] +

      + +

      Returns TRUE if the Visual used is the default for the default +screen of the X display global to the application (X11 only); +otherwise returns FALSE. Using this function is not portable. + +

      bool TQPaintDevice::x11AppDefaultVisual ( int screen ) [static] +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      Returns TRUE if the Visual used is the default for screen +screen of the X display global to the application (X11 only); +otherwise returns FALSE. Using this function is not portable. + +

      int TQPaintDevice::x11AppDepth ( int screen ) [static] +

      + +

      Returns the depth for screen screen of the X display global to +the application (X11 only). Using this function is not portable. +

      See also TQPixmap::defaultDepth(). + +

      int TQPaintDevice::x11AppDepth () [static] +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      Returns the depth for the default screen of the X display global +to the application (X11 only). Using this function is not +portable. +

      See also TQPixmap::defaultDepth(). + +

      Display * TQPaintDevice::x11AppDisplay () [static] +

      + +

      Returns a pointer to the X display global to the application (X11 +only). Using this function is not portable. +

      See also handle(). + +

      int TQPaintDevice::x11AppDpiX ( int screen ) [static] +

      +Returns the horizontal DPI of the X display (X11 only) for screen +screen. Using this function is not portable. See +TQPaintDeviceMetrics for portable access to related information. +Using this function is not portable. +

      See also x11AppDpiY(), x11SetAppDpiX(), and TQPaintDeviceMetrics::logicalDpiX(). + +

      int TQPaintDevice::x11AppDpiX () [static] +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns the horizontal DPI of the X display (X11 only) for the +default screen. Using this function is not portable. See +TQPaintDeviceMetrics for portable access to related information. +Using this function is not portable. + +

      int TQPaintDevice::x11AppDpiY ( int screen ) [static] +

      +Returns the vertical DPI of the X11 display (X11 only) for screen +screen. Using this function is not portable. See +TQPaintDeviceMetrics for portable access to related information. +Using this function is not portable. +

      See also x11AppDpiX(), x11SetAppDpiY(), and TQPaintDeviceMetrics::logicalDpiY(). + +

      int TQPaintDevice::x11AppDpiY () [static] +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns the vertical DPI of the X11 display (X11 only) for the +default screen. Using this function is not portable. See +TQPaintDeviceMetrics for portable access to related information. +Using this function is not portable. +

      See also x11AppDpiX(), x11SetAppDpiY(), and TQPaintDeviceMetrics::logicalDpiY(). + +

      TQt::HANDLE TQPaintDevice::x11AppRootWindow () [static] +

      + +

      Returns the root window for the default screen of the X display +global to the applicatoin (X11 only). Using this function is not +portable. + +

      TQt::HANDLE TQPaintDevice::x11AppRootWindow ( int screen ) [static] +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      Returns the root window for screen screen of the X display +global to the applicatoin (X11 only). Using this function is not +portable. + +

      int TQPaintDevice::x11AppScreen () [static] +

      + +

      Returns the screen number on the X display global to the +application (X11 only). Using this function is not portable. + +

      void * TQPaintDevice::x11AppVisual () [static] +

      + +

      Returns the Visual for the default screen of the X display global +to the application (X11 only). Using this function is not +portable. + +

      void * TQPaintDevice::x11AppVisual ( int screen ) [static] +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      +

      Returns the Visual for screen screen of the X display global to +the application (X11 only). Using this function is not portable. + +

      int TQPaintDevice::x11Cells () const +

      + +

      Returns the number of entries in the colormap of the X display for +the paint device (X11 only). Using this function is not portable. +

      See also x11Colormap(). + +

      TQt::HANDLE TQPaintDevice::x11Colormap () const +

      + +

      Returns the colormap of the X display for the paint device (X11 +only). Using this function is not portable. +

      See also x11Cells(). + +

      bool TQPaintDevice::x11DefaultColormap () const +

      + +

      Returns the default colormap of the X display for the paint device +(X11 only). Using this function is not portable. +

      See also x11Cells(). + +

      bool TQPaintDevice::x11DefaultVisual () const +

      + +

      Returns the default Visual of the X display for the paint device +(X11 only). Using this function is not portable. + +

      int TQPaintDevice::x11Depth () const +

      + +

      Returns the depth of the X display for the paint device (X11 +only). Using this function is not portable. +

      See also TQPixmap::defaultDepth(). + +

      Display * TQPaintDevice::x11Display () const +

      + +

      Returns a pointer to the X display for the paint device (X11 +only). Using this function is not portable. +

      See also handle(). + +

      int TQPaintDevice::x11Screen () const +

      + +

      Returns the screen number on the X display for the paint device +(X11 only). Using this function is not portable. + +

      void TQPaintDevice::x11SetAppDpiX ( int dpi, int screen ) [static] +

      +Sets the value returned by x11AppDpiX() to dpi for screen +screen. The default is determined by the display configuration. +Changing this value will alter the scaling of fonts and many other +metrics and is not recommended. Using this function is not +portable. +

      See also x11SetAppDpiY(). + +

      void TQPaintDevice::x11SetAppDpiX ( int dpi ) [static] +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Sets the value returned by x11AppDpiX() to dpi for the default +screen. The default is determined by the display configuration. +Changing this value will alter the scaling of fonts and many other +metrics and is not recommended. Using this function is not +portable. +

      +

      void TQPaintDevice::x11SetAppDpiY ( int dpi, int screen ) [static] +

      +Sets the value returned by x11AppDpiY() to dpi for screen +screen. The default is determined by the display configuration. +Changing this value will alter the scaling of fonts and many other +metrics and is not recommended. Using this function is not +portable. +

      See also x11SetAppDpiX(). + +

      void TQPaintDevice::x11SetAppDpiY ( int dpi ) [static] +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Sets the value returned by x11AppDpiY() to dpi for the default +screen. The default is determined by the display configuration. +Changing this value will alter the scaling of fonts and many other +metrics and is not recommended. Using this function is not +portable. + +

      void * TQPaintDevice::x11Visual () const +

      + +

      Returns the Visual of the X display for the paint device (X11 +only). Using this function is not portable. + +


      Related Functions

      +

      void bitBlt ( TQPaintDevice * dst, int dx, int dy, const TQPaintDevice * src, int sx, int sy, int sw, int sh, TQt::RasterOp rop, bool ignoreMask ) +

      + +

      Copies a block of pixels from src to dst, perhaps merging +each pixel according to the raster operation +rop. sx, sy +is the top-left pixel in src (0, 0) by default, dx, dy is +the top-left position in dst and sw, sh is the size of +the copied block (all of src by default). +

      The most common values for rop are CopyROP and XorROP; the TQt::RasterOp documentation defines all the possible values. +

      If ignoreMask is FALSE (the default) and src is a +masked TQPixmap, the entire blit is masked by src->mask(). +

      If src, dst, sw or sh is 0, bitBlt() does nothing. If +sw or sh is negative bitBlt() copies starting at sx (and +respectively, sy) and ending at the right end (respectively, +bottom) of src. +

      src must be a TQWidget or TQPixmap. You cannot blit from a +TQPrinter, for example. bitBlt() does nothing if you attempt to +blit from an unsupported device. +

      bitBlt() does nothing if src has a greater depth than dst. +If you need to for example, draw a 24-bit pixmap on an 8-bit +widget, you must use drawPixmap(). + +

      void bitBlt ( TQPaintDevice * dst, const TQPoint & dp, const TQPaintDevice * src, const TQRect & sr, RasterOp rop ) +

      + +

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Overloaded bitBlt() with the destination point dp and source +rectangle sr. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqpaintdevicemetrics-h.html b/doc/html/tqpaintdevicemetrics-h.html new file mode 100644 index 000000000..e96391f58 --- /dev/null +++ b/doc/html/tqpaintdevicemetrics-h.html @@ -0,0 +1,128 @@ + + + + + +tqpaintdevicemetrics.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqpaintdevicemetrics.h

      + +

      This is the verbatim text of the tqpaintdevicemetrics.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqpaintdevicemetrics.h   3.3.8   edited Jan 11 14:38 $
      +**
      +** Definition of TQPaintDeviceMetrics class
      +**
      +** Created : 941109
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the kernel module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQPAINTDEVICEMETRICS_H
      +#define TQPAINTDEVICEMETRICS_H
      +
      +#ifndef QT_H
      +#include "tqpaintdevice.h"
      +#endif // QT_H
      +
      +
      +class TQ_EXPORT TQPaintDeviceMetrics			// paint device metrics
      +{
      +public:
      +    TQPaintDeviceMetrics( const TQPaintDevice * );
      +
      +    enum {
      +	PdmWidth = 1,
      +	PdmHeight,
      +	PdmWidthMM,
      +	PdmHeightMM,
      +	PdmNumColors,
      +	PdmDepth,
      +	PdmDpiX,
      +	PdmDpiY,
      +	PdmPhysicalDpiX,
      +	PdmPhysicalDpiY
      +    };
      +
      +    int	  width()	const	{ return (int)pdev->metric(PdmWidth); }
      +    int	  height()	const	{ return (int)pdev->metric(PdmHeight); }
      +    int	  widthMM()	const	{ return (int)pdev->metric(PdmWidthMM); }
      +    int	  heightMM()	const	{ return (int)pdev->metric(PdmHeightMM); }
      +    int	  logicalDpiX()	const	{ return (int)pdev->metric(PdmDpiX); }
      +    int	  logicalDpiY()	const	{ return (int)pdev->metric(PdmDpiY); }
      +    int	  physicalDpiX()const	{ return (int)pdev->metric(PdmPhysicalDpiX); }
      +    int	  physicalDpiY()const	{ return (int)pdev->metric(PdmPhysicalDpiY); }
      +    int	  numColors()	const	{ return (int)pdev->metric(PdmNumColors); }
      +    int	  depth()	const	{ return (int)pdev->metric(PdmDepth); }
      +
      +private:
      +    TQPaintDevice *pdev;
      +};
      +
      +
      +#endif // TQPAINTDEVICEMETRICS_H
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqpaintdevicemetrics-members.html b/doc/html/tqpaintdevicemetrics-members.html new file mode 100644 index 000000000..ec33cb7e2 --- /dev/null +++ b/doc/html/tqpaintdevicemetrics-members.html @@ -0,0 +1,55 @@ + + + + + +TQPaintDeviceMetrics Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQPaintDeviceMetrics

      + +

      This is the complete list of member functions for +TQPaintDeviceMetrics, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqpaintdevicemetrics.html b/doc/html/tqpaintdevicemetrics.html new file mode 100644 index 000000000..b551c47e4 --- /dev/null +++ b/doc/html/tqpaintdevicemetrics.html @@ -0,0 +1,150 @@ + + + + + +TQPaintDeviceMetrics Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQPaintDeviceMetrics Class Reference

      + +

      The TQPaintDeviceMetrics class provides information about a +paint device. +More... +

      #include <tqpaintdevicemetrics.h> +

      List of all member functions. +

      Public Members

      + +

      Detailed Description

      + + +The TQPaintDeviceMetrics class provides information about a +paint device. +

      + +

      Sometimes when drawing graphics it is necessary to obtain +information about the physical characteristics of a paint device. +This class provides the information. For example, to compute the +aspect ratio of a paint device: +

      +        TQPaintDeviceMetrics pdm( myWidget );
      +        double aspect = (double)pdm.widthMM() / (double)pdm.heightMM();
      +    
      + +

      TQPaintDeviceMetrics contains methods to provide the width and +height of a device in both pixels (width() and height()) and +millimeters (widthMM() and heightMM()), the number of colors the +device supports (numColors()), the number of bit planes (depth()), +and the resolution of the device (logicalDpiX() and +logicalDpiY()). +

      It is not always possible for TQPaintDeviceMetrics to compute the +values you ask for, particularly for external devices. The +ultimate example is asking for the resolution of of a TQPrinter +that is set to "print to file": who knows what printer that file +will end up on? +

      See also Graphics Classes and Image Processing Classes. + +


      Member Function Documentation

      +

      TQPaintDeviceMetrics::TQPaintDeviceMetrics ( const TQPaintDevice * pd ) +

      +Constructs a metric for the paint device pd. + +

      int TQPaintDeviceMetrics::depth () const +

      + +

      Returns the bit depth (number of bit planes) of the paint device. + +

      int TQPaintDeviceMetrics::height () const +

      + +

      Returns the height of the paint device in default coordinate +system units (e.g. pixels for TQPixmap and TQWidget). + +

      Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. +

      int TQPaintDeviceMetrics::heightMM () const +

      + +

      Returns the height of the paint device, measured in millimeters. + +

      int TQPaintDeviceMetrics::logicalDpiX () const +

      + +

      Returns the horizontal resolution of the device in dots per inch, +which is used when computing font sizes. For X, this is usually +the same as could be computed from widthMM(), but it varies on +Windows. + +

      Example: qwerty/qwerty.cpp. +

      int TQPaintDeviceMetrics::logicalDpiY () const +

      + +

      Returns the vertical resolution of the device in dots per inch, +which is used when computing font sizes. For X, this is usually +the same as could be computed from heightMM(), but it varies on +Windows. + +

      Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, and mdi/application.cpp. +

      int TQPaintDeviceMetrics::numColors () const +

      + +

      Returns the number of different colors available for the paint +device. Since this value is an int will not be sufficient to represent +the number of colors on 32 bit displays, in which case INT_MAX is +returned instead. + +

      int TQPaintDeviceMetrics::width () const +

      + +

      Returns the width of the paint device in default coordinate system +units (e.g. pixels for TQPixmap and TQWidget). + +

      Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. +

      int TQPaintDeviceMetrics::widthMM () const +

      + +

      Returns the width of the paint device, measured in millimeters. + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqpainter-h.html b/doc/html/tqpainter-h.html new file mode 100644 index 000000000..ab9943790 --- /dev/null +++ b/doc/html/tqpainter-h.html @@ -0,0 +1,743 @@ + + + + + +tqpainter.h Include File + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      tqpainter.h

      + +

      This is the verbatim text of the tqpainter.h include file. It is provided only for illustration; the copyright remains with Trolltech. +


      +
      +/****************************************************************************
      +** $Id: qt/tqpainter.h   3.3.8   edited Jan 11 14:38 $
      +**
      +** Definition of TQPainter class
      +**
      +** Created : 940112
      +**
      +** Copyright (C) 1992-2007 Trolltech ASA.  All rights reserved.
      +**
      +** This file is part of the kernel module of the TQt GUI Toolkit.
      +**
      +** This file may be used under the terms of the GNU General Public
      +** License versions 2.0 or 3.0 as published by the Free Software
      +** Foundation and appearing in the file LICENSE.GPL included in the
      +** packaging of this file. Alternatively you may (at your option) use any
      +** later version of the GNU General Public License if such license has
      +** been publicly approved by Trolltech ASA (or its successors, if any)
      +** and the KDE Free TQt Foundation.
      +**
      +** Please review the following information to ensure GNU General
      +** Public Licensing requirements will be met:
      +** http://trolltech.com/products/qt/licenses/licensing/opensource/.
      +** If you are unsure which license is appropriate for your use, please
      +** review the following information:
      +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
      +** or contact the sales department at sales@trolltech.com.
      +**
      +** This file may be used under the terms of the Q Public License as
      +** defined by Trolltech ASA and appearing in the file LICENSE.TQPL
      +** included in the packaging of this file.  Licensees holding valid TQt
      +** Commercial licenses may use this file in accordance with the TQt
      +** Commercial License Agreement provided with the Software.
      +**
      +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
      +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
      +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted
      +** herein.
      +**
      +**********************************************************************/
      +
      +#ifndef TQPAINTER_H
      +#define TQPAINTER_H
      +
      +
      +#ifndef QT_H
      +#include "tqcolor.h"
      +#include "tqfontmetrics.h"
      +#include "tqfontinfo.h"
      +#include "ntqregion.h"
      +#include "ntqpen.h"
      +#include "tqbrush.h"
      +#include "ntqpointarray.h"
      +#include "ntqwmatrix.h"
      +#endif // QT_H
      +
      +class TQTextCodec;
      +class TQTextParag;
      +class TQPaintDevice;
      +class TQTextItem;
      +#if defined( TQ_WS_MAC )
      +class TQMacSavedPortInfo;
      +#endif
      +class TQPainterPrivate;
      +
      +class TQ_EXPORT TQPainter : public TQt
      +{
      +public:
      +    enum CoordinateMode { CoordDevice, CoordPainter };
      +
      +    TQPainter();
      +    TQPainter( const TQPaintDevice *, bool unclipped = FALSE );
      +    TQPainter( const TQPaintDevice *, const TQWidget *, bool unclipped = FALSE );
      +   ~TQPainter();
      +
      +    bool	begin( const TQPaintDevice *, bool unclipped = FALSE );
      +    bool	begin( const TQPaintDevice *, const TQWidget *, bool unclipped = FALSE );
      +    bool	end();
      +    TQPaintDevice *device() const;
      +
      +    static void redirect( TQPaintDevice *pdev, TQPaintDevice *replacement );
      +    static TQPaintDevice *redirect( TQPaintDevice *pdev );
      +
      +    bool	isActive() const;
      +
      +    void	flush( const TQRegion &region, CoordinateMode cm = CoordDevice );
      +    void	flush();
      +    void	save();
      +    void	restore();
      +
      +  // Drawing tools
      +
      +    TQFontMetrics fontMetrics()	const;
      +    TQFontInfo	 fontInfo()	const;
      +
      +    const TQFont &font()		const;
      +    void	setFont( const TQFont & );
      +    const TQPen &pen()		const;
      +    void	setPen( const TQPen & );
      +    void	setPen( PenStyle );
      +    void	setPen( const TQColor & );
      +    const TQBrush &brush()	const;
      +    void	setBrush( const TQBrush & );
      +    void	setBrush( BrushStyle );
      +    void	setBrush( const TQColor & );
      +    TQPoint	pos() const;
      +
      +  // Drawing attributes/modes
      +
      +    const TQColor &backgroundColor() const;
      +    void	setBackgroundColor( const TQColor & );
      +    BGMode	backgroundMode() const;
      +    void	setBackgroundMode( BGMode );
      +    RasterOp	rasterOp()	const;
      +    void	setRasterOp( RasterOp );
      +    const TQPoint &brushOrigin() const;
      +    void	setBrushOrigin( int x, int y );
      +    void	setBrushOrigin( const TQPoint & );
      +
      +  // Scaling and transformations
      +
      +//    PaintUnit unit()	       const;		// get set painter unit
      +//    void	setUnit( PaintUnit );		// NOT IMPLEMENTED!!!
      +
      +    bool	hasViewXForm() const;
      +    bool	hasWorldXForm() const;
      +
      +#ifndef TQT_NO_TRANSFORMATIONS
      +    void	setViewXForm( bool );		// set xform on/off
      +    TQRect	window()       const;		// get window
      +    void	setWindow( const TQRect & );	// set window
      +    void	setWindow( int x, int y, int w, int h );
      +    TQRect	viewport()   const;		// get viewport
      +    void	setViewport( const TQRect & );	// set viewport
      +    void	setViewport( int x, int y, int w, int h );
      +
      +    void	setWorldXForm( bool );		// set world xform on/off
      +    const TQWMatrix &worldMatrix() const;	// get/set world xform matrix
      +    void	setWorldMatrix( const TQWMatrix &, bool combine=FALSE );
      +
      +    void	saveWorldMatrix();
      +    void	restoreWorldMatrix();
      +
      +    void	scale( double sx, double sy );
      +    void	shear( double sh, double sv );
      +    void	rotate( double a );
      +#endif
      +    void	translate( double dx, double dy );
      +    void	resetXForm();
      +    double	translationX() const;
      +    double	translationY() const;
      +
      +    TQPoint	xForm( const TQPoint & ) const;	// map virtual -> device
      +    TQRect	xForm( const TQRect & )	const;
      +    TQPointArray xForm( const TQPointArray & ) const;
      +    TQPointArray xForm( const TQPointArray &, int index, int npoints ) const;
      +    TQPoint	xFormDev( const TQPoint & ) const; // map device -> virtual
      +    TQRect	xFormDev( const TQRect & )  const;
      +    TQPointArray xFormDev( const TQPointArray & ) const;
      +    TQPointArray xFormDev( const TQPointArray &, int index, int npoints ) const;
      +
      +  // Clipping
      +
      +    void	setClipping( bool );		// set clipping on/off
      +    bool	hasClipping() const;
      +    TQRegion clipRegion( CoordinateMode = CoordDevice ) const;
      +    void	setClipRect( const TQRect &, CoordinateMode = CoordDevice );	// set clip rectangle
      +    void	setClipRect( int x, int y, int w, int h, CoordinateMode = CoordDevice );
      +    void	setClipRegion( const TQRegion &, CoordinateMode = CoordDevice );// set clip region
      +
      +  // Graphics drawing functions
      +
      +    void	drawPoint( int x, int y );
      +    void	drawPoint( const TQPoint & );
      +    void	drawPoints( const TQPointArray& a,
      +			    int index=0, int npoints=-1 );
      +    void	moveTo( int x, int y );
      +    void	moveTo( const TQPoint & );
      +    void	lineTo( int x, int y );
      +    void	lineTo( const TQPoint & );
      +    void	drawLine( int x1, int y1, int x2, int y2 );
      +    void	drawLine( const TQPoint &, const TQPoint & );
      +    void	drawRect( int x, int y, int w, int h );
      +    void	drawRect( const TQRect & );
      +    void	drawWinFocusRect( int x, int y, int w, int h );
      +    void	drawWinFocusRect( int x, int y, int w, int h,
      +				  const TQColor &bgColor );
      +    void	drawWinFocusRect( const TQRect & );
      +    void	drawWinFocusRect( const TQRect &,
      +				  const TQColor &bgColor );
      +    void	drawRoundRect( int x, int y, int w, int h, int = 25, int = 25 );
      +    void	drawRoundRect( const TQRect &, int = 25, int = 25 );
      +    void	drawEllipse( int x, int y, int w, int h );
      +    void	drawEllipse( const TQRect & );
      +    void	drawArc( int x, int y, int w, int h, int a, int alen );
      +    void	drawArc( const TQRect &, int a, int alen );
      +    void	drawPie( int x, int y, int w, int h, int a, int alen );
      +    void	drawPie( const TQRect &, int a, int alen );
      +    void	drawChord( int x, int y, int w, int h, int a, int alen );
      +    void	drawChord( const TQRect &, int a, int alen );
      +    void	drawLineSegments( const TQPointArray &,
      +				  int index=0, int nlines=-1 );
      +    void	drawPolyline( const TQPointArray &,
      +			      int index=0, int npoints=-1 );
      +    void	drawPolygon( const TQPointArray &, bool winding=FALSE,
      +			     int index=0, int npoints=-1 );
      +    void	drawConvexPolygon( const TQPointArray &,
      +			     int index=0, int npoints=-1 );
      +#ifndef TQT_NO_BEZIER
      +    void	drawCubicBezier( const TQPointArray &, int index=0 );
      +#endif
      +    void	drawPixmap( int x, int y, const TQPixmap &,
      +			    int sx=0, int sy=0, int sw=-1, int sh=-1 );
      +    void	drawPixmap( const TQPoint &, const TQPixmap &,
      +			    const TQRect &sr );
      +    void	drawPixmap( const TQPoint &, const TQPixmap & );
      +    void	drawPixmap( const TQRect &, const TQPixmap & );
      +    void	drawImage( int x, int y, const TQImage &,
      +			   int sx = 0, int sy = 0, int sw = -1, int sh = -1,
      +			   int conversionFlags = 0 );
      +    void	drawImage( const TQPoint &, const TQImage &,
      +			   const TQRect &sr, int conversionFlags = 0 );
      +    void	drawImage( const TQPoint &, const TQImage &,
      +			   int conversion_flags = 0 );
      +    void	drawImage( const TQRect &, const TQImage & );
      +    void	drawTiledPixmap( int x, int y, int w, int h, const TQPixmap &,
      +				 int sx=0, int sy=0 );
      +    void	drawTiledPixmap( const TQRect &, const TQPixmap &,
      +				 const TQPoint & );
      +    void	drawTiledPixmap( const TQRect &, const TQPixmap & );
      +#ifndef TQT_NO_PICTURE
      +    void	drawPicture( const TQPicture & );
      +    void	drawPicture( int x, int y, const TQPicture & );
      +    void	drawPicture( const TQPoint &, const TQPicture & );
      +#endif
      +
      +    void	fillRect( int x, int y, int w, int h, const TQBrush & );
      +    void	fillRect( const TQRect &, const TQBrush & );
      +    void	eraseRect( int x, int y, int w, int h );
      +    void	eraseRect( const TQRect & );
      +
      +  // Text drawing functions
      +
      +    enum TextDirection {
      +	Auto,
      +	RTL,
      +	LTR
      +    };
      +
      +    void	drawText( int x, int y, const TQString &, int len = -1, TextDirection dir = Auto );
      +    void	drawText( const TQPoint &, const TQString &, int len = -1, TextDirection dir = Auto );
      +
      +    void     drawText( int x, int y, const TQString &, int pos, int len, TextDirection dir = Auto );
      +    void     drawText( const TQPoint &p, const TQString &, int pos, int len, TextDirection dir = Auto );
      +
      +    void	drawText( int x, int y, int w, int h, int flags,
      +			  const TQString&, int len = -1, TQRect *br=0,
      +			  TQTextParag **intern=0 );
      +    void	drawText( const TQRect &, int flags,
      +			  const TQString&, int len = -1, TQRect *br=0,
      +			  TQTextParag **intern=0 );
      +
      +    void drawTextItem( int x, int y, const TQTextItem &ti, int textflags = 0 );
      +    void drawTextItem( const TQPoint& p, const TQTextItem &ti, int textflags = 0 );
      +
      +    TQRect	boundingRect( int x, int y, int w, int h, int flags,
      +			      const TQString&, int len = -1, TQTextParag **intern=0 );
      +    TQRect	boundingRect( const TQRect &, int flags,
      +			      const TQString&, int len = -1, TQTextParag **intern=0 );
      +
      +    int		tabStops() const;
      +    void	setTabStops( int );
      +    int	       *tabArray() const;
      +    void	setTabArray( int * );
      +
      +    // Other functions
      +
      +#if defined(TQ_WS_WIN)
      +    HDC		handle() const;
      +#elif defined(TQ_WS_X11) || defined(TQ_WS_MAC)
      +    HANDLE	handle() const;
      +#endif
      +
      +
      +    static void initialize();
      +    static void cleanup();
      +
      +private:
      +    void	init();
      +    void        destroy();
      +    void	updateFont();
      +    void	updatePen();
      +    void	updateBrush();
      +#ifndef TQT_NO_TRANSFORMATIONS
      +    void	updateXForm();
      +    void	updateInvXForm();
      +#endif
      +    void	map( int, int, int *rx, int *ry ) const;
      +    void	map( int, int, int, int, int *, int *, int *, int * ) const;
      +    void	mapInv( int, int, int *, int * ) const;
      +    void	mapInv( int, int, int, int, int *, int *, int *, int * ) const;
      +    void	drawPolyInternal( const TQPointArray &, bool close=TRUE );
      +    void	drawWinFocusRect( int x, int y, int w, int h, bool xorPaint,
      +				  const TQColor &penColor );
      +
      +    enum { IsActive=0x01, ExtDev=0x02, IsStartingUp=0x04, NoCache=0x08,
      +	   VxF=0x10, WxF=0x20, ClipOn=0x40, SafePolygon=0x80, MonoDev=0x100,
      +	   DirtyFont=0x200, DirtyPen=0x400, DirtyBrush=0x800,
      +	   RGBColor=0x1000, FontMet=0x2000, FontInf=0x4000, CtorBegin=0x8000,
      +           UsePrivateCx = 0x10000, VolatileDC = 0x20000, TQt2Compat = 0x40000 };
      +    uint	flags;
      +    bool	testf( uint b ) const { return (flags&b)!=0; }
      +    void	setf( uint b )	{ flags |= b; }
      +    void	setf( uint b, bool v );
      +    void	clearf( uint b )	{ flags &= (uint)(~b); }
      +    void	fix_neg_rect( int *x, int *y, int *w, int *h );
      +
      +    TQPainterPrivate *d;
      +    TQPaintDevice *pdev;
      +    TQColor	bg_col;
      +    uchar	bg_mode;
      +    uchar	rop;
      +    uchar	pu;
      +    TQPoint	bro;
      +    TQFont	cfont;
      +    TQFont *pfont; 	// font used for metrics (might be different for printers)
      +    TQPen	cpen;
      +    TQBrush	cbrush;
      +    TQRegion	crgn;
      +    int		tabstops;
      +    int	       *tabarray;
      +    int		tabarraylen;
      +    bool	block_ext;	// for temporary blocking of external devices
      +
      +    // Transformations
      +#ifndef TQT_NO_TRANSFORMATIONS
      +    TQCOORD	wx, wy, ww, wh;
      +    TQCOORD	vx, vy, vw, vh;
      +    TQWMatrix	wxmat;
      +
      +    // Cached composition (and inverse) of transformations
      +    TQWMatrix	xmat;
      +    TQWMatrix	ixmat;
      +
      +
      +
      +    double	m11() const { return xmat.m11(); }
      +    double      m12() const { return xmat.m12(); }
      +    double      m21() const { return xmat.m21(); }
      +    double      m22() const { return xmat.m22(); }
      +    double      dx() const { return xmat.dx(); }
      +    double      dy() const { return xmat.dy(); }
      +    double	im11() const { return ixmat.m11(); }
      +    double      im12() const { return ixmat.m12(); }
      +    double      im21() const { return ixmat.m21(); }
      +    double      im22() const { return ixmat.m22(); }
      +    double      idx() const { return ixmat.dx(); }
      +    double      idy() const { return ixmat.dy(); }
      +
      +    int		txop;
      +    bool	txinv;
      +
      +#else
      +    // even without transformations we still have translations
      +    int		xlatex;
      +    int		xlatey;
      +#endif
      +
      +    void       *penRef;				// pen cache ref
      +    void       *brushRef;			// brush cache ref
      +    void       *ps_stack;
      +    void       *wm_stack;
      +    void	killPStack();
      +
      +protected:
      +#ifdef Q_OS_TEMP
      +    TQPoint	internalCurrentPos;
      +    uint	old_pix;			// ### All win platforms in 4.0
      +#endif
      +#if defined(TQ_WS_WIN)
      +    friend class TQFontEngineWin;
      +    friend class TQFontEngineBox;
      +    QT_WIN_PAINTER_MEMBERS
      +#elif defined(TQ_WS_X11)
      +    friend class TQFontEngineXLFD;
      +    friend class TQFontEngineXft;
      +    friend class TQFontEngineBox;
      +    Display    *dpy;				// current display
      +    int		scrn;				// current screen
      +    TQt::HANDLE	hd;				// handle to drawable
      +    TQt::HANDLE  rendhd;				// handle to Xft draw
      +    GC		gc;				// graphics context (standard)
      +    GC		gc_brush;			// graphics contect for brush
      +    TQPoint	curPt;				// current point
      +    uint	clip_serial;			// clipping serial number
      +#elif defined(TQ_WS_MAC)
      +    TQt::HANDLE	hd;				// handle to drawable
      +    void initPaintDevice(bool force=FALSE, TQPoint *off=NULL, TQRegion *rgn=NULL);
      +    friend const TQRegion &qt_mac_update_painter(TQPainter *, bool);
      +    friend class TQFontEngineMac;
      +    friend class TQMacPainter;
      +#endif
      +    friend class TQFontMetrics;
      +    friend class TQFontInfo;
      +    friend class TQTextLayout;
      +    friend void qt_format_text( const TQFont &, const TQRect &r,
      +		     int tf, const TQString& str, int len, TQRect *brect,
      +		     int tabstops, int* tabarray, int tabarraylen,
      +		     TQTextParag **internal, TQPainter* painter );
      +    friend void qt_draw_background( TQPainter *p, int x, int y, int w,  int h );
      +    friend void qt_draw_transformed_rect( TQPainter *p,  int x, int y, int w,  int h, bool fill );
      +    friend class TQPrinter;
      +
      +private:	// Disabled copy constructor and operator=
      +#if defined(TQ_DISABLE_COPY)
      +    TQPainter( const TQPainter & );
      +    TQPainter &operator=( const TQPainter & );
      +#endif
      +
      +    enum TransformationCodes {
      +	TxNone      = 0,		// transformation codes
      +	TxTranslate = 1,		// copy in tqpainter_*.cpp
      +	TxScale     = 2,
      +	TxRotShear  = 3
      +    };
      +};
      +
      +
      +/*****************************************************************************
      +  TQPainter member functions
      + *****************************************************************************/
      +
      +inline TQPaintDevice *TQPainter::device() const
      +{
      +    return pdev;
      +}
      +
      +inline bool TQPainter::isActive() const
      +{
      +    return testf(IsActive);
      +}
      +
      +inline const TQFont &TQPainter::font() const
      +{
      +    return cfont;
      +}
      +
      +inline const TQPen &TQPainter::pen() const
      +{
      +    return cpen;
      +}
      +
      +inline const TQBrush &TQPainter::brush() const
      +{
      +    return cbrush;
      +}
      +
      +/*
      +inline PaintUnit TQPainter::unit() const
      +{
      +    return (PaintUnit)pu;
      +}
      +*/
      +
      +inline const TQColor &TQPainter::backgroundColor() const
      +{
      +    return bg_col;
      +}
      +
      +inline TQt::BGMode TQPainter::backgroundMode() const
      +{
      +    return (BGMode)bg_mode;
      +}
      +
      +inline TQt::RasterOp TQPainter::rasterOp() const
      +{
      +    return (RasterOp)rop;
      +}
      +
      +inline const TQPoint &TQPainter::brushOrigin() const
      +{
      +    return bro;
      +}
      +
      +inline bool TQPainter::hasViewXForm() const
      +{
      +#ifndef TQT_NO_TRANSFORMATIONS
      +    return testf(VxF);
      +#else
      +    return xlatex || xlatey;
      +#endif
      +}
      +
      +inline bool TQPainter::hasWorldXForm() const
      +{
      +#ifndef TQT_NO_TRANSFORMATIONS
      +    return testf(WxF);
      +#else
      +    return xlatex || xlatey;
      +#endif
      +}
      +
      +inline double TQPainter::translationX() const
      +{
      +#ifndef TQT_NO_TRANSFORMATIONS
      +    return worldMatrix().dx();
      +#else
      +    return xlatex;
      +#endif
      +}
      +
      +inline double TQPainter::translationY() const
      +{
      +#ifndef TQT_NO_TRANSFORMATIONS
      +    return worldMatrix().dy();
      +#else
      +    return xlatey;
      +#endif
      +}
      +
      +
      +inline bool TQPainter::hasClipping() const
      +{
      +    return testf(ClipOn);
      +}
      +
      +inline int TQPainter::tabStops() const
      +{
      +    return tabstops;
      +}
      +
      +inline int *TQPainter::tabArray() const
      +{
      +    return tabarray;
      +}
      +
      +#if defined(TQ_WS_WIN)
      +inline HDC TQPainter::handle() const
      +{
      +    return hdc;
      +}
      +#elif defined(TQ_WS_X11) || defined(TQ_WS_MAC)
      +inline TQt::HANDLE TQPainter::handle() const
      +{
      +    return hd;
      +}
      +#endif
      +
      +inline void TQPainter::setBrushOrigin( const TQPoint &p )
      +{
      +    setBrushOrigin( p.x(), p.y() );
      +}
      +
      +#ifndef TQT_NO_TRANSFORMATIONS
      +inline void TQPainter::setWindow( const TQRect &r )
      +{
      +    setWindow( r.x(), r.y(), r.width(), r.height() );
      +}
      +
      +inline void TQPainter::setViewport( const TQRect &r )
      +{
      +    setViewport( r.x(), r.y(), r.width(), r.height() );
      +}
      +#endif
      +
      +inline void TQPainter::setClipRect( int x, int y, int w, int h, CoordinateMode m )
      +{
      +    setClipRect( TQRect(x,y,w,h), m );
      +}
      +
      +inline void TQPainter::drawPoint( const TQPoint &p )
      +{
      +    drawPoint( p.x(), p.y() );
      +}
      +
      +inline void TQPainter::moveTo( const TQPoint &p )
      +{
      +    moveTo( p.x(), p.y() );
      +}
      +
      +inline void TQPainter::lineTo( const TQPoint &p )
      +{
      +    lineTo( p.x(), p.y() );
      +}
      +
      +inline void TQPainter::drawLine( const TQPoint &p1, const TQPoint &p2 )
      +{
      +    drawLine( p1.x(), p1.y(), p2.x(), p2.y() );
      +}
      +
      +inline void TQPainter::drawRect( const TQRect &r )
      +{
      +    drawRect( r.x(), r.y(), r.width(), r.height() );
      +}
      +
      +inline void TQPainter::drawWinFocusRect( const TQRect &r )
      +{
      +    drawWinFocusRect( r.x(), r.y(), r.width(), r.height() );
      +}
      +
      +inline void TQPainter::drawWinFocusRect( const TQRect &r,const TQColor &penColor )
      +{
      +    drawWinFocusRect( r.x(), r.y(), r.width(), r.height(), penColor );
      +}
      +
      +inline void TQPainter::drawRoundRect( const TQRect &r, int xRnd, int yRnd )
      +{
      +    drawRoundRect( r.x(), r.y(), r.width(), r.height(), xRnd, yRnd );
      +}
      +
      +inline void TQPainter::drawEllipse( const TQRect &r )
      +{
      +    drawEllipse( r.x(), r.y(), r.width(), r.height() );
      +}
      +
      +inline void TQPainter::drawArc( const TQRect &r, int a, int alen )
      +{
      +    drawArc( r.x(), r.y(), r.width(), r.height(), a, alen );
      +}
      +
      +inline void TQPainter::drawPie( const TQRect &r, int a, int alen )
      +{
      +    drawPie( r.x(), r.y(), r.width(), r.height(), a, alen );
      +}
      +
      +inline void TQPainter::drawChord( const TQRect &r, int a, int alen )
      +{
      +    drawChord( r.x(), r.y(), r.width(), r.height(), a, alen );
      +}
      +
      +inline void TQPainter::drawPixmap( const TQPoint &p, const TQPixmap &pm,
      +				  const TQRect &sr )
      +{
      +    drawPixmap( p.x(), p.y(), pm, sr.x(), sr.y(), sr.width(), sr.height() );
      +}
      +
      +inline void TQPainter::drawImage( const TQPoint &p, const TQImage &pm,
      +                                 const TQRect &sr, int conversionFlags )
      +{
      +    drawImage( p.x(), p.y(), pm,
      +	       sr.x(), sr.y(), sr.width(), sr.height(), conversionFlags );
      +}
      +
      +inline void TQPainter::drawTiledPixmap( const TQRect &r, const TQPixmap &pm,
      +				       const TQPoint &sp )
      +{
      +    drawTiledPixmap( r.x(), r.y(), r.width(), r.height(), pm, sp.x(), sp.y() );
      +}
      +
      +inline void TQPainter::drawTiledPixmap( const TQRect &r, const TQPixmap &pm )
      +{
      +    drawTiledPixmap( r.x(), r.y(), r.width(), r.height(), pm, 0, 0 );
      +}
      +
      +inline void TQPainter::fillRect( const TQRect &r, const TQBrush &brush )
      +{
      +    fillRect( r.x(), r.y(), r.width(), r.height(), brush );
      +}
      +
      +inline void TQPainter::eraseRect( int x, int y, int w, int h )
      +{
      +    fillRect( x, y, w, h, backgroundColor() );
      +}
      +
      +inline void TQPainter::eraseRect( const TQRect &r )
      +{
      +    fillRect( r.x(), r.y(), r.width(), r.height(), backgroundColor() );
      +}
      +
      +inline void TQPainter::drawText( const TQPoint &p, const TQString &s, int len, TextDirection dir )
      +{
      +    drawText( p.x(), p.y(), s, 0, len, dir );
      +}
      +
      +inline void TQPainter::drawText( const TQPoint &p, const TQString &s, int pos, int len, TextDirection dir )
      +{
      +    drawText( p.x(), p.y(), s, pos, len, dir );
      +}
      +
      +inline void TQPainter::drawText( int x, int y, int w, int h, int tf,
      +				const TQString& str, int len, TQRect *br, TQTextParag **i )
      +{
      +    TQRect r(x, y, w, h);
      +    drawText( r, tf, str, len, br, i );
      +}
      +
      +inline void TQPainter::drawTextItem( const TQPoint& p, const TQTextItem &ti, int textflags )
      +{
      +    drawTextItem( p.x(), p.y(), ti, textflags );
      +}
      +
      +inline TQRect TQPainter::boundingRect( int x, int y, int w, int h, int tf,
      +				     const TQString& str, int len, TQTextParag **i )
      +{
      +    TQRect r(x, y, w, h);
      +    return boundingRect( r, tf, str, len, i );
      +}
      +
      +#endif // TQPAINTER_H
      +
      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqpainter-members.html b/doc/html/tqpainter-members.html new file mode 100644 index 000000000..7ce2c2eaa --- /dev/null +++ b/doc/html/tqpainter-members.html @@ -0,0 +1,127 @@ + + + + + +TQPainter Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQPainter

      + +

      This is the complete list of member functions for +TQPainter, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqpainter.html b/doc/html/tqpainter.html new file mode 100644 index 000000000..d026fedfd --- /dev/null +++ b/doc/html/tqpainter.html @@ -0,0 +1,1625 @@ + + + + + +TQPainter Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQPainter Class Reference

      + +

      The TQPainter class does low-level painting e.g. on widgets. +More... +

      #include <tqpainter.h> +

      Inherits TQt. +

      List of all member functions. +

      Public Members

      +
        +
      • enum CoordinateMode { CoordDevice, CoordPainter }
      • +
      • TQPainter ()
      • +
      • TQPainter ( const TQPaintDevice * pd, bool unclipped = FALSE )
      • +
      • TQPainter ( const TQPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )
      • +
      • ~TQPainter ()
      • +
      • bool begin ( const TQPaintDevice * pd, bool unclipped = FALSE )
      • +
      • bool begin ( const TQPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE )
      • +
      • bool end ()
      • +
      • TQPaintDevice * device () const
      • +
      • bool isActive () const
      • +
      • void flush ( const TQRegion & region, CoordinateMode cm = CoordDevice )
      • +
      • void flush ()
      • +
      • void save ()
      • +
      • void restore ()
      • +
      • TQFontMetrics fontMetrics () const
      • +
      • TQFontInfo fontInfo () const
      • +
      • const TQFont & font () const
      • +
      • void setFont ( const TQFont & font )
      • +
      • const TQPen & pen () const
      • +
      • void setPen ( const TQPen & pen )
      • +
      • void setPen ( PenStyle style )
      • +
      • void setPen ( const TQColor & color )
      • +
      • const TQBrush & brush () const
      • +
      • void setBrush ( const TQBrush & brush )
      • +
      • void setBrush ( BrushStyle style )
      • +
      • void setBrush ( const TQColor & color )
      • +
      • TQPoint pos () const  (obsolete)
      • +
      • const TQColor & backgroundColor () const
      • +
      • void setBackgroundColor ( const TQColor & c )
      • +
      • BGMode backgroundMode () const
      • +
      • void setBackgroundMode ( BGMode m )
      • +
      • RasterOp rasterOp () const
      • +
      • void setRasterOp ( RasterOp r )
      • +
      • const TQPoint & brushOrigin () const
      • +
      • void setBrushOrigin ( int x, int y )
      • +
      • void setBrushOrigin ( const TQPoint & p )
      • +
      • bool hasViewXForm () const
      • +
      • bool hasWorldXForm () const
      • +
      • void setViewXForm ( bool enable )
      • +
      • TQRect window () const
      • +
      • void setWindow ( const TQRect & r )
      • +
      • void setWindow ( int x, int y, int w, int h )
      • +
      • TQRect viewport () const
      • +
      • void setViewport ( const TQRect & r )
      • +
      • void setViewport ( int x, int y, int w, int h )
      • +
      • void setWorldXForm ( bool enable )
      • +
      • const TQWMatrix & worldMatrix () const
      • +
      • void setWorldMatrix ( const TQWMatrix & m, bool combine = FALSE )
      • +
      • void saveWorldMatrix ()  (obsolete)
      • +
      • void restoreWorldMatrix ()  (obsolete)
      • +
      • void scale ( double sx, double sy )
      • +
      • void shear ( double sh, double sv )
      • +
      • void rotate ( double a )
      • +
      • void translate ( double dx, double dy )
      • +
      • void resetXForm ()
      • +
      • TQPoint xForm ( const TQPoint & pv ) const
      • +
      • TQRect xForm ( const TQRect & rv ) const
      • +
      • TQPointArray xForm ( const TQPointArray & av ) const
      • +
      • TQPointArray xForm ( const TQPointArray & av, int index, int npoints ) const
      • +
      • TQPoint xFormDev ( const TQPoint & pd ) const
      • +
      • TQRect xFormDev ( const TQRect & rd ) const
      • +
      • TQPointArray xFormDev ( const TQPointArray & ad ) const
      • +
      • TQPointArray xFormDev ( const TQPointArray & ad, int index, int npoints ) const
      • +
      • void setClipping ( bool enable )
      • +
      • bool hasClipping () const
      • +
      • TQRegion clipRegion ( CoordinateMode m = CoordDevice ) const
      • +
      • void setClipRect ( const TQRect & r, CoordinateMode m = CoordDevice )
      • +
      • void setClipRect ( int x, int y, int w, int h, CoordinateMode m = CoordDevice )
      • +
      • void setClipRegion ( const TQRegion & rgn, CoordinateMode m = CoordDevice )
      • +
      • void drawPoint ( int x, int y )
      • +
      • void drawPoint ( const TQPoint & p )
      • +
      • void drawPoints ( const TQPointArray & a, int index = 0, int npoints = -1 )
      • +
      • void moveTo ( int x, int y )  (obsolete)
      • +
      • void moveTo ( const TQPoint & p )  (obsolete)
      • +
      • void lineTo ( int x, int y )  (obsolete)
      • +
      • void lineTo ( const TQPoint & p )  (obsolete)
      • +
      • void drawLine ( int x1, int y1, int x2, int y2 )
      • +
      • void drawLine ( const TQPoint & p1, const TQPoint & p2 )
      • +
      • void drawRect ( int x, int y, int w, int h )
      • +
      • void drawRect ( const TQRect & r )
      • +
      • void drawWinFocusRect ( int x, int y, int w, int h )
      • +
      • void drawWinFocusRect ( int x, int y, int w, int h, const TQColor & bgColor )
      • +
      • void drawWinFocusRect ( const TQRect & r )
      • +
      • void drawWinFocusRect ( const TQRect & r, const TQColor & bgColor )
      • +
      • void drawRoundRect ( int x, int y, int w, int h, int xRnd = 25, int yRnd = 25 )
      • +
      • void drawRoundRect ( const TQRect & r, int xRnd = 25, int yRnd = 25 )
      • +
      • void drawEllipse ( int x, int y, int w, int h )
      • +
      • void drawEllipse ( const TQRect & r )
      • +
      • void drawArc ( int x, int y, int w, int h, int a, int alen )
      • +
      • void drawArc ( const TQRect & r, int a, int alen )
      • +
      • void drawPie ( int x, int y, int w, int h, int a, int alen )
      • +
      • void drawPie ( const TQRect & r, int a, int alen )
      • +
      • void drawChord ( int x, int y, int w, int h, int a, int alen )
      • +
      • void drawChord ( const TQRect & r, int a, int alen )
      • +
      • void drawLineSegments ( const TQPointArray & a, int index = 0, int nlines = -1 )
      • +
      • void drawPolyline ( const TQPointArray & a, int index = 0, int npoints = -1 )
      • +
      • void drawPolygon ( const TQPointArray & a, bool winding = FALSE, int index = 0, int npoints = -1 )
      • +
      • void drawConvexPolygon ( const TQPointArray & pa, int index = 0, int npoints = -1 )
      • +
      • void drawCubicBezier ( const TQPointArray & a, int index = 0 )
      • +
      • void drawPixmap ( int x, int y, const TQPixmap & pixmap, int sx = 0, int sy = 0, int sw = -1, int sh = -1 )
      • +
      • void drawPixmap ( const TQPoint & p, const TQPixmap & pm, const TQRect & sr )
      • +
      • void drawPixmap ( const TQPoint & p, const TQPixmap & pm )
      • +
      • void drawPixmap ( const TQRect & r, const TQPixmap & pm )
      • +
      • void drawImage ( int x, int y, const TQImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, int conversionFlags = 0 )
      • +
      • void drawImage ( const TQPoint &, const TQImage &, const TQRect & sr, int conversionFlags = 0 )
      • +
      • void drawImage ( const TQPoint & p, const TQImage & i, int conversion_flags = 0 )
      • +
      • void drawImage ( const TQRect & r, const TQImage & i )
      • +
      • void drawTiledPixmap ( int x, int y, int w, int h, const TQPixmap & pixmap, int sx = 0, int sy = 0 )
      • +
      • void drawTiledPixmap ( const TQRect & r, const TQPixmap & pm, const TQPoint & sp )
      • +
      • void drawTiledPixmap ( const TQRect & r, const TQPixmap & pm )
      • +
      • void drawPicture ( const TQPicture & pic )  (obsolete)
      • +
      • void drawPicture ( int x, int y, const TQPicture & pic )
      • +
      • void drawPicture ( const TQPoint & p, const TQPicture & pic )
      • +
      • void fillRect ( int x, int y, int w, int h, const TQBrush & brush )
      • +
      • void fillRect ( const TQRect & r, const TQBrush & brush )
      • +
      • void eraseRect ( int x, int y, int w, int h )
      • +
      • void eraseRect ( const TQRect & r )
      • +
      • enum TextDirection { Auto, RTL, LTR }
      • +
      • void drawText ( int x, int y, const TQString &, int len = -1, TextDirection dir = Auto )
      • +
      • void drawText ( const TQPoint &, const TQString &, int len = -1, TextDirection dir = Auto )
      • +
      • void drawText ( int x, int y, const TQString &, int pos, int len, TextDirection dir = Auto )
      • +
      • void drawText ( const TQPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto )
      • +
      • void drawText ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQRect * br = 0, TQTextParag ** internal = 0 )
      • +
      • void drawText ( const TQRect & r, int tf, const TQString & str, int len = -1, TQRect * brect = 0, TQTextParag ** internal = 0 )
      • +
      • TQRect boundingRect ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQTextParag ** intern = 0 )
      • +
      • TQRect boundingRect ( const TQRect & r, int flags, const TQString & str, int len = -1, TQTextParag ** internal = 0 )
      • +
      • int tabStops () const
      • +
      • void setTabStops ( int ts )
      • +
      • int * tabArray () const
      • +
      • void setTabArray ( int * ta )
      • +
      • HDC handle () const
      • +
      +

      Static Public Members

      +
        +
      • void redirect ( TQPaintDevice * pdev, TQPaintDevice * replacement )
      • +
      +

      Related Functions

      +
        +
      • void qDrawShadeLine ( TQPainter * p, int x1, int y1, int x2, int y2, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth )
      • +
      • void qDrawShadeRect ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth, const TQBrush * fill )
      • +
      • void qDrawShadePanel ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, const TQBrush * fill )
      • +
      • void qDrawWinButton ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill )
      • +
      • void qDrawWinPanel ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill )
      • +
      • void qDrawPlainRect ( TQPainter * p, int x, int y, int w, int h, const TQColor & c, int lineWidth, const TQBrush * fill )
      • +
      +

      Detailed Description

      + + +The TQPainter class does low-level painting e.g. on widgets. +

      + + +

      The painter provides highly optimized functions to do most of the +drawing GUI programs require. TQPainter can draw everything from +simple lines to complex shapes like pies and chords. It can also +draw aligned text and pixmaps. Normally, it draws in a "natural" +coordinate system, but it can also do view and world +transformation. +

      The typical use of a painter is: +

        +
      • Construct a painter. +
      • Set a pen, a brush etc. +
      • Draw. +
      • Destroy the painter. +
      +

      Mostly, all this is done inside a paint event. (In fact, 99% of +all TQPainter use is in a reimplementation of +TQWidget::paintEvent(), and the painter is heavily optimized for +such use.) Here's one very simple example: +

      +    void SimpleExampleWidget::paintEvent()
      +    {
      +        TQPainter paint( this );
      +        paint.setPen( TQt::blue );
      +        paint.drawText( rect(), AlignCenter, "The Text" );
      +    }
      +    
      + +

      Usage is simple, and there are many settings you can use: +

        +

      • font() is the currently set font. If you set a font that isn't +available, TQt finds a close match. In fact font() returns what +you set using setFont() and fontInfo() returns the font actually +being used (which may be the same). +

      • brush() is the currently set brush; the color or pattern that's +used for filling e.g. circles. +

      • pen() is the currently set pen; the color or stipple that's +used for drawing lines or boundaries. +

      • backgroundMode() is Opaque or Transparent, i.e. whether +backgroundColor() is used or not. +

      • backgroundColor() only applies when backgroundMode() is Opaque +and pen() is a stipple. In that case, it describes the color of +the background pixels in the stipple. +

      • rasterOp() is how pixels drawn interact with the pixels already +there. +

      • brushOrigin() is the origin of the tiled brushes, normally the +origin of the window. +

      • viewport(), window(), worldMatrix() and many more make up the +painter's coordinate transformation system. See The Coordinate System for an explanation of +this, or see below for a very brief overview of the functions. +

      • hasClipping() is whether the painter clips at all. (The paint +device clips, too.) If the painter clips, it clips to clipRegion(). +

      • pos() is the current position, set by moveTo() and used by +lineTo(). +

      +

      Note that some of these settings mirror settings in some paint +devices, e.g. TQWidget::font(). TQPainter::begin() (or the TQPainter +constructor) copies these attributes from the paint device. +Calling, for example, TQWidget::setFont() doesn't take effect until +the next time a painter begins painting on it. +

      save() saves all of these settings on an internal stack, restore() +pops them back. +

      The core functionality of TQPainter is drawing, and there are +functions to draw most primitives: drawPoint(), drawPoints(), +drawLine(), drawRect(), drawWinFocusRect(), drawRoundRect(), +drawEllipse(), drawArc(), drawPie(), drawChord(), +drawLineSegments(), drawPolyline(), drawPolygon(), +drawConvexPolygon() and drawCubicBezier(). All of these functions +take integer coordinates; there are no floating-point versions +since we want drawing to be as fast as possible. +

      There are functions to draw pixmaps/images, namely drawPixmap(), +drawImage() and drawTiledPixmap(). drawPixmap() and drawImage() +produce the same result, except that drawPixmap() is faster +on-screen and drawImage() faster and sometimes better on TQPrinter +and TQPicture. +

      Text drawing is done using drawText(), and when you need +fine-grained positioning, boundingRect() tells you where a given +drawText() command would draw. +

      There is a drawPicture() function that draws the contents of an +entire TQPicture using this painter. drawPicture() is the only +function that disregards all the painter's settings: the TQPicture +has its own settings. +

      Normally, the TQPainter operates on the device's own coordinate +system (usually pixels), but TQPainter has good support for +coordinate transformation. See The Coordinate + System for a more general overview and a simple example. +

      The most common functions used are scale(), rotate(), translate() +and shear(), all of which operate on the worldMatrix(). +setWorldMatrix() can replace or add to the currently set +worldMatrix(). +

      setViewport() sets the rectangle on which TQPainter operates. The +default is the entire device, which is usually fine, except on +printers. setWindow() sets the coordinate system, that is, the +rectangle that maps to viewport(). What's drawn inside the +window() ends up being inside the viewport(). The window's +default is the same as the viewport, and if you don't use the +transformations, they are optimized away, gaining another little +bit of speed. +

      After all the coordinate transformation is done, TQPainter can clip +the drawing to an arbitrary rectangle or region. hasClipping() is +TRUE if TQPainter clips, and clipRegion() returns the clip region. +You can set it using either setClipRegion() or setClipRect(). +Note that the clipping can be slow. It's all system-dependent, +but as a rule of thumb, you can assume that drawing speed is +inversely proportional to the number of rectangles in the clip +region. +

      After TQPainter's clipping, the paint device may also clip. For +example, most widgets clip away the pixels used by child widgets, +and most printers clip away an area near the edges of the paper. +This additional clipping is not reflected by the return value of +clipRegion() or hasClipping(). +

      TQPainter also includes some less-used functions that are very +useful on those occasions when they're needed. +

      isActive() indicates whether the painter is active. begin() (and +the most usual constructor) makes it active. end() (and the +destructor) deactivates it. If the painter is active, device() +returns the paint device on which the painter paints. +

      Sometimes it is desirable to make someone else paint on an unusual +TQPaintDevice. TQPainter supports a static function to do this, +redirect(). We recommend not using it, but for some hacks it's +perfect. +

      setTabStops() and setTabArray() can change where the tab stops +are, but these are very seldomly used. +

      Warning: Note that TQPainter does not attempt to work around +coordinate limitations in the underlying window system. Some +platforms may behave incorrectly with coordinates as small as ++/-4000. + +

      See also TQPaintDevice, TQWidget, TQPixmap, TQPrinter, TQPicture, Application Walkthrough, Coordinate System Overview, Graphics Classes, and Image Processing Classes. + +


      Member Type Documentation

      +

      TQPainter::CoordinateMode

      + +
        +
      • TQPainter::CoordDevice +
      • TQPainter::CoordPainter +

      See also clipRegion(). + +

      TQPainter::TextDirection

      + +
        +
      • TQPainter::Auto +
      • TQPainter::RTL - right to left +
      • TQPainter::LTR - left to right +

      See also drawText(). + +


      Member Function Documentation

      +

      TQPainter::TQPainter () +

      +Constructs a painter. +

      Notice that all painter settings (setPen, setBrush etc.) are reset +to default values when begin() is called. +

      See also begin() and end(). + +

      TQPainter::TQPainter ( const TQPaintDevice * pd, bool unclipped = FALSE ) +

      +Constructs a painter that begins painting the paint device pd +immediately. Depending on the underlying graphic system the +painter will paint over children of the paintdevice if unclipped is TRUE. +

      This constructor is convenient for short-lived painters, e.g. in a +paint event and should be used +only once. The constructor calls begin() for you and the TQPainter +destructor automatically calls end(). +

      Here's an example using begin() and end(): +

      +        void MyWidget::paintEvent( TQPaintEvent * )
      +        {
      +            TQPainter p;
      +            p.begin( this );
      +            p.drawLine( ... );  // drawing code
      +            p.end();
      +        }
      +    
      + +

      The same example using this constructor: +

      +        void MyWidget::paintEvent( TQPaintEvent * )
      +        {
      +            TQPainter p( this );
      +            p.drawLine( ... );  // drawing code
      +        }
      +    
      + +

      Since the constructor cannot provide feedback when the initialization +of the painter failed you should rather use begin() and end() to paint +on external devices, e.g. printers. +

      See also begin() and end(). + +

      TQPainter::TQPainter ( const TQPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE ) +

      +Constructs a painter that begins painting the paint device pd +immediately, with the default arguments taken from copyAttributes. The painter will paint over children of the paint +device if unclipped is TRUE (although this is not supported on +all platforms). +

      See also begin(). + +

      TQPainter::~TQPainter () +

      +Destroys the painter. + +

      const TQColor & TQPainter::backgroundColor () const +

      + +

      Returns the current background color. +

      See also setBackgroundColor() and TQColor. + +

      BGMode TQPainter::backgroundMode () const +

      + +

      Returns the current background mode. +

      See also setBackgroundMode() and BGMode. + +

      bool TQPainter::begin ( const TQPaintDevice * pd, bool unclipped = FALSE ) +

      +Begins painting the paint device pd and returns TRUE if +successful; otherwise returns FALSE. If unclipped is TRUE, the +painting will not be clipped at the paint device's boundaries, +(although this is not supported by all platforms). +

      The errors that can occur are serious problems, such as these: +

      +        p->begin( 0 ); // impossible - paint device cannot be 0
      +
      +        TQPixmap pm( 0, 0 );
      +        p->begin( pm ); // impossible - pm.isNull();
      +
      +        p->begin( myWidget );
      +        p2->begin( myWidget ); // impossible - only one painter at a time
      +    
      + +

      Note that most of the time, you can use one of the constructors +instead of begin(), and that end() is automatically done at +destruction. +

      Warning: A paint device can only be painted by one painter at a +time. +

      See also end() and flush(). + +

      Examples: aclock/aclock.cpp, desktop/desktop.cpp, drawdemo/drawdemo.cpp, hello/hello.cpp, picture/picture.cpp, t10/cannon.cpp, and xform/xform.cpp. +

      bool TQPainter::begin ( const TQPaintDevice * pd, const TQWidget * copyAttributes, bool unclipped = FALSE ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      This version opens the painter on a paint device pd and sets +the initial pen, background color and font from copyAttributes, +painting over the paint device's children when unclipped is +TRUE. This is equivalent to: +

      +        TQPainter p;
      +        p.begin( pd );
      +        p.setPen( copyAttributes->foregroundColor() );
      +        p.setBackgroundColor( copyAttributes->backgroundColor() );
      +        p.setFont( copyAttributes->font() );
      +    
      + +

      This begin function is convenient for double buffering. When you +draw in a pixmap instead of directly in a widget (to later bitBlt +the pixmap into the widget) you will need to set the widget's +font etc. This function does exactly that. +

      Example: +

      +        void MyWidget::paintEvent( TQPaintEvent * )
      +        {
      +            TQPixmap pm(size());
      +            TQPainter p;
      +            p.begin(&pm, this);
      +            // ... potentially flickering paint operation ...
      +            p.end();
      +            bitBlt(this, 0, 0, &pm);
      +        }
      +    
      + +

      See also end(). + +

      TQRect TQPainter::boundingRect ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQTextParag ** intern = 0 ) +

      + +

      Returns the bounding rectangle of the aligned text that would be +printed with the corresponding drawText() function using the first +len characters of the string if len is > -1, or the whole of +the string if len is -1. The drawing, and hence the bounding +rectangle, is constrained to the rectangle that begins at point (x, y) with width w and hight h, or to the +rectangle required to draw the text, whichever is the larger. +

      The flags argument is +the bitwise OR of the following flags: +

      +
      Flag Meaning +
      AlignAuto aligns according to the language, usually left. +
      AlignLeft aligns to the left border. +
      AlignRight aligns to the right border. +
      AlignHCenter aligns horizontally centered. +
      AlignTop aligns to the top border. +
      AlignBottom aligns to the bottom border. +
      AlignVCenter aligns vertically centered. +
      AlignCenter (== AlignHCenter | AlignVCenter). +
      SingleLine ignores newline characters in the text. +
      ExpandTabs expands tabs. +
      ShowPrefix interprets "&x" as "x". +
      WordBreak breaks the text to fit the rectangle. +
      +

      Horizontal alignment defaults to AlignLeft and vertical +alignment defaults to AlignTop. +

      If several of the horizontal or several of the vertical alignment flags +are set, the resulting alignment is undefined. +

      The intern parameter should not be used. +

      See also TQt::TextFlags. + +

      TQRect TQPainter::boundingRect ( const TQRect & r, int flags, const TQString & str, int len = -1, TQTextParag ** internal = 0 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns the bounding rectangle of the aligned text that would be +printed with the corresponding drawText() function using the first +len characters from str if len is > -1, or the whole of +str if len is -1. The drawing, and hence the bounding +rectangle, is constrained to the rectangle r, or to the +rectangle required to draw the text, whichever is the larger. +

      The internal parameter should not be used. +

      See also drawText(), fontMetrics(), TQFontMetrics::boundingRect(), and TQt::TextFlags. + +

      const TQBrush & TQPainter::brush () const +

      + +

      Returns the painter's current brush. +

      See also TQPainter::setBrush(). + +

      Examples: themes/metal.cpp and themes/wood.cpp. +

      const TQPoint & TQPainter::brushOrigin () const +

      + +

      Returns the brush origin currently set. +

      See also setBrushOrigin(). + +

      TQRegion TQPainter::clipRegion ( CoordinateMode m = CoordDevice ) const +

      +Returns the currently set clip region. Note that the clip region +is given in physical device coordinates and not subject to any +coordinate transformation if m is +equal to CoordDevice (the default). If m equals CoordPainter the returned region is in model coordinates. +

      See also setClipRegion(), setClipRect(), setClipping(), and TQPainter::CoordinateMode. + +

      Example: themes/wood.cpp. +

      TQPaintDevice * TQPainter::device () const +

      + +

      Returns the paint device on which this painter is currently +painting, or 0 if the painter is not active. +

      See also TQPaintDevice::paintingActive(). + +

      Examples: action/application.cpp, application/application.cpp, helpviewer/helpwindow.cpp, listboxcombo/listboxcombo.cpp, and mdi/application.cpp. +

      void TQPainter::drawArc ( int x, int y, int w, int h, int a, int alen ) +

      +Draws an arc defined by the rectangle (x, y, w, h), the start +angle a and the arc length alen. +

      The angles a and alen are 1/16th of a degree, i.e. a full +circle equals 5760 (16*360). Positive values of a and alen +mean counter-clockwise while negative values mean the clockwise +direction. Zero degrees is at the 3 o'clock position. +

      Example: +

      +        TQPainter p( myWidget );
      +        p.drawArc( 10,10, 70,100, 100*16, 160*16 ); // draws a "(" arc
      +    
      + +

      See also drawPie() and drawChord(). + +

      void TQPainter::drawArc ( const TQRect & r, int a, int alen ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the arc that fits inside the rectangle r with start angle +a and arc length alen. + +

      void TQPainter::drawChord ( int x, int y, int w, int h, int a, int alen ) +

      +Draws a chord defined by the rectangle (x, y, w, h), the start +angle a and the arc length alen. +

      The chord is filled with the current brush(). +

      The angles a and alen are 1/16th of a degree, i.e. a full +circle equals 5760 (16*360). Positive values of a and alen +mean counter-clockwise while negative values mean the clockwise +direction. Zero degrees is at the 3 o'clock position. +

      See also drawArc() and drawPie(). + +

      void TQPainter::drawChord ( const TQRect & r, int a, int alen ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws a chord that fits inside the rectangle r with start angle +a and arc length alen. + +

      void TQPainter::drawConvexPolygon ( const TQPointArray & pa, int index = 0, int npoints = -1 ) +

      +Draws the convex polygon defined by the npoints points in pa +starting at pa[index] (index defaults to 0). +

      If the supplied polygon is not convex, the results are undefined. +

      On some platforms (e.g. X Window), this is faster than +drawPolygon(). +

      Warning: On X11, coordinates that do not fit into 16-bit signed +values are truncated. This limitation is expected to go away in +TQt 4. + +

      Example: aclock/aclock.cpp. +

      void TQPainter::drawCubicBezier ( const TQPointArray & a, int index = 0 ) +

      +Draws a cubic Bezier curve defined by the control points in a, +starting at a[index] (index defaults to 0). +

      Control points after a[index + 3] are ignored. Nothing happens +if there aren't enough control points. +

      Warning: On X11, coordinates that do not fit into 16-bit signed +values are truncated. This limitation is expected to go away in +TQt 4. + +

      void TQPainter::drawEllipse ( int x, int y, int w, int h ) +

      +Draws an ellipse with center at (x + w/2, y + h/2) and size (w, h). + +

      Examples: drawdemo/drawdemo.cpp, picture/picture.cpp, and tictac/tictac.cpp. +

      void TQPainter::drawEllipse ( const TQRect & r ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the ellipse that fits inside rectangle r. + +

      void TQPainter::drawImage ( int x, int y, const TQImage & image, int sx = 0, int sy = 0, int sw = -1, int sh = -1, int conversionFlags = 0 ) +

      +Draws at (x, y) the sw by sh area of pixels from (sx, sy) in image, using conversionFlags if the image +needs to be converted to a pixmap. The default value for conversionFlags is 0; see convertFromImage() for information about +what other values do. +

      This function may convert image to a pixmap and then draw it, +if device() is a TQPixmap or a TQWidget, or else draw it directly, +if device() is a TQPrinter or TQPicture. +

      Currently alpha masks of the image are ignored when painting on a TQPrinter. +

      See also drawPixmap() and TQPixmap::convertFromImage(). + +

      Example: canvas/canvas.cpp. +

      void TQPainter::drawImage ( const TQPoint &, const TQImage &, const TQRect & sr, int conversionFlags = 0 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the rectangle sr from the image at the given point. + +

      void TQPainter::drawImage ( const TQPoint & p, const TQImage & i, int conversion_flags = 0 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the image i at point p. +

      If the image needs to be modified to fit in a lower-resolution +result (e.g. converting from 32-bit to 8-bit), use the conversion_flags to specify how you'd prefer this to happen. +

      See also TQt::ImageConversionFlags. + +

      void TQPainter::drawImage ( const TQRect & r, const TQImage & i ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the image i into the rectangle r. The image will be +scaled to fit the rectangle if image and rectangle dimensions +differ. + +

      void TQPainter::drawLine ( int x1, int y1, int x2, int y2 ) +

      +Draws a line from (x1, y1) to (x2, y2) and sets the +current pen position to (x2, y2). +

      See also pen(). + +

      Examples: aclock/aclock.cpp, drawlines/connect.cpp, progress/progress.cpp, splitter/splitter.cpp, themes/metal.cpp, and themes/wood.cpp. +

      void TQPainter::drawLine ( const TQPoint & p1, const TQPoint & p2 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws a line from point p1 to point p2. + +

      void TQPainter::drawLineSegments ( const TQPointArray & a, int index = 0, int nlines = -1 ) +

      +Draws nlines separate lines from points defined in a, +starting at a[index] (index defaults to 0). If nlines is +-1 (the default) all points until the end of the array are used +(i.e. (a.size()-index)/2 lines are drawn). +

      Draws the 1st line from a[index] to a[index+1]. Draws the +2nd line from a[index+2] to a[index+3] etc. +

      Warning: On X11, coordinates that do not fit into 16-bit signed +values are truncated. This limitation is expected to go away in +TQt 4. +

      See also drawPolyline(), drawPolygon(), and TQPen. + +

      void TQPainter::drawPicture ( int x, int y, const TQPicture & pic ) +

      +Replays the picture pic translated by (x, y). +

      This function does exactly the same as TQPicture::play() when +called with (x, y) = (0, 0). + +

      Examples: picture/picture.cpp and xform/xform.cpp. +

      void TQPainter::drawPicture ( const TQPicture & pic ) +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      Use one of the other TQPainter::drawPicture() functions with a (0, 0) +offset instead. + +

      void TQPainter::drawPicture ( const TQPoint & p, const TQPicture & pic ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws picture pic at point p. + +

      void TQPainter::drawPie ( int x, int y, int w, int h, int a, int alen ) +

      +Draws a pie defined by the rectangle (x, y, w, h), the start +angle a and the arc length alen. +

      The pie is filled with the current brush(). +

      The angles a and alen are 1/16th of a degree, i.e. a full +circle equals 5760 (16*360). Positive values of a and alen +mean counter-clockwise while negative values mean the clockwise +direction. Zero degrees is at the 3 o'clock position. +

      See also drawArc() and drawChord(). + +

      Examples: drawdemo/drawdemo.cpp, grapher/grapher.cpp, t10/cannon.cpp, and t9/cannon.cpp. +

      void TQPainter::drawPie ( const TQRect & r, int a, int alen ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws a pie segment that fits inside the rectangle r with start +angle a and arc length alen. + +

      void TQPainter::drawPixmap ( int x, int y, const TQPixmap & pixmap, int sx = 0, int sy = 0, int sw = -1, int sh = -1 ) +

      +Draws a pixmap at (x, y) by copying a part of pixmap into +the paint device. +

      (x, y) specifies the top-left point in the paint device that is +to be drawn onto. (sx, sy) specifies the top-left point in pixmap that is to be drawn. The default is (0, 0). +

      (sw, sh) specifies the size of the pixmap that is to be drawn. +The default, (-1, -1), means all the way to the bottom right of +the pixmap. +

      Currently the mask of the pixmap or it's alpha channel are ignored +when painting on a TQPrinter. +

      See also bitBlt() and TQPixmap::setMask(). + +

      Examples: grapher/grapher.cpp, picture/picture.cpp, tqdir/tqdir.cpp, qmag/qmag.cpp, showimg/showimg.cpp, t10/cannon.cpp, and xform/xform.cpp. +

      void TQPainter::drawPixmap ( const TQPoint & p, const TQPixmap & pm, const TQRect & sr ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the rectangle sr of pixmap pm with its origin at point +p. + +

      void TQPainter::drawPixmap ( const TQPoint & p, const TQPixmap & pm ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the pixmap pm with its origin at point p. + +

      void TQPainter::drawPixmap ( const TQRect & r, const TQPixmap & pm ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the pixmap pm into the rectangle r. The pixmap is +scaled to fit the rectangle, if image and rectangle size disagree. + +

      void TQPainter::drawPoint ( int x, int y ) +

      +Draws/plots a single point at (x, y) using the current pen. +

      See also TQPen. + +

      Examples: desktop/desktop.cpp and drawlines/connect.cpp. +

      void TQPainter::drawPoint ( const TQPoint & p ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the point p. + +

      void TQPainter::drawPoints ( const TQPointArray & a, int index = 0, int npoints = -1 ) +

      +Draws/plots an array of points, a, using the current pen. +

      If index is non-zero (the default is zero) only points from index are drawn. If npoints is negative (the default) the rest +of the points from index are drawn. If npoints is zero or +greater, npoints points are drawn. +

      Warning: On X11, coordinates that do not fit into 16-bit signed +values are truncated. This limitation is expected to go away in +TQt 4. + +

      void TQPainter::drawPolygon ( const TQPointArray & a, bool winding = FALSE, int index = 0, int npoints = -1 ) +

      +Draws the polygon defined by the npoints points in a +starting at a[index]. (index defaults to 0.) +

      If npoints is -1 (the default) all points until the end of the +array are used (i.e. a.size()-index line segments define the +polygon). +

      The first point is always connected to the last point. +

      The polygon is filled with the current brush(). If winding is +TRUE, the polygon is filled using the winding fill algorithm. If +winding is FALSE, the polygon is filled using the even-odd +(alternative) fill algorithm. +

      Warning: On X11, coordinates that do not fit into 16-bit signed +values are truncated. This limitation is expected to go away in +TQt 4. +

      See also drawLineSegments(), drawPolyline(), and TQPen. + +

      Examples: desktop/desktop.cpp and picture/picture.cpp. +

      void TQPainter::drawPolyline ( const TQPointArray & a, int index = 0, int npoints = -1 ) +

      +Draws the polyline defined by the npoints points in a +starting at a[index]. (index defaults to 0.) +

      If npoints is -1 (the default) all points until the end of the +array are used (i.e. a.size()-index-1 line segments are drawn). +

      Warning: On X11, coordinates that do not fit into 16-bit signed +values are truncated. This limitation is expected to go away in +TQt 4. +

      See also drawLineSegments(), drawPolygon(), and TQPen. + +

      Examples: scribble/scribble.cpp and themes/metal.cpp. +

      void TQPainter::drawRect ( int x, int y, int w, int h ) +

      +Draws a rectangle with upper left corner at (x, y) and with +width w and height h. +

      See also TQPen and drawRoundRect(). + +

      Examples: drawdemo/drawdemo.cpp, picture/picture.cpp, t10/cannon.cpp, t11/cannon.cpp, t9/cannon.cpp, tooltip/tooltip.cpp, and trivial/trivial.cpp. +

      void TQPainter::drawRect ( const TQRect & r ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the rectangle r. + +

      void TQPainter::drawRoundRect ( int x, int y, int w, int h, int xRnd = 25, int yRnd = 25 ) +

      +Draws a rectangle with rounded corners at (x, y), with width w and height h. +

      The xRnd and yRnd arguments specify how rounded the corners +should be. 0 is angled corners, 99 is maximum roundedness. +

      The width and height include all of the drawn lines. +

      See also drawRect() and TQPen. + +

      Examples: drawdemo/drawdemo.cpp and themes/wood.cpp. +

      void TQPainter::drawRoundRect ( const TQRect & r, int xRnd = 25, int yRnd = 25 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws a rounded rectangle r, rounding to the x position xRnd +and the y position yRnd on each corner. + +

      void TQPainter::drawText ( const TQPoint & p, const TQString &, int pos, int len, TextDirection dir = Auto ) +

      + +

      Draws the text from position pos, at point p. If len is +-1 the entire string is drawn, otherwise just the first len +characters. The text's direction is specified by dir. +

      Note that the meaning of y is not the same for the two +drawText() varieties. For overloads that take a simple x, y +pair (or a point), the y value is the text's baseline; for +overloads that take a rectangle, rect.y() is the top of the +rectangle and the text is aligned within that rectangle in +accordance with the alignment flags. +

      See also TQPainter::TextDirection. + +

      Examples: desktop/desktop.cpp, drawdemo/drawdemo.cpp, grapher/grapher.cpp, picture/picture.cpp, progress/progress.cpp, t8/cannon.cpp, and trivial/trivial.cpp. +

      void TQPainter::drawText ( int x, int y, const TQString &, int len = -1, TextDirection dir = Auto ) +

      + +

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the given text at position x, y. If len is -1 (the +default) all the text is drawn, otherwise the first len +characters are drawn. The text's direction is given by dir. +

      See also TQPainter::TextDirection. + +

      void TQPainter::drawText ( const TQPoint &, const TQString &, int len = -1, TextDirection dir = Auto ) +

      + +

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the text at the given point. +

      See also TQPainter::TextDirection. + +

      void TQPainter::drawText ( int x, int y, const TQString &, int pos, int len, TextDirection dir = Auto ) +

      + +

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the text from position pos, at point (x, y). If len is +-1 the entire string is drawn, otherwise just the first len +characters. The text's direction is specified by dir. + +

      void TQPainter::drawText ( int x, int y, int w, int h, int flags, const TQString &, int len = -1, TQRect * br = 0, TQTextParag ** internal = 0 ) +

      + +

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws the given text within the rectangle starting at x, y, +with width w and height h. If len is -1 (the default) all +the text is drawn, otherwise the first len characters are +drawn. The text's flags that are given in the flags parameter +are TQt::AlignmentFlags and TQt::TextFlags OR'd together. br (if not null) is set to the actual bounding rectangle of the +output. The internal parameter is for internal use only. + +

      void TQPainter::drawText ( const TQRect & r, int tf, const TQString & str, int len = -1, TQRect * brect = 0, TQTextParag ** internal = 0 ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws at most len characters from str in the rectangle r. +

      This function draws formatted text. The tf text format is +really of type TQt::AlignmentFlags and TQt::TextFlags OR'd +together. +

      Horizontal alignment defaults to AlignAuto and vertical alignment +defaults to AlignTop. +

      brect (if not null) is set to the actual bounding rectangle of +the output. internal is, yes, internal. +

      See also boundingRect(). + +

      void TQPainter::drawTiledPixmap ( int x, int y, int w, int h, const TQPixmap & pixmap, int sx = 0, int sy = 0 ) +

      +Draws a tiled pixmap in the specified rectangle. +

      (x, y) specifies the top-left point in the paint device that is +to be drawn onto; with the width and height given by w and h. (sx, sy) specifies the top-left point in pixmap that is +to be drawn. The default is (0, 0). +

      Calling drawTiledPixmap() is similar to calling drawPixmap() +several times to fill (tile) an area with a pixmap, but is +potentially much more efficient depending on the underlying window +system. +

      See also drawPixmap(). + +

      void TQPainter::drawTiledPixmap ( const TQRect & r, const TQPixmap & pm, const TQPoint & sp ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws a tiled pixmap, pm, inside rectangle r with its origin +at point sp. + +

      void TQPainter::drawTiledPixmap ( const TQRect & r, const TQPixmap & pm ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws a tiled pixmap, pm, inside rectangle r. + +

      void TQPainter::drawWinFocusRect ( int x, int y, int w, int h, const TQColor & bgColor ) +

      +Draws a Windows focus rectangle with upper left corner at (x, +y) and with width w and height h using a pen color that +contrasts with bgColor. +

      This function draws a stippled rectangle (XOR is not used) that is +used to indicate keyboard focus (when the TQApplication::style() is +WindowStyle). +

      The pen color used to draw the rectangle is either white or black +depending on the color of bgColor (see TQColor::gray()). +

      Warning: This function draws nothing if the coordinate system has +been rotated or sheared. +

      See also drawRect() and TQApplication::style(). + +

      void TQPainter::drawWinFocusRect ( int x, int y, int w, int h ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws a Windows focus rectangle with upper left corner at (x, +y) and with width w and height h. +

      This function draws a stippled XOR rectangle that is used to +indicate keyboard focus (when TQApplication::style() is WindowStyle). +

      Warning: This function draws nothing if the coordinate system has +been rotated or sheared. +

      See also drawRect() and TQApplication::style(). + +

      void TQPainter::drawWinFocusRect ( const TQRect & r ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws rectangle r as a window focus rectangle. + +

      void TQPainter::drawWinFocusRect ( const TQRect & r, const TQColor & bgColor ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws rectangle r as a window focus rectangle using background +color bgColor. + +

      bool TQPainter::end () +

      +Ends painting. Any resources used while painting are released. +

      Note that while you mostly don't need to call end(), the +destructor will do it, there is at least one common case when it +is needed, namely double buffering. +

      +        TQPainter p( myPixmap, this )
      +        // ...
      +        p.end(); // stops drawing on myPixmap
      +        p.begin( this );
      +        p.drawPixmap( 0, 0, myPixmap );
      +    
      + +

      Since you can't draw a TQPixmap while it is being painted, it is +necessary to close the active painter. +

      See also begin() and isActive(). + +

      Examples: aclock/aclock.cpp, desktop/desktop.cpp, hello/hello.cpp, picture/picture.cpp, scribble/scribble.cpp, t10/cannon.cpp, and xform/xform.cpp. +

      void TQPainter::eraseRect ( int x, int y, int w, int h ) +

      + +

      Erases the area inside x, y, w, h. Equivalent to +fillRect( x, y, w, h, backgroundColor() ). + +

      Examples: listboxcombo/listboxcombo.cpp and showimg/showimg.cpp. +

      void TQPainter::eraseRect ( const TQRect & r ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Erases the area inside the rectangle r. + +

      void TQPainter::fillRect ( int x, int y, int w, int h, const TQBrush & brush ) +

      +Fills the rectangle (x, y, w, h) with the brush. +

      You can specify a TQColor as brush, since there is a TQBrush +constructor that takes a TQColor argument and creates a solid +pattern brush. +

      See also drawRect(). + +

      Examples: listboxcombo/listboxcombo.cpp, progress/progress.cpp, tqdir/tqdir.cpp, qfd/fontdisplayer.cpp, themes/metal.cpp, and themes/wood.cpp. +

      void TQPainter::fillRect ( const TQRect & r, const TQBrush & brush ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Fills the rectangle r using brush brush. + +

      void TQPainter::flush ( const TQRegion & region, CoordinateMode cm = CoordDevice ) +

      +Flushes any buffered drawing operations inside the region region using clipping mode cm. +

      The flush may update the whole device if the platform does not +support flushing to a specified region. +

      See also CoordinateMode. + +

      void TQPainter::flush () +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Flushes any buffered drawing operations. + +

      const TQFont & TQPainter::font () const +

      + +

      Returns the currently set painter font. +

      See also setFont() and TQFont. + +

      Example: fileiconview/tqfileiconview.cpp. +

      TQFontInfo TQPainter::fontInfo () const +

      +Returns the font info for the painter, if the painter is active. +It is not possible to obtain font information for an inactive +painter, so the return value is undefined if the painter is not +active. +

      See also fontMetrics() and isActive(). + +

      TQFontMetrics TQPainter::fontMetrics () const +

      +Returns the font metrics for the painter, if the painter is +active. It is not possible to obtain metrics for an inactive +painter, so the return value is undefined if the painter is not +active. +

      See also fontInfo() and isActive(). + +

      Examples: action/application.cpp, application/application.cpp, desktop/desktop.cpp, drawdemo/drawdemo.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, and qwerty/qwerty.cpp. +

      HDC TQPainter::handle () const +

      + +

      Returns the platform-dependent handle used for drawing. Using this +function is not portable. + +

      bool TQPainter::hasClipping () const +

      + +

      Returns TRUE if clipping has been set; otherwise returns FALSE. +

      See also setClipping(). + +

      Example: themes/wood.cpp. +

      bool TQPainter::hasViewXForm () const +

      + +

      Returns TRUE if view transformation is enabled; otherwise returns +FALSE. +

      See also setViewXForm() and xForm(). + +

      bool TQPainter::hasWorldXForm () const +

      + +

      Returns TRUE if world transformation is enabled; otherwise returns +FALSE. +

      See also setWorldXForm(). + +

      bool TQPainter::isActive () const +

      + +

      Returns TRUE if the painter is active painting, i.e. begin() has +been called and end() has not yet been called; otherwise returns +FALSE. +

      See also TQPaintDevice::paintingActive(). + +

      Examples: desktop/desktop.cpp and helpviewer/helpwindow.cpp. +

      void TQPainter::lineTo ( int x, int y ) +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      Use drawLine() instead. +

      Draws a line from the current pen position to (x, y) and sets +(x, y) to be the new current pen position. +

      See also TQPen, moveTo(), drawLine(), and pos(). + +

      void TQPainter::lineTo ( const TQPoint & p ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Draws a line to the point p. + +

      void TQPainter::moveTo ( int x, int y ) +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      Sets the current pen position to (x, y) +

      See also lineTo() and pos(). + +

      void TQPainter::moveTo ( const TQPoint & p ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Moves to the point p. + +

      const TQPen & TQPainter::pen () const +

      + +

      Returns the painter's current pen. +

      See also setPen(). + +

      Examples: progress/progress.cpp, and themes/wood.cpp. +

      TQPoint TQPainter::pos () const +

      +This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      Returns the current position of the pen. +

      See also moveTo(). + +

      RasterOp TQPainter::rasterOp () const +

      + +

      Returns the current raster operation. +

      See also setRasterOp() and RasterOp. + +

      void TQPainter::redirect ( TQPaintDevice * pdev, TQPaintDevice * replacement ) [static] +

      +Redirects all paint commands for a paint device, pdev, to +another paint device, replacement, unless replacement is 0. +If replacement is 0, the redirection for pdev is removed. +

      In general, you'll probably find calling TQPixmap::grabWidget() or +TQPixmap::grabWindow() is an easier solution. + +

      void TQPainter::resetXForm () +

      +Resets any transformations that were made using translate(), scale(), +shear(), rotate(), setWorldMatrix(), setViewport() and +setWindow(). +

      See also worldMatrix(), viewport(), and window(). + +

      void TQPainter::restore () +

      +Restores the current painter state (pops a saved state off the +stack). +

      See also save(). + +

      Example: aclock/aclock.cpp. +

      void TQPainter::restoreWorldMatrix () +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      We recommend using restore() instead. + +

      void TQPainter::rotate ( double a ) +

      +Rotates the coordinate system a degrees counterclockwise. +

      See also translate(), scale(), shear(), resetXForm(), setWorldMatrix(), and xForm(). + +

      Examples: aclock/aclock.cpp, t10/cannon.cpp, and t9/cannon.cpp. +

      void TQPainter::save () +

      +Saves the current painter state (pushes the state onto a stack). A +save() must be followed by a corresponding restore(). end() +unwinds the stack. +

      See also restore(). + +

      Example: aclock/aclock.cpp. +

      void TQPainter::saveWorldMatrix () +

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. +

      We recommend using save() instead. + +

      void TQPainter::scale ( double sx, double sy ) +

      +Scales the coordinate system by (sx, sy). +

      See also translate(), shear(), rotate(), resetXForm(), setWorldMatrix(), and xForm(). + +

      Example: xform/xform.cpp. +

      void TQPainter::setBackgroundColor ( const TQColor & c ) +

      +Sets the background color of the painter to c. +

      The background color is the color that is filled in when drawing +opaque text, stippled lines and bitmaps. The background color has +no effect in transparent background mode (which is the default). +

      See also backgroundColor(), setBackgroundMode(), and BackgroundMode. + +

      void TQPainter::setBackgroundMode ( BGMode m ) +

      +Sets the background mode of the painter to m, which must be +either TransparentMode (the default) or OpaqueMode. +

      Transparent mode draws stippled lines and text without setting the +background pixels. Opaque mode fills these space with the current +background color. +

      Note that in order to draw a bitmap or pixmap transparently, you +must use TQPixmap::setMask(). +

      See also backgroundMode() and setBackgroundColor(). + +

      Example: picture/picture.cpp. +

      void TQPainter::setBrush ( BrushStyle style ) +

      +Sets the painter's brush to black color and the specified style. +

      See also brush() and TQBrush. + +

      Examples: aclock/aclock.cpp, drawdemo/drawdemo.cpp, picture/picture.cpp, t10/cannon.cpp, t9/cannon.cpp, themes/wood.cpp, and tooltip/tooltip.cpp. +

      void TQPainter::setBrush ( const TQBrush & brush ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Sets the painter's brush to brush. +

      The brush defines how shapes are filled. +

      See also brush(). + +

      void TQPainter::setBrush ( const TQColor & color ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Sets the painter's brush to have style SolidPattern and the +specified color. +

      See also brush() and TQBrush. + +

      void TQPainter::setBrushOrigin ( int x, int y ) +

      +Sets the brush origin to (x, y). +

      The brush origin specifies the (0, 0) coordinate of the painter's +brush. This setting only applies to pattern brushes and pixmap +brushes. +

      See also brushOrigin(). + +

      void TQPainter::setBrushOrigin ( const TQPoint & p ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Sets the brush origin to point p. + +

      void TQPainter::setClipRect ( int x, int y, int w, int h, CoordinateMode m = CoordDevice ) +

      + +

      Sets the clip region to the rectangle x, y, w, h and +enables clipping. The clip mode is set to m. +

      If m is CoordDevice (the default), the coordinates given for +the clip region are taken to be physical device coordinates and +are not subject to any coordinate + transformations. If m is CoordPainter, the +coordinates given for the clip region are taken to be model +coordinates. +

      See also setClipRegion(), clipRegion(), setClipping(), and TQPainter::CoordinateMode. + +

      Examples: grapher/grapher.cpp, progress/progress.cpp, showimg/showimg.cpp, splitter/splitter.cpp, and trivial/trivial.cpp. +

      void TQPainter::setClipRect ( const TQRect & r, CoordinateMode m = CoordDevice ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Sets the clip region to the rectangle r and enables clipping. +The clip mode is set to m. +

      See also CoordinateMode. + +

      void TQPainter::setClipRegion ( const TQRegion & rgn, CoordinateMode m = CoordDevice ) +

      +Sets the clip region to rgn and enables clipping. The clip mode +is set to m. +

      Note that the clip region is given in physical device coordinates +and not subject to any coordinate + transformation. +

      See also setClipRect(), clipRegion(), setClipping(), and CoordinateMode. + +

      Examples: qfd/fontdisplayer.cpp and themes/wood.cpp. +

      void TQPainter::setClipping ( bool enable ) +

      +Enables clipping if enable is TRUE, or disables clipping if enable is FALSE. +

      See also hasClipping(), setClipRect(), and setClipRegion(). + +

      Example: themes/wood.cpp. +

      void TQPainter::setFont ( const TQFont & font ) +

      +Sets the painter's font to font. +

      This font is used by subsequent drawText() functions. The text +color is the same as the pen color. +

      See also font() and drawText(). + +

      Examples: drawdemo/drawdemo.cpp, grapher/grapher.cpp, hello/hello.cpp, picture/picture.cpp, qwerty/qwerty.cpp, t13/cannon.cpp, and xform/xform.cpp. +

      void TQPainter::setPen ( const TQPen & pen ) +

      +Sets a new painter pen. +

      The pen defines how to draw lines and outlines, and it also +defines the text color. +

      See also pen(). + +

      Examples: desktop/desktop.cpp, drawdemo/drawdemo.cpp, progress/progress.cpp, t9/cannon.cpp, themes/metal.cpp, and themes/wood.cpp. +

      void TQPainter::setPen ( PenStyle style ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Sets the painter's pen to have style style, width 0 and black +color. +

      See also pen() and TQPen. + +

      void TQPainter::setPen ( const TQColor & color ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Sets the painter's pen to have style SolidLine, width 0 and the +specified color. +

      See also pen() and TQPen. + +

      void TQPainter::setRasterOp ( RasterOp r ) +

      +Sets the raster operation to r. +The default is CopyROP. +

      See also rasterOp() and TQt::RasterOp. + +

      void TQPainter::setTabArray ( int * ta ) +

      +Sets the tab stop array to ta. This puts tab stops at ta[0], +ta[1] and so on. The array is null-terminated. +

      If both a tab array and a tab top size is set, the tab array wins. +

      See also tabArray(), setTabStops(), drawText(), and fontMetrics(). + +

      void TQPainter::setTabStops ( int ts ) +

      +Set the tab stop width to ts, i.e. locates tab stops at ts, +2*ts, 3*ts and so on. +

      Tab stops are used when drawing formatted text with ExpandTabs +set. This fixed tab stop value is used only if no tab array is set +(which is the default case). +

      A value of 0 (the default) implies a tabstop setting of 8 times the width of the +character 'x' in the font currently set on the painter. +

      See also tabStops(), setTabArray(), drawText(), and fontMetrics(). + +

      void TQPainter::setViewXForm ( bool enable ) +

      +Enables view transformations if enable is TRUE, or disables +view transformations if enable is FALSE. +

      See also hasViewXForm(), setWindow(), setViewport(), setWorldMatrix(), setWorldXForm(), and xForm(). + +

      void TQPainter::setViewport ( int x, int y, int w, int h ) +

      +Sets the viewport rectangle view transformation for the painter +and enables view transformation. +

      The viewport rectangle is part of the view transformation. The +viewport specifies the device coordinate system and is specified +by the x, y, w width and h height parameters. Its +sister, the window(), specifies the logical coordinate system. +

      The default viewport rectangle is the same as the device's +rectangle. See the Coordinate System Overview for an overview of coordinate transformation. +

      See also viewport(), setWindow(), setViewXForm(), setWorldMatrix(), setWorldXForm(), and xForm(). + +

      Example: aclock/aclock.cpp. +

      void TQPainter::setViewport ( const TQRect & r ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Sets the painter's viewport to rectangle r. + +

      void TQPainter::setWindow ( int x, int y, int w, int h ) +

      +Sets the window rectangle view transformation for the painter and +enables view transformation. +

      The window rectangle is part of the view transformation. The +window specifies the logical coordinate system and is specified by +the x, y, w width and h height parameters. Its sister, +the viewport(), specifies the device coordinate system. +

      The default window rectangle is the same as the device's +rectangle. See the Coordinate System Overview for an overview of coordinate transformation. +

      See also window(), setViewport(), setViewXForm(), setWorldMatrix(), and setWorldXForm(). + +

      Examples: aclock/aclock.cpp and drawdemo/drawdemo.cpp. +

      void TQPainter::setWindow ( const TQRect & r ) +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Sets the painter's window to rectangle r. + +

      void TQPainter::setWorldMatrix ( const TQWMatrix & m, bool combine = FALSE ) +

      +Sets the world transformation matrix to m and enables world +transformation. +

      If combine is TRUE, then m is combined with the current +transformation matrix, otherwise m replaces the current +transformation matrix. +

      If m is the identity matrix and combine is FALSE, this +function calls setWorldXForm(FALSE). (The identity matrix is the +matrix where TQWMatrix::m11() and TQWMatrix::m22() are 1.0 and the +rest are 0.0.) +

      World transformations are applied after the view transformations +(i.e. window and viewport). +

      The following functions can transform the coordinate system without using +a TQWMatrix: +

      +

      They operate on the painter's worldMatrix() and are implemented like this: +

      +        void TQPainter::rotate( double a )
      +        {
      +            TQWMatrix m;
      +            m.rotate( a );
      +            setWorldMatrix( m, TRUE );
      +        }
      +    
      + +

      Note that you should always use combine when you are drawing +into a TQPicture. Otherwise it may not be possible to replay the +picture with additional transformations. Using translate(), +scale(), etc., is safe. +

      For a brief overview of coordinate transformation, see the Coordinate System Overview. +

      See also worldMatrix(), setWorldXForm(), setWindow(), setViewport(), setViewXForm(), xForm(), and TQWMatrix. + +

      Examples: drawdemo/drawdemo.cpp and xform/xform.cpp. +

      void TQPainter::setWorldXForm ( bool enable ) +

      +Enables world transformations if enable is TRUE, or disables +world transformations if enable is FALSE. The world +transformation matrix is not changed. +

      See also setWorldMatrix(), setWindow(), setViewport(), setViewXForm(), and xForm(). + +

      void TQPainter::shear ( double sh, double sv ) +

      +Shears the coordinate system by (sh, sv). +

      See also translate(), scale(), rotate(), resetXForm(), setWorldMatrix(), and xForm(). + +

      int * TQPainter::tabArray () const +

      + +

      Returns the currently set tab stop array. +

      See also setTabArray(). + +

      int TQPainter::tabStops () const +

      + +

      Returns the tab stop setting. +

      See also setTabStops(). + +

      void TQPainter::translate ( double dx, double dy ) +

      +Translates the coordinate system by (dx, dy). After this call, +(dx, dy) is added to points. +

      For example, the following code draws the same point twice: +

      +        void MyWidget::paintEvent()
      +        {
      +            TQPainter paint( this );
      +
      +            paint.drawPoint( 0, 0 );
      +
      +            paint.translate( 100.0, 40.0 );
      +            paint.drawPoint( -100, -40 );
      +        }
      +    
      + +

      See also scale(), shear(), rotate(), resetXForm(), setWorldMatrix(), and xForm(). + +

      Examples: action/application.cpp, application/application.cpp, t10/cannon.cpp, t9/cannon.cpp, themes/metal.cpp, themes/wood.cpp, and xform/xform.cpp. +

      TQRect TQPainter::viewport () const +

      +Returns the viewport rectangle. +

      See also setViewport() and setViewXForm(). + +

      Example: aclock/aclock.cpp. +

      TQRect TQPainter::window () const +

      +Returns the window rectangle. +

      See also setWindow() and setViewXForm(). + +

      const TQWMatrix & TQPainter::worldMatrix () const +

      +Returns the world transformation matrix. +

      See also setWorldMatrix(). + +

      TQPoint TQPainter::xForm ( const TQPoint & pv ) const +

      +Returns the point pv transformed from model coordinates to +device coordinates. +

      See also xFormDev() and TQWMatrix::map(). + +

      TQRect TQPainter::xForm ( const TQRect & rv ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns the rectangle rv transformed from model coordinates to +device coordinates. +

      If world transformation is enabled and rotation or shearing has +been specified, then the bounding rectangle is returned. +

      See also xFormDev() and TQWMatrix::map(). + +

      TQPointArray TQPainter::xForm ( const TQPointArray & av ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns the point array av transformed from model coordinates +to device coordinates. +

      See also xFormDev() and TQWMatrix::map(). + +

      TQPointArray TQPainter::xForm ( const TQPointArray & av, int index, int npoints ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns the point array av transformed from model coordinates +to device coordinates. The index is the first point in the +array and npoints denotes the number of points to be +transformed. If npoints is negative, all points from av[index] until the last point in the array are transformed. +

      The returned point array consists of the number of points that +were transformed. +

      Example: +

      +        TQPointArray a(10);
      +        TQPointArray b;
      +        b = painter.xForm(a, 2, 4);  // b.size() == 4
      +        b = painter.xForm(a, 2, -1); // b.size() == 8
      +    
      + +

      See also xFormDev() and TQWMatrix::map(). + +

      TQRect TQPainter::xFormDev ( const TQRect & rd ) const +

      +Returns the rectangle rd transformed from device coordinates to +model coordinates. +

      If world transformation is enabled and rotation or shearing is +used, then the bounding rectangle is returned. +

      See also xForm() and TQWMatrix::map(). + +

      TQPoint TQPainter::xFormDev ( const TQPoint & pd ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns the point pd transformed from device coordinates to +model coordinates. +

      See also xForm() and TQWMatrix::map(). + +

      TQPointArray TQPainter::xFormDev ( const TQPointArray & ad ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns the point array ad transformed from device coordinates +to model coordinates. +

      See also xForm() and TQWMatrix::map(). + +

      TQPointArray TQPainter::xFormDev ( const TQPointArray & ad, int index, int npoints ) const +

      +This is an overloaded member function, provided for convenience. It behaves essentially like the above function. +

      Returns the point array ad transformed from device coordinates +to model coordinates. The index is the first point in the array +and npoints denotes the number of points to be transformed. If +npoints is negative, all points from ad[index] until the +last point in the array are transformed. +

      The returned point array consists of the number of points that +were transformed. +

      Example: +

      +        TQPointArray a(10);
      +        TQPointArray b;
      +        b = painter.xFormDev(a, 1, 3);  // b.size() == 3
      +        b = painter.xFormDev(a, 1, -1); // b.size() == 9
      +    
      + +

      See also xForm() and TQWMatrix::map(). + +


      Related Functions

      +

      void qDrawPlainRect ( TQPainter * p, int x, int y, int w, int h, const TQColor & c, int lineWidth, const TQBrush * fill ) +

      + +

      #include <ntqdrawutil.h> +

      Draws the plain rectangle specified by (x, y, w, h) +using the painter p. +

      The color argument c specifies the line color. +

      The lineWidth argument specifies the line width. +

      The rectangle's interior is filled with the fill brush unless +fill is 0. +

      If you want to use a TQFrame widget instead, you can make it +display a plain rectangle, for example TQFrame::setFrameStyle( TQFrame::Box | TQFrame::Plain ). +

      Warning: This function does not look at TQWidget::style() or +TQApplication::style(). Use the drawing functions in TQStyle to make +widgets that follow the current GUI style. +

      See also qDrawShadeRect() and TQStyle::drawPrimitive(). + +

      void qDrawShadeLine ( TQPainter * p, int x1, int y1, int x2, int y2, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth ) +

      + +

      #include <ntqdrawutil.h> +

      Draws a horizontal (y1 == y2) or vertical (x1 == x2) +shaded line using the painter p. +

      Nothing is drawn if y1 != y2 and x1 != x2 (i.e. the +line is neither horizontal nor vertical). +

      The color group argument g specifies the shading colors (light, dark and middle colors). +

      The line appears sunken if sunken is TRUE, or raised if sunken is FALSE. +

      The lineWidth argument specifies the line width for each of the +lines. It is not the total line width. +

      The midLineWidth argument specifies the width of a middle line +drawn in the TQColorGroup::mid() color. +

      If you want to use a TQFrame widget instead, you can make it +display a shaded line, for example TQFrame::setFrameStyle( TQFrame::HLine | TQFrame::Sunken ). +

      Warning: This function does not look at TQWidget::style() or +TQApplication::style(). Use the drawing functions in TQStyle to make +widgets that follow the current GUI style. +

      See also qDrawShadeRect(), qDrawShadePanel(), and TQStyle::drawPrimitive(). + +

      void qDrawShadePanel ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, const TQBrush * fill ) +

      + +

      #include <ntqdrawutil.h> +

      Draws the shaded panel specified by (x, y, w, h) using +the painter p. +

      The color group argument g specifies the shading colors (light, dark and middle colors). +

      The panel appears sunken if sunken is TRUE, or raised if sunken is FALSE. +

      The lineWidth argument specifies the line width. +

      The panel's interior is filled with the fill brush unless fill is 0. +

      If you want to use a TQFrame widget instead, you can make it +display a shaded panel, for example TQFrame::setFrameStyle( TQFrame::Panel | TQFrame::Sunken ). +

      Warning: This function does not look at TQWidget::style() or +TQApplication::style(). Use the drawing functions in TQStyle to make +widgets that follow the current GUI style. +

      See also qDrawWinPanel(), qDrawShadeLine(), qDrawShadeRect(), and TQStyle::drawPrimitive(). + +

      void qDrawShadeRect ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, int lineWidth, int midLineWidth, const TQBrush * fill ) +

      + +

      #include <ntqdrawutil.h> +

      Draws the shaded rectangle specified by (x, y, w, h) +using the painter p. +

      The color group argument g specifies the shading colors (light, dark and middle colors). +

      The rectangle appears sunken if sunken is TRUE, or raised if sunken is FALSE. +

      The lineWidth argument specifies the line width for each of the +lines. It is not the total line width. +

      The midLineWidth argument specifies the width of a middle line +drawn in the TQColorGroup::mid() color. +

      The rectangle's interior is filled with the fill brush unless +fill is 0. +

      If you want to use a TQFrame widget instead, you can make it +display a shaded rectangle, for example TQFrame::setFrameStyle( TQFrame::Box | TQFrame::Raised ). +

      Warning: This function does not look at TQWidget::style() or +TQApplication::style(). Use the drawing functions in TQStyle to make +widgets that follow the current GUI style. +

      See also qDrawShadeLine(), qDrawShadePanel(), qDrawPlainRect(), TQStyle::drawItem(), TQStyle::drawControl(), and TQStyle::drawComplexControl(). + +

      void qDrawWinButton ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill ) +

      + +

      #include <ntqdrawutil.h> +

      Draws the Windows-style button specified by (x, y, w, h) using the painter p. +

      The color group argument g specifies the shading colors (light, dark and middle colors). +

      The button appears sunken if sunken is TRUE, or raised if sunken is FALSE. +

      The line width is 2 pixels. +

      The button's interior is filled with the *fill brush unless fill is 0. +

      Warning: This function does not look at TQWidget::style() or +TQApplication::style(). Use the drawing functions in TQStyle to make +widgets that follow the current GUI style. +

      See also qDrawWinPanel() and TQStyle::drawControl(). + +

      void qDrawWinPanel ( TQPainter * p, int x, int y, int w, int h, const TQColorGroup & g, bool sunken, const TQBrush * fill ) +

      + +

      #include <ntqdrawutil.h> +

      Draws the Windows-style panel specified by (x, y, w, h) using the painter p. +

      The color group argument g specifies the shading colors. +

      The panel appears sunken if sunken is TRUE, or raised if sunken is FALSE. +

      The line width is 2 pixels. +

      The button's interior is filled with the fill brush unless fill is 0. +

      If you want to use a TQFrame widget instead, you can make it +display a shaded panel, for example TQFrame::setFrameStyle( TQFrame::WinPanel | TQFrame::Raised ). +

      Warning: This function does not look at TQWidget::style() or +TQApplication::style(). Use the drawing functions in TQStyle to make +widgets that follow the current GUI style. +

      See also qDrawShadePanel(), qDrawWinButton(), and TQStyle::drawPrimitive(). + + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqpaintevent-members.html b/doc/html/tqpaintevent-members.html new file mode 100644 index 000000000..836e79f85 --- /dev/null +++ b/doc/html/tqpaintevent-members.html @@ -0,0 +1,52 @@ + + + + + +TQPaintEvent Member List + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      Complete Member List for TQPaintEvent

      + +

      This is the complete list of member functions for +TQPaintEvent, including inherited members. + +

      + +


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqpaintevent.html b/doc/html/tqpaintevent.html new file mode 100644 index 000000000..3ee7a4853 --- /dev/null +++ b/doc/html/tqpaintevent.html @@ -0,0 +1,119 @@ + + + + + +TQPaintEvent Class + + + + + + + +
      + +Home + | +All Classes + | +Main Classes + | +Annotated + | +Grouped Classes + | +Functions +

      TQPaintEvent Class Reference

      + +

      The TQPaintEvent class contains event parameters for paint events. +More... +

      #include <ntqevent.h> +

      Inherits TQEvent. +

      List of all member functions. +

      Public Members

      +
        +
      • TQPaintEvent ( const TQRegion & paintRegion, bool erased = TRUE )
      • +
      • TQPaintEvent ( const TQRect & paintRect, bool erased = TRUE )
      • +
      • TQPaintEvent ( const TQRegion & paintRegion, const TQRect & paintRect, bool erased = TRUE )
      • +
      • const TQRect & rect () const
      • +
      • const TQRegion & region () const
      • +
      • bool erased () const
      • +
      +

      Detailed Description

      + + +The TQPaintEvent class contains event parameters for paint events. +

      +

      Paint events are sent to widgets that need to update themselves, +for instance when part of a widget is exposed because a covering +widget is moved. +

      The event contains a region() that needs to be updated, and a +rect() that is the bounding rectangle of that region. Both are +provided because many widgets can't make much use of region(), and +rect() can be much faster than region().boundingRect(). Painting +is clipped to region() during processing of a paint event. +

      The erased() function returns TRUE if the region() has been +cleared to the widget's background (see +TQWidget::backgroundMode()), and FALSE if the region's contents are +arbitrary. +

      See also TQPainter, TQWidget::update(), TQWidget::repaint(), TQWidget::paintEvent(), TQWidget::backgroundMode, TQRegion, and Event Classes. + +


      Member Function Documentation

      +

      TQPaintEvent::TQPaintEvent ( const TQRegion & paintRegion, bool erased = TRUE ) +

      + +

      Constructs a paint event object with the region that should be +updated. The region is given by paintRegion. If erased is +TRUE the region will be cleared before repainting. + +

      TQPaintEvent::TQPaintEvent ( const TQRect & paintRect, bool erased = TRUE ) +

      + +

      Constructs a paint event object with the rectangle that should be +updated. The region is also given by paintRect. If erased is +TRUE the region will be cleared before repainting. + +

      TQPaintEvent::TQPaintEvent ( const TQRegion & paintRegion, const TQRect & paintRect, bool erased = TRUE ) +

      + +

      Constructs a paint event object with the rectangle paintRect +that should be updated. The region is given by paintRegion. If +erased is TRUE the region will be cleared before repainting. + +

      bool TQPaintEvent::erased () const +

      + +

      Returns TRUE if the paint event region (or rectangle) has been +erased with the widget's background; otherwise returns FALSE. + +

      const TQRect & TQPaintEvent::rect () const +

      + +

      Returns the rectangle that should be updated. +

      See also region() and TQPainter::setClipRect(). + +

      Examples: life/life.cpp, qfd/fontdisplayer.cpp, showimg/showimg.cpp, t10/cannon.cpp, t11/cannon.cpp, t13/cannon.cpp, and tooltip/tooltip.cpp. +

      const TQRegion & TQPaintEvent::region () const +

      + +

      Returns the region that should be updated. +

      See also rect() and TQPainter::setClipRegion(). + +

      Examples: qfd/fontdisplayer.cpp and scribble/scribble.cpp. + +


      +This file is part of the TQt toolkit. +Copyright © 1995-2007 +Trolltech. All Rights Reserved.


      + +
      Copyright © 2007 +TrolltechTrademarks +
      TQt 3.3.8
      +
      + diff --git a/doc/html/tqpopupmenu-members.html b/doc/html/tqpopupmenu-members.html index 9432a43d9..49f11f917 100644 --- a/doc/html/tqpopupmenu-members.html +++ b/doc/html/tqpopupmenu-members.html @@ -69,7 +69,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • columns()
    • connect() @@ -133,7 +133,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -166,7 +166,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -234,7 +234,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -370,28 +370,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqpopupmenu.html b/doc/html/tqpopupmenu.html index 7e7eb8901..84e54d691 100644 --- a/doc/html/tqpopupmenu.html +++ b/doc/html/tqpopupmenu.html @@ -284,12 +284,12 @@ identifier id. destroyed.

      See also connectItem() and setItemParameter(). -

      void TQPopupMenu::drawContents ( TQPainter * p ) [virtual protected] +

      void TQPopupMenu::drawContents ( TQPainter * p ) [virtual protected]

      Draws all menu items using painter p.

      Reimplemented from TQFrame. -

      void TQPopupMenu::drawItem ( TQPainter * p, int tab_, TQMenuItem * mi, bool act, int x, int y, int w, int h ) [protected] +

      void TQPopupMenu::drawItem ( TQPainter * p, int tab_, TQMenuItem * mi, bool act, int x, int y, int w, int h ) [protected]

      Draws menu item mi in the area x, y, w, h, using painter p. The item is drawn active if act is TRUE or drawn diff --git a/doc/html/tqsizegrip-members.html b/doc/html/tqsizegrip-members.html index 2e618d6de..994c43989 100644 --- a/doc/html/tqsizegrip-members.html +++ b/doc/html/tqsizegrip-members.html @@ -62,7 +62,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -110,7 +110,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -135,7 +135,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -190,7 +190,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -303,28 +303,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqsizegrip.html b/doc/html/tqsizegrip.html index 6cb48297d..c2d03d342 100644 --- a/doc/html/tqsizegrip.html +++ b/doc/html/tqsizegrip.html @@ -87,7 +87,7 @@ in e. Primes the resize operation. The event is in e.

      Reimplemented from TQWidget. -

      void TQSizeGrip::paintEvent ( TQPaintEvent * e ) [virtual protected] +

      void TQSizeGrip::paintEvent ( TQPaintEvent * e ) [virtual protected]

      Paints the resize grip. Resize grips are usually rendered as small diagonal textured lines in the lower-right corner. The event is in diff --git a/doc/html/tqstatusbar-members.html b/doc/html/tqstatusbar-members.html index ef4625c5f..3023982a0 100644 --- a/doc/html/tqstatusbar-members.html +++ b/doc/html/tqstatusbar-members.html @@ -64,7 +64,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -112,7 +112,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -138,7 +138,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -196,7 +196,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -312,28 +312,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqstatusbar.html b/doc/html/tqstatusbar.html index 0cd77f75b..ce4247cdc 100644 --- a/doc/html/tqstatusbar.html +++ b/doc/html/tqstatusbar.html @@ -176,7 +176,7 @@ changes. message is the new temporary message, and is a null-string when the message has been removed.

      See also message() and clear(). -

      void TQStatusBar::paintEvent ( TQPaintEvent * ) [virtual protected] +

      void TQStatusBar::paintEvent ( TQPaintEvent * ) [virtual protected]

      Shows the temporary message, if appropriate. diff --git a/doc/html/tqstring.html b/doc/html/tqstring.html index 91667871f..380b8825f 100644 --- a/doc/html/tqstring.html +++ b/doc/html/tqstring.html @@ -980,7 +980,7 @@ the length of utf8 then it will use the length of utf8.

      See TQTextCodec for more diverse coding/decoding of Unicode strings. -

      Example: fonts/simple-qfont-demo/viewer.cpp. +

      Example: fonts/simple-tqfont-demo/viewer.cpp.

      TQString & TQString::insert ( uint index, const TQString & s )

      Inserts s into the string at position index. @@ -1177,7 +1177,7 @@ between 2 and 36. The returned string is in "C" locale.

      See also setNum(). -

      Examples: application/application.cpp, chart/chartform.cpp, fonts/simple-qfont-demo/viewer.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, regexptester/regexptester.cpp, and sql/overview/extract/main.cpp. +

      Examples: application/application.cpp, chart/chartform.cpp, fonts/simple-tqfont-demo/viewer.cpp, helpviewer/helpwindow.cpp, mdi/application.cpp, regexptester/regexptester.cpp, and sql/overview/extract/main.cpp.

      TQString TQString::number ( ulong n, int base = 10 ) [static]

      This is an overloaded member function, provided for convenience. It behaves essentially like the above function. diff --git a/doc/html/tqstyle.html b/doc/html/tqstyle.html index 9ba54198b..00b28f2c4 100644 --- a/doc/html/tqstyle.html +++ b/doc/html/tqstyle.html @@ -650,7 +650,7 @@ Destroys the style and frees all allocated resources. This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

      -

      void TQStyle::drawComplexControl ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual] +

      void TQStyle::drawComplexControl ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & cg, SFlags how = Style_Default, SCFlags sub = SC_All, SCFlags subActive = SC_None, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual]

      Draws the ComplexControl control using the painter p in the @@ -729,7 +729,7 @@ contain the mouse when auto-raise is enabled.

    • See also ComplexControl and SubControl. -

      void TQStyle::drawComplexControlMask ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual] +

      void TQStyle::drawComplexControlMask ( ComplexControl control, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual]

      Draw a bitmask for the ComplexControl control using the painter @@ -741,7 +741,7 @@ corrdinates into screen coordinates when using drawPrim drawControl().

      See also drawComplexControl() and ComplexControl. -

      void TQStyle::drawControl ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & cg, SFlags how = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual] +

      void TQStyle::drawControl ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQColorGroup & cg, SFlags how = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual]

      Draws the ControlElement element using the painter p in the @@ -866,7 +866,7 @@ contain the mouse when auto-raise is enabled.

    • See also ControlElement and StyleFlags. -

      void TQStyle::drawControlMask ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual] +

      void TQStyle::drawControlMask ( ControlElement element, TQPainter * p, const TQWidget * widget, const TQRect & r, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual]

      Draw a bitmask for the ControlElement element using the painter @@ -875,7 +875,7 @@ use of the widget and opt arguments.

      The rect r should be in screen coordinates.

      See also drawControl() and ControlElement. -

      void TQStyle::drawItem ( TQPainter * p, const TQRect & r, int flags, const TQColorGroup & g, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const [virtual] +

      void TQStyle::drawItem ( TQPainter * p, const TQRect & r, int flags, const TQColorGroup & g, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1, const TQColor * penColor = 0 ) const [virtual]

      Draws the text or pixmap in rectangle r using painter p and color group g. The pen color is specified with penColor. The enabled bool indicates whether or not the item is enabled; when reimplementing this bool should influence how the @@ -886,7 +886,7 @@ drawn. The text is aligned and wrapped according to the alignment

      By default, if both the text and the pixmap are not null, the pixmap is drawn and the text is ignored. -

      void TQStyle::drawPrimitive ( PrimitiveElement pe, TQPainter * p, const TQRect & r, const TQColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual] +

      void TQStyle::drawPrimitive ( PrimitiveElement pe, TQPainter * p, const TQRect & r, const TQColorGroup & cg, SFlags flags = Style_Default, const TQStyleOption & opt = TQStyleOption::Default ) const [pure virtual]

      Draws the style PrimitiveElement pe using the painter p in @@ -902,7 +902,7 @@ When opt is non-default, it is used as follows:

      PrimitiveElement Options Notes
      PE_FocusRect -TQStyleOption ( const TQColor & bg ) +TQStyleOption ( const TQColor & bg ) @@ -958,7 +958,7 @@ for the group box.

      See also StyleFlags.

      Example: themes/wood.cpp. -

      TQRect TQStyle::itemRect ( TQPainter * p, const TQRect & r, int flags, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1 ) const [virtual] +

      TQRect TQStyle::itemRect ( TQPainter * p, const TQRect & r, int flags, bool enabled, const TQPixmap * pixmap, const TQString & text, int len = -1 ) const [virtual]

      Returns the appropriate area (see below) within rectangle r in which to draw the text or pixmap using painter p. If len is -1 (the default) all the text is drawn; otherwise only diff --git a/doc/html/tqstyleoption.html b/doc/html/tqstyleoption.html index 9a9520948..ab9e751c3 100644 --- a/doc/html/tqstyleoption.html +++ b/doc/html/tqstyleoption.html @@ -146,7 +146,7 @@ midlinewidth.

      Pass a menu item and two integers, m, in1 and in2. -

      TQStyleOption::TQStyleOption ( const TQColor & c ) +

      TQStyleOption::TQStyleOption ( const TQColor & c )

      Pass a color, c. @@ -193,7 +193,7 @@ otherwise the return value is undefined.

      Returns a check list item if the appropriate constructor was called; otherwise the return value is undefined. -

      const TQColor & TQStyleOption::color () const +

      const TQColor & TQStyleOption::color () const

      Returns a color if the appropriate constructor was called; diff --git a/doc/html/tqstylesheet.html b/doc/html/tqstylesheet.html index 438f6018f..dd325d067 100644 --- a/doc/html/tqstylesheet.html +++ b/doc/html/tqstylesheet.html @@ -338,14 +338,14 @@ mainly checks whether there is something that looks like a tag before the first line break. Although the result may be correct for common cases, there is no guarantee. -

      void TQStyleSheet::scaleFont ( TQFont & font, int logicalSize ) const [virtual] +

      void TQStyleSheet::scaleFont ( TQFont & font, int logicalSize ) const [virtual]

      Scales the font font to the appropriate physical point size corresponding to the logical font size logicalSize.

      When calling this function, font has a point size corresponding to the logical font size 3.

      Logical font sizes range from 1 to 7, with 1 being the smallest. -

      See also TQStyleSheetItem::logicalFontSize(), TQStyleSheetItem::logicalFontSizeStep(), and TQFont::setPointSize(). +

      See also TQStyleSheetItem::logicalFontSize(), TQStyleSheetItem::logicalFontSizeStep(), and TQFont::setPointSize().

      void TQStyleSheet::setDefaultSheet ( TQStyleSheet * sheet ) [static]

      diff --git a/doc/html/tqstylesheetitem.html b/doc/html/tqstylesheetitem.html index f502f36ed..ce9013bb1 100644 --- a/doc/html/tqstylesheetitem.html +++ b/doc/html/tqstylesheetitem.html @@ -207,11 +207,11 @@ Returns TRUE if this style can be nested into an element of style s; otherwise returns FALSE.

      See also contexts() and setContexts(). -

      TQColor TQStyleSheetItem::color () const +

      TQColor TQStyleSheetItem::color () const

      Returns the text color of this style or an invalid color if no color has been set. -

      See also setColor() and TQColor::isValid(). +

      See also setColor() and TQColor::isValid().

      TQString TQStyleSheetItem::contexts () const

      @@ -252,7 +252,7 @@ Returns the display Returns the font family setting of the style. This is either a valid font family or TQString::null if no family has been set. -

      See also setFontFamily(), TQFont::family(), and TQFont::setFamily(). +

      See also setFontFamily(), TQFont::family(), and TQFont::setFamily().

      bool TQStyleSheetItem::fontItalic () const

      @@ -264,7 +264,7 @@ FALSE. Returns the font size setting of the style. This is either a valid point size or TQStyleSheetItem::Undefined. -

      See also setFontSize(), TQFont::pointSize(), and TQFont::setPointSize(). +

      See also setFontSize(), TQFont::pointSize(), and TQFont::setPointSize().

      bool TQStyleSheetItem::fontStrikeOut () const

      @@ -281,8 +281,8 @@ returns FALSE.

      int TQStyleSheetItem::fontWeight () const

      Returns the font weight setting of the style. This is either a -valid TQFont::Weight or the value TQStyleSheetItem::Undefined. -

      See also setFontWeight() and TQFont. +valid TQFont::Weight or the value TQStyleSheetItem::Undefined. +

      See also setFontWeight() and TQFont.

      bool TQStyleSheetItem::isAnchor () const

      @@ -303,7 +303,7 @@ Returns the list style of the style. Returns the logical font size setting of the style. This is either a valid size between 1 and 7 or TQStyleSheetItem::Undefined. -

      See also setLogicalFontSize(), setLogicalFontSizeStep(), TQFont::pointSize(), and TQFont::setPointSize(). +

      See also setLogicalFontSize(), setLogicalFontSizeStep(), TQFont::pointSize(), and TQFont::setPointSize().

      int TQStyleSheetItem::logicalFontSizeStep () const

      @@ -354,7 +354,7 @@ link); otherwise sets it to not be an anchor. Elements in this style link to other documents or anchors.

      See also isAnchor(). -

      void TQStyleSheetItem::setColor ( const TQColor & c ) +

      void TQStyleSheetItem::setColor ( const TQColor & c )

      Sets the text color of this style to c.

      See also color(). @@ -374,7 +374,7 @@ Sets the display mode of the style to m.

      void TQStyleSheetItem::setFontFamily ( const TQString & fam )

      Sets the font family setting of the style to fam. -

      See also fontFamily(), TQFont::family(), and TQFont::setFamily(). +

      See also fontFamily(), TQFont::family(), and TQFont::setFamily().

      void TQStyleSheetItem::setFontItalic ( bool italic )

      @@ -385,7 +385,7 @@ upright.

      void TQStyleSheetItem::setFontSize ( int s )

      Sets the font size setting of the style to s points. -

      See also fontSize(), TQFont::pointSize(), and TQFont::setPointSize(). +

      See also fontSize(), TQFont::pointSize(), and TQFont::setPointSize().

      void TQStyleSheetItem::setFontStrikeOut ( bool strikeOut )

      @@ -402,8 +402,8 @@ sets no underline.

      void TQStyleSheetItem::setFontWeight ( int w )

      Sets the font weight setting of the style to w. Valid values -are those defined by TQFont::Weight. -

      See also TQFont and fontWeight(). +are those defined by TQFont::Weight. +

      See also TQFont and fontWeight().

      void TQStyleSheetItem::setListStyle ( ListStyle s )

      @@ -415,7 +415,7 @@ Sets the list style of the style to s. Sets the logical font size setting of the style to s. Valid logical sizes are 1 to 7. -

      See also logicalFontSize(), TQFont::pointSize(), and TQFont::setPointSize(). +

      See also logicalFontSize(), TQFont::pointSize(), and TQFont::setPointSize().

      void TQStyleSheetItem::setLogicalFontSizeStep ( int s )

      diff --git a/doc/html/tqtextbrowser-h.html b/doc/html/tqtextbrowser-h.html index badeb3fea..76a953197 100644 --- a/doc/html/tqtextbrowser-h.html +++ b/doc/html/tqtextbrowser-h.html @@ -80,7 +80,7 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "tqptrlist.h" #include "ntqpixmap.h" -#include "ntqcolor.h" +#include "tqcolor.h" #include "tqtextedit.h" #endif // QT_H diff --git a/doc/html/tqtextbrowser-members.html b/doc/html/tqtextbrowser-members.html index c34256e3a..ceea0d3a9 100644 --- a/doc/html/tqtextbrowser-members.html +++ b/doc/html/tqtextbrowser-members.html @@ -80,7 +80,7 @@ body { background: #ffffff; color: black; }
    • clipper()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • color()
    • colorGroup()
    • connect() @@ -181,7 +181,7 @@ body { background: #ffffff; color: black; }
    • grabKeyboard()
    • grabMouse()
    • hScrollBarMode() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -216,7 +216,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -295,7 +295,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -518,28 +518,28 @@ body { background: #ffffff; color: black; }
    • wrapColumnOrWidth()
    • wrapPolicy()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y()
    • zoomIn()
    • zoomOut() diff --git a/doc/html/tqtextedit-members.html b/doc/html/tqtextedit-members.html index 952eb043c..c5ff8827e 100644 --- a/doc/html/tqtextedit-members.html +++ b/doc/html/tqtextedit-members.html @@ -77,7 +77,7 @@ body { background: #ffffff; color: black; }
    • clipper()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • color()
    • colorGroup()
    • connect() @@ -176,7 +176,7 @@ body { background: #ffffff; color: black; }
    • grabKeyboard()
    • grabMouse()
    • hScrollBarMode() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -209,7 +209,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -287,7 +287,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -506,28 +506,28 @@ body { background: #ffffff; color: black; }
    • wrapColumnOrWidth()
    • wrapPolicy()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y()
    • zoomIn()
    • zoomOut() diff --git a/doc/html/tqtextedit.html b/doc/html/tqtextedit.html index 52e2da198..2e51acc66 100644 --- a/doc/html/tqtextedit.html +++ b/doc/html/tqtextedit.html @@ -724,7 +724,7 @@ default color is used again. para at character position pos.

      See also doubleClicked(). -

      TQColor TQTextEdit::color () const +

      TQColor TQTextEdit::color () const

      Returns the color of the current format.

      See also setColor() and paper. @@ -782,7 +782,7 @@ has changed.

      The new alignment is a.

      See also setAlignment(). -

      void TQTextEdit::currentColorChanged ( const TQColor & c ) [signal] +

      void TQTextEdit::currentColorChanged ( const TQColor & c ) [signal]

      This signal is emitted if the color of the current format has @@ -790,12 +790,12 @@ changed.

      The new color is c.

      See also setColor(). -

      TQFont TQTextEdit::currentFont () const +

      TQFont TQTextEdit::currentFont () const

      Returns the font of the current format.

      See also setCurrentFont(), setFamily(), and setPointSize(). -

      void TQTextEdit::currentFontChanged ( const TQFont & f ) [signal] +

      void TQTextEdit::currentFontChanged ( const TQFont & f ) [signal]

      This signal is emitted if the font of the current format has @@ -891,7 +891,7 @@ tab moves the focus to the next child; if n is FALSE the tab moves the focus to the previous child. Returns TRUE if the focus was moved; otherwise returns FALSE. -

      TQFont TQTextEdit::font () const +

      TQFont TQTextEdit::font () const

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

      Returns TQScrollView::font() @@ -1044,7 +1044,7 @@ used by some key event handler. select specifies whether the text between the current cursor position and the new position should be selected. -

      TQBrush TQTextEdit::paper () const +

      TQBrush TQTextEdit::paper () const

      Returns the background (paper) brush. See the "paper" property for details.

      int TQTextEdit::paragraphAt ( const TQPoint & pos ) const @@ -1052,7 +1052,7 @@ See the "paper" property for details. Returns the paragraph which is at position pos (in contents coordinates). -

      TQColor TQTextEdit::paragraphBackgroundColor ( int para ) const +

      TQColor TQTextEdit::paragraphBackgroundColor ( int para ) const

      Returns the background color of the paragraph para or an invalid color if para is out of range or the paragraph has no @@ -1189,12 +1189,12 @@ If b is TRUE sets the current format to bold; otherwise sets the current format to non-bold.

      See also bold(). -

      void TQTextEdit::setColor ( const TQColor & c ) [virtual slot] +

      void TQTextEdit::setColor ( const TQColor & c ) [virtual slot]

      Sets the color of the current format, i.e. of the text, to c.

      See also color() and paper. -

      void TQTextEdit::setCurrentFont ( const TQFont & f ) [virtual slot] +

      void TQTextEdit::setCurrentFont ( const TQFont & f ) [virtual slot]

      Sets the font of the current format to f. @@ -1242,10 +1242,10 @@ See the "modified" property for deta

      void TQTextEdit::setOverwriteMode ( bool b ) [virtual slot]

      Sets the text edit's overwrite mode to b. See the "overwriteMode" property for details. -

      void TQTextEdit::setPaper ( const TQBrush & pap ) [virtual slot] +

      void TQTextEdit::setPaper ( const TQBrush & pap ) [virtual slot]

      Sets the background (paper) brush to pap. See the "paper" property for details. -

      void TQTextEdit::setParagraphBackgroundColor ( int para, const TQColor & bg ) [virtual slot] +

      void TQTextEdit::setParagraphBackgroundColor ( int para, const TQColor & bg ) [virtual slot]

      Sets the background color of the paragraph para to bg. @@ -1272,7 +1272,7 @@ is 0, this is the default selection. otherwise the cursor position remains unchanged.

      See also getSelection() and selectedText. -

      void TQTextEdit::setSelectionAttributes ( int selNum, const TQColor & back, bool invertText ) [virtual slot] +

      void TQTextEdit::setSelectionAttributes ( int selNum, const TQColor & back, bool invertText ) [virtual slot]

      Sets the background color of selection number selNum to back and specifies whether the text of this selection should be @@ -1510,7 +1510,7 @@ the user overwrite any characters to the right of the cursor position.

      Set this property's value with setOverwriteMode() and get this property's value with isOverwriteMode(). -

      TQBrush paper

      +

      TQBrush paper

      This property holds the background (paper) brush.

      The brush that is currently used to draw the background of the text edit. The initial setting is an empty brush. diff --git a/doc/html/tqtextview-members.html b/doc/html/tqtextview-members.html index db3dbdb6d..d7dc8b22e 100644 --- a/doc/html/tqtextview-members.html +++ b/doc/html/tqtextview-members.html @@ -76,7 +76,7 @@ body { background: #ffffff; color: black; }

    • clipper()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • color()
    • colorGroup()
    • connect() @@ -175,7 +175,7 @@ body { background: #ffffff; color: black; }
    • grabKeyboard()
    • grabMouse()
    • hScrollBarMode() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -208,7 +208,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -286,7 +286,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -505,28 +505,28 @@ body { background: #ffffff; color: black; }
    • wrapColumnOrWidth()
    • wrapPolicy()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y()
    • zoomIn()
    • zoomOut() diff --git a/doc/html/tqtimeedit-members.html b/doc/html/tqtimeedit-members.html index dbd5f947a..d9398ffff 100644 --- a/doc/html/tqtimeedit-members.html +++ b/doc/html/tqtimeedit-members.html @@ -63,7 +63,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -112,7 +112,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -137,7 +137,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -194,7 +194,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -321,28 +321,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqtoolbar-members.html b/doc/html/tqtoolbar-members.html index d5d1899d6..156867c28 100644 --- a/doc/html/tqtoolbar-members.html +++ b/doc/html/tqtoolbar-members.html @@ -66,7 +66,7 @@ body { background: #ffffff; color: black; }
    • close()
    • closeEvent()
    • closeMode() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -125,7 +125,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -151,7 +151,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -223,7 +223,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -364,28 +364,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqtoolbox-members.html b/doc/html/tqtoolbox-members.html index d297cf856..5806e4612 100644 --- a/doc/html/tqtoolbox-members.html +++ b/doc/html/tqtoolbox-members.html @@ -62,7 +62,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -123,7 +123,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -150,7 +150,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -215,7 +215,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -342,28 +342,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqtoolbutton-members.html b/doc/html/tqtoolbutton-members.html index c16ee5f3d..ca4397646 100644 --- a/doc/html/tqtoolbutton-members.html +++ b/doc/html/tqtoolbutton-members.html @@ -67,7 +67,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -118,7 +118,7 @@ body { background: #ffffff; color: black; }
    • grabKeyboard()
    • grabMouse()
    • group() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -147,7 +147,7 @@ body { background: #ffffff; color: black; }
    • isEnabledTo()
    • isEnabledToTLW()
    • isExclusiveToggle() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -205,7 +205,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -351,28 +351,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqtooltip.html b/doc/html/tqtooltip.html index ac6d1128a..16b10b158 100644 --- a/doc/html/tqtooltip.html +++ b/doc/html/tqtooltip.html @@ -209,7 +209,7 @@ widget.

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

      -

      TQFont TQToolTip::font () [static] +

      TQFont TQToolTip::font () [static]

      Returns the font common to all tool tips.

      See also setFont(). @@ -293,7 +293,7 @@ covering rectangle rect is removed.

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

      -

      void TQToolTip::setFont ( const TQFont & font ) [static] +

      void TQToolTip::setFont ( const TQFont & font ) [static]

      Sets the font for all tool tips to font.

      See also font(). diff --git a/doc/html/tqvaluelist.html b/doc/html/tqvaluelist.html index e620730d6..62b86eacf 100644 --- a/doc/html/tqvaluelist.html +++ b/doc/html/tqvaluelist.html @@ -362,7 +362,7 @@ checking.

      Inserts x at the end of the list.

      See also insert() and prepend(). -

      Examples: checklists/checklists.cpp and fonts/simple-qfont-demo/viewer.cpp. +

      Examples: checklists/checklists.cpp and fonts/simple-tqfont-demo/viewer.cpp.

      const_iterator TQValueList::at ( size_type i ) const

      @@ -603,7 +603,7 @@ iterator, it. FALSE.

      See also count(). -

      Examples: fonts/simple-qfont-demo/viewer.cpp and network/mail/smtp.cpp. +

      Examples: fonts/simple-tqfont-demo/viewer.cpp and network/mail/smtp.cpp.

      T & TQValueList::last ()

      diff --git a/doc/html/tqwidget-h.html b/doc/html/tqwidget-h.html index 1acfe5bdc..b33c1b26a 100644 --- a/doc/html/tqwidget-h.html +++ b/doc/html/tqwidget-h.html @@ -80,11 +80,11 @@ body { background: #ffffff; color: black; } #ifndef QT_H #include "ntqwindowdefs.h" #include "tqobject.h" -#include "ntqpaintdevice.h" +#include "tqpaintdevice.h" #include "ntqpalette.h" -#include "ntqfont.h" -#include "ntqfontmetrics.h" -#include "ntqfontinfo.h" +#include "tqfont.h" +#include "tqfontmetrics.h" +#include "tqfontinfo.h" #include "tqsizepolicy.h" #endif // QT_H diff --git a/doc/html/tqwidget-members.html b/doc/html/tqwidget-members.html index 452cefdb2..c7c81acf3 100644 --- a/doc/html/tqwidget-members.html +++ b/doc/html/tqwidget-members.html @@ -62,7 +62,7 @@ body { background: #ffffff; color: black; }
    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -110,7 +110,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -135,7 +135,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -190,7 +190,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -303,28 +303,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqwidget.html b/doc/html/tqwidget.html index cb96c2501..ac5091603 100644 --- a/doc/html/tqwidget.html +++ b/doc/html/tqwidget.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; }

      The TQWidget class is the base class of all user interface objects. More...

      #include <tqwidget.h> -

      Inherits TQObject and TQPaintDevice. +

      Inherits TQObject and TQPaintDevice. -

      Inherited by TQButton, TQFrame, TQDialog, TQComboBox, TQDataBrowser, TQDataView, TQDateTimeEditBase, TQDateTimeEdit, TQDesktopWidget, TQDial, TQDockArea, TQGLWidget, TQHeader, TQMainWindow, TQMotifWidget, TQNPWidget, TQScrollBar, TQSizeGrip, TQSlider, TQSpinBox, TQSplashScreen, TQStatusBar, TQTabBar, TQTabWidget, TQWorkspace, and TQXtWidget.

      List of all member functions.

      Public Members

      @@ -681,7 +681,7 @@ indicates a "good" size for the widget.

    • If your widget is a top-level window, setCaption() and setIcon() set the title bar and icon respectively.

      -

      See also TQEvent, TQPainter, TQGridLayout, TQBoxLayout, and Abstract Widget Classes. +

      See also TQEvent, TQPainter, TQGridLayout, TQBoxLayout, and Abstract Widget Classes.


      Member Type Documentation

      TQWidget::BackgroundOrigin

      @@ -758,10 +758,10 @@ union of all child widget geometries).

      bool TQWidget::autoMask () const

      Returns TRUE if the auto mask feature is enabled for the widget; otherwise returns FALSE. See the "autoMask" property for details. -

      const TQBrush & TQWidget::backgroundBrush () const +

      const TQBrush & TQWidget::backgroundBrush () const

      Returns the widget's background brush. See the "backgroundBrush" property for details. -

      const TQColor & TQWidget::backgroundColor () const +

      const TQColor & TQWidget::backgroundColor () const

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. Use paletteBackgroundColor() or eraseColor() instead.

      BackgroundMode TQWidget::backgroundMode () const @@ -865,7 +865,7 @@ widget. See the TQCloseEvent documentation for mo

      See also event(), hide(), close(), and TQCloseEvent.

      Examples: action/application.cpp, application/application.cpp, chart/chartform.cpp, i18n/mywidget.cpp, mdi/application.cpp, popup/popup.cpp, and qwerty/qwerty.cpp. -

      const TQColorGroup & TQWidget::colorGroup () const +

      const TQColorGroup & TQWidget::colorGroup () const

      Returns the current color group of the widget palette. See the "colorGroup" property for details.

      void TQWidget::constPolish () const [slot] @@ -947,8 +947,8 @@ Draws the string str at position (x, y).

      The y position is the base line position of the text. The text is drawn using the default font and the default foreground color.

      This function is provided for convenience. You will generally get -more flexible results and often higher speed by using a a painter instead. -

      See also font, foregroundColor(), and TQPainter::drawText(). +more flexible results and often higher speed by using a a painter instead. +

      See also font, foregroundColor(), and TQPainter::drawText().

      void TQWidget::drawText ( const TQPoint & pos, const TQString & str )

      @@ -1011,7 +1011,7 @@ This is an overloaded member function, provided for convenience. It behaves esse

      Erases the area defined by reg, without generating a paint event.

      Child widgets are not affected. -

      const TQColor & TQWidget::eraseColor () const +

      const TQColor & TQWidget::eraseColor () const

      Returns the erase color of the widget. @@ -1123,10 +1123,10 @@ Returns the focus widget in this widget's window. This is not the same as TQApplication::focusWidget(), which returns the focus widget in the currently active window. -

      TQFont TQWidget::font () const +

      TQFont TQWidget::font () const

      Returns the font currently set for the widget. See the "font" property for details. -

      void TQWidget::fontChange ( const TQFont & oldFont ) [virtual protected] +

      void TQWidget::fontChange ( const TQFont & oldFont ) [virtual protected]

      This virtual function is called from setFont(). oldFont is the @@ -1138,22 +1138,22 @@ using update(). geometry.

      See also font, font, update(), and updateGeometry(). -

      TQFontInfo TQWidget::fontInfo () const +

      TQFontInfo TQWidget::fontInfo () const

      Returns the font info for the widget's current font. Equivalent to TQFontInto(widget->font()).

      See also font, fontMetrics(), and font. -

      TQFontMetrics TQWidget::fontMetrics () const +

      TQFontMetrics TQWidget::fontMetrics () const

      Returns the font metrics for the widget's current font. -Equivalent to TQFontMetrics(widget->font()). +Equivalent to TQFontMetrics(widget->font()).

      See also font, fontInfo(), and font.

      Examples: drawdemo/drawdemo.cpp and qmag/qmag.cpp. -

      const TQColor & TQWidget::foregroundColor () const +

      const TQColor & TQWidget::foregroundColor () const

      Same as paletteForegroundColor() @@ -1423,7 +1423,7 @@ widget's children.

      If the widget does not have a layout, layout() returns 0.

      See also sizePolicy. -

      Examples: chart/optionsform.cpp and fonts/simple-qfont-demo/viewer.cpp. +

      Examples: chart/optionsform.cpp and fonts/simple-tqfont-demo/viewer.cpp.

      void TQWidget::leaveEvent ( TQEvent * ) [virtual protected]

      This event handler can be reimplemented in a subclass to receive @@ -1505,7 +1505,7 @@ See the "maximumWidth" property fo Internal implementation of the virtual TQPaintDevice::metric() function. -

      Use the TQPaintDeviceMetrics class instead. +

      Use the TQPaintDeviceMetrics class instead.

      m is the metric to get.

      TQRect TQWidget::microFocusHint () const @@ -1604,7 +1604,7 @@ See the "ownFont" property for details.

      bool TQWidget::ownPalette () const

      Returns TRUE if the widget uses its own palette; otherwise returns FALSE. See the "ownPalette" property for details. -

      void TQWidget::paintEvent ( TQPaintEvent * ) [virtual protected] +

      void TQWidget::paintEvent ( TQPaintEvent * ) [virtual protected]

      This event handler can be reimplemented in a subclass to receive paint events. @@ -1614,7 +1614,7 @@ widget was obscured and has now been uncovered, or for many other reasons.

      Many widgets can simply repaint their entire surface when asked to, but some slow widgets need to optimize by painting only the -requested region: TQPaintEvent::region(). This speed optimization +requested region: TQPaintEvent::region(). This speed optimization does not change the result, as painting is clipped to that region during event processing. TQListView and TQCanvas do this, for example. @@ -1626,20 +1626,20 @@ repaint() does not permit this optimization, so we suggest using update() when possible.

      When the paint event occurs, the update region has normally been erased, so that you're painting on the widget's background. There -are a couple of exceptions and TQPaintEvent::erased() tells you +are a couple of exceptions and TQPaintEvent::erased() tells you whether the widget has been erased or not.

      The background can be set using setBackgroundMode(), setPaletteBackgroundColor() or setBackgroundPixmap(). The documentation for setBackgroundMode() elaborates on the background; we recommend reading it. -

      See also event(), repaint(), update(), TQPainter, TQPixmap, and TQPaintEvent. +

      See also event(), repaint(), update(), TQPainter, TQPixmap, and TQPaintEvent.

      Examples: drawlines/connect.cpp, forever/forever.cpp, qmag/qmag.cpp, scribble/scribble.cpp, splitter/splitter.cpp, t8/cannon.cpp, and t9/cannon.cpp.

      Reimplemented in TQButton, TQFrame, TQGLWidget, TQSizeGrip, TQStatusBar, and TQTabBar.

      const TQPalette & TQWidget::palette () const

      Returns the widget's palette. See the "palette" property for details. -

      const TQColor & TQWidget::paletteBackgroundColor () const +

      const TQColor & TQWidget::paletteBackgroundColor () const

      Returns the background color of the widget. See the "paletteBackgroundColor" property for details.

      const TQPixmap * TQWidget::paletteBackgroundPixmap () const @@ -1655,7 +1655,7 @@ is the previous palette; you can get the new palette from palette changes.

      See also palette and palette. -

      const TQColor & TQWidget::paletteForegroundColor () const +

      const TQColor & TQWidget::paletteForegroundColor () const

      Returns the foreground color of the widget. See the "paletteForegroundColor" property for details.

      TQWidget * TQWidget::parentWidget ( bool sameWindow = FALSE ) const @@ -1835,7 +1835,7 @@ repainting. The paint event may be delivered immediately or later, depending on some heuristics (note that you might have to force processing of paint events using TQApplication::sendPostedEvents() when using scroll() and move() in combination). -

      See also TQScrollView, erase(), and bitBlt(). +

      See also TQScrollView, erase(), and bitBlt().

      void TQWidget::scroll ( int dx, int dy, const TQRect & r )

      @@ -1843,7 +1843,7 @@ This is an overloaded member function, provided for convenience. It behaves esse

      This version only scrolls r and does not move the children of the widget.

      If r is empty or invalid, the result is undefined. -

      See also TQScrollView, erase(), and bitBlt(). +

      See also TQScrollView, erase(), and bitBlt().

      void TQWidget::setAcceptDrops ( bool on ) [virtual]

      Sets whether drop events are enabled for this widget to on. @@ -1871,7 +1871,7 @@ in another application.

      void TQWidget::setAutoMask ( bool ) [virtual]

      Sets whether the auto mask feature is enabled for the widget. See the "autoMask" property for details. -

      void TQWidget::setBackgroundColor ( const TQColor & c ) [virtual] +

      void TQWidget::setBackgroundColor ( const TQColor & c ) [virtual]

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. Use setPaletteBackgroundColor() or setEraseColor() instead.

      Examples: customlayout/main.cpp, desktop/desktop.cpp, hello/main.cpp, movies/main.cpp, and splitter/splitter.cpp. @@ -1926,7 +1926,7 @@ enables input events.

      void TQWidget::setEnabled ( bool ) [virtual slot]

      Sets whether the widget is enabled. See the "enabled" property for details. -

      void TQWidget::setEraseColor ( const TQColor & color ) [virtual] +

      void TQWidget::setEraseColor ( const TQColor & color ) [virtual]

      Sets the erase color of the widget to color.

      The erase color is the color the widget is to be cleared to before @@ -1946,7 +1946,7 @@ Sets both the minimum and maximum heights of the widget to h without changing the widths. Provided for convenience.

      See also sizeHint, minimumSize, maximumSize, and setFixedSize(). -

      Examples: fonts/simple-qfont-demo/viewer.cpp, layout/layout.cpp, tqdir/tqdir.cpp, and showimg/showimg.cpp. +

      Examples: fonts/simple-tqfont-demo/viewer.cpp, layout/layout.cpp, tqdir/tqdir.cpp, and showimg/showimg.cpp.

      void TQWidget::setFixedSize ( const TQSize & s )

      Sets both the minimum and maximum sizes of the widget to s, @@ -1999,15 +1999,15 @@ creates a TQLineEdit which handles the focus. focus proxy.

      See also focusProxy(). -

      void TQWidget::setFont ( const TQFont & ) [virtual] +

      void TQWidget::setFont ( const TQFont & ) [virtual]

      Sets the font currently set for the widget. See the "font" property for details.

      Reimplemented in TQComboBox, TQLabel, and TQTabDialog. -

      void TQWidget::setFont ( const TQFont & f, bool ) +

      void TQWidget::setFont ( const TQFont & f, bool )

      This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code. -

      Use setFont(const TQFont& font) instead. +

      Use setFont(const TQFont& font) instead.

      void TQWidget::setGeometry ( const TQRect & ) [virtual slot]

      Sets the geometry of the widget relative to its parent and excluding the window frame. @@ -2093,7 +2093,7 @@ to maxh.

      void TQWidget::setMaximumWidth ( int maxw )

      Sets the widget's maximum width to maxw. See the "maximumWidth" property for details. -

      void TQWidget::setMicroFocusHint ( int x, int y, int width, int height, bool text = TRUE, TQFont * f = 0 ) [virtual protected] +

      void TQWidget::setMicroFocusHint ( int x, int y, int width, int height, bool text = TRUE, TQFont * f = 0 ) [virtual protected]

      When a widget gets focus, it should call setMicroFocusHint() with some appropriate position and size, x, y, width and height. This has no visual effect, it just provides hints to @@ -2138,13 +2138,13 @@ See the "palette" property for details. This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

      Use setPalette( const TQPalette& p ) instead. -

      void TQWidget::setPaletteBackgroundColor ( const TQColor & ) [virtual] +

      void TQWidget::setPaletteBackgroundColor ( const TQColor & ) [virtual]

      Sets the background color of the widget. See the "paletteBackgroundColor" property for details.

      void TQWidget::setPaletteBackgroundPixmap ( const TQPixmap & ) [virtual]

      Sets the background pixmap of the widget. See the "paletteBackgroundPixmap" property for details. -

      void TQWidget::setPaletteForegroundColor ( const TQColor & ) +

      void TQWidget::setPaletteForegroundColor ( const TQColor & )

      Sets the foreground color of the widget. See the "paletteForegroundColor" property for details.

      void TQWidget::setShown ( bool show ) [slot] @@ -2586,7 +2586,7 @@ together seamlessly, you will probably want to use

      See also updateMask(), setMask(), clearMask(), and backgroundOrigin.

      Set this property's value with setAutoMask() and get this property's value with autoMask(). -

      TQBrush backgroundBrush

      +

      TQBrush backgroundBrush

      This property holds the widget's background brush.

      The background brush depends on a widget's palette and its background mode. @@ -2655,7 +2655,7 @@ caption has been set, the caption is TQStr

      See also childrenRect and geometry.

      Get this property's value with childrenRegion(). -

      TQColorGroup colorGroup

      +

      TQColorGroup colorGroup

      This property holds the current color group of the widget palette.

      The color group is determined by the state of the widget. A disabled widget has the TQPalette::disabled() color group, a widget @@ -2740,7 +2740,7 @@ constructor. For instance, the TQLineEdit constru

      See also focusEnabled, focusInEvent(), focusOutEvent(), keyPressEvent(), keyReleaseEvent(), and enabled.

      Set this property's value with setFocusPolicy() and get this property's value with focusPolicy(). -

      TQFont font

      +

      TQFont font

      This property holds the font currently set for the widget.

      The fontInfo() function reports the actual font that is being used by the widget. @@ -2750,7 +2750,7 @@ parent's font or (if this widget is a top level widget), the default application font.

      This code fragment sets a 12 point helvetica bold font:

      -    TQFont f( "Helvetica", 12, TQFont::Bold );
      +    TQFont f( "Helvetica", 12, TQFont::Bold );
           setFont( f );
           
      @@ -2999,7 +2999,7 @@ background and foreground appearance only.

      See also ownPalette, colorGroup, and TQApplication::palette().

      Set this property's value with setPalette(), get this property's value with palette(), and reset this property's value with unsetPalette(). -

      TQColor paletteBackgroundColor

      +

      TQColor paletteBackgroundColor

      This property holds the background color of the widget.

      The palette background color is usually set implicitly by setBackgroundMode(), although it can also be set explicitly by @@ -3007,7 +3007,7 @@ background and foreground appearance only. convenience function that creates and sets a modified TQPalette with setPalette(). The palette is modified according to the widget's background mode. For example, if the background mode is -PaletteButton the color used for the palette's TQColorGroup::Button color entry is set. +PaletteButton the color used for the palette's TQColorGroup::Button color entry is set.

      If there is a background pixmap (set using setPaletteBackgroundPixmap()), then the return value of this function is indeterminate. @@ -3023,19 +3023,19 @@ convenience function that creates and sets a modified with setPalette(). The palette is modified according to the widget's background mode. For example, if the background mode is PaletteButton the pixmap used for the palette's -TQColorGroup::Button color entry is set. +TQColorGroup::Button color entry is set.

      If there is a plain background color (set using setPaletteBackgroundColor()), then this function returns 0.

      See also paletteBackgroundColor, paletteForegroundColor, palette, and colorGroup.

      Set this property's value with setPaletteBackgroundPixmap(), get this property's value with paletteBackgroundPixmap(), and reset this property's value with unsetPalette(). -

      TQColor paletteForegroundColor

      +

      TQColor paletteForegroundColor

      This property holds the foreground color of the widget.

      setPaletteForegroundColor() is a convenience function that creates and sets a modified TQPalette with setPalette(). The palette is modified according to the widget's background mode. For example, if the background mode is PaletteButton the palette entry -TQColorGroup::ButtonText is set to color. +TQColorGroup::ButtonText is set to color.

      See also palette, TQApplication::setPalette(), backgroundMode, foregroundColor(), backgroundMode, and setEraseColor().

      Set this property's value with setPaletteForegroundColor(), get this property's value with paletteForegroundColor(), and reset this property's value with unsetPalette(). diff --git a/doc/html/tqwidgetstack-members.html b/doc/html/tqwidgetstack-members.html index 37b095f76..e81fc63e4 100644 --- a/doc/html/tqwidgetstack-members.html +++ b/doc/html/tqwidgetstack-members.html @@ -64,7 +64,7 @@ body { background: #ffffff; color: black; }

    • clipRegion()
    • close()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -121,7 +121,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -147,7 +147,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -205,7 +205,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -330,28 +330,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/tqworkspace-members.html b/doc/html/tqworkspace-members.html index 200bddd8c..406f72162 100644 --- a/doc/html/tqworkspace-members.html +++ b/doc/html/tqworkspace-members.html @@ -68,7 +68,7 @@ body { background: #ffffff; color: black; }
    • closeActiveWindow()
    • closeAllWindows()
    • closeEvent() -
    • cmd() +
    • cmd()
    • colorGroup()
    • connect()
    • connectNotify() @@ -116,7 +116,7 @@ body { background: #ffffff; color: black; }
    • getWFlags()
    • grabKeyboard()
    • grabMouse() -
    • handle() +
    • handle()
    • hasFocus()
    • hasMouse()
    • hasMouseTracking() @@ -141,7 +141,7 @@ body { background: #ffffff; color: black; }
    • isEnabled()
    • isEnabledTo()
    • isEnabledToTLW() -
    • isExtDev() +
    • isExtDev()
    • isFocusEnabled()
    • isFullScreen()
    • isHidden() @@ -196,7 +196,7 @@ body { background: #ffffff; color: black; }
    • ownFont()
    • ownPalette()
    • paintEvent() -
    • paintingActive() +
    • paintingActive()
    • palette()
    • paletteBackgroundColor()
    • paletteBackgroundPixmap() @@ -314,28 +314,28 @@ body { background: #ffffff; color: black; }
    • windowOpacity()
    • windowState()
    • x() -
    • x11AppCells() -
    • x11AppColormap() -
    • x11AppDefaultColormap() -
    • x11AppDefaultVisual() -
    • x11AppDepth() -
    • x11AppDisplay() -
    • x11AppDpiX() -
    • x11AppDpiY() -
    • x11AppRootWindow() -
    • x11AppScreen() -
    • x11AppVisual() -
    • x11Cells() -
    • x11Colormap() -
    • x11DefaultColormap() -
    • x11DefaultVisual() -
    • x11Depth() -
    • x11Display() +
    • x11AppCells() +
    • x11AppColormap() +
    • x11AppDefaultColormap() +
    • x11AppDefaultVisual() +
    • x11AppDepth() +
    • x11AppDisplay() +
    • x11AppDpiX() +
    • x11AppDpiY() +
    • x11AppRootWindow() +
    • x11AppScreen() +
    • x11AppVisual() +
    • x11Cells() +
    • x11Colormap() +
    • x11DefaultColormap() +
    • x11DefaultVisual() +
    • x11Depth() +
    • x11Display()
    • x11Event() -
    • x11Screen() -
    • x11SetAppDpiX() -
    • x11SetAppDpiY() -
    • x11Visual() +
    • x11Screen() +
    • x11SetAppDpiX() +
    • x11SetAppDpiY() +
    • x11Visual()
    • y() diff --git a/doc/html/trivial-nsplugin-example.html b/doc/html/trivial-nsplugin-example.html index 6b974096d..88904540a 100644 --- a/doc/html/trivial-nsplugin-example.html +++ b/doc/html/trivial-nsplugin-example.html @@ -46,7 +46,7 @@ to the Plugins directory of your WWW browser. Implementation:

      // TQt stuff
       #include "ntqnp.h"
      -#include <ntqpainter.h>
      +#include <tqpainter.h>
       #include <ntqmessagebox.h>
       
       class Trivial : public TQNPWidget {
      @@ -59,11 +59,11 @@ public:
       
           void paintEvent(TQPaintEvent* event)
           {
      -        TQPainter p(this);
      -        p.setClipRect(event->rect());
      +        TQPainter p(this);
      +        p.setClipRect(event->rect());
               int w = width();
      -        p.drawRect(rect());
      -        p.drawText(w/8, 0, w-w/4, height(), AlignCenter|WordBreak, "Trivial!");
      +        p.drawRect(rect());
      +        p.drawText(w/8, 0, w-w/4, height(), AlignCenter|WordBreak, "Trivial!");
           }
       };
       
      @@ -77,7 +77,7 @@ public:
       
           void print(TQPainter* p)
           {
      -        p->drawText(0,0,"Hello");
      +        p->drawText(0,0,"Hello");
           }
       };
       
      diff --git a/doc/html/tutorial1-02.html b/doc/html/tutorial1-02.html
      index aaf95ee6b..cf2792e4b 100644
      --- a/doc/html/tutorial1-02.html
      +++ b/doc/html/tutorial1-02.html
      @@ -44,7 +44,7 @@ now go on to make the application quit properly when the user tells it to.
       
       #include <ntqapplication.h>
       #include <ntqpushbutton.h>
      -#include <ntqfont.h>
      +#include <tqfont.h>
       
       
       int main( int argc, char **argv )
      @@ -67,9 +67,9 @@ int main( int argc, char **argv )
       
       

      Line-by-line Walkthrough

      -

          #include <ntqfont.h>
      +

          #include <tqfont.h>
       
      -

      Since this program uses TQFont, it needs to include ntqfont.h. TQt's font +

      Since this program uses TQFont, it needs to include tqfont.h. TQt's font abstraction is rather different from the horror provided by X, and loading and using fonts has been highly optimized.

              TQPushButton quit( "Quit", 0 );
      @@ -80,7 +80,7 @@ We still pass 0 as the parent, since the button is a top-level window.
       

              quit.resize( 75, 30 );
       

      We've chosen another size for the button since the text is a bit -shorter than "Hello world!". We could also have used TQFontMetrics +shorter than "Hello world!". We could also have used TQFontMetrics to set right size.

              quit.setFont( TQFont( "Times", 18, TQFont::Bold ) );
       
      diff --git a/doc/html/tutorial1-03.html b/doc/html/tutorial1-03.html index 139746c3f..bdd050a75 100644 --- a/doc/html/tutorial1-03.html +++ b/doc/html/tutorial1-03.html @@ -43,7 +43,7 @@ body { background: #ffffff; color: black; } #include <ntqapplication.h> #include <ntqpushbutton.h> -#include <ntqfont.h> +#include <tqfont.h> #include <ntqvbox.h> int main( int argc, char **argv ) diff --git a/doc/html/tutorial1-04.html b/doc/html/tutorial1-04.html index 4e69e7500..c1d8ea2c4 100644 --- a/doc/html/tutorial1-04.html +++ b/doc/html/tutorial1-04.html @@ -43,7 +43,7 @@ minimum and maximum sizes of a widget, and introduces widget names. #include <ntqapplication.h> #include <ntqpushbutton.h> -#include <ntqfont.h> +#include <tqfont.h> class MyWidget : public TQWidget diff --git a/doc/html/tutorial1-05.html b/doc/html/tutorial1-05.html index 37fd0791f..e5c0abe87 100644 --- a/doc/html/tutorial1-05.html +++ b/doc/html/tutorial1-05.html @@ -45,7 +45,7 @@ by using signals and slots, and how to handle resize events. #include <ntqpushbutton.h> #include <ntqslider.h> #include <ntqlcdnumber.h> -#include <ntqfont.h> +#include <tqfont.h> #include <ntqvbox.h> @@ -92,7 +92,7 @@ int main( int argc, char **argv ) #include <ntqpushbutton.h> #include <ntqslider.h> #include <ntqlcdnumber.h> - #include <ntqfont.h> + #include <tqfont.h> #include <ntqvbox.h>
      diff --git a/doc/html/tutorial1-06.html b/doc/html/tutorial1-06.html index f867e9943..288b6e6b6 100644 --- a/doc/html/tutorial1-06.html +++ b/doc/html/tutorial1-06.html @@ -47,7 +47,7 @@ widget as a child widget. #include <ntqpushbutton.h> #include <ntqslider.h> #include <ntqlcdnumber.h> -#include <ntqfont.h> +#include <tqfont.h> #include <ntqvbox.h> #include <ntqgrid.h> diff --git a/doc/html/tutorial1-08.html b/doc/html/tutorial1-08.html index a01d71a26..4eda29b4d 100644 --- a/doc/html/tutorial1-08.html +++ b/doc/html/tutorial1-08.html @@ -105,7 +105,7 @@ function using ::qInstallMsgHan

      For the time being, CannonField only contains an angle value for which we provide an interface using the same idiom as for value in LCDRange.

          protected:
      -        void paintEvent( TQPaintEvent * );
      +        void paintEvent( TQPaintEvent * );
       

      This is the second of the many event handlers in TQWidget that we encounter. This virtual function is called by TQt whenever a widget needs @@ -152,20 +152,20 @@ results in a call to the paint event function of the widget.

      Finally, we emit the angleChanged() signal to tell the outside world that the angle has changed. The emit keyword is unique to TQt and not regular C++ syntax. In fact, it is a macro. -

          void CannonField::paintEvent( TQPaintEvent * )
      +

          void CannonField::paintEvent( TQPaintEvent * )
           {
               TQString s = "Angle = " + TQString::number( ang );
      -        TQPainter p( this );
      -        p.drawText( 200, 200, s );
      +        TQPainter p( this );
      +        p.drawText( 200, 200, s );
           }
       

      This is our first attempt to write a paint event handler. The event -argument contains a description of the paint event. TQPaintEvent +argument contains a description of the paint event. TQPaintEvent contains the region in the widget that must be updated. For the time being, we will be lazy and just paint everything.

      Our code displays the angle value in the widget at a fixed position. First we create a TQString with some text and the angle; then we create -a TQPainter operating on this widget and use it to paint the string. +a TQPainter operating on this widget and use it to paint the string. We'll come back to TQPainter later; it can do a great many things.

      t8/main.cpp

      diff --git a/doc/html/tutorial1-09.html b/doc/html/tutorial1-09.html index 0bb643c18..159a71d65 100644 --- a/doc/html/tutorial1-09.html +++ b/doc/html/tutorial1-09.html @@ -52,32 +52,32 @@ implementation.

      -

          void CannonField::paintEvent( TQPaintEvent * )
      +

          void CannonField::paintEvent( TQPaintEvent * )
           {
      -        TQPainter p( this );
      +        TQPainter p( this );
       
      -

      We'll now start to use TQPainter in earnest. We create a painter that +

      We'll now start to use TQPainter in earnest. We create a painter that operates on this widget. -

              p.setBrush( blue );
      +

              p.setBrush( blue );
       

      When TQPainter fills a rectangle, a circle, or whatever, it fills the shape using its brush. Here we set it to use a blue brush. (We could also use a pattern.) -

              p.setPen( NoPen );
      +

              p.setPen( NoPen );
       

      And the edges of what TQPainter draws are drawn using the pen. Here we set it to NoPen, meaning that there will be no special edge when we draw something; the blue brush will go all the way to the edges of the things we draw. -

              p.translate( 0, rect().bottom() );
      +

              p.translate( 0, rect().bottom() );
       
      -

      The TQPainter::translate() function translates the coordinate +

      The TQPainter::translate() function translates the coordinate system of the TQPainter; i.e., it moves it by an offset. Here we set the (0, 0) point to the bottom-left corner of the widget. The x and y directions remain unchanged, i.e., all the y coordinates inside the widget are now negative (see The Coordinate System for more information about TQt's coordinate system). -

              p.drawPie( TQRect(-35, -35, 70, 70), 0, 90*16 );
      +

              p.drawPie( TQRect(-35, -35, 70, 70), 0, 90*16 );
       

      The drawPie() function draws a pie shape inside the specified rectangle using a start angle and an arc length. The angles are @@ -85,15 +85,15 @@ specified in 1/16th of a degree. Zero degrees is at the 3 o'clock position. The drawing direction is counter-clockwise. Here we draw a quarter of a circle in the bottom-left corner of the widget. The pie is filled with blue and has no outline. -

              p.rotate( -ang );
      +

              p.rotate( -ang );
       
      -

      The TQPainter::rotate() function rotates the coordinate system of the -TQPainter around the origin. The rotation argument is a float given +

      The TQPainter::rotate() function rotates the coordinate system of the +TQPainter around the origin. The rotation argument is a float given in degrees (not given in 1/16th of a degree as above) and clockwise. Here we rotate the coordinate system ang degrees counter-clockwise. -

              p.drawRect( TQRect(33, -4, 15, 8) );
      +

              p.drawRect( TQRect(33, -4, 15, 8) );
       
      -

      The TQPainter::drawRect() function draws the specified rectangle. Here +

      The TQPainter::drawRect() function draws the specified rectangle. Here we draw the barrel of the cannon.

      It can often be difficult to envision the resulting drawing when the coordinate system has been transformed (translated, rotated, scaled, or diff --git a/doc/html/tutorial1-10.html b/doc/html/tutorial1-10.html index c1949dd59..8bb1345ba 100644 --- a/doc/html/tutorial1-10.html +++ b/doc/html/tutorial1-10.html @@ -122,9 +122,9 @@ the drawing a little bit.

      The implementation of setForce() is quite similar to that of setAngle(). The only difference is that because we don't show the force value, we don't need to repaint the widget. -

          void CannonField::paintEvent( TQPaintEvent *e )
      +

          void CannonField::paintEvent( TQPaintEvent *e )
           {
      -        if ( !e->rect().intersects( cannonRect() ) )
      +        if ( !e->rect().intersects( cannonRect() ) )
                   return;
       

      We have now optimized the paint event to repaint only the parts of the @@ -144,20 +144,20 @@ not any more. We've kept the code for educational purposes.

              pix.fill( this, cr.topLeft() );
       

      We fill the pixmap with the background from this widget. -

              TQPainter p( &pix );
      -        p.setBrush( blue );
      -        p.setPen( NoPen );
      -        p.translate( 0, pix.height() - 1 );
      -        p.drawPie( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
      -        p.rotate( -ang );
      -        p.drawRect( TQRect(33, -4, 15, 8) );
      -        p.end();
      +

              TQPainter p( &pix );
      +        p.setBrush( blue );
      +        p.setPen( NoPen );
      +        p.translate( 0, pix.height() - 1 );
      +        p.drawPie( TQRect( -35,-35, 70, 70 ), 0, 90*16 );
      +        p.rotate( -ang );
      +        p.drawRect( TQRect(33, -4, 15, 8) );
      +        p.end();
       

      We paint, as in Chapter 9, but now we paint in the pixmap.

      At this point, we have a painter variable and a pixmap that looks precisely right, but we still haven't painted on the screen. -

              p.begin( this );
      -        p.drawPixmap( cr.topLeft(), pix );
      +

              p.begin( this );
      +        p.drawPixmap( cr.topLeft(), pix );
       

      So we open the painter on the CannonField itself and then draw the pixmap.

      That's all. A couple of extra lines at the top and a couple at the diff --git a/doc/html/tutorial1-11.html b/doc/html/tutorial1-11.html index ce5de2a61..5ea46d920 100644 --- a/doc/html/tutorial1-11.html +++ b/doc/html/tutorial1-11.html @@ -61,7 +61,7 @@ implementation.

      This private slot is used to move the shot while it is in the air, using a TQTimer.

          private:
      -        void  paintShot( TQPainter * );
      +        void  paintShot( TQPainter * );
       

      This private function paints the shot.

              TQRect shotRect() const;
      @@ -143,10 +143,10 @@ shot one step along its trajectory.
       stop the timer or we add the new shotRect() to the TQRegion.
       

      Finally, we repaint the TQRegion. This will send a single paint event for just the one or two rectangles that need updating. -

          void CannonField::paintEvent( TQPaintEvent *e )
      +

          void CannonField::paintEvent( TQPaintEvent *e )
           {
      -        TQRect updateR = e->rect();
      -        TQPainter p( this );
      +        TQRect updateR = e->rect();
      +        TQPainter p( this );
       
               if ( updateR.intersects( cannonRect() ) )
                   paintCannon( &p );
      @@ -159,11 +159,11 @@ for just the one or two rectangles that need updating.
       chapter. Now we fetch the bounding rectangle of the region that
       needs painting, check whether it intersects either the cannon and/or
       the shot, and if necessary, call paintCannon() and/or paintShot().
      -

          void CannonField::paintShot( TQPainter *p )
      +

          void CannonField::paintShot( TQPainter *p )
           {
      -        p->setBrush( black );
      -        p->setPen( NoPen );
      -        p->drawRect( shotRect() );
      +        p->setBrush( black );
      +        p->setPen( NoPen );
      +        p->drawRect( shotRect() );
           }
       

      This private function paints the shot by drawing a black filled rectangle. @@ -232,7 +232,7 @@ of the CannonField. makefile and build the application.)

      Exercises

      -

      Make the shot a filled circle. Hint: TQPainter::drawEllipse() may +

      Make the shot a filled circle. Hint: TQPainter::drawEllipse() may help.

      Change the color of the cannon when a shot is in the air.

      You're now ready for Chapter 12. diff --git a/doc/html/tutorial1-12.html b/doc/html/tutorial1-12.html index 5f7ee92e8..7aef83897 100644 --- a/doc/html/tutorial1-12.html +++ b/doc/html/tutorial1-12.html @@ -158,7 +158,7 @@ it contains a target. signal is emitted when the shot moves beyond the right or bottom edge of the widget (i.e., it is certain that it has not and will not hit the target). -

              void  paintTarget( TQPainter * );
      +

              void  paintTarget( TQPainter * );
       

      This private function paints the target.

              TQRect targetRect() const;
      @@ -258,11 +258,11 @@ added:
                   paintTarget( &p );
       

      These two lines make sure that the target is also painted when necessary. -

          void CannonField::paintTarget( TQPainter *p )
      +

          void CannonField::paintTarget( TQPainter *p )
           {
      -        p->setBrush( red );
      -        p->setPen( black );
      -        p->drawRect( targetRect() );
      +        p->setBrush( red );
      +        p->setPen( black );
      +        p->drawRect( targetRect() );
           }
       

      This private function paints the target; a rectangle filled with red and diff --git a/doc/html/tutorial1-13.html b/doc/html/tutorial1-13.html index 9ac3fcc5e..135aa3b15 100644 --- a/doc/html/tutorial1-13.html +++ b/doc/html/tutorial1-13.html @@ -176,15 +176,15 @@ We then reset the gameEnded variable and repaint the widget.

      moveShot() too emits the new canShoot(TRUE) signal at the same time as either hit() or miss().

      Modifications in CannonField::paintEvent(): -

          void CannonField::paintEvent( TQPaintEvent *e )
      +

          void CannonField::paintEvent( TQPaintEvent *e )
           {
      -        TQRect updateR = e->rect();
      -        TQPainter p( this );
      +        TQRect updateR = e->rect();
      +        TQPainter p( this );
       
               if ( gameEnded ) {
      -            p.setPen( black );
      -            p.setFont( TQFont( "Courier", 48, TQFont::Bold ) );
      -            p.drawText( rect(), AlignCenter, "Game Over" );
      +            p.setPen( black );
      +            p.setFont( TQFont( "Courier", 48, TQFont::Bold ) );
      +            p.drawText( rect(), AlignCenter, "Game Over" );
               }
       

      The paint event has been enhanced to display the text "Game Over" if diff --git a/doc/html/tutorial1-14.html b/doc/html/tutorial1-14.html index c0fcc00fe..962f6866e 100644 --- a/doc/html/tutorial1-14.html +++ b/doc/html/tutorial1-14.html @@ -62,14 +62,14 @@ wall.

          protected:
      -        void  paintEvent( TQPaintEvent * );
      +        void  paintEvent( TQPaintEvent * );
               void  mousePressEvent( TQMouseEvent * );
               void  mouseMoveEvent( TQMouseEvent * );
               void  mouseReleaseEvent( TQMouseEvent * );
       

      In addition to the familiar event handlers, CannonField implements three mouse event handlers. The names say it all. -

              void  paintBarrier( TQPainter * );
      +

              void  paintBarrier( TQPainter * );
       

      This private function paints the barrier wall.

              TQRect barrierRect() const;
      @@ -154,11 +154,11 @@ longer pressed.
       

      paintBarrier() does the same sort of thing as paintShot(), paintTarget(), and paintCannon(). -

          void CannonField::paintBarrier( TQPainter *p )
      +

          void CannonField::paintBarrier( TQPainter *p )
           {
      -        p->setBrush( yellow );
      -        p->setPen( black );
      -        p->drawRect( barrierRect() );
      +        p->setBrush( yellow );
      +        p->setPen( black );
      +        p->drawRect( barrierRect() );
           }
       

      This private function paints the barrier as a rectangle filled with @@ -182,9 +182,9 @@ the bottom edge of the barrier to the bottom edge of the widget.

      This function returns TRUE if the point is in the barrel; otherwise it returns FALSE.

      Here we use the class TQWMatrix. It is defined in the header file -ntqwmatrix.h, which is included by ntqpainter.h. +ntqwmatrix.h, which is included by tqpainter.h.

      TQWMatrix defines a coordinate system mapping. It can perform the same -transformations as the TQPainter. +transformations as the TQPainter.

      Here we perform the same transformation steps as we do when drawing the barrel in the paintCannon() function. First we translate the coordinate system and then we rotate it. diff --git a/doc/html/tutorial2-03.html b/doc/html/tutorial2-03.html index 04cc3f1c9..26aa4864a 100644 --- a/doc/html/tutorial2-03.html +++ b/doc/html/tutorial2-03.html @@ -40,10 +40,10 @@ access for data elements.

          private:
       
              double m_value;
      -        TQColor m_valueColor;
      +        TQColor m_valueColor;
               int m_valuePattern;
               TQString m_label;
      -        TQColor m_labelColor;
      +        TQColor m_labelColor;
               double m_propoints[2 * MAX_PROPOINTS];
       

      Each element has a value. Each value is displayed graphically with a @@ -52,7 +52,7 @@ with them; the label is drawn using the label color and for each type of chart has a (relative) position stored in the m_propoints array.

      -

          #include <ntqcolor.h>
      +
          #include <tqcolor.h>
           #include <ntqnamespace.h>
           #include <tqstring.h>
           #include <tqvaluevector.h>
      @@ -60,7 +60,7 @@ of chart has a (relative) position stored in the m_propoints array.
       

      Although the Element class is a purely internal data class, it #includes four TQt classes. TQt is often perceived as a purely GUI toolkit, but it provides many non-GUI classes to support most aspects -of application programming. We use ntqcolor.h so that we can hold the +of application programming. We use tqcolor.h so that we can hold the paint color and text color in the Element class. The use of ntqnamespace.h is slightly obscure. Most TQt classes are derived from the TQt superclass which contains various enumerations. The Element class does not derive from TQt, so we need to include ntqnamespace.h to have access to @@ -115,7 +115,7 @@ available.

              Element( double value = INVALID, TQColor valueColor = TQt::gray,
                        int valuePattern = TQt::SolidPattern,
                        const TQString& label = TQString::null,
      -                 TQColor labelColor = TQt::black ) {
      +                 TQColor labelColor = TQt::black ) {
                   init( value, valueColor, valuePattern, label, labelColor );
                   for ( int i = 0; i < MAX_PROPOINTS * 2; ++i )
                       m_propoints[i] = NO_PROPORTION;
      @@ -223,14 +223,14 @@ separator. The final field is the label followed by a newline.
                   double value = fields[0].toDouble( &ok );
                   if ( !ok )
                       errors++;
      -            TQColor valueColor = TQColor( fields[1] );
      -            if ( !valueColor.isValid() )
      +            TQColor valueColor = TQColor( fields[1] );
      +            if ( !valueColor.isValid() )
                       errors++;
                   int valuePattern = fields[2].toInt( &ok );
                   if ( !ok )
                       errors++;
      -            TQColor labelColor = TQColor( fields[3] );
      -            if ( !labelColor.isValid() )
      +            TQColor labelColor = TQColor( fields[3] );
      +            if ( !labelColor.isValid() )
                       errors++;
                   TQStringList propoints = TQStringList::split( PROPOINT_SEP, fields[4] );
                   TQString label = data.section( FIELD_SEP, 5 );
      diff --git a/doc/html/tutorial2-05.html b/doc/html/tutorial2-05.html
      index 45f0cc64b..cd3c57d11 100644
      --- a/doc/html/tutorial2-05.html
      +++ b/doc/html/tutorial2-05.html
      @@ -106,7 +106,7 @@ conventional document-centric style.
               ChartType m_chartType;
               AddValuesType m_addValues;
               int m_decimalPlaces;
      -        TQFont m_font;
      +        TQFont m_font;
           };
       

      We create a ChartForm subclass of TQMainWindow. Our subclass uses diff --git a/doc/html/tutorial2-08.html b/doc/html/tutorial2-08.html index 05fb03c07..ba69ea915 100644 --- a/doc/html/tutorial2-08.html +++ b/doc/html/tutorial2-08.html @@ -216,10 +216,10 @@ create a blank pixmap of that size. TQString( "%1" ).arg( element.value(), 0, 'f', m_decimalPlaces ) ); - TQColor color = element.valueColor(); + TQColor color = element.valueColor(); pix.fill( color ); table->setPixmap( i, 1, pix ); - table->setText( i, 1, color.name() ); + table->setText( i, 1, color.name() ); TQComboBox *combobox = new TQComboBox; for ( int j = 0; j < MAX_PATTERNS; ++j ) @@ -232,7 +232,7 @@ create a blank pixmap of that size. color = element.labelColor(); pix.fill( color ); table->setPixmap( i, 4, pix ); - table->setText( i, 4, color.name() ); + table->setText( i, 4, color.name() );

      For each element in the element vector we must populate the table.

      If the element is valid we write its value in the first column (column @@ -290,19 +290,19 @@ function and put the focus back into the table. if ( !( col == 1 || col == 4 ) ) return; - TQColor color = TQColorDialog::getColor( + TQColor color = TQColorDialog::getColor( TQColor( table->text( row, col ) ), this, "color dialog" ); - if ( color.isValid() ) { + if ( color.isValid() ) { TQPixmap pix = table->pixmap( row, col ); pix.fill( color ); table->setPixmap( row, col, pix ); - table->setText( row, col, color.name() ); + table->setText( row, col, color.name() ); } }

      If this function is called with the focus on a color cell we call -the static TQColorDialog::getColor() dialog to get the user's choice of +the static TQColorDialog::getColor() dialog to get the user's choice of color. If they chose a color we fill the color cell's pixmap with that color and set the cell's text to the new color's name.

          void SetDataForm::accept()
      @@ -328,7 +328,7 @@ color and set the cell's text to the new color's name.
       

      If the user clicks OK we must update the elements vector. We iterate over the vector and set each element's value to the value the user has entered or INVALID if the value is invalid. We set the value color -and the label color by constructing TQColor temporaries that take a +and the label color by constructing TQColor temporaries that take a color name as argument. The pattern is set to the pattern combobox's current item with an offset of 1 (since our pattern numbers begin at 1, but the combobox's items are indexed from 0). diff --git a/doc/html/tutorial2-09.html b/doc/html/tutorial2-09.html index 07c06d51e..dbc4ad9d5 100644 --- a/doc/html/tutorial2-09.html +++ b/doc/html/tutorial2-09.html @@ -47,8 +47,8 @@ apply to all data sets in one place. bool modal = FALSE, WFlags f = 0 ); ~OptionsForm() {} - TQFont font() const { return m_font; } - void setFont( TQFont font ); + TQFont font() const { return m_font; } + void setFont( TQFont font ); TQLabel *chartTypeTextLabel; TQComboBox *chartTypeComboBox; @@ -77,7 +77,7 @@ apply to all data sets in one place. TQHBoxLayout *buttonsLayout; private: - TQFont m_font; + TQFont m_font; };

      The layout of this dialog is slightly more complicated than for the @@ -208,22 +208,22 @@ accelerators.

          void OptionsForm::chooseFont()
           {
               bool ok;
      -        TQFont font = TQFontDialog::getFont( &ok, m_font, this );
      +        TQFont font = TQFontDialog::getFont( &ok, m_font, this );
               if ( ok )
                   setFont( font );
           }
       

      When the user clicks the Font button this slot is invoked. It simply -calls the static TQFontDialog::getFont() function to obtain the user's +calls the static TQFontDialog::getFont() function to obtain the user's choice of font. If they chose a font we call our setFont() slot which will present a textual description of the font in the font label. -

          void OptionsForm::setFont( TQFont font )
      +

          void OptionsForm::setFont( TQFont font )
           {
      -        TQString label = font.family() + " " +
      -                        TQString::number( font.pointSize() ) + "pt";
      -        if ( font.bold() )
      +        TQString label = font.family() + " " +
      +                        TQString::number( font.pointSize() ) + "pt";
      +        if ( font.bold() )
                   label += " Bold";
      -        if ( font.italic() )
      +        if ( font.italic() )
                   label += " Italic";
               fontTextLabel->setText( label );
               m_font = font;
      diff --git a/doc/html/whatsthis b/doc/html/whatsthis
      index 7dca78243..56b782123 100644
      --- a/doc/html/whatsthis
      +++ b/doc/html/whatsthis
      @@ -91,15 +91,15 @@ Defines a Universally Unique Identifier (UUID). | QUuid
       Defines a point in the plane. | QPoint
       Defines a rectangle in the plane. | QRect
       Defines an interface that exposes information about accessible objects. | QAccessibleInterface
      -Defines how a QPainter should draw lines and outlines of shapes. | QPen
      -Defines the fill pattern of shapes drawn by a QPainter. | QBrush
      +Defines how a TQPainter should draw lines and outlines of shapes. | QPen
      +Defines the fill pattern of shapes drawn by a TQPainter. | TQBrush
       Defines the size of a two-dimensional object. | TQSize
       Describes a key event. | QKeyEvent
      -Dialog widget for selecting a font. | QFontDialog
      -Dialog widget for specifying colors. | QColorDialog
      +Dialog widget for selecting a font. | TQFontDialog
      +Dialog widget for specifying colors. | TQColorDialog
       Dialogs that allow users to select files or directories. | TQFileDialog
       Displays a number with LCD-like digits. | QLCDNumber
      -Does low-level painting e.g. on widgets. | QPainter
      +Does low-level painting e.g. on widgets. | TQPainter
       Doubly-linked list of char*. | TQStrList
       Doubly-linked list of char* with case-insensitive comparison. | TQStrIList
       Drag and drop object for transferring colors. | TQColorDrag
      @@ -119,7 +119,7 @@ Enums and static functions relating to accessibility. | QAccessible
       Error message display dialog. | QErrorMessage
       Event parameters for child object events. | QChildEvent
       Event parameters for move events. | QMoveEvent
      -Event parameters for paint events. | QPaintEvent
      +Event parameters for paint events. | TQPaintEvent
       Event parameters for resize events. | QResizeEvent
       Event parameters for widget focus events. | QFocusEvent
       Event which is sent after a widget is hidden. | QHideEvent
      @@ -134,14 +134,14 @@ Feedback on the progress of a slow operation. | QProgressDialog
       File previewing in TQFileDialog. | TQFilePreview
       Flexible SQL table widget that supports browsing and editing. | TQDataTable
       Flexible editable table widget. | QTable
      -Font metrics information. | QFontMetrics
      -Font used for drawing text. | QFont
      +Font metrics information. | TQFontMetrics
      +Font used for drawing text. | TQFont
       For the dynamic creation of widgets from TQt Designer .ui files. | TQWidgetFactory
       Framework for wizard dialogs. | QWizard
       Functions to manipulate and describe TQSqlCursor and TQSqlDatabase indexes. | TQSqlIndex
      -General information about fonts. | QFontInfo
      +General information about fonts. | TQFontInfo
       Group box frame with a title. | QGroupBox
      -Group of widget colors. | QColorGroup
      +Group of widget colors. | TQColorGroup
       Groups actions together. | TQActionGroup
       Handles keyboard accelerator and shortcut keys. | QAccel
       Hardware-independent pixmap representation with direct access to the pixel data. | TQImage
      @@ -168,10 +168,10 @@ Implements an Appearance Manager style. | QMacStyle
       Implements parts of the QAccessibleInterface for TQObjects. | QAccessibleObject
       Incremental image decoder for a specific image format. | TQImageFormat
       Incremental image decoder for all supported image formats. | TQImageDecoder
      -Incremental loading of animations or images, signalling as it progresses. | QMovie
      -Information about a paint device. | QPaintDeviceMetrics
      +Incremental loading of animations or images, signalling as it progresses. | TQMovie
      +Information about a paint device. | TQPaintDeviceMetrics
       Information about the features of the DOM implementation. | TQDomImplementation
      -Information about the fonts available in the underlying window system. | QFontDatabase
      +Information about the fonts available in the underlying window system. | TQFontDatabase
       Integer value within a range. | QRangeControl
       Interface for XML readers (i.e. parsers). | TQXmlReader
       Interface to report DTD content of XML data. | TQXmlDTDHandler
      @@ -245,7 +245,7 @@ Organizes QButton widgets in a vertical column. | QVButtonGroup
       Organizes a group of widgets in a vertical column. | QVGroupBox
       Organizes widgets in a group with one horizontal row. | QHGroupBox
       Paint device that paints on a printer. | QPrinter
      -Paint device that records and replays QPainter commands. | QPicture
      +Paint device that records and replays TQPainter commands. | QPicture
       Parameters for input method events. | QIMEvent
       Parameters for loading and saving images. | TQImageIO
       Parameters that describe a Tablet event. | QTabletEvent
      @@ -348,7 +348,7 @@ The base class of all user interface objects. | TQWidget
       The base class of dialog windows. | QDialog
       The base class of geometry managers. | QLayout
       The base class of most pointer-based TQt collections. | TQPtrCollection
      -The base class of objects that can be painted. | QPaintDevice
      +The base class of objects that can be painted. | TQPaintDevice
       The base class of widgets that can have a frame. | QFrame
       The basis of the Motif Extension. | QMotif
       The cell content for QTable cells. | QTableItem
      diff --git a/doc/html/xform-example.html b/doc/html/xform-example.html
      index 772cf2572..9ca9ae8c8 100644
      --- a/doc/html/xform-example.html
      +++ b/doc/html/xform-example.html
      @@ -59,12 +59,12 @@ arbitrarily.
       #include <ntqlcdnumber.h>
       #include <ntqslider.h>
       #include <tqmenubar.h>
      -#include <ntqfontdialog.h>
      +#include <tqfontdialog.h>
       #include <ntqlayout.h>
       #include <ntqvbox.h>
       #include <tqwidgetstack.h>
       
      -#include <ntqpainter.h>
      +#include <tqpainter.h>
       #include <ntqpixmap.h>
       #include <ntqpicture.h>
       
      @@ -81,7 +81,7 @@ class XFormControl : public TQVBox, public ModeNames
       {
           TQ_OBJECT
       public:
      -    XFormControl( const TQFont &initialFont, TQWidget *parent=0, const char *name=0 );
      +    XFormControl( const TQFont &initialFont, TQWidget *parent=0, const char *name=0 );
          ~XFormControl() {}
       
           TQWMatrix matrix();
      @@ -89,13 +89,13 @@ public:
       signals:
           void newMatrix( TQWMatrix );
           void newText( const TQString& );
      -    void newFont( const TQFont & );
      +    void newFont( const TQFont & );
           void newMode( int );
       private slots:
           void newMtx();
           void newTxt(const TQString&);
           void selectFont();
      -    void fontSelected( const TQFont & );
      +    void fontSelected( const TQFont & );
           void changeMode(int);
           void timerEvent(TQTimerEvent*);
       private:
      @@ -113,7 +113,7 @@ private:
           TQRadioButton *rb_txt;              // Radio button for text
           TQRadioButton *rb_img;              // Radio button for image
           TQRadioButton *rb_pic;              // Radio button for picture
      -    TQFont currentFont;
      +    TQFont currentFont;
       };
       
       /*
      @@ -125,7 +125,7 @@ class ShowXForm : public TQWidget, public ModeNames
       {
           TQ_OBJECT
       public:
      -    ShowXForm( const TQFont &f, TQWidget *parent=0, const char *name=0 );
      +    ShowXForm( const TQFont &f, TQWidget *parent=0, const char *name=0 );
          ~ShowXForm() {}
           void showIt();                      // (Re)displays text or pixmap
       
      @@ -133,14 +133,14 @@ public:
       public slots:
           void setText( const TQString& );
           void setMatrix( TQWMatrix );
      -    void setFont( const TQFont &f );
      +    void setFont( const TQFont &f );
           void setPixmap( TQPixmap );
           void setPicture( const TQPicture& );
           void setMode( int );
       private:
           TQSizePolicy sizePolicy() const;
           TQSize sizeHint() const;
      -    void paintEvent( TQPaintEvent * );
      +    void paintEvent( TQPaintEvent * );
           void resizeEvent( TQResizeEvent * );
           TQWMatrix  mtx;                      // coordinate transform matrix
           TQString   text;                     // text to be displayed
      @@ -150,7 +150,7 @@ private:
           Mode      m;
       };
       
      -XFormControl::XFormControl( const TQFont &initialFont,
      +XFormControl::XFormControl( const TQFont &initialFont,
                                   TQWidget *parent, const char *name )
               : TQVBox( parent, name )
       {
      @@ -294,14 +294,14 @@ TQWMatrix XFormControl::matrix()
       void XFormControl::selectFont()
       {
           bool ok;
      -    TQFont f = TQFontDialog::getFont( &ok, currentFont );
      +    TQFont f = TQFontDialog::getFont( &ok, currentFont );
           if ( ok ) {
               currentFont = f;
               fontSelected( f );
           }
       }
       
      -void XFormControl::fontSelected( const TQFont &font )
      +void XFormControl::fontSelected( const TQFont &font )
       {
           emit newFont( font );
           changeMode(Text);
      @@ -330,7 +330,7 @@ void XFormControl::changeMode(int m)
           tqApp->flushX();
       }
       
      -ShowXForm::ShowXForm( const TQFont &initialFont,
      +ShowXForm::ShowXForm( const TQFont &initialFont,
                             TQWidget *parent, const char *name )
               : TQWidget( parent, name, WResizeNoErase )
       {
      @@ -350,7 +350,7 @@ void XFormControl::changeMode(int m)
           return TQSize(400,400);
       }
       
      -void ShowXForm::paintEvent( TQPaintEvent * )
      +void ShowXForm::paintEvent( TQPaintEvent * )
       {
           showIt();
       }
      @@ -373,7 +373,7 @@ void ShowXForm::setMatrix( TQWMatri
           showIt();
       }
       
      -void ShowXForm::setFont( const TQFont &f )
      +void ShowXForm::setFont( const TQFont &f )
       {
           m = Text;
           TQWidget::setFont( f );
      @@ -400,16 +400,16 @@ void ShowXForm::setMode( int mode )
       
       void ShowXForm::showIt()
       {
      -    TQPainter p;
      +    TQPainter p;
           TQRect r;      // rectangle covering new text/pixmap in virtual coordinates
           TQWMatrix um;  // copy user specified transform
           int textYPos = 0; // distance from boundingRect y pos to baseline
           int textXPos = 0; // distance from boundingRect x pos to text start
           TQRect br;
      -    TQFontMetrics fm( fontMetrics() );   // get widget font metrics
      +    TQFontMetrics fm( fontMetrics() );   // get widget font metrics
           switch ( mode() ) {
             case Text:
      -        br = fm.boundingRect( text );   // rectangle covering text
      +        br = fm.boundingRect( text );   // rectangle covering text
               r  = br;
               textYPos = -r.y();
               textXPos = -r.x();
      @@ -435,29 +435,29 @@ void ShowXForm::showIt()
           TQPixmap pm( pw, ph );               // off-screen drawing pixmap
           pm.fill( backgroundColor() );
       
      -    p.begin( &pm );
      +    p.begin( &pm );
           um.translate( pw/2, ph/2 ); // 0,0 is center
           um = mtx * um;
      -    p.setWorldMatrix( um );
      +    p.setWorldMatrix( um );
           switch ( mode() ) {
             case Text:
      -        p.setFont( font() );            // use widget font
      -        p.drawText( r.left() + textXPos, r.top() + textYPos, text );
      +        p.setFont( font() );            // use widget font
      +        p.drawText( r.left() + textXPos, r.top() + textYPos, text );
       #if 0
      -        p.setPen( red );
      -        p.drawRect( br );
      +        p.setPen( red );
      +        p.drawRect( br );
       #endif
               break;
           case Image:
      -        p.drawPixmap( -pix.width()/2, -pix.height()/2, pix );
      +        p.drawPixmap( -pix.width()/2, -pix.height()/2, pix );
               break;
             case Picture:
               // ### need TQPicture::boundingRect()
      -        p.scale(0.25,0.25);
      -        p.translate(-230,-180);
      -        p.drawPicture( picture );
      +        p.scale(0.25,0.25);
      +        p.translate(-230,-180);
      +        p.drawPicture( picture );
           }
      -    p.end();
      +    p.end();
       
           int xpos = width()/2  - pw/2;
           int ypos = height()/2 - ph/2;
      @@ -478,7 +478,7 @@ class XFormCenter : public TQHBox, public ModeNames
       public:
           XFormCenter( TQWidget *parent=0, const char *name=0 );
       public slots:
      -    void setFont( const TQFont &f ) { sx->setFont( f ); }
      +    void setFont( const TQFont &f ) { sx->setFont( f ); }
           void newMode( int );
       private:
           ShowXForm   *sx;
      @@ -512,7 +512,7 @@ void XFormCenter::newMode( int m )
       XFormCenter::XFormCenter( TQWidget *parent, const char *name )
           : TQHBox( parent, name )
       {
      -    TQFont f( "Charter", 36, TQFont::Bold );
      +    TQFont f( "Charter", 36, TQFont::Bold );
       
           xc = new XFormControl( f, this );
           sx = new ShowXForm( f, this );
      @@ -523,8 +523,8 @@ void XFormCenter::newMode( int m )
                        TQ_SLOT(setText(const TQString&)) );
           connect( xc, TQ_SIGNAL(newMatrix(TQWMatrix)),
                    sx, TQ_SLOT(setMatrix(TQWMatrix)) );
      -    connect( xc, TQ_SIGNAL(newFont(const TQFont&)), sx,
      -                 TQ_SLOT(setFont(const TQFont&)) );
      +    connect( xc, TQ_SIGNAL(newFont(const TQFont&)), sx,
      +                 TQ_SLOT(setFont(const TQFont&)) );
           connect( xc, TQ_SIGNAL(newMode(int)), TQ_SLOT(newMode(int)) );
           sx->setText( "Troll" );
           newMode( Image );
      -- 
      cgit v1.2.1