qtbindings 4.6.3.0-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.txt +9 -0
- data/CMakeLists.txt +22 -0
- data/COPYING.LIB.txt +510 -0
- data/COPYING.txt +286 -0
- data/KNOWN_ISSUES.txt +20 -0
- data/README.txt +92 -0
- data/Rakefile +96 -0
- data/TODO.txt +2 -0
- data/bin/1.8/rbrcc.exe +0 -0
- data/bin/1.8/rbuic4.exe +0 -0
- data/bin/1.8/smokeapi.exe +0 -0
- data/bin/1.8/smokedeptool.exe +0 -0
- data/bin/1.9/rbrcc.exe +0 -0
- data/bin/1.9/rbuic4.exe +0 -0
- data/bin/1.9/smokeapi.exe +0 -0
- data/bin/1.9/smokedeptool.exe +0 -0
- data/bin/Qt3Support4.dll +0 -0
- data/bin/QtAssistantClient4.dll +0 -0
- data/bin/QtCLucene4.dll +0 -0
- data/bin/QtCore4.dll +0 -0
- data/bin/QtDesigner4.dll +0 -0
- data/bin/QtDesignerComponents4.dll +0 -0
- data/bin/QtGui4.dll +0 -0
- data/bin/QtHelp4.dll +0 -0
- data/bin/QtMultimedia4.dll +0 -0
- data/bin/QtNetwork4.dll +0 -0
- data/bin/QtOpenGL4.dll +0 -0
- data/bin/QtScript4.dll +0 -0
- data/bin/QtScriptTools4.dll +0 -0
- data/bin/QtSql4.dll +0 -0
- data/bin/QtSvg4.dll +0 -0
- data/bin/QtTest4.dll +0 -0
- data/bin/QtWebKit4.dll +0 -0
- data/bin/QtXml4.dll +0 -0
- data/bin/QtXmlPatterns4.dll +0 -0
- data/bin/libgcc_s_dw2-1.dll +0 -0
- data/bin/mingwm10.dll +0 -0
- data/bin/phonon4.dll +0 -0
- data/bin/plugins/arthurplugin.dll +0 -0
- data/bin/plugins/containerextension.dll +0 -0
- data/bin/plugins/customwidgetplugin.dll +0 -0
- data/bin/plugins/phononwidgets.dll +0 -0
- data/bin/plugins/qcncodecs4.dll +0 -0
- data/bin/plugins/qgif4.dll +0 -0
- data/bin/plugins/qglgraphicssystem4.dll +0 -0
- data/bin/plugins/qico4.dll +0 -0
- data/bin/plugins/qjpcodecs4.dll +0 -0
- data/bin/plugins/qjpeg4.dll +0 -0
- data/bin/plugins/qkrcodecs4.dll +0 -0
- data/bin/plugins/qmng4.dll +0 -0
- data/bin/plugins/qsqlite4.dll +0 -0
- data/bin/plugins/qsqlodbc4.dll +0 -0
- data/bin/plugins/qsvg4.dll +0 -0
- data/bin/plugins/qsvgicon4.dll +0 -0
- data/bin/plugins/qt3supportwidgets.dll +0 -0
- data/bin/plugins/qtaccessiblecompatwidgets4.dll +0 -0
- data/bin/plugins/qtaccessiblewidgets4.dll +0 -0
- data/bin/plugins/qtiff4.dll +0 -0
- data/bin/plugins/qtracegraphicssystem4.dll +0 -0
- data/bin/plugins/qtwcodecs4.dll +0 -0
- data/bin/plugins/qwebview.dll +0 -0
- data/bin/plugins/taskmenuextension.dll +0 -0
- data/bin/plugins/worldtimeclockplugin.dll +0 -0
- data/bin/rbqtapi +152 -0
- data/bin/rbrcc +18 -0
- data/bin/rbuic4 +18 -0
- data/bin/smokeapi +18 -0
- data/bin/smokedeptool +18 -0
- data/examples/base/kicons.rb +54 -0
- data/examples/base/rui.rb +21 -0
- data/examples/designer/calculatorbuilder/calculatorbuilder.qrc +5 -0
- data/examples/designer/calculatorbuilder/calculatorform.rb +60 -0
- data/examples/designer/calculatorbuilder/calculatorform.ui +299 -0
- data/examples/designer/calculatorbuilder/main.rb +34 -0
- data/examples/designer/calculatorbuilder/makefile +2 -0
- data/examples/designer/calculatorform/calculatorform.rb +46 -0
- data/examples/designer/calculatorform/calculatorform.ui +277 -0
- data/examples/designer/calculatorform/main.rb +32 -0
- data/examples/designer/calculatorform/makefile +3 -0
- data/examples/desktop/screenshot/main.rb +32 -0
- data/examples/desktop/screenshot/screenshot.rb +156 -0
- data/examples/desktop/systray/images/bad.svg +64 -0
- data/examples/desktop/systray/images/heart.svg +55 -0
- data/examples/desktop/systray/images/trash.svg +58 -0
- data/examples/desktop/systray/main.rb +41 -0
- data/examples/desktop/systray/makefile +2 -0
- data/examples/desktop/systray/systray.qrc +7 -0
- data/examples/desktop/systray/window.rb +223 -0
- data/examples/dialogs/complexwizard/complexwizard.rb +140 -0
- data/examples/dialogs/complexwizard/licensewizard.rb +294 -0
- data/examples/dialogs/complexwizard/main.rb +31 -0
- data/examples/dialogs/configdialog/configdialog.rb +109 -0
- data/examples/dialogs/configdialog/images/config.png +0 -0
- data/examples/dialogs/configdialog/images/query.png +0 -0
- data/examples/dialogs/configdialog/images/update.png +0 -0
- data/examples/dialogs/configdialog/main.rb +31 -0
- data/examples/dialogs/configdialog/pages.rb +140 -0
- data/examples/dialogs/extension/finddialog.rb +89 -0
- data/examples/dialogs/extension/main.rb +31 -0
- data/examples/dialogs/findfiles/main.rb +32 -0
- data/examples/dialogs/findfiles/window.rb +177 -0
- data/examples/dialogs/simplewizard/classwizard.rb +374 -0
- data/examples/dialogs/simplewizard/main.rb +31 -0
- data/examples/dialogs/simplewizard/simplewizard.rb +110 -0
- data/examples/dialogs/standarddialogs/dialog.rb +340 -0
- data/examples/dialogs/standarddialogs/main.rb +31 -0
- data/examples/dialogs/tabdialog/main.rb +38 -0
- data/examples/dialogs/tabdialog/tabdialog.rb +178 -0
- data/examples/draganddrop/draggableicons/dragwidget.rb +125 -0
- data/examples/draganddrop/draggableicons/images/boat.png +0 -0
- data/examples/draganddrop/draggableicons/images/car.png +0 -0
- data/examples/draganddrop/draggableicons/images/house.png +0 -0
- data/examples/draganddrop/draggableicons/main.rb +41 -0
- data/examples/draganddrop/draggabletext/draglabel.rb +51 -0
- data/examples/draganddrop/draggabletext/dragwidget.rb +94 -0
- data/examples/draganddrop/draggabletext/main.rb +33 -0
- data/examples/draganddrop/draggabletext/words.txt +41 -0
- data/examples/draganddrop/dropsite/dropsitewidget.rb +98 -0
- data/examples/draganddrop/dropsite/dropsitewindow.rb +114 -0
- data/examples/draganddrop/dropsite/main.rb +33 -0
- data/examples/draganddrop/fridgemagnets/draglabel.rb +78 -0
- data/examples/draganddrop/fridgemagnets/dragwidget.rb +130 -0
- data/examples/draganddrop/fridgemagnets/main.rb +33 -0
- data/examples/draganddrop/fridgemagnets/words.txt +48 -0
- data/examples/draganddrop/puzzle/example.jpg +0 -0
- data/examples/draganddrop/puzzle/main.rb +33 -0
- data/examples/draganddrop/puzzle/mainwindow.rb +136 -0
- data/examples/draganddrop/puzzle/pieceslist.rb +95 -0
- data/examples/draganddrop/puzzle/puzzlewidget.rb +190 -0
- data/examples/graphicsview/collidingmice/images/cheese.jpg +0 -0
- data/examples/graphicsview/collidingmice/main.rb +53 -0
- data/examples/graphicsview/collidingmice/makefile +2 -0
- data/examples/graphicsview/collidingmice/mice.qrc +5 -0
- data/examples/graphicsview/collidingmice/mouse.rb +176 -0
- data/examples/graphicsview/dragdroprobot/coloritem.rb +86 -0
- data/examples/graphicsview/dragdroprobot/images/head.png +0 -0
- data/examples/graphicsview/dragdroprobot/main.rb +57 -0
- data/examples/graphicsview/dragdroprobot/makefile +2 -0
- data/examples/graphicsview/dragdroprobot/robot.qrc +5 -0
- data/examples/graphicsview/dragdroprobot/robot.rb +246 -0
- data/examples/itemviews/chart/chart.qrc +5 -0
- data/examples/itemviews/chart/main.rb +33 -0
- data/examples/itemviews/chart/mainwindow.rb +151 -0
- data/examples/itemviews/chart/makefile +2 -0
- data/examples/itemviews/chart/mydata.cht +8 -0
- data/examples/itemviews/chart/pieview.rb +516 -0
- data/examples/itemviews/chart/qtdata.cht +14 -0
- data/examples/itemviews/dirview/main.rb +39 -0
- data/examples/itemviews/pixelator/imagemodel.rb +51 -0
- data/examples/itemviews/pixelator/images.qrc +5 -0
- data/examples/itemviews/pixelator/images/qt.png +0 -0
- data/examples/itemviews/pixelator/main.rb +34 -0
- data/examples/itemviews/pixelator/mainwindow.rb +218 -0
- data/examples/itemviews/pixelator/makefile +3 -0
- data/examples/itemviews/pixelator/pixeldelegate.rb +67 -0
- data/examples/itemviews/puzzle/example.jpg +0 -0
- data/examples/itemviews/puzzle/main.rb +36 -0
- data/examples/itemviews/puzzle/mainwindow.rb +143 -0
- data/examples/itemviews/puzzle/piecesmodel.rb +174 -0
- data/examples/itemviews/puzzle/puzzlewidget.rb +192 -0
- data/examples/itemviews/simpledommodel/domitem.rb +62 -0
- data/examples/itemviews/simpledommodel/dommodel.rb +139 -0
- data/examples/itemviews/simpledommodel/main.rb +33 -0
- data/examples/itemviews/simpledommodel/mainwindow.rb +66 -0
- data/examples/itemviews/simpletreemodel/default.txt +40 -0
- data/examples/itemviews/simpletreemodel/main.rb +41 -0
- data/examples/itemviews/simpletreemodel/makefile +2 -0
- data/examples/itemviews/simpletreemodel/simpletreemodel.qrc +5 -0
- data/examples/itemviews/simpletreemodel/treeitem.rb +67 -0
- data/examples/itemviews/simpletreemodel/treemodel.rb +164 -0
- data/examples/itemviews/sortingmodel/default.txt +40 -0
- data/examples/itemviews/sortingmodel/main.rb +53 -0
- data/examples/itemviews/sortingmodel/treeitem.rb +73 -0
- data/examples/itemviews/sortingmodel/treemodel.rb +166 -0
- data/examples/itemviews/spinboxdelegate/main.rb +47 -0
- data/examples/itemviews/spinboxdelegate/spinboxdelegate.rb +62 -0
- data/examples/killerfilter/killerfilter.rb +55 -0
- data/examples/layouts/basiclayouts/dialog.rb +110 -0
- data/examples/layouts/basiclayouts/main.rb +31 -0
- data/examples/layouts/borderlayout/borderlayout.rb +190 -0
- data/examples/layouts/borderlayout/main.rb +32 -0
- data/examples/layouts/borderlayout/window.rb +52 -0
- data/examples/layouts/flowlayouts/flowlayout.rb +108 -0
- data/examples/layouts/flowlayouts/main.rb +32 -0
- data/examples/layouts/flowlayouts/window.rb +43 -0
- data/examples/mainwindows/application/images/copy.png +0 -0
- data/examples/mainwindows/application/images/cut.png +0 -0
- data/examples/mainwindows/application/images/new.png +0 -0
- data/examples/mainwindows/application/images/open.png +0 -0
- data/examples/mainwindows/application/images/paste.png +0 -0
- data/examples/mainwindows/application/images/save.png +0 -0
- data/examples/mainwindows/application/main.rb +32 -0
- data/examples/mainwindows/application/mainwindow.rb +285 -0
- data/examples/mainwindows/dockwidgets/images/new.png +0 -0
- data/examples/mainwindows/dockwidgets/images/print.png +0 -0
- data/examples/mainwindows/dockwidgets/images/save.png +0 -0
- data/examples/mainwindows/dockwidgets/images/undo.png +0 -0
- data/examples/mainwindows/dockwidgets/main.rb +32 -0
- data/examples/mainwindows/dockwidgets/mainwindow.rb +302 -0
- data/examples/mainwindows/mdi/images/copy.png +0 -0
- data/examples/mainwindows/mdi/images/cut.png +0 -0
- data/examples/mainwindows/mdi/images/new.png +0 -0
- data/examples/mainwindows/mdi/images/open.png +0 -0
- data/examples/mainwindows/mdi/images/paste.png +0 -0
- data/examples/mainwindows/mdi/images/save.png +0 -0
- data/examples/mainwindows/mdi/main.rb +32 -0
- data/examples/mainwindows/mdi/mainwindow.rb +363 -0
- data/examples/mainwindows/mdi/mdichild.rb +152 -0
- data/examples/mainwindows/menus/main.rb +32 -0
- data/examples/mainwindows/menus/mainwindow.rb +327 -0
- data/examples/mainwindows/recentfiles/main.rb +32 -0
- data/examples/mainwindows/recentfiles/mainwindow.rb +258 -0
- data/examples/mainwindows/sdi/images/copy.png +0 -0
- data/examples/mainwindows/sdi/images/cut.png +0 -0
- data/examples/mainwindows/sdi/images/new.png +0 -0
- data/examples/mainwindows/sdi/images/open.png +0 -0
- data/examples/mainwindows/sdi/images/paste.png +0 -0
- data/examples/mainwindows/sdi/images/save.png +0 -0
- data/examples/mainwindows/sdi/main.rb +32 -0
- data/examples/mainwindows/sdi/mainwindow.rb +335 -0
- data/examples/network/broadcastreceiver/main.rb +32 -0
- data/examples/network/broadcastreceiver/receiver.rb +64 -0
- data/examples/network/broadcastsender/main.rb +32 -0
- data/examples/network/broadcastsender/sender.rb +70 -0
- data/examples/network/fortuneclient/client.rb +150 -0
- data/examples/network/fortuneclient/main.rb +32 -0
- data/examples/network/fortuneserver/main.rb +32 -0
- data/examples/network/fortuneserver/server.rb +88 -0
- data/examples/network/ftp/ftpwindow.rb +254 -0
- data/examples/network/ftp/images/cdtoparent.png +0 -0
- data/examples/network/ftp/images/dir.png +0 -0
- data/examples/network/ftp/images/file.png +0 -0
- data/examples/network/ftp/main.rb +32 -0
- data/examples/network/http/httpwindow.rb +187 -0
- data/examples/network/http/main.rb +32 -0
- data/examples/network/loopback/dialog.rb +163 -0
- data/examples/network/loopback/main.rb +32 -0
- data/examples/opengl/grabber/glwidget.rb +265 -0
- data/examples/opengl/grabber/main.rb +32 -0
- data/examples/opengl/grabber/mainwindow.rb +189 -0
- data/examples/opengl/hellogl/glwidget.rb +226 -0
- data/examples/opengl/hellogl/main.rb +32 -0
- data/examples/opengl/hellogl/window.rb +66 -0
- data/examples/opengl/textures/glwidget.rb +151 -0
- data/examples/opengl/textures/images/side1.png +0 -0
- data/examples/opengl/textures/images/side2.png +0 -0
- data/examples/opengl/textures/images/side3.png +0 -0
- data/examples/opengl/textures/images/side4.png +0 -0
- data/examples/opengl/textures/images/side5.png +0 -0
- data/examples/opengl/textures/images/side6.png +0 -0
- data/examples/opengl/textures/main.rb +32 -0
- data/examples/opengl/textures/window.rb +77 -0
- data/examples/painting/basicdrawing/images/brick.png +0 -0
- data/examples/painting/basicdrawing/images/qt-logo.png +0 -0
- data/examples/painting/basicdrawing/main.rb +32 -0
- data/examples/painting/basicdrawing/renderarea.rb +166 -0
- data/examples/painting/basicdrawing/window.rb +215 -0
- data/examples/painting/concentriccircles/circlewidget.rb +88 -0
- data/examples/painting/concentriccircles/main.rb +32 -0
- data/examples/painting/concentriccircles/window.rb +72 -0
- data/examples/painting/fontsampler/main.rb +32 -0
- data/examples/painting/fontsampler/mainwindow.rb +368 -0
- data/examples/painting/fontsampler/mainwindowbase.ui +136 -0
- data/examples/painting/fontsampler/makefile +8 -0
- data/examples/painting/fontsampler/previewdialog.rb +256 -0
- data/examples/painting/fontsampler/previewdialogbase.ui +224 -0
- data/examples/painting/fontsampler/previewlabel.rb +43 -0
- data/examples/painting/imagecomposition/imagecomposer.rb +152 -0
- data/examples/painting/imagecomposition/imagecomposition.qrc +6 -0
- data/examples/painting/imagecomposition/images/background.png +0 -0
- data/examples/painting/imagecomposition/images/blackrectangle.png +0 -0
- data/examples/painting/imagecomposition/images/butterfly.png +0 -0
- data/examples/painting/imagecomposition/images/checker.png +0 -0
- data/examples/painting/imagecomposition/main.rb +33 -0
- data/examples/painting/imagecomposition/makefile +2 -0
- data/examples/painting/painterpaths/main.rb +32 -0
- data/examples/painting/painterpaths/renderarea.rb +97 -0
- data/examples/painting/painterpaths/window.rb +247 -0
- data/examples/painting/svgviewer/files/bubbles.svg +212 -0
- data/examples/painting/svgviewer/files/cubic.svg +77 -0
- data/examples/painting/svgviewer/files/spheres.svg +79 -0
- data/examples/painting/svgviewer/main.rb +38 -0
- data/examples/painting/svgviewer/mainwindow.rb +99 -0
- data/examples/painting/svgviewer/makefile +2 -0
- data/examples/painting/svgviewer/svgview.rb +156 -0
- data/examples/painting/svgviewer/svgviewer.qrc +6 -0
- data/examples/painting/svgviewer/svgwindow.rb +87 -0
- data/examples/painting/transformations/main.rb +32 -0
- data/examples/painting/transformations/renderarea.rb +127 -0
- data/examples/painting/transformations/window.rb +153 -0
- data/examples/passivepopup/passivepopup.rb +38 -0
- data/examples/qdbus/chat/chat.rb +146 -0
- data/examples/qdbus/chat/chat_adaptor.rb +12 -0
- data/examples/qdbus/chat/chat_interface.rb +13 -0
- data/examples/qdbus/chat/chatmainwindow.ui +184 -0
- data/examples/qdbus/chat/chatsetnickname.ui +145 -0
- data/examples/qdbus/chat/makefile +8 -0
- data/examples/qdbus/complexpingpong/complexping.rb +92 -0
- data/examples/qdbus/complexpingpong/complexpong.rb +83 -0
- data/examples/qdbus/complexpingpong/ping-common.rb +1 -0
- data/examples/qdbus/listnames/listnames.rb +69 -0
- data/examples/qdbus/pingpong/ping-common.rb +1 -0
- data/examples/qdbus/pingpong/ping.rb +52 -0
- data/examples/qdbus/pingpong/pong.rb +55 -0
- data/examples/qdbus/remotecontrolledcar/car/car.rb +151 -0
- data/examples/qdbus/remotecontrolledcar/car/main.rb +50 -0
- data/examples/qdbus/remotecontrolledcar/controller/controller.rb +66 -0
- data/examples/qdbus/remotecontrolledcar/controller/controller.ui +61 -0
- data/examples/qdbus/remotecontrolledcar/controller/main.rb +32 -0
- data/examples/qdbus/remotecontrolledcar/controller/makefile +2 -0
- data/examples/qtscribble/scribble.rb +270 -0
- data/examples/richtext/calendar/main.rb +33 -0
- data/examples/richtext/calendar/mainwindow.rb +173 -0
- data/examples/richtext/orderform/detailsdialog.rb +130 -0
- data/examples/richtext/orderform/main.rb +34 -0
- data/examples/richtext/orderform/mainwindow.rb +194 -0
- data/examples/richtext/syntaxhighlighter/examples/example +79 -0
- data/examples/richtext/syntaxhighlighter/highlighter.rb +90 -0
- data/examples/richtext/syntaxhighlighter/main.rb +34 -0
- data/examples/richtext/syntaxhighlighter/mainwindow.rb +105 -0
- data/examples/ruboids/Manifest +26 -0
- data/examples/ruboids/README +53 -0
- data/examples/ruboids/TODO +29 -0
- data/examples/ruboids/boids.properties +33 -0
- data/examples/ruboids/generateManifest.rb +42 -0
- data/examples/ruboids/index.html +147 -0
- data/examples/ruboids/release.rb +152 -0
- data/examples/ruboids/ruboids/Boid.rb +141 -0
- data/examples/ruboids/ruboids/BoidView.rb +159 -0
- data/examples/ruboids/ruboids/Camera.rb +24 -0
- data/examples/ruboids/ruboids/CameraDialog.rb +218 -0
- data/examples/ruboids/ruboids/Canvas.rb +143 -0
- data/examples/ruboids/ruboids/Cloud.rb +61 -0
- data/examples/ruboids/ruboids/CloudView.rb +54 -0
- data/examples/ruboids/ruboids/Flock.rb +47 -0
- data/examples/ruboids/ruboids/Graphics.rb +278 -0
- data/examples/ruboids/ruboids/Params.rb +87 -0
- data/examples/ruboids/ruboids/Point.rb +153 -0
- data/examples/ruboids/ruboids/Thing.rb +34 -0
- data/examples/ruboids/ruboids/Triangle.rb +21 -0
- data/examples/ruboids/ruboids/View.rb +88 -0
- data/examples/ruboids/ruboids/World.rb +82 -0
- data/examples/ruboids/ruboids/WorldWindow.rb +52 -0
- data/examples/ruboids/ruboids/info.rb +12 -0
- data/examples/ruboids/ruboids/ruboids.rb +29 -0
- data/examples/run_all.rb +14 -0
- data/examples/textedit/textedit.rb +150 -0
- data/examples/tutorial/t1/t1.rb +10 -0
- data/examples/tutorial/t10/cannon.rb +72 -0
- data/examples/tutorial/t10/lcdrange.rb +45 -0
- data/examples/tutorial/t10/t10.rb +55 -0
- data/examples/tutorial/t11/cannon.rb +124 -0
- data/examples/tutorial/t11/lcdrange.rb +45 -0
- data/examples/tutorial/t11/t11.rb +65 -0
- data/examples/tutorial/t12/cannon.rb +158 -0
- data/examples/tutorial/t12/lcdrange.rb +59 -0
- data/examples/tutorial/t12/t12.rb +66 -0
- data/examples/tutorial/t13/cannon.rb +208 -0
- data/examples/tutorial/t13/gamebrd.rb +113 -0
- data/examples/tutorial/t13/lcdrange.rb +60 -0
- data/examples/tutorial/t13/t13.rb +11 -0
- data/examples/tutorial/t14/cannon.rb +263 -0
- data/examples/tutorial/t14/gamebrd.rb +123 -0
- data/examples/tutorial/t14/lcdrange.rb +63 -0
- data/examples/tutorial/t14/t14.rb +11 -0
- data/examples/tutorial/t2/t2.rb +16 -0
- data/examples/tutorial/t3/t3.rb +18 -0
- data/examples/tutorial/t4/t4.rb +25 -0
- data/examples/tutorial/t5/t5.rb +37 -0
- data/examples/tutorial/t6/t6.rb +52 -0
- data/examples/tutorial/t7/lcdrange.rb +32 -0
- data/examples/tutorial/t7/t7.rb +42 -0
- data/examples/tutorial/t8/cannon.rb +38 -0
- data/examples/tutorial/t8/lcdrange.rb +45 -0
- data/examples/tutorial/t8/t8.rb +43 -0
- data/examples/tutorial/t9/cannon.rb +45 -0
- data/examples/tutorial/t9/lcdrange.rb +46 -0
- data/examples/tutorial/t9/t9.rb +43 -0
- data/examples/widgets/analogclock/analogclock.rb +94 -0
- data/examples/widgets/analogclock/main.rb +9 -0
- data/examples/widgets/calculator/button.rb +45 -0
- data/examples/widgets/calculator/calculator.rb +382 -0
- data/examples/widgets/calculator/main.rb +32 -0
- data/examples/widgets/charactermap/characterwidget.rb +110 -0
- data/examples/widgets/charactermap/main.rb +32 -0
- data/examples/widgets/charactermap/mainwindow.rb +118 -0
- data/examples/widgets/digitalclock/digitalclock.rb +30 -0
- data/examples/widgets/digitalclock/main.rb +9 -0
- data/examples/widgets/groupbox/main.rb +32 -0
- data/examples/widgets/groupbox/window.rb +134 -0
- data/examples/widgets/icons/iconpreviewarea.rb +111 -0
- data/examples/widgets/icons/iconsizespinbox.rb +39 -0
- data/examples/widgets/icons/imagedelegate.rb +73 -0
- data/examples/widgets/icons/images/designer.png +0 -0
- data/examples/widgets/icons/images/find_disabled.png +0 -0
- data/examples/widgets/icons/images/find_normal.png +0 -0
- data/examples/widgets/icons/images/monkey_off_128x128.png +0 -0
- data/examples/widgets/icons/images/monkey_off_16x16.png +0 -0
- data/examples/widgets/icons/images/monkey_off_32x32.png +0 -0
- data/examples/widgets/icons/images/monkey_off_64x64.png +0 -0
- data/examples/widgets/icons/images/monkey_on_128x128.png +0 -0
- data/examples/widgets/icons/images/monkey_on_16x16.png +0 -0
- data/examples/widgets/icons/images/monkey_on_32x32.png +0 -0
- data/examples/widgets/icons/images/monkey_on_64x64.png +0 -0
- data/examples/widgets/icons/images/qtopia_16x16.png +0 -0
- data/examples/widgets/icons/images/qtopia_32x32.png +0 -0
- data/examples/widgets/icons/images/qtopia_48x48.png +0 -0
- data/examples/widgets/icons/main.rb +32 -0
- data/examples/widgets/icons/mainwindow.rb +351 -0
- data/examples/widgets/imageviewer/imageviewer.rb +219 -0
- data/examples/widgets/imageviewer/main.rb +32 -0
- data/examples/widgets/lineedits/main.rb +32 -0
- data/examples/widgets/lineedits/window.rb +199 -0
- data/examples/widgets/movie/images/open.png +0 -0
- data/examples/widgets/movie/images/pause.png +0 -0
- data/examples/widgets/movie/images/play.png +0 -0
- data/examples/widgets/movie/images/quit.png +0 -0
- data/examples/widgets/movie/images/stop.png +0 -0
- data/examples/widgets/movie/main.rb +32 -0
- data/examples/widgets/movie/movieplayer.rb +201 -0
- data/examples/widgets/movie/movies/fire.mng +0 -0
- data/examples/widgets/screenshot/main.rb +32 -0
- data/examples/widgets/screenshot/screenshot.rb +155 -0
- data/examples/widgets/scribble/main.rb +32 -0
- data/examples/widgets/scribble/mainwindow.rb +202 -0
- data/examples/widgets/scribble/scribblearea.rb +154 -0
- data/examples/widgets/sliders/main.rb +32 -0
- data/examples/widgets/sliders/slidersgroup.rb +97 -0
- data/examples/widgets/sliders/window.rb +124 -0
- data/examples/widgets/spinboxes/main.rb +32 -0
- data/examples/widgets/spinboxes/window.rb +213 -0
- data/examples/widgets/tetrix/main.rb +33 -0
- data/examples/widgets/tetrix/tetrixboard.rb +346 -0
- data/examples/widgets/tetrix/tetrixpiece.rb +135 -0
- data/examples/widgets/tetrix/tetrixwindow.rb +88 -0
- data/examples/widgets/tooltips/images/circle.png +0 -0
- data/examples/widgets/tooltips/images/square.png +0 -0
- data/examples/widgets/tooltips/images/triangle.png +0 -0
- data/examples/widgets/tooltips/main.rb +32 -0
- data/examples/widgets/tooltips/shapeitem.rb +31 -0
- data/examples/widgets/tooltips/sortingbox.rb +222 -0
- data/examples/widgets/wiggly/dialog.rb +48 -0
- data/examples/widgets/wiggly/main.rb +9 -0
- data/examples/widgets/wiggly/wigglywidget.rb +76 -0
- data/examples/widgets/windowflags/controllerwindow.rb +195 -0
- data/examples/widgets/windowflags/main.rb +32 -0
- data/examples/widgets/windowflags/previewwindow.rb +103 -0
- data/examples/xml/dombookmarks/frank.xbel +230 -0
- data/examples/xml/dombookmarks/jennifer.xbel +93 -0
- data/examples/xml/dombookmarks/main.rb +34 -0
- data/examples/xml/dombookmarks/mainwindow.rb +129 -0
- data/examples/xml/dombookmarks/xbeltree.rb +172 -0
- data/examples/xml/saxbookmarks/frank.xbel +230 -0
- data/examples/xml/saxbookmarks/jennifer.xbel +93 -0
- data/examples/xml/saxbookmarks/main.rb +34 -0
- data/examples/xml/saxbookmarks/mainwindow.rb +144 -0
- data/examples/xml/saxbookmarks/xbelgenerator.rb +95 -0
- data/examples/xml/saxbookmarks/xbelhandler.rb +122 -0
- data/ext/CMakeLists.txt +22 -0
- data/ext/cmake/modules/CMakeCSharpCompiler.cmake.in +7 -0
- data/ext/cmake/modules/CMakeCSharpInformation.cmake +366 -0
- data/ext/cmake/modules/CMakeDetermineCSharpCompiler.cmake +85 -0
- data/ext/cmake/modules/CMakeTestCSharpCompiler.cmake +1 -0
- data/ext/cmake/modules/CheckCXXSourceCompiles.cmake +68 -0
- data/ext/cmake/modules/FindMono.cmake +36 -0
- data/ext/cmake/modules/FindPHP5.cmake +179 -0
- data/ext/cmake/modules/FindPerlMore.cmake +78 -0
- data/ext/cmake/modules/FindQScintilla.cmake +57 -0
- data/ext/cmake/modules/FindQt4.cmake +1271 -0
- data/ext/cmake/modules/FindQwt5.cmake +104 -0
- data/ext/cmake/modules/FindRuby.cmake +261 -0
- data/ext/cmake/modules/FindSmoke.cmake +78 -0
- data/ext/cmake/modules/HandleImportedTargetsInCMakeRequiredLibraries.cmake +85 -0
- data/ext/cmake/modules/MacroLogFeature.cmake +146 -0
- data/ext/cmake/modules/MacroOptionalAddBindings.cmake +47 -0
- data/ext/cmake/modules/MacroOptionalFindPackage.cmake +48 -0
- data/ext/cmake/modules/MacroPushRequiredVars.cmake +47 -0
- data/ext/cmake/modules/Qt4ConfigDependentSettings.cmake +384 -0
- data/ext/cmake/modules/Qt4Macros.cmake +414 -0
- data/ext/generator/CMakeLists.txt +38 -0
- data/ext/generator/generator_export.h +31 -0
- data/ext/generator/generatorenvironment.cpp +52 -0
- data/ext/generator/generatorenvironment.h +35 -0
- data/ext/generator/generatorpreprocessor.cpp +242 -0
- data/ext/generator/generatorpreprocessor.h +83 -0
- data/ext/generator/generators/CMakeLists.txt +4 -0
- data/ext/generator/generators/dump/CMakeLists.txt +10 -0
- data/ext/generator/generators/dump/generator_dump.cpp +36 -0
- data/ext/generator/generators/smoke/CMakeLists.txt +13 -0
- data/ext/generator/generators/smoke/generator_smoke.cpp +233 -0
- data/ext/generator/generators/smoke/globals.h +138 -0
- data/ext/generator/generators/smoke/helpers.cpp +773 -0
- data/ext/generator/generators/smoke/writeClasses.cpp +502 -0
- data/ext/generator/generators/smoke/writeSmokeDataFile.cpp +729 -0
- data/ext/generator/generatorvisitor.cpp +922 -0
- data/ext/generator/generatorvisitor.h +119 -0
- data/ext/generator/main.cpp +239 -0
- data/ext/generator/name_compiler.cpp +205 -0
- data/ext/generator/name_compiler.h +76 -0
- data/ext/generator/options.cpp +32 -0
- data/ext/generator/options.h +45 -0
- data/ext/generator/parser/CMakeLists.txt +41 -0
- data/ext/generator/parser/ast.cpp +21 -0
- data/ext/generator/parser/ast.h +923 -0
- data/ext/generator/parser/astutilities.h +65 -0
- data/ext/generator/parser/codegenerator.cpp +867 -0
- data/ext/generator/parser/codegenerator.h +180 -0
- data/ext/generator/parser/codemodel_fwd.h +76 -0
- data/ext/generator/parser/commentformatter.cpp +54 -0
- data/ext/generator/parser/commentformatter.h +45 -0
- data/ext/generator/parser/commentparser.cpp +109 -0
- data/ext/generator/parser/commentparser.h +84 -0
- data/ext/generator/parser/control.cpp +40 -0
- data/ext/generator/parser/control.h +51 -0
- data/ext/generator/parser/cppparser_export.h +33 -0
- data/ext/generator/parser/default_visitor.cpp +470 -0
- data/ext/generator/parser/default_visitor.h +116 -0
- data/ext/generator/parser/dumptree.cpp +146 -0
- data/ext/generator/parser/dumptree.h +50 -0
- data/ext/generator/parser/indexedstring.cpp +213 -0
- data/ext/generator/parser/indexedstring.h +147 -0
- data/ext/generator/parser/kdevelop-parser-rev +1 -0
- data/ext/generator/parser/kdevvarlengtharray.h +346 -0
- data/ext/generator/parser/lexer.cpp +963 -0
- data/ext/generator/parser/lexer.h +308 -0
- data/ext/generator/parser/listnode.cpp +20 -0
- data/ext/generator/parser/listnode.h +97 -0
- data/ext/generator/parser/memorypool.cpp +20 -0
- data/ext/generator/parser/memorypool.h +41 -0
- data/ext/generator/parser/name_compiler.cpp +190 -0
- data/ext/generator/parser/name_compiler.h +77 -0
- data/ext/generator/parser/parser.cpp +4706 -0
- data/ext/generator/parser/parser.h +300 -0
- data/ext/generator/parser/parsesession.cpp +105 -0
- data/ext/generator/parser/parsesession.h +87 -0
- data/ext/generator/parser/problem.h +21 -0
- data/ext/generator/parser/rpp/CMakeLists.txt +39 -0
- data/ext/generator/parser/rpp/Makefile.am +13 -0
- data/ext/generator/parser/rpp/anchor.h +51 -0
- data/ext/generator/parser/rpp/appendedlist.h +363 -0
- data/ext/generator/parser/rpp/chartools.cpp +126 -0
- data/ext/generator/parser/rpp/chartools.h +90 -0
- data/ext/generator/parser/rpp/macrorepository.cpp +44 -0
- data/ext/generator/parser/rpp/macrorepository.h +59 -0
- data/ext/generator/parser/rpp/pp-configuration +86 -0
- data/ext/generator/parser/rpp/pp-engine.cpp +1216 -0
- data/ext/generator/parser/rpp/pp-engine.h +267 -0
- data/ext/generator/parser/rpp/pp-environment.cpp +271 -0
- data/ext/generator/parser/rpp/pp-environment.h +119 -0
- data/ext/generator/parser/rpp/pp-internal.cpp +38 -0
- data/ext/generator/parser/rpp/pp-internal.h +37 -0
- data/ext/generator/parser/rpp/pp-location.cpp +191 -0
- data/ext/generator/parser/rpp/pp-location.h +89 -0
- data/ext/generator/parser/rpp/pp-macro-expander.cpp +568 -0
- data/ext/generator/parser/rpp/pp-macro-expander.cpp.orig +558 -0
- data/ext/generator/parser/rpp/pp-macro-expander.h +130 -0
- data/ext/generator/parser/rpp/pp-macro.cpp +153 -0
- data/ext/generator/parser/rpp/pp-macro.h +176 -0
- data/ext/generator/parser/rpp/pp-scanner.cpp +310 -0
- data/ext/generator/parser/rpp/pp-scanner.h +97 -0
- data/ext/generator/parser/rpp/pp-stream.cpp +425 -0
- data/ext/generator/parser/rpp/pp-stream.h +183 -0
- data/ext/generator/parser/rpp/preprocessor.cpp +65 -0
- data/ext/generator/parser/rpp/preprocessor.h +80 -0
- data/ext/generator/parser/rpp/rpp.pri +2 -0
- data/ext/generator/parser/rpp/test/t001.cpp +23 -0
- data/ext/generator/parser/rpp/test/t002.cpp +15 -0
- data/ext/generator/parser/rpp/test/t003.cpp +10 -0
- data/ext/generator/parser/rpp/test/t004.cpp +9 -0
- data/ext/generator/parser/rpp/test/t005.cpp +10 -0
- data/ext/generator/parser/rpp/test/t006.cpp +10 -0
- data/ext/generator/parser/rpp/test/t007.cpp +6 -0
- data/ext/generator/parser/rpp/test/t008.cpp +6 -0
- data/ext/generator/parser/rpp/test/t009.cpp +5 -0
- data/ext/generator/parser/rpp/test/t010.cpp +15 -0
- data/ext/generator/parser/rpp/test/t011.cpp +9 -0
- data/ext/generator/parser/rpp/tests/CMakeLists.txt +13 -0
- data/ext/generator/parser/rpp/tests/main.cpp +69 -0
- data/ext/generator/parser/rxx.pri +50 -0
- data/ext/generator/parser/rxx_allocator.h +128 -0
- data/ext/generator/parser/safetycounter.h +57 -0
- data/ext/generator/parser/simplecursor.h +74 -0
- data/ext/generator/parser/stringhelpers.cpp +577 -0
- data/ext/generator/parser/stringhelpers.h +118 -0
- data/ext/generator/parser/symbol.h +140 -0
- data/ext/generator/parser/tests/CMakeLists.txt +30 -0
- data/ext/generator/parser/tests/test_generator.cpp +259 -0
- data/ext/generator/parser/tests/test_parser.cpp +474 -0
- data/ext/generator/parser/tests/test_pool.cpp +109 -0
- data/ext/generator/parser/tests/test_pool.h +35 -0
- data/ext/generator/parser/tests/testconfig.h.cmake +4 -0
- data/ext/generator/parser/tokens.cpp +364 -0
- data/ext/generator/parser/tokens.h +147 -0
- data/ext/generator/parser/type_compiler.cpp +135 -0
- data/ext/generator/parser/type_compiler.h +68 -0
- data/ext/generator/parser/visitor.cpp +115 -0
- data/ext/generator/parser/visitor.h +138 -0
- data/ext/generator/type.cpp +195 -0
- data/ext/generator/type.h +497 -0
- data/ext/generator/type_compiler.cpp +275 -0
- data/ext/generator/type_compiler.h +80 -0
- data/ext/ruby/CMakeLists.txt +63 -0
- data/ext/ruby/qtruby/AUTHORS +54 -0
- data/ext/ruby/qtruby/CMakeLists.txt +4 -0
- data/ext/ruby/qtruby/COPYING +355 -0
- data/ext/ruby/qtruby/COPYING.LIB +510 -0
- data/ext/ruby/qtruby/ChangeLog +3732 -0
- data/ext/ruby/qtruby/INSTALL +79 -0
- data/ext/ruby/qtruby/README +264 -0
- data/ext/ruby/qtruby/TODO +8 -0
- data/ext/ruby/qtruby/bin/CMakeLists.txt +1 -0
- data/ext/ruby/qtruby/bin/rbqtapi +152 -0
- data/ext/ruby/qtruby/examples/base/kicons.rb +54 -0
- data/ext/ruby/qtruby/examples/base/rui.rb +21 -0
- data/ext/ruby/qtruby/examples/designer/calculatorbuilder/calculatorbuilder.qrc +5 -0
- data/ext/ruby/qtruby/examples/designer/calculatorbuilder/calculatorform.rb +60 -0
- data/ext/ruby/qtruby/examples/designer/calculatorbuilder/calculatorform.ui +299 -0
- data/ext/ruby/qtruby/examples/designer/calculatorbuilder/main.rb +33 -0
- data/ext/ruby/qtruby/examples/designer/calculatorbuilder/makefile +2 -0
- data/ext/ruby/qtruby/examples/designer/calculatorform/calculatorform.rb +46 -0
- data/ext/ruby/qtruby/examples/designer/calculatorform/calculatorform.ui +277 -0
- data/ext/ruby/qtruby/examples/designer/calculatorform/main.rb +32 -0
- data/ext/ruby/qtruby/examples/designer/calculatorform/makefile +3 -0
- data/ext/ruby/qtruby/examples/desktop/screenshot/main.rb +32 -0
- data/ext/ruby/qtruby/examples/desktop/screenshot/screenshot.rb +156 -0
- data/ext/ruby/qtruby/examples/desktop/systray/images/bad.svg +64 -0
- data/ext/ruby/qtruby/examples/desktop/systray/images/heart.svg +55 -0
- data/ext/ruby/qtruby/examples/desktop/systray/images/trash.svg +58 -0
- data/ext/ruby/qtruby/examples/desktop/systray/main.rb +41 -0
- data/ext/ruby/qtruby/examples/desktop/systray/makefile +2 -0
- data/ext/ruby/qtruby/examples/desktop/systray/systray.qrc +7 -0
- data/ext/ruby/qtruby/examples/desktop/systray/window.rb +223 -0
- data/ext/ruby/qtruby/examples/dialogs/complexwizard/complexwizard.rb +140 -0
- data/ext/ruby/qtruby/examples/dialogs/complexwizard/licensewizard.rb +294 -0
- data/ext/ruby/qtruby/examples/dialogs/complexwizard/main.rb +31 -0
- data/ext/ruby/qtruby/examples/dialogs/configdialog/configdialog.rb +109 -0
- data/ext/ruby/qtruby/examples/dialogs/configdialog/images/config.png +0 -0
- data/ext/ruby/qtruby/examples/dialogs/configdialog/images/query.png +0 -0
- data/ext/ruby/qtruby/examples/dialogs/configdialog/images/update.png +0 -0
- data/ext/ruby/qtruby/examples/dialogs/configdialog/main.rb +31 -0
- data/ext/ruby/qtruby/examples/dialogs/configdialog/pages.rb +140 -0
- data/ext/ruby/qtruby/examples/dialogs/extension/finddialog.rb +89 -0
- data/ext/ruby/qtruby/examples/dialogs/extension/main.rb +31 -0
- data/ext/ruby/qtruby/examples/dialogs/findfiles/main.rb +32 -0
- data/ext/ruby/qtruby/examples/dialogs/findfiles/window.rb +177 -0
- data/ext/ruby/qtruby/examples/dialogs/simplewizard/classwizard.rb +374 -0
- data/ext/ruby/qtruby/examples/dialogs/simplewizard/main.rb +31 -0
- data/ext/ruby/qtruby/examples/dialogs/simplewizard/simplewizard.rb +110 -0
- data/ext/ruby/qtruby/examples/dialogs/standarddialogs/dialog.rb +340 -0
- data/ext/ruby/qtruby/examples/dialogs/standarddialogs/main.rb +31 -0
- data/ext/ruby/qtruby/examples/dialogs/tabdialog/main.rb +38 -0
- data/ext/ruby/qtruby/examples/dialogs/tabdialog/tabdialog.rb +178 -0
- data/ext/ruby/qtruby/examples/draganddrop/draggableicons/dragwidget.rb +125 -0
- data/ext/ruby/qtruby/examples/draganddrop/draggableicons/images/boat.png +0 -0
- data/ext/ruby/qtruby/examples/draganddrop/draggableicons/images/car.png +0 -0
- data/ext/ruby/qtruby/examples/draganddrop/draggableicons/images/house.png +0 -0
- data/ext/ruby/qtruby/examples/draganddrop/draggableicons/main.rb +41 -0
- data/ext/ruby/qtruby/examples/draganddrop/draggabletext/draglabel.rb +51 -0
- data/ext/ruby/qtruby/examples/draganddrop/draggabletext/dragwidget.rb +94 -0
- data/ext/ruby/qtruby/examples/draganddrop/draggabletext/main.rb +33 -0
- data/ext/ruby/qtruby/examples/draganddrop/draggabletext/words.txt +41 -0
- data/ext/ruby/qtruby/examples/draganddrop/dropsite/dropsitewidget.rb +98 -0
- data/ext/ruby/qtruby/examples/draganddrop/dropsite/dropsitewindow.rb +114 -0
- data/ext/ruby/qtruby/examples/draganddrop/dropsite/main.rb +33 -0
- data/ext/ruby/qtruby/examples/draganddrop/fridgemagnets/draglabel.rb +78 -0
- data/ext/ruby/qtruby/examples/draganddrop/fridgemagnets/dragwidget.rb +130 -0
- data/ext/ruby/qtruby/examples/draganddrop/fridgemagnets/main.rb +33 -0
- data/ext/ruby/qtruby/examples/draganddrop/fridgemagnets/words.txt +48 -0
- data/ext/ruby/qtruby/examples/draganddrop/puzzle/example.jpg +0 -0
- data/ext/ruby/qtruby/examples/draganddrop/puzzle/main.rb +33 -0
- data/ext/ruby/qtruby/examples/draganddrop/puzzle/mainwindow.rb +136 -0
- data/ext/ruby/qtruby/examples/draganddrop/puzzle/pieceslist.rb +95 -0
- data/ext/ruby/qtruby/examples/draganddrop/puzzle/puzzlewidget.rb +190 -0
- data/ext/ruby/qtruby/examples/graphicsview/collidingmice/images/cheese.jpg +0 -0
- data/ext/ruby/qtruby/examples/graphicsview/collidingmice/main.rb +53 -0
- data/ext/ruby/qtruby/examples/graphicsview/collidingmice/makefile +2 -0
- data/ext/ruby/qtruby/examples/graphicsview/collidingmice/mice.qrc +5 -0
- data/ext/ruby/qtruby/examples/graphicsview/collidingmice/mouse.rb +176 -0
- data/ext/ruby/qtruby/examples/graphicsview/dragdroprobot/coloritem.rb +86 -0
- data/ext/ruby/qtruby/examples/graphicsview/dragdroprobot/images/head.png +0 -0
- data/ext/ruby/qtruby/examples/graphicsview/dragdroprobot/main.rb +57 -0
- data/ext/ruby/qtruby/examples/graphicsview/dragdroprobot/makefile +2 -0
- data/ext/ruby/qtruby/examples/graphicsview/dragdroprobot/robot.qrc +5 -0
- data/ext/ruby/qtruby/examples/graphicsview/dragdroprobot/robot.rb +246 -0
- data/ext/ruby/qtruby/examples/itemviews/chart/chart.qrc +5 -0
- data/ext/ruby/qtruby/examples/itemviews/chart/main.rb +33 -0
- data/ext/ruby/qtruby/examples/itemviews/chart/mainwindow.rb +151 -0
- data/ext/ruby/qtruby/examples/itemviews/chart/makefile +2 -0
- data/ext/ruby/qtruby/examples/itemviews/chart/mydata.cht +8 -0
- data/ext/ruby/qtruby/examples/itemviews/chart/pieview.rb +516 -0
- data/ext/ruby/qtruby/examples/itemviews/chart/qtdata.cht +14 -0
- data/ext/ruby/qtruby/examples/itemviews/dirview/main.rb +39 -0
- data/ext/ruby/qtruby/examples/itemviews/pixelator/imagemodel.rb +51 -0
- data/ext/ruby/qtruby/examples/itemviews/pixelator/images.qrc +5 -0
- data/ext/ruby/qtruby/examples/itemviews/pixelator/images/qt.png +0 -0
- data/ext/ruby/qtruby/examples/itemviews/pixelator/main.rb +34 -0
- data/ext/ruby/qtruby/examples/itemviews/pixelator/mainwindow.rb +218 -0
- data/ext/ruby/qtruby/examples/itemviews/pixelator/makefile +3 -0
- data/ext/ruby/qtruby/examples/itemviews/pixelator/pixeldelegate.rb +67 -0
- data/ext/ruby/qtruby/examples/itemviews/puzzle/example.jpg +0 -0
- data/ext/ruby/qtruby/examples/itemviews/puzzle/main.rb +36 -0
- data/ext/ruby/qtruby/examples/itemviews/puzzle/mainwindow.rb +143 -0
- data/ext/ruby/qtruby/examples/itemviews/puzzle/piecesmodel.rb +174 -0
- data/ext/ruby/qtruby/examples/itemviews/puzzle/puzzlewidget.rb +192 -0
- data/ext/ruby/qtruby/examples/itemviews/simpledommodel/domitem.rb +62 -0
- data/ext/ruby/qtruby/examples/itemviews/simpledommodel/dommodel.rb +139 -0
- data/ext/ruby/qtruby/examples/itemviews/simpledommodel/main.rb +33 -0
- data/ext/ruby/qtruby/examples/itemviews/simpledommodel/mainwindow.rb +66 -0
- data/ext/ruby/qtruby/examples/itemviews/simpletreemodel/default.txt +40 -0
- data/ext/ruby/qtruby/examples/itemviews/simpletreemodel/main.rb +41 -0
- data/ext/ruby/qtruby/examples/itemviews/simpletreemodel/makefile +2 -0
- data/ext/ruby/qtruby/examples/itemviews/simpletreemodel/simpletreemodel.qrc +5 -0
- data/ext/ruby/qtruby/examples/itemviews/simpletreemodel/treeitem.rb +67 -0
- data/ext/ruby/qtruby/examples/itemviews/simpletreemodel/treemodel.rb +164 -0
- data/ext/ruby/qtruby/examples/itemviews/sortingmodel/default.txt +40 -0
- data/ext/ruby/qtruby/examples/itemviews/sortingmodel/main.rb +53 -0
- data/ext/ruby/qtruby/examples/itemviews/sortingmodel/treeitem.rb +73 -0
- data/ext/ruby/qtruby/examples/itemviews/sortingmodel/treemodel.rb +166 -0
- data/ext/ruby/qtruby/examples/itemviews/spinboxdelegate/main.rb +47 -0
- data/ext/ruby/qtruby/examples/itemviews/spinboxdelegate/spinboxdelegate.rb +62 -0
- data/ext/ruby/qtruby/examples/killerfilter/killerfilter.rb +55 -0
- data/ext/ruby/qtruby/examples/layouts/basiclayouts/dialog.rb +110 -0
- data/ext/ruby/qtruby/examples/layouts/basiclayouts/main.rb +31 -0
- data/ext/ruby/qtruby/examples/layouts/borderlayout/borderlayout.rb +190 -0
- data/ext/ruby/qtruby/examples/layouts/borderlayout/main.rb +32 -0
- data/ext/ruby/qtruby/examples/layouts/borderlayout/window.rb +52 -0
- data/ext/ruby/qtruby/examples/layouts/flowlayouts/flowlayout.rb +108 -0
- data/ext/ruby/qtruby/examples/layouts/flowlayouts/main.rb +32 -0
- data/ext/ruby/qtruby/examples/layouts/flowlayouts/window.rb +43 -0
- data/ext/ruby/qtruby/examples/mainwindows/application/images/copy.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/application/images/cut.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/application/images/new.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/application/images/open.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/application/images/paste.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/application/images/save.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/application/main.rb +32 -0
- data/ext/ruby/qtruby/examples/mainwindows/application/mainwindow.rb +285 -0
- data/ext/ruby/qtruby/examples/mainwindows/dockwidgets/images/new.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/dockwidgets/images/print.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/dockwidgets/images/save.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/dockwidgets/images/undo.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/dockwidgets/main.rb +32 -0
- data/ext/ruby/qtruby/examples/mainwindows/dockwidgets/mainwindow.rb +302 -0
- data/ext/ruby/qtruby/examples/mainwindows/mdi/images/copy.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/mdi/images/cut.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/mdi/images/new.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/mdi/images/open.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/mdi/images/paste.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/mdi/images/save.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/mdi/main.rb +32 -0
- data/ext/ruby/qtruby/examples/mainwindows/mdi/mainwindow.rb +363 -0
- data/ext/ruby/qtruby/examples/mainwindows/mdi/mdichild.rb +152 -0
- data/ext/ruby/qtruby/examples/mainwindows/menus/main.rb +32 -0
- data/ext/ruby/qtruby/examples/mainwindows/menus/mainwindow.rb +327 -0
- data/ext/ruby/qtruby/examples/mainwindows/recentfiles/main.rb +32 -0
- data/ext/ruby/qtruby/examples/mainwindows/recentfiles/mainwindow.rb +258 -0
- data/ext/ruby/qtruby/examples/mainwindows/sdi/images/copy.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/sdi/images/cut.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/sdi/images/new.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/sdi/images/open.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/sdi/images/paste.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/sdi/images/save.png +0 -0
- data/ext/ruby/qtruby/examples/mainwindows/sdi/main.rb +32 -0
- data/ext/ruby/qtruby/examples/mainwindows/sdi/mainwindow.rb +335 -0
- data/ext/ruby/qtruby/examples/network/broadcastreceiver/main.rb +32 -0
- data/ext/ruby/qtruby/examples/network/broadcastreceiver/receiver.rb +64 -0
- data/ext/ruby/qtruby/examples/network/broadcastsender/main.rb +32 -0
- data/ext/ruby/qtruby/examples/network/broadcastsender/sender.rb +70 -0
- data/ext/ruby/qtruby/examples/network/fortuneclient/client.rb +150 -0
- data/ext/ruby/qtruby/examples/network/fortuneclient/main.rb +32 -0
- data/ext/ruby/qtruby/examples/network/fortuneserver/main.rb +32 -0
- data/ext/ruby/qtruby/examples/network/fortuneserver/server.rb +88 -0
- data/ext/ruby/qtruby/examples/network/ftp/ftpwindow.rb +254 -0
- data/ext/ruby/qtruby/examples/network/ftp/images/cdtoparent.png +0 -0
- data/ext/ruby/qtruby/examples/network/ftp/images/dir.png +0 -0
- data/ext/ruby/qtruby/examples/network/ftp/images/file.png +0 -0
- data/ext/ruby/qtruby/examples/network/ftp/main.rb +32 -0
- data/ext/ruby/qtruby/examples/network/http/httpwindow.rb +187 -0
- data/ext/ruby/qtruby/examples/network/http/main.rb +32 -0
- data/ext/ruby/qtruby/examples/network/loopback/dialog.rb +163 -0
- data/ext/ruby/qtruby/examples/network/loopback/main.rb +32 -0
- data/ext/ruby/qtruby/examples/opengl/grabber/glwidget.rb +265 -0
- data/ext/ruby/qtruby/examples/opengl/grabber/main.rb +32 -0
- data/ext/ruby/qtruby/examples/opengl/grabber/mainwindow.rb +189 -0
- data/ext/ruby/qtruby/examples/opengl/hellogl/glwidget.rb +226 -0
- data/ext/ruby/qtruby/examples/opengl/hellogl/main.rb +32 -0
- data/ext/ruby/qtruby/examples/opengl/hellogl/window.rb +66 -0
- data/ext/ruby/qtruby/examples/opengl/textures/glwidget.rb +151 -0
- data/ext/ruby/qtruby/examples/opengl/textures/images/side1.png +0 -0
- data/ext/ruby/qtruby/examples/opengl/textures/images/side2.png +0 -0
- data/ext/ruby/qtruby/examples/opengl/textures/images/side3.png +0 -0
- data/ext/ruby/qtruby/examples/opengl/textures/images/side4.png +0 -0
- data/ext/ruby/qtruby/examples/opengl/textures/images/side5.png +0 -0
- data/ext/ruby/qtruby/examples/opengl/textures/images/side6.png +0 -0
- data/ext/ruby/qtruby/examples/opengl/textures/main.rb +32 -0
- data/ext/ruby/qtruby/examples/opengl/textures/window.rb +77 -0
- data/ext/ruby/qtruby/examples/painting/basicdrawing/images/brick.png +0 -0
- data/ext/ruby/qtruby/examples/painting/basicdrawing/images/qt-logo.png +0 -0
- data/ext/ruby/qtruby/examples/painting/basicdrawing/main.rb +32 -0
- data/ext/ruby/qtruby/examples/painting/basicdrawing/renderarea.rb +166 -0
- data/ext/ruby/qtruby/examples/painting/basicdrawing/window.rb +215 -0
- data/ext/ruby/qtruby/examples/painting/concentriccircles/circlewidget.rb +88 -0
- data/ext/ruby/qtruby/examples/painting/concentriccircles/main.rb +32 -0
- data/ext/ruby/qtruby/examples/painting/concentriccircles/window.rb +72 -0
- data/ext/ruby/qtruby/examples/painting/fontsampler/main.rb +32 -0
- data/ext/ruby/qtruby/examples/painting/fontsampler/mainwindow.rb +368 -0
- data/ext/ruby/qtruby/examples/painting/fontsampler/mainwindowbase.ui +136 -0
- data/ext/ruby/qtruby/examples/painting/fontsampler/makefile +8 -0
- data/ext/ruby/qtruby/examples/painting/fontsampler/previewdialog.rb +256 -0
- data/ext/ruby/qtruby/examples/painting/fontsampler/previewdialogbase.ui +224 -0
- data/ext/ruby/qtruby/examples/painting/fontsampler/previewlabel.rb +43 -0
- data/ext/ruby/qtruby/examples/painting/imagecomposition/imagecomposer.rb +152 -0
- data/ext/ruby/qtruby/examples/painting/imagecomposition/imagecomposition.qrc +6 -0
- data/ext/ruby/qtruby/examples/painting/imagecomposition/images/background.png +0 -0
- data/ext/ruby/qtruby/examples/painting/imagecomposition/images/blackrectangle.png +0 -0
- data/ext/ruby/qtruby/examples/painting/imagecomposition/images/butterfly.png +0 -0
- data/ext/ruby/qtruby/examples/painting/imagecomposition/images/checker.png +0 -0
- data/ext/ruby/qtruby/examples/painting/imagecomposition/main.rb +33 -0
- data/ext/ruby/qtruby/examples/painting/imagecomposition/makefile +2 -0
- data/ext/ruby/qtruby/examples/painting/painterpaths/main.rb +32 -0
- data/ext/ruby/qtruby/examples/painting/painterpaths/renderarea.rb +97 -0
- data/ext/ruby/qtruby/examples/painting/painterpaths/window.rb +247 -0
- data/ext/ruby/qtruby/examples/painting/svgviewer/files/bubbles.svg +212 -0
- data/ext/ruby/qtruby/examples/painting/svgviewer/files/cubic.svg +77 -0
- data/ext/ruby/qtruby/examples/painting/svgviewer/files/spheres.svg +79 -0
- data/ext/ruby/qtruby/examples/painting/svgviewer/main.rb +38 -0
- data/ext/ruby/qtruby/examples/painting/svgviewer/mainwindow.rb +99 -0
- data/ext/ruby/qtruby/examples/painting/svgviewer/makefile +2 -0
- data/ext/ruby/qtruby/examples/painting/svgviewer/svgview.rb +156 -0
- data/ext/ruby/qtruby/examples/painting/svgviewer/svgviewer.qrc +6 -0
- data/ext/ruby/qtruby/examples/painting/svgviewer/svgwindow.rb +87 -0
- data/ext/ruby/qtruby/examples/painting/transformations/main.rb +32 -0
- data/ext/ruby/qtruby/examples/painting/transformations/renderarea.rb +127 -0
- data/ext/ruby/qtruby/examples/painting/transformations/window.rb +153 -0
- data/ext/ruby/qtruby/examples/passivepopup/passivepopup.rb +38 -0
- data/ext/ruby/qtruby/examples/qdbus/chat/chat.rb +146 -0
- data/ext/ruby/qtruby/examples/qdbus/chat/chat_adaptor.rb +12 -0
- data/ext/ruby/qtruby/examples/qdbus/chat/chat_interface.rb +13 -0
- data/ext/ruby/qtruby/examples/qdbus/chat/chatmainwindow.ui +184 -0
- data/ext/ruby/qtruby/examples/qdbus/chat/chatsetnickname.ui +145 -0
- data/ext/ruby/qtruby/examples/qdbus/chat/makefile +8 -0
- data/ext/ruby/qtruby/examples/qdbus/complexpingpong/complexping.rb +92 -0
- data/ext/ruby/qtruby/examples/qdbus/complexpingpong/complexpong.rb +83 -0
- data/ext/ruby/qtruby/examples/qdbus/complexpingpong/ping-common.rb +1 -0
- data/ext/ruby/qtruby/examples/qdbus/listnames/listnames.rb +69 -0
- data/ext/ruby/qtruby/examples/qdbus/pingpong/ping-common.rb +1 -0
- data/ext/ruby/qtruby/examples/qdbus/pingpong/ping.rb +52 -0
- data/ext/ruby/qtruby/examples/qdbus/pingpong/pong.rb +55 -0
- data/ext/ruby/qtruby/examples/qdbus/remotecontrolledcar/car/car.rb +151 -0
- data/ext/ruby/qtruby/examples/qdbus/remotecontrolledcar/car/main.rb +50 -0
- data/ext/ruby/qtruby/examples/qdbus/remotecontrolledcar/controller/controller.rb +66 -0
- data/ext/ruby/qtruby/examples/qdbus/remotecontrolledcar/controller/controller.ui +61 -0
- data/ext/ruby/qtruby/examples/qdbus/remotecontrolledcar/controller/main.rb +32 -0
- data/ext/ruby/qtruby/examples/qdbus/remotecontrolledcar/controller/makefile +2 -0
- data/ext/ruby/qtruby/examples/qtscribble/scribble.rb +270 -0
- data/ext/ruby/qtruby/examples/richtext/calendar/main.rb +33 -0
- data/ext/ruby/qtruby/examples/richtext/calendar/mainwindow.rb +173 -0
- data/ext/ruby/qtruby/examples/richtext/orderform/detailsdialog.rb +130 -0
- data/ext/ruby/qtruby/examples/richtext/orderform/main.rb +34 -0
- data/ext/ruby/qtruby/examples/richtext/orderform/mainwindow.rb +194 -0
- data/ext/ruby/qtruby/examples/richtext/syntaxhighlighter/examples/example +79 -0
- data/ext/ruby/qtruby/examples/richtext/syntaxhighlighter/highlighter.rb +90 -0
- data/ext/ruby/qtruby/examples/richtext/syntaxhighlighter/main.rb +34 -0
- data/ext/ruby/qtruby/examples/richtext/syntaxhighlighter/mainwindow.rb +105 -0
- data/ext/ruby/qtruby/examples/ruboids/Manifest +26 -0
- data/ext/ruby/qtruby/examples/ruboids/README +53 -0
- data/ext/ruby/qtruby/examples/ruboids/TODO +29 -0
- data/ext/ruby/qtruby/examples/ruboids/boids.properties +33 -0
- data/ext/ruby/qtruby/examples/ruboids/generateManifest.rb +42 -0
- data/ext/ruby/qtruby/examples/ruboids/index.html +147 -0
- data/ext/ruby/qtruby/examples/ruboids/release.rb +152 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/Boid.rb +141 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/BoidView.rb +159 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/Camera.rb +24 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/CameraDialog.rb +218 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/Canvas.rb +143 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/Cloud.rb +61 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/CloudView.rb +54 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/Flock.rb +47 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/Graphics.rb +278 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/Params.rb +87 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/Point.rb +153 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/Thing.rb +34 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/Triangle.rb +21 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/View.rb +88 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/World.rb +82 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/WorldWindow.rb +52 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/info.rb +12 -0
- data/ext/ruby/qtruby/examples/ruboids/ruboids/ruboids.rb +29 -0
- data/ext/ruby/qtruby/examples/textedit/textedit.rb +150 -0
- data/ext/ruby/qtruby/examples/tutorial/t1/t1.rb +10 -0
- data/ext/ruby/qtruby/examples/tutorial/t10/cannon.rb +72 -0
- data/ext/ruby/qtruby/examples/tutorial/t10/lcdrange.rb +45 -0
- data/ext/ruby/qtruby/examples/tutorial/t10/t10.rb +55 -0
- data/ext/ruby/qtruby/examples/tutorial/t11/cannon.rb +124 -0
- data/ext/ruby/qtruby/examples/tutorial/t11/lcdrange.rb +45 -0
- data/ext/ruby/qtruby/examples/tutorial/t11/t11.rb +65 -0
- data/ext/ruby/qtruby/examples/tutorial/t12/cannon.rb +158 -0
- data/ext/ruby/qtruby/examples/tutorial/t12/lcdrange.rb +59 -0
- data/ext/ruby/qtruby/examples/tutorial/t12/t12.rb +66 -0
- data/ext/ruby/qtruby/examples/tutorial/t13/cannon.rb +208 -0
- data/ext/ruby/qtruby/examples/tutorial/t13/gamebrd.rb +113 -0
- data/ext/ruby/qtruby/examples/tutorial/t13/lcdrange.rb +60 -0
- data/ext/ruby/qtruby/examples/tutorial/t13/t13.rb +11 -0
- data/ext/ruby/qtruby/examples/tutorial/t14/cannon.rb +263 -0
- data/ext/ruby/qtruby/examples/tutorial/t14/gamebrd.rb +123 -0
- data/ext/ruby/qtruby/examples/tutorial/t14/lcdrange.rb +63 -0
- data/ext/ruby/qtruby/examples/tutorial/t14/t14.rb +11 -0
- data/ext/ruby/qtruby/examples/tutorial/t2/t2.rb +16 -0
- data/ext/ruby/qtruby/examples/tutorial/t3/t3.rb +18 -0
- data/ext/ruby/qtruby/examples/tutorial/t4/t4.rb +25 -0
- data/ext/ruby/qtruby/examples/tutorial/t5/t5.rb +37 -0
- data/ext/ruby/qtruby/examples/tutorial/t6/t6.rb +52 -0
- data/ext/ruby/qtruby/examples/tutorial/t7/lcdrange.rb +32 -0
- data/ext/ruby/qtruby/examples/tutorial/t7/t7.rb +42 -0
- data/ext/ruby/qtruby/examples/tutorial/t8/cannon.rb +38 -0
- data/ext/ruby/qtruby/examples/tutorial/t8/lcdrange.rb +45 -0
- data/ext/ruby/qtruby/examples/tutorial/t8/t8.rb +43 -0
- data/ext/ruby/qtruby/examples/tutorial/t9/cannon.rb +45 -0
- data/ext/ruby/qtruby/examples/tutorial/t9/lcdrange.rb +46 -0
- data/ext/ruby/qtruby/examples/tutorial/t9/t9.rb +43 -0
- data/ext/ruby/qtruby/examples/widgets/analogclock/analogclock.rb +94 -0
- data/ext/ruby/qtruby/examples/widgets/analogclock/main.rb +9 -0
- data/ext/ruby/qtruby/examples/widgets/calculator/button.rb +45 -0
- data/ext/ruby/qtruby/examples/widgets/calculator/calculator.rb +382 -0
- data/ext/ruby/qtruby/examples/widgets/calculator/main.rb +32 -0
- data/ext/ruby/qtruby/examples/widgets/charactermap/characterwidget.rb +110 -0
- data/ext/ruby/qtruby/examples/widgets/charactermap/main.rb +32 -0
- data/ext/ruby/qtruby/examples/widgets/charactermap/mainwindow.rb +118 -0
- data/ext/ruby/qtruby/examples/widgets/digitalclock/digitalclock.rb +30 -0
- data/ext/ruby/qtruby/examples/widgets/digitalclock/main.rb +9 -0
- data/ext/ruby/qtruby/examples/widgets/groupbox/main.rb +32 -0
- data/ext/ruby/qtruby/examples/widgets/groupbox/window.rb +134 -0
- data/ext/ruby/qtruby/examples/widgets/icons/iconpreviewarea.rb +111 -0
- data/ext/ruby/qtruby/examples/widgets/icons/iconsizespinbox.rb +39 -0
- data/ext/ruby/qtruby/examples/widgets/icons/imagedelegate.rb +73 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/designer.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/find_disabled.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/find_normal.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/monkey_off_128x128.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/monkey_off_16x16.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/monkey_off_32x32.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/monkey_off_64x64.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/monkey_on_128x128.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/monkey_on_16x16.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/monkey_on_32x32.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/monkey_on_64x64.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/qtopia_16x16.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/qtopia_32x32.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/images/qtopia_48x48.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/icons/main.rb +32 -0
- data/ext/ruby/qtruby/examples/widgets/icons/mainwindow.rb +351 -0
- data/ext/ruby/qtruby/examples/widgets/imageviewer/imageviewer.rb +219 -0
- data/ext/ruby/qtruby/examples/widgets/imageviewer/main.rb +32 -0
- data/ext/ruby/qtruby/examples/widgets/lineedits/main.rb +32 -0
- data/ext/ruby/qtruby/examples/widgets/lineedits/window.rb +199 -0
- data/ext/ruby/qtruby/examples/widgets/movie/images/open.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/movie/images/pause.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/movie/images/play.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/movie/images/quit.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/movie/images/stop.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/movie/main.rb +32 -0
- data/ext/ruby/qtruby/examples/widgets/movie/movieplayer.rb +201 -0
- data/ext/ruby/qtruby/examples/widgets/movie/movies/fire.mng +0 -0
- data/ext/ruby/qtruby/examples/widgets/screenshot/main.rb +32 -0
- data/ext/ruby/qtruby/examples/widgets/screenshot/screenshot.rb +155 -0
- data/ext/ruby/qtruby/examples/widgets/scribble/main.rb +32 -0
- data/ext/ruby/qtruby/examples/widgets/scribble/mainwindow.rb +202 -0
- data/ext/ruby/qtruby/examples/widgets/scribble/scribblearea.rb +154 -0
- data/ext/ruby/qtruby/examples/widgets/sliders/main.rb +32 -0
- data/ext/ruby/qtruby/examples/widgets/sliders/slidersgroup.rb +97 -0
- data/ext/ruby/qtruby/examples/widgets/sliders/window.rb +124 -0
- data/ext/ruby/qtruby/examples/widgets/spinboxes/main.rb +32 -0
- data/ext/ruby/qtruby/examples/widgets/spinboxes/window.rb +213 -0
- data/ext/ruby/qtruby/examples/widgets/tetrix/main.rb +33 -0
- data/ext/ruby/qtruby/examples/widgets/tetrix/tetrixboard.rb +346 -0
- data/ext/ruby/qtruby/examples/widgets/tetrix/tetrixpiece.rb +135 -0
- data/ext/ruby/qtruby/examples/widgets/tetrix/tetrixwindow.rb +88 -0
- data/ext/ruby/qtruby/examples/widgets/tooltips/images/circle.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/tooltips/images/square.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/tooltips/images/triangle.png +0 -0
- data/ext/ruby/qtruby/examples/widgets/tooltips/main.rb +32 -0
- data/ext/ruby/qtruby/examples/widgets/tooltips/shapeitem.rb +31 -0
- data/ext/ruby/qtruby/examples/widgets/tooltips/sortingbox.rb +222 -0
- data/ext/ruby/qtruby/examples/widgets/wiggly/dialog.rb +48 -0
- data/ext/ruby/qtruby/examples/widgets/wiggly/main.rb +9 -0
- data/ext/ruby/qtruby/examples/widgets/wiggly/wigglywidget.rb +76 -0
- data/ext/ruby/qtruby/examples/widgets/windowflags/controllerwindow.rb +195 -0
- data/ext/ruby/qtruby/examples/widgets/windowflags/main.rb +32 -0
- data/ext/ruby/qtruby/examples/widgets/windowflags/previewwindow.rb +103 -0
- data/ext/ruby/qtruby/examples/xml/dombookmarks/frank.xbel +230 -0
- data/ext/ruby/qtruby/examples/xml/dombookmarks/jennifer.xbel +93 -0
- data/ext/ruby/qtruby/examples/xml/dombookmarks/main.rb +34 -0
- data/ext/ruby/qtruby/examples/xml/dombookmarks/mainwindow.rb +129 -0
- data/ext/ruby/qtruby/examples/xml/dombookmarks/xbeltree.rb +172 -0
- data/ext/ruby/qtruby/examples/xml/saxbookmarks/frank.xbel +230 -0
- data/ext/ruby/qtruby/examples/xml/saxbookmarks/jennifer.xbel +93 -0
- data/ext/ruby/qtruby/examples/xml/saxbookmarks/main.rb +34 -0
- data/ext/ruby/qtruby/examples/xml/saxbookmarks/mainwindow.rb +144 -0
- data/ext/ruby/qtruby/examples/xml/saxbookmarks/xbelgenerator.rb +95 -0
- data/ext/ruby/qtruby/examples/xml/saxbookmarks/xbelhandler.rb +122 -0
- data/ext/ruby/qtruby/rails_support/CMakeLists.txt +1 -0
- data/ext/ruby/qtruby/rails_support/active_item_model.rb +234 -0
- data/ext/ruby/qtruby/rails_support/active_table_model.rb +122 -0
- data/ext/ruby/qtruby/src/CMakeLists.txt +103 -0
- data/ext/ruby/qtruby/src/Qt.cpp +1279 -0
- data/ext/ruby/qtruby/src/extconf.rb +11 -0
- data/ext/ruby/qtruby/src/handlers.cpp +2622 -0
- data/ext/ruby/qtruby/src/lib/CMakeLists.txt +16 -0
- data/ext/ruby/qtruby/src/lib/Qt.rb +1 -0
- data/ext/ruby/qtruby/src/lib/Qt/CMakeLists.txt +9 -0
- data/ext/ruby/qtruby/src/lib/Qt/qtruby4.rb +3177 -0
- data/ext/ruby/qtruby/src/lib/Qt3.rb +6 -0
- data/ext/ruby/qtruby/src/lib/Qt4.rb +6 -0
- data/ext/ruby/qtruby/src/marshall.h +66 -0
- data/ext/ruby/qtruby/src/marshall_basetypes.h +208 -0
- data/ext/ruby/qtruby/src/marshall_complex.h +175 -0
- data/ext/ruby/qtruby/src/marshall_macros.h +647 -0
- data/ext/ruby/qtruby/src/marshall_primitives.h +290 -0
- data/ext/ruby/qtruby/src/marshall_types.cpp +815 -0
- data/ext/ruby/qtruby/src/marshall_types.h +240 -0
- data/ext/ruby/qtruby/src/qtruby.cpp +2483 -0
- data/ext/ruby/qtruby/src/qtruby.h +185 -0
- data/ext/ruby/qtruby/src/smokeruby.h +164 -0
- data/ext/ruby/qtruby/test/opoverloading.rb +46 -0
- data/ext/ruby/qtruby/test/unittests.rb +151 -0
- data/ext/ruby/qtruby/tools/CMakeLists.txt +2 -0
- data/ext/ruby/qtruby/tools/rbrcc/CMakeLists.txt +6 -0
- data/ext/ruby/qtruby/tools/rbrcc/Messages.sh +7 -0
- data/ext/ruby/qtruby/tools/rbrcc/main.cpp +173 -0
- data/ext/ruby/qtruby/tools/rbrcc/rbrcc.pro +14 -0
- data/ext/ruby/qtruby/tools/rbrcc/rcc.cpp +648 -0
- data/ext/ruby/qtruby/tools/rbrcc/rcc.h +165 -0
- data/ext/ruby/qtruby/tools/rbuic/CMakeLists.txt +35 -0
- data/ext/ruby/qtruby/tools/rbuic/LICENSE.GPL +280 -0
- data/ext/ruby/qtruby/tools/rbuic/Messages.sh +7 -0
- data/ext/ruby/qtruby/tools/rbuic/TODO +4 -0
- data/ext/ruby/qtruby/tools/rbuic/customwidgetsinfo.cpp +106 -0
- data/ext/ruby/qtruby/tools/rbuic/customwidgetsinfo.h +95 -0
- data/ext/ruby/qtruby/tools/rbuic/databaseinfo.cpp +102 -0
- data/ext/ruby/qtruby/tools/rbuic/databaseinfo.h +85 -0
- data/ext/ruby/qtruby/tools/rbuic/driver.cpp +384 -0
- data/ext/ruby/qtruby/tools/rbuic/driver.h +141 -0
- data/ext/ruby/qtruby/tools/rbuic/globaldefs.h +60 -0
- data/ext/ruby/qtruby/tools/rbuic/main.cpp +201 -0
- data/ext/ruby/qtruby/tools/rbuic/option.h +107 -0
- data/ext/ruby/qtruby/tools/rbuic/rbuic.pri +23 -0
- data/ext/ruby/qtruby/tools/rbuic/rbuic4.pro +43 -0
- data/ext/ruby/qtruby/tools/rbuic/ruby/rbextractimages.cpp +150 -0
- data/ext/ruby/qtruby/tools/rbuic/ruby/rbextractimages.h +83 -0
- data/ext/ruby/qtruby/tools/rbuic/ruby/rbwritedeclaration.cpp +217 -0
- data/ext/ruby/qtruby/tools/rbuic/ruby/rbwritedeclaration.h +85 -0
- data/ext/ruby/qtruby/tools/rbuic/ruby/rbwriteicondata.cpp +185 -0
- data/ext/ruby/qtruby/tools/rbuic/ruby/rbwriteicondata.h +86 -0
- data/ext/ruby/qtruby/tools/rbuic/ruby/rbwriteicondeclaration.cpp +88 -0
- data/ext/ruby/qtruby/tools/rbuic/ruby/rbwriteicondeclaration.h +83 -0
- data/ext/ruby/qtruby/tools/rbuic/ruby/rbwriteiconinitialization.cpp +126 -0
- data/ext/ruby/qtruby/tools/rbuic/ruby/rbwriteiconinitialization.h +87 -0
- data/ext/ruby/qtruby/tools/rbuic/ruby/rbwriteinitialization.cpp +2478 -0
- data/ext/ruby/qtruby/tools/rbuic/ruby/rbwriteinitialization.h +314 -0
- data/ext/ruby/qtruby/tools/rbuic/ruby/ruby.pri +18 -0
- data/ext/ruby/qtruby/tools/rbuic/treewalker.cpp +318 -0
- data/ext/ruby/qtruby/tools/rbuic/treewalker.h +139 -0
- data/ext/ruby/qtruby/tools/rbuic/ui4.cpp +7623 -0
- data/ext/ruby/qtruby/tools/rbuic/ui4.h +3180 -0
- data/ext/ruby/qtruby/tools/rbuic/uic.cpp +438 -0
- data/ext/ruby/qtruby/tools/rbuic/uic.h +154 -0
- data/ext/ruby/qtruby/tools/rbuic/utils.h +125 -0
- data/ext/ruby/qtruby/tools/rbuic/validator.cpp +100 -0
- data/ext/ruby/qtruby/tools/rbuic/validator.h +80 -0
- data/ext/ruby/qtscript/CMakeLists.txt +19 -0
- data/ext/ruby/qtscript/qtscript.cpp +82 -0
- data/ext/ruby/qtscript/qtscript.rb +40 -0
- data/ext/ruby/qtscript/qtscripthandlers.cpp +36 -0
- data/ext/ruby/qtscript/smokedata.cpp +1403 -0
- data/ext/ruby/qttest/CMakeLists.txt +18 -0
- data/ext/ruby/qttest/ChangeLog +9 -0
- data/ext/ruby/qttest/examples/myfirsttest.rb +30 -0
- data/ext/ruby/qttest/qttest.cpp +82 -0
- data/ext/ruby/qttest/qttest.rb +166 -0
- data/ext/ruby/qttest/qttesthandlers.cpp +35 -0
- data/ext/ruby/qtuitools/CMakeLists.txt +16 -0
- data/ext/ruby/qtuitools/qtuitools.cpp +82 -0
- data/ext/ruby/qtuitools/qtuitools.rb +17 -0
- data/ext/ruby/qtuitools/qtuitoolshandlers.cpp +31 -0
- data/ext/ruby/qtwebkit/CMakeLists.txt +17 -0
- data/ext/ruby/qtwebkit/qtwebkit.cpp +66 -0
- data/ext/ruby/qtwebkit/qtwebkit.rb +17 -0
- data/ext/ruby/qtwebkit/qtwebkithandlers.cpp +39 -0
- data/ext/smoke/CMakeLists.txt +35 -0
- data/ext/smoke/deptool/CMakeLists.txt +7 -0
- data/ext/smoke/deptool/main.cpp +128 -0
- data/ext/smoke/qt_smoke.h +16 -0
- data/ext/smoke/qtcore/CMakeLists.txt +88 -0
- data/ext/smoke/qtcore/QtGuess.txt +181 -0
- data/ext/smoke/qtcore/config.xml.cmake +10 -0
- data/ext/smoke/qtcore/qt-config.xml.cmake +21 -0
- data/ext/smoke/qtcore/qtcore_includes.h +1 -0
- data/ext/smoke/qtcore/smokeconfig.xml +189 -0
- data/ext/smoke/qtcore/tests/CMakeLists.txt +13 -0
- data/ext/smoke/qtcore/tests/test.cpp +846 -0
- data/ext/smoke/qtcore_smoke.h +16 -0
- data/ext/smoke/qtdbus/CMakeLists.txt +38 -0
- data/ext/smoke/qtdbus/config.xml.cmake +11 -0
- data/ext/smoke/qtdbus/qtdbus_includes.h +2 -0
- data/ext/smoke/qtdbus/smokeconfig.xml +63 -0
- data/ext/smoke/qtdbus_smoke.h +16 -0
- data/ext/smoke/qtgui/CMakeLists.txt +76 -0
- data/ext/smoke/qtgui/config.xml.cmake +11 -0
- data/ext/smoke/qtgui/qtgui_includes.h +7 -0
- data/ext/smoke/qtgui/smokeconfig.xml +490 -0
- data/ext/smoke/qtgui_smoke.h +16 -0
- data/ext/smoke/qtmultimedia/CMakeLists.txt +42 -0
- data/ext/smoke/qtmultimedia/config.xml.cmake +12 -0
- data/ext/smoke/qtmultimedia/qtmultimedia_includes.h +3 -0
- data/ext/smoke/qtmultimedia/smokeconfig.xml +50 -0
- data/ext/smoke/qtmultimedia_smoke.h +16 -0
- data/ext/smoke/qtnetwork/CMakeLists.txt +38 -0
- data/ext/smoke/qtnetwork/config.xml.cmake +11 -0
- data/ext/smoke/qtnetwork/qtnetwork_includes.h +2 -0
- data/ext/smoke/qtnetwork/smokeconfig.xml +76 -0
- data/ext/smoke/qtnetwork_smoke.h +16 -0
- data/ext/smoke/qtopengl/CMakeLists.txt +43 -0
- data/ext/smoke/qtopengl/config.xml.cmake +12 -0
- data/ext/smoke/qtopengl/qtopengl_includes.h +3 -0
- data/ext/smoke/qtopengl/smokeconfig.xml +56 -0
- data/ext/smoke/qtopengl_smoke.h +16 -0
- data/ext/smoke/qtscript/CMakeLists.txt +31 -0
- data/ext/smoke/qtscript/config.xml.cmake +11 -0
- data/ext/smoke/qtscript/qtscript_includes.h +14 -0
- data/ext/smoke/qtscript/smokeconfig.xml +39 -0
- data/ext/smoke/qtscript_smoke.h +16 -0
- data/ext/smoke/qtsql/CMakeLists.txt +41 -0
- data/ext/smoke/qtsql/config.xml.cmake +11 -0
- data/ext/smoke/qtsql/qtsql_includes.h +2 -0
- data/ext/smoke/qtsql/smokeconfig.xml +56 -0
- data/ext/smoke/qtsql_smoke.h +16 -0
- data/ext/smoke/qtsvg/CMakeLists.txt +43 -0
- data/ext/smoke/qtsvg/config.xml.cmake +12 -0
- data/ext/smoke/qtsvg/qtsvg_includes.h +3 -0
- data/ext/smoke/qtsvg/smokeconfig.xml +45 -0
- data/ext/smoke/qtsvg_smoke.h +16 -0
- data/ext/smoke/qttest/CMakeLists.txt +35 -0
- data/ext/smoke/qttest/config.xml.cmake +12 -0
- data/ext/smoke/qttest/qttest_includes.h +14 -0
- data/ext/smoke/qttest/smokeconfig.xml +36 -0
- data/ext/smoke/qttest_smoke.h +16 -0
- data/ext/smoke/qtuitools/CMakeLists.txt +30 -0
- data/ext/smoke/qtuitools/config.xml.cmake +12 -0
- data/ext/smoke/qtuitools/qtuitools_includes.h +1 -0
- data/ext/smoke/qtuitools/smokeconfig.xml +20 -0
- data/ext/smoke/qtuitools_smoke.h +16 -0
- data/ext/smoke/qtwebkit/CMakeLists.txt +36 -0
- data/ext/smoke/qtwebkit/config.xml.cmake +11 -0
- data/ext/smoke/qtwebkit/qtwebkit_includes.h +1 -0
- data/ext/smoke/qtwebkit/smokeconfig.xml +45 -0
- data/ext/smoke/qtwebkit_smoke.h +16 -0
- data/ext/smoke/qtxml/CMakeLists.txt +41 -0
- data/ext/smoke/qtxml/config.xml.cmake +11 -0
- data/ext/smoke/qtxml/qtxml_includes.h +2 -0
- data/ext/smoke/qtxml/smokeconfig.xml +70 -0
- data/ext/smoke/qtxml_smoke.h +16 -0
- data/ext/smoke/qtxmlpatterns/CMakeLists.txt +42 -0
- data/ext/smoke/qtxmlpatterns/config.xml.cmake +12 -0
- data/ext/smoke/qtxmlpatterns/qtxmlpatterns_includes.h +3 -0
- data/ext/smoke/qtxmlpatterns/smokeconfig.xml +80 -0
- data/ext/smoke/qtxmlpatterns_smoke.h +16 -0
- data/ext/smoke/smoke.h +557 -0
- data/ext/smoke/smokeapi/CMakeLists.txt +9 -0
- data/ext/smoke/smokeapi/main.cpp +309 -0
- data/ext/smoke/smokebase/CMakeLists.txt +11 -0
- data/ext/smoke/smokebase/smokebase.cpp +6 -0
- data/ext/smoke/solid_smoke.h +16 -0
- data/extconf.rb +231 -0
- data/lib/1.8/libqtruby4shared.dll +0 -0
- data/lib/1.8/libsmokebase.dll +0 -0
- data/lib/1.8/libsmokeqtcore.dll +0 -0
- data/lib/1.8/libsmokeqtgui.dll +0 -0
- data/lib/1.8/libsmokeqtmultimedia.dll +0 -0
- data/lib/1.8/libsmokeqtnetwork.dll +0 -0
- data/lib/1.8/libsmokeqtopengl.dll +0 -0
- data/lib/1.8/libsmokeqtscript.dll +0 -0
- data/lib/1.8/libsmokeqtsql.dll +0 -0
- data/lib/1.8/libsmokeqtsvg.dll +0 -0
- data/lib/1.8/libsmokeqttest.dll +0 -0
- data/lib/1.8/libsmokeqtuitools.dll +0 -0
- data/lib/1.8/libsmokeqtwebkit.dll +0 -0
- data/lib/1.8/libsmokeqtxml.dll +0 -0
- data/lib/1.8/libsmokeqtxmlpatterns.dll +0 -0
- data/lib/1.8/qtruby4.so +0 -0
- data/lib/1.8/qtscript.so +0 -0
- data/lib/1.8/qttest.so +0 -0
- data/lib/1.8/qtuitools.so +0 -0
- data/lib/1.8/qtwebkit.so +0 -0
- data/lib/1.9/libqtruby4shared.dll +0 -0
- data/lib/1.9/libsmokebase.dll +0 -0
- data/lib/1.9/libsmokeqtcore.dll +0 -0
- data/lib/1.9/libsmokeqtgui.dll +0 -0
- data/lib/1.9/libsmokeqtmultimedia.dll +0 -0
- data/lib/1.9/libsmokeqtnetwork.dll +0 -0
- data/lib/1.9/libsmokeqtopengl.dll +0 -0
- data/lib/1.9/libsmokeqtscript.dll +0 -0
- data/lib/1.9/libsmokeqtsql.dll +0 -0
- data/lib/1.9/libsmokeqtsvg.dll +0 -0
- data/lib/1.9/libsmokeqttest.dll +0 -0
- data/lib/1.9/libsmokeqtuitools.dll +0 -0
- data/lib/1.9/libsmokeqtwebkit.dll +0 -0
- data/lib/1.9/libsmokeqtxml.dll +0 -0
- data/lib/1.9/libsmokeqtxmlpatterns.dll +0 -0
- data/lib/1.9/qtruby4.so +0 -0
- data/lib/1.9/qtscript.so +0 -0
- data/lib/1.9/qttest.so +0 -0
- data/lib/1.9/qtuitools.so +0 -0
- data/lib/1.9/qtwebkit.so +0 -0
- data/lib/Qt.rb +1 -0
- data/lib/Qt/qtruby4.rb +3177 -0
- data/lib/Qt4.rb +20 -0
- data/lib/qtbindings_version.rb +2 -0
- data/lib/qtscript/qtscript.rb +40 -0
- data/lib/qttest/qttest.rb +166 -0
- data/lib/qtuitools/qtuitools.rb +17 -0
- data/lib/qtwebkit/qtwebkit.rb +17 -0
- data/qtbindings.gemspec +18 -0
- data/qtbindingsnative.gemspec +18 -0
- metadata +1297 -0
@@ -0,0 +1,3180 @@
|
|
1
|
+
/****************************************************************************
|
2
|
+
**
|
3
|
+
** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved.
|
4
|
+
**
|
5
|
+
** This file is part of the tools applications of the Qt Toolkit.
|
6
|
+
**
|
7
|
+
** This file may be used under the terms of the GNU General Public
|
8
|
+
** License versions 2.0 or 3.0 as published by the Free Software
|
9
|
+
** Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
|
10
|
+
** included in the packaging of this file. Alternatively you may (at
|
11
|
+
** your option) use any later version of the GNU General Public
|
12
|
+
** License if such license has been publicly approved by Trolltech ASA
|
13
|
+
** (or its successors, if any) and the KDE Free Qt Foundation. In
|
14
|
+
** addition, as a special exception, Trolltech gives you certain
|
15
|
+
** additional rights. These rights are described in the Trolltech GPL
|
16
|
+
** Exception version 1.2, which can be found at
|
17
|
+
** http://www.trolltech.com/products/qt/gplexception/ and in the file
|
18
|
+
** GPL_EXCEPTION.txt in this package.
|
19
|
+
**
|
20
|
+
** Please review the following information to ensure GNU General
|
21
|
+
** Public Licensing requirements will be met:
|
22
|
+
** http://trolltech.com/products/qt/licenses/licensing/opensource/. If
|
23
|
+
** you are unsure which license is appropriate for your use, please
|
24
|
+
** review the following information:
|
25
|
+
** http://trolltech.com/products/qt/licenses/licensing/licensingoverview
|
26
|
+
** or contact the sales department at sales@trolltech.com.
|
27
|
+
**
|
28
|
+
** In addition, as a special exception, Trolltech, as the sole
|
29
|
+
** copyright holder for Qt Designer, grants users of the Qt/Eclipse
|
30
|
+
** Integration plug-in the right for the Qt/Eclipse Integration to
|
31
|
+
** link to functionality provided by Qt Designer and its related
|
32
|
+
** libraries.
|
33
|
+
**
|
34
|
+
** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
|
35
|
+
** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
|
36
|
+
** A PARTICULAR PURPOSE. Trolltech reserves all rights not expressly
|
37
|
+
** granted herein.
|
38
|
+
**
|
39
|
+
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
|
40
|
+
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
|
41
|
+
**
|
42
|
+
****************************************************************************/
|
43
|
+
|
44
|
+
//
|
45
|
+
// W A R N I N G
|
46
|
+
// -------------
|
47
|
+
//
|
48
|
+
// This file is not part of the Qt API. It exists for the convenience
|
49
|
+
// of Qt Designer. This header
|
50
|
+
// file may change from version to version without notice, or even be removed.
|
51
|
+
//
|
52
|
+
// We mean it.
|
53
|
+
//
|
54
|
+
|
55
|
+
// THIS FILE IS AUTOMATICALLY GENERATED
|
56
|
+
|
57
|
+
#ifndef UI4_H
|
58
|
+
#define UI4_H
|
59
|
+
|
60
|
+
#include <QtCore/QList>
|
61
|
+
#include <QtCore/QString>
|
62
|
+
#include <QtCore/QStringList>
|
63
|
+
|
64
|
+
#include <QtCore/qglobal.h>
|
65
|
+
|
66
|
+
#if defined(QT_BEGIN_NAMESPACE)
|
67
|
+
QT_BEGIN_NAMESPACE
|
68
|
+
#endif
|
69
|
+
|
70
|
+
class QDomDocument;
|
71
|
+
class QDomElement;
|
72
|
+
|
73
|
+
#ifdef Q_OS_WIN
|
74
|
+
#define QDESIGNER_UILIB_EXTERN
|
75
|
+
#define QDESIGNER_UILIB_IMPORT
|
76
|
+
#else
|
77
|
+
#define QDESIGNER_UILIB_EXTERN Q_DECL_EXPORT
|
78
|
+
#define QDESIGNER_UILIB_IMPORT Q_DECL_IMPORT
|
79
|
+
#endif
|
80
|
+
|
81
|
+
#if defined(QT_DESIGNER_STATIC) || defined(QT_UIC) || defined(QT_UIC3)
|
82
|
+
# define QDESIGNER_UILIB_EXPORT
|
83
|
+
#elif defined(QDESIGNER_UILIB_LIBRARY)
|
84
|
+
# define QDESIGNER_UILIB_EXPORT QDESIGNER_UILIB_EXTERN
|
85
|
+
#else
|
86
|
+
# define QDESIGNER_UILIB_EXPORT QDESIGNER_UILIB_IMPORT
|
87
|
+
#endif
|
88
|
+
|
89
|
+
#ifndef QDESIGNER_UILIB_EXPORT
|
90
|
+
# define QDESIGNER_UILIB_EXPORT
|
91
|
+
#endif
|
92
|
+
|
93
|
+
#ifdef QFORMINTERNAL_NAMESPACE
|
94
|
+
namespace QFormInternal
|
95
|
+
{
|
96
|
+
#endif
|
97
|
+
|
98
|
+
|
99
|
+
/*******************************************************************************
|
100
|
+
** Forward declarations
|
101
|
+
*/
|
102
|
+
|
103
|
+
class DomUI;
|
104
|
+
class DomIncludes;
|
105
|
+
class DomInclude;
|
106
|
+
class DomResources;
|
107
|
+
class DomResource;
|
108
|
+
class DomActionGroup;
|
109
|
+
class DomAction;
|
110
|
+
class DomActionRef;
|
111
|
+
class DomImages;
|
112
|
+
class DomImage;
|
113
|
+
class DomImageData;
|
114
|
+
class DomCustomWidgets;
|
115
|
+
class DomHeader;
|
116
|
+
class DomCustomWidget;
|
117
|
+
class DomProperties;
|
118
|
+
class DomPropertyData;
|
119
|
+
class DomSizePolicyData;
|
120
|
+
class DomLayoutDefault;
|
121
|
+
class DomLayoutFunction;
|
122
|
+
class DomTabStops;
|
123
|
+
class DomLayout;
|
124
|
+
class DomLayoutItem;
|
125
|
+
class DomRow;
|
126
|
+
class DomColumn;
|
127
|
+
class DomItem;
|
128
|
+
class DomWidget;
|
129
|
+
class DomSpacer;
|
130
|
+
class DomColor;
|
131
|
+
class DomGradientStop;
|
132
|
+
class DomGradient;
|
133
|
+
class DomBrush;
|
134
|
+
class DomColorRole;
|
135
|
+
class DomColorGroup;
|
136
|
+
class DomPalette;
|
137
|
+
class DomFont;
|
138
|
+
class DomPoint;
|
139
|
+
class DomRect;
|
140
|
+
class DomLocale;
|
141
|
+
class DomSizePolicy;
|
142
|
+
class DomSize;
|
143
|
+
class DomDate;
|
144
|
+
class DomTime;
|
145
|
+
class DomDateTime;
|
146
|
+
class DomStringList;
|
147
|
+
class DomResourcePixmap;
|
148
|
+
class DomResourceIcon;
|
149
|
+
class DomString;
|
150
|
+
class DomPointF;
|
151
|
+
class DomRectF;
|
152
|
+
class DomSizeF;
|
153
|
+
class DomChar;
|
154
|
+
class DomUrl;
|
155
|
+
class DomProperty;
|
156
|
+
class DomConnections;
|
157
|
+
class DomConnection;
|
158
|
+
class DomConnectionHints;
|
159
|
+
class DomConnectionHint;
|
160
|
+
class DomScript;
|
161
|
+
class DomWidgetData;
|
162
|
+
class DomDesignerData;
|
163
|
+
class DomSlots;
|
164
|
+
|
165
|
+
/*******************************************************************************
|
166
|
+
** Declarations
|
167
|
+
*/
|
168
|
+
|
169
|
+
class QDESIGNER_UILIB_EXPORT DomUI {
|
170
|
+
public:
|
171
|
+
DomUI();
|
172
|
+
~DomUI();
|
173
|
+
|
174
|
+
void read(const QDomElement &node);
|
175
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
176
|
+
inline QString text() const { return m_text; }
|
177
|
+
inline void setText(const QString &s) { m_text = s; }
|
178
|
+
|
179
|
+
// attribute accessors
|
180
|
+
inline bool hasAttributeVersion() const { return m_has_attr_version; }
|
181
|
+
inline QString attributeVersion() const { return m_attr_version; }
|
182
|
+
inline void setAttributeVersion(const QString& a) { m_attr_version = a; m_has_attr_version = true; }
|
183
|
+
inline void clearAttributeVersion() { m_has_attr_version = false; }
|
184
|
+
|
185
|
+
inline bool hasAttributeLanguage() const { return m_has_attr_language; }
|
186
|
+
inline QString attributeLanguage() const { return m_attr_language; }
|
187
|
+
inline void setAttributeLanguage(const QString& a) { m_attr_language = a; m_has_attr_language = true; }
|
188
|
+
inline void clearAttributeLanguage() { m_has_attr_language = false; }
|
189
|
+
|
190
|
+
inline bool hasAttributeStdSetDef() const { return m_has_attr_stdSetDef; }
|
191
|
+
inline int attributeStdSetDef() const { return m_attr_stdSetDef; }
|
192
|
+
inline void setAttributeStdSetDef(int a) { m_attr_stdSetDef = a; m_has_attr_stdSetDef = true; }
|
193
|
+
inline void clearAttributeStdSetDef() { m_has_attr_stdSetDef = false; }
|
194
|
+
|
195
|
+
// child element accessors
|
196
|
+
inline QString elementAuthor() const { return m_author; }
|
197
|
+
void setElementAuthor(const QString& a);
|
198
|
+
inline bool hasElementAuthor() const { return m_children & Author; }
|
199
|
+
void clearElementAuthor();
|
200
|
+
|
201
|
+
inline QString elementComment() const { return m_comment; }
|
202
|
+
void setElementComment(const QString& a);
|
203
|
+
inline bool hasElementComment() const { return m_children & Comment; }
|
204
|
+
void clearElementComment();
|
205
|
+
|
206
|
+
inline QString elementExportMacro() const { return m_exportMacro; }
|
207
|
+
void setElementExportMacro(const QString& a);
|
208
|
+
inline bool hasElementExportMacro() const { return m_children & ExportMacro; }
|
209
|
+
void clearElementExportMacro();
|
210
|
+
|
211
|
+
inline QString elementClass() const { return m_class; }
|
212
|
+
void setElementClass(const QString& a);
|
213
|
+
inline bool hasElementClass() const { return m_children & Class; }
|
214
|
+
void clearElementClass();
|
215
|
+
|
216
|
+
inline DomWidget* elementWidget() const { return m_widget; }
|
217
|
+
void setElementWidget(DomWidget* a);
|
218
|
+
inline bool hasElementWidget() const { return m_children & Widget; }
|
219
|
+
void clearElementWidget();
|
220
|
+
|
221
|
+
inline DomLayoutDefault* elementLayoutDefault() const { return m_layoutDefault; }
|
222
|
+
void setElementLayoutDefault(DomLayoutDefault* a);
|
223
|
+
inline bool hasElementLayoutDefault() const { return m_children & LayoutDefault; }
|
224
|
+
void clearElementLayoutDefault();
|
225
|
+
|
226
|
+
inline DomLayoutFunction* elementLayoutFunction() const { return m_layoutFunction; }
|
227
|
+
void setElementLayoutFunction(DomLayoutFunction* a);
|
228
|
+
inline bool hasElementLayoutFunction() const { return m_children & LayoutFunction; }
|
229
|
+
void clearElementLayoutFunction();
|
230
|
+
|
231
|
+
inline QString elementPixmapFunction() const { return m_pixmapFunction; }
|
232
|
+
void setElementPixmapFunction(const QString& a);
|
233
|
+
inline bool hasElementPixmapFunction() const { return m_children & PixmapFunction; }
|
234
|
+
void clearElementPixmapFunction();
|
235
|
+
|
236
|
+
inline DomCustomWidgets* elementCustomWidgets() const { return m_customWidgets; }
|
237
|
+
void setElementCustomWidgets(DomCustomWidgets* a);
|
238
|
+
inline bool hasElementCustomWidgets() const { return m_children & CustomWidgets; }
|
239
|
+
void clearElementCustomWidgets();
|
240
|
+
|
241
|
+
inline DomTabStops* elementTabStops() const { return m_tabStops; }
|
242
|
+
void setElementTabStops(DomTabStops* a);
|
243
|
+
inline bool hasElementTabStops() const { return m_children & TabStops; }
|
244
|
+
void clearElementTabStops();
|
245
|
+
|
246
|
+
inline DomImages* elementImages() const { return m_images; }
|
247
|
+
void setElementImages(DomImages* a);
|
248
|
+
inline bool hasElementImages() const { return m_children & Images; }
|
249
|
+
void clearElementImages();
|
250
|
+
|
251
|
+
inline DomIncludes* elementIncludes() const { return m_includes; }
|
252
|
+
void setElementIncludes(DomIncludes* a);
|
253
|
+
inline bool hasElementIncludes() const { return m_children & Includes; }
|
254
|
+
void clearElementIncludes();
|
255
|
+
|
256
|
+
inline DomResources* elementResources() const { return m_resources; }
|
257
|
+
void setElementResources(DomResources* a);
|
258
|
+
inline bool hasElementResources() const { return m_children & Resources; }
|
259
|
+
void clearElementResources();
|
260
|
+
|
261
|
+
inline DomConnections* elementConnections() const { return m_connections; }
|
262
|
+
void setElementConnections(DomConnections* a);
|
263
|
+
inline bool hasElementConnections() const { return m_children & Connections; }
|
264
|
+
void clearElementConnections();
|
265
|
+
|
266
|
+
inline DomDesignerData* elementDesignerdata() const { return m_designerdata; }
|
267
|
+
void setElementDesignerdata(DomDesignerData* a);
|
268
|
+
inline bool hasElementDesignerdata() const { return m_children & Designerdata; }
|
269
|
+
void clearElementDesignerdata();
|
270
|
+
|
271
|
+
inline DomSlots* elementSlots() const { return m_slots; }
|
272
|
+
void setElementSlots(DomSlots* a);
|
273
|
+
inline bool hasElementSlots() const { return m_children & Slots; }
|
274
|
+
void clearElementSlots();
|
275
|
+
|
276
|
+
private:
|
277
|
+
QString m_text;
|
278
|
+
void clear(bool clear_all = true);
|
279
|
+
|
280
|
+
// attribute data
|
281
|
+
QString m_attr_version;
|
282
|
+
bool m_has_attr_version;
|
283
|
+
|
284
|
+
QString m_attr_language;
|
285
|
+
bool m_has_attr_language;
|
286
|
+
|
287
|
+
int m_attr_stdSetDef;
|
288
|
+
bool m_has_attr_stdSetDef;
|
289
|
+
|
290
|
+
// child element data
|
291
|
+
uint m_children;
|
292
|
+
QString m_author;
|
293
|
+
QString m_comment;
|
294
|
+
QString m_exportMacro;
|
295
|
+
QString m_class;
|
296
|
+
DomWidget* m_widget;
|
297
|
+
DomLayoutDefault* m_layoutDefault;
|
298
|
+
DomLayoutFunction* m_layoutFunction;
|
299
|
+
QString m_pixmapFunction;
|
300
|
+
DomCustomWidgets* m_customWidgets;
|
301
|
+
DomTabStops* m_tabStops;
|
302
|
+
DomImages* m_images;
|
303
|
+
DomIncludes* m_includes;
|
304
|
+
DomResources* m_resources;
|
305
|
+
DomConnections* m_connections;
|
306
|
+
DomDesignerData* m_designerdata;
|
307
|
+
DomSlots* m_slots;
|
308
|
+
enum Child {
|
309
|
+
Author = 1,
|
310
|
+
Comment = 2,
|
311
|
+
ExportMacro = 4,
|
312
|
+
Class = 8,
|
313
|
+
Widget = 16,
|
314
|
+
LayoutDefault = 32,
|
315
|
+
LayoutFunction = 64,
|
316
|
+
PixmapFunction = 128,
|
317
|
+
CustomWidgets = 256,
|
318
|
+
TabStops = 512,
|
319
|
+
Images = 1024,
|
320
|
+
Includes = 2048,
|
321
|
+
Resources = 4096,
|
322
|
+
Connections = 8192,
|
323
|
+
Designerdata = 16384,
|
324
|
+
Slots = 32768
|
325
|
+
};
|
326
|
+
|
327
|
+
DomUI(const DomUI &other);
|
328
|
+
void operator = (const DomUI&other);
|
329
|
+
};
|
330
|
+
|
331
|
+
class QDESIGNER_UILIB_EXPORT DomIncludes {
|
332
|
+
public:
|
333
|
+
DomIncludes();
|
334
|
+
~DomIncludes();
|
335
|
+
|
336
|
+
void read(const QDomElement &node);
|
337
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
338
|
+
inline QString text() const { return m_text; }
|
339
|
+
inline void setText(const QString &s) { m_text = s; }
|
340
|
+
|
341
|
+
// attribute accessors
|
342
|
+
// child element accessors
|
343
|
+
inline QList<DomInclude*> elementInclude() const { return m_include; }
|
344
|
+
void setElementInclude(const QList<DomInclude*>& a);
|
345
|
+
|
346
|
+
private:
|
347
|
+
QString m_text;
|
348
|
+
void clear(bool clear_all = true);
|
349
|
+
|
350
|
+
// attribute data
|
351
|
+
// child element data
|
352
|
+
QList<DomInclude*> m_include;
|
353
|
+
|
354
|
+
DomIncludes(const DomIncludes &other);
|
355
|
+
void operator = (const DomIncludes&other);
|
356
|
+
};
|
357
|
+
|
358
|
+
class QDESIGNER_UILIB_EXPORT DomInclude {
|
359
|
+
public:
|
360
|
+
DomInclude();
|
361
|
+
~DomInclude();
|
362
|
+
|
363
|
+
void read(const QDomElement &node);
|
364
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
365
|
+
inline QString text() const { return m_text; }
|
366
|
+
inline void setText(const QString &s) { m_text = s; }
|
367
|
+
|
368
|
+
// attribute accessors
|
369
|
+
inline bool hasAttributeLocation() const { return m_has_attr_location; }
|
370
|
+
inline QString attributeLocation() const { return m_attr_location; }
|
371
|
+
inline void setAttributeLocation(const QString& a) { m_attr_location = a; m_has_attr_location = true; }
|
372
|
+
inline void clearAttributeLocation() { m_has_attr_location = false; }
|
373
|
+
|
374
|
+
inline bool hasAttributeImpldecl() const { return m_has_attr_impldecl; }
|
375
|
+
inline QString attributeImpldecl() const { return m_attr_impldecl; }
|
376
|
+
inline void setAttributeImpldecl(const QString& a) { m_attr_impldecl = a; m_has_attr_impldecl = true; }
|
377
|
+
inline void clearAttributeImpldecl() { m_has_attr_impldecl = false; }
|
378
|
+
|
379
|
+
// child element accessors
|
380
|
+
private:
|
381
|
+
QString m_text;
|
382
|
+
void clear(bool clear_all = true);
|
383
|
+
|
384
|
+
// attribute data
|
385
|
+
QString m_attr_location;
|
386
|
+
bool m_has_attr_location;
|
387
|
+
|
388
|
+
QString m_attr_impldecl;
|
389
|
+
bool m_has_attr_impldecl;
|
390
|
+
|
391
|
+
// child element data
|
392
|
+
|
393
|
+
DomInclude(const DomInclude &other);
|
394
|
+
void operator = (const DomInclude&other);
|
395
|
+
};
|
396
|
+
|
397
|
+
class QDESIGNER_UILIB_EXPORT DomResources {
|
398
|
+
public:
|
399
|
+
DomResources();
|
400
|
+
~DomResources();
|
401
|
+
|
402
|
+
void read(const QDomElement &node);
|
403
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
404
|
+
inline QString text() const { return m_text; }
|
405
|
+
inline void setText(const QString &s) { m_text = s; }
|
406
|
+
|
407
|
+
// attribute accessors
|
408
|
+
inline bool hasAttributeName() const { return m_has_attr_name; }
|
409
|
+
inline QString attributeName() const { return m_attr_name; }
|
410
|
+
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
|
411
|
+
inline void clearAttributeName() { m_has_attr_name = false; }
|
412
|
+
|
413
|
+
// child element accessors
|
414
|
+
inline QList<DomResource*> elementInclude() const { return m_include; }
|
415
|
+
void setElementInclude(const QList<DomResource*>& a);
|
416
|
+
|
417
|
+
private:
|
418
|
+
QString m_text;
|
419
|
+
void clear(bool clear_all = true);
|
420
|
+
|
421
|
+
// attribute data
|
422
|
+
QString m_attr_name;
|
423
|
+
bool m_has_attr_name;
|
424
|
+
|
425
|
+
// child element data
|
426
|
+
QList<DomResource*> m_include;
|
427
|
+
|
428
|
+
DomResources(const DomResources &other);
|
429
|
+
void operator = (const DomResources&other);
|
430
|
+
};
|
431
|
+
|
432
|
+
class QDESIGNER_UILIB_EXPORT DomResource {
|
433
|
+
public:
|
434
|
+
DomResource();
|
435
|
+
~DomResource();
|
436
|
+
|
437
|
+
void read(const QDomElement &node);
|
438
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
439
|
+
inline QString text() const { return m_text; }
|
440
|
+
inline void setText(const QString &s) { m_text = s; }
|
441
|
+
|
442
|
+
// attribute accessors
|
443
|
+
inline bool hasAttributeLocation() const { return m_has_attr_location; }
|
444
|
+
inline QString attributeLocation() const { return m_attr_location; }
|
445
|
+
inline void setAttributeLocation(const QString& a) { m_attr_location = a; m_has_attr_location = true; }
|
446
|
+
inline void clearAttributeLocation() { m_has_attr_location = false; }
|
447
|
+
|
448
|
+
// child element accessors
|
449
|
+
private:
|
450
|
+
QString m_text;
|
451
|
+
void clear(bool clear_all = true);
|
452
|
+
|
453
|
+
// attribute data
|
454
|
+
QString m_attr_location;
|
455
|
+
bool m_has_attr_location;
|
456
|
+
|
457
|
+
// child element data
|
458
|
+
|
459
|
+
DomResource(const DomResource &other);
|
460
|
+
void operator = (const DomResource&other);
|
461
|
+
};
|
462
|
+
|
463
|
+
class QDESIGNER_UILIB_EXPORT DomActionGroup {
|
464
|
+
public:
|
465
|
+
DomActionGroup();
|
466
|
+
~DomActionGroup();
|
467
|
+
|
468
|
+
void read(const QDomElement &node);
|
469
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
470
|
+
inline QString text() const { return m_text; }
|
471
|
+
inline void setText(const QString &s) { m_text = s; }
|
472
|
+
|
473
|
+
// attribute accessors
|
474
|
+
inline bool hasAttributeName() const { return m_has_attr_name; }
|
475
|
+
inline QString attributeName() const { return m_attr_name; }
|
476
|
+
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
|
477
|
+
inline void clearAttributeName() { m_has_attr_name = false; }
|
478
|
+
|
479
|
+
// child element accessors
|
480
|
+
inline QList<DomAction*> elementAction() const { return m_action; }
|
481
|
+
void setElementAction(const QList<DomAction*>& a);
|
482
|
+
|
483
|
+
inline QList<DomActionGroup*> elementActionGroup() const { return m_actionGroup; }
|
484
|
+
void setElementActionGroup(const QList<DomActionGroup*>& a);
|
485
|
+
|
486
|
+
inline QList<DomProperty*> elementProperty() const { return m_property; }
|
487
|
+
void setElementProperty(const QList<DomProperty*>& a);
|
488
|
+
|
489
|
+
inline QList<DomProperty*> elementAttribute() const { return m_attribute; }
|
490
|
+
void setElementAttribute(const QList<DomProperty*>& a);
|
491
|
+
|
492
|
+
private:
|
493
|
+
QString m_text;
|
494
|
+
void clear(bool clear_all = true);
|
495
|
+
|
496
|
+
// attribute data
|
497
|
+
QString m_attr_name;
|
498
|
+
bool m_has_attr_name;
|
499
|
+
|
500
|
+
// child element data
|
501
|
+
QList<DomAction*> m_action;
|
502
|
+
QList<DomActionGroup*> m_actionGroup;
|
503
|
+
QList<DomProperty*> m_property;
|
504
|
+
QList<DomProperty*> m_attribute;
|
505
|
+
|
506
|
+
DomActionGroup(const DomActionGroup &other);
|
507
|
+
void operator = (const DomActionGroup&other);
|
508
|
+
};
|
509
|
+
|
510
|
+
class QDESIGNER_UILIB_EXPORT DomAction {
|
511
|
+
public:
|
512
|
+
DomAction();
|
513
|
+
~DomAction();
|
514
|
+
|
515
|
+
void read(const QDomElement &node);
|
516
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
517
|
+
inline QString text() const { return m_text; }
|
518
|
+
inline void setText(const QString &s) { m_text = s; }
|
519
|
+
|
520
|
+
// attribute accessors
|
521
|
+
inline bool hasAttributeName() const { return m_has_attr_name; }
|
522
|
+
inline QString attributeName() const { return m_attr_name; }
|
523
|
+
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
|
524
|
+
inline void clearAttributeName() { m_has_attr_name = false; }
|
525
|
+
|
526
|
+
inline bool hasAttributeMenu() const { return m_has_attr_menu; }
|
527
|
+
inline QString attributeMenu() const { return m_attr_menu; }
|
528
|
+
inline void setAttributeMenu(const QString& a) { m_attr_menu = a; m_has_attr_menu = true; }
|
529
|
+
inline void clearAttributeMenu() { m_has_attr_menu = false; }
|
530
|
+
|
531
|
+
// child element accessors
|
532
|
+
inline QList<DomProperty*> elementProperty() const { return m_property; }
|
533
|
+
void setElementProperty(const QList<DomProperty*>& a);
|
534
|
+
|
535
|
+
inline QList<DomProperty*> elementAttribute() const { return m_attribute; }
|
536
|
+
void setElementAttribute(const QList<DomProperty*>& a);
|
537
|
+
|
538
|
+
private:
|
539
|
+
QString m_text;
|
540
|
+
void clear(bool clear_all = true);
|
541
|
+
|
542
|
+
// attribute data
|
543
|
+
QString m_attr_name;
|
544
|
+
bool m_has_attr_name;
|
545
|
+
|
546
|
+
QString m_attr_menu;
|
547
|
+
bool m_has_attr_menu;
|
548
|
+
|
549
|
+
// child element data
|
550
|
+
QList<DomProperty*> m_property;
|
551
|
+
QList<DomProperty*> m_attribute;
|
552
|
+
|
553
|
+
DomAction(const DomAction &other);
|
554
|
+
void operator = (const DomAction&other);
|
555
|
+
};
|
556
|
+
|
557
|
+
class QDESIGNER_UILIB_EXPORT DomActionRef {
|
558
|
+
public:
|
559
|
+
DomActionRef();
|
560
|
+
~DomActionRef();
|
561
|
+
|
562
|
+
void read(const QDomElement &node);
|
563
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
564
|
+
inline QString text() const { return m_text; }
|
565
|
+
inline void setText(const QString &s) { m_text = s; }
|
566
|
+
|
567
|
+
// attribute accessors
|
568
|
+
inline bool hasAttributeName() const { return m_has_attr_name; }
|
569
|
+
inline QString attributeName() const { return m_attr_name; }
|
570
|
+
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
|
571
|
+
inline void clearAttributeName() { m_has_attr_name = false; }
|
572
|
+
|
573
|
+
// child element accessors
|
574
|
+
private:
|
575
|
+
QString m_text;
|
576
|
+
void clear(bool clear_all = true);
|
577
|
+
|
578
|
+
// attribute data
|
579
|
+
QString m_attr_name;
|
580
|
+
bool m_has_attr_name;
|
581
|
+
|
582
|
+
// child element data
|
583
|
+
|
584
|
+
DomActionRef(const DomActionRef &other);
|
585
|
+
void operator = (const DomActionRef&other);
|
586
|
+
};
|
587
|
+
|
588
|
+
class QDESIGNER_UILIB_EXPORT DomImages {
|
589
|
+
public:
|
590
|
+
DomImages();
|
591
|
+
~DomImages();
|
592
|
+
|
593
|
+
void read(const QDomElement &node);
|
594
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
595
|
+
inline QString text() const { return m_text; }
|
596
|
+
inline void setText(const QString &s) { m_text = s; }
|
597
|
+
|
598
|
+
// attribute accessors
|
599
|
+
// child element accessors
|
600
|
+
inline QList<DomImage*> elementImage() const { return m_image; }
|
601
|
+
void setElementImage(const QList<DomImage*>& a);
|
602
|
+
|
603
|
+
private:
|
604
|
+
QString m_text;
|
605
|
+
void clear(bool clear_all = true);
|
606
|
+
|
607
|
+
// attribute data
|
608
|
+
// child element data
|
609
|
+
QList<DomImage*> m_image;
|
610
|
+
|
611
|
+
DomImages(const DomImages &other);
|
612
|
+
void operator = (const DomImages&other);
|
613
|
+
};
|
614
|
+
|
615
|
+
class QDESIGNER_UILIB_EXPORT DomImage {
|
616
|
+
public:
|
617
|
+
DomImage();
|
618
|
+
~DomImage();
|
619
|
+
|
620
|
+
void read(const QDomElement &node);
|
621
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
622
|
+
inline QString text() const { return m_text; }
|
623
|
+
inline void setText(const QString &s) { m_text = s; }
|
624
|
+
|
625
|
+
// attribute accessors
|
626
|
+
inline bool hasAttributeName() const { return m_has_attr_name; }
|
627
|
+
inline QString attributeName() const { return m_attr_name; }
|
628
|
+
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
|
629
|
+
inline void clearAttributeName() { m_has_attr_name = false; }
|
630
|
+
|
631
|
+
// child element accessors
|
632
|
+
inline DomImageData* elementData() const { return m_data; }
|
633
|
+
void setElementData(DomImageData* a);
|
634
|
+
inline bool hasElementData() const { return m_children & Data; }
|
635
|
+
void clearElementData();
|
636
|
+
|
637
|
+
private:
|
638
|
+
QString m_text;
|
639
|
+
void clear(bool clear_all = true);
|
640
|
+
|
641
|
+
// attribute data
|
642
|
+
QString m_attr_name;
|
643
|
+
bool m_has_attr_name;
|
644
|
+
|
645
|
+
// child element data
|
646
|
+
uint m_children;
|
647
|
+
DomImageData* m_data;
|
648
|
+
enum Child {
|
649
|
+
Data = 1
|
650
|
+
};
|
651
|
+
|
652
|
+
DomImage(const DomImage &other);
|
653
|
+
void operator = (const DomImage&other);
|
654
|
+
};
|
655
|
+
|
656
|
+
class QDESIGNER_UILIB_EXPORT DomImageData {
|
657
|
+
public:
|
658
|
+
DomImageData();
|
659
|
+
~DomImageData();
|
660
|
+
|
661
|
+
void read(const QDomElement &node);
|
662
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
663
|
+
inline QString text() const { return m_text; }
|
664
|
+
inline void setText(const QString &s) { m_text = s; }
|
665
|
+
|
666
|
+
// attribute accessors
|
667
|
+
inline bool hasAttributeFormat() const { return m_has_attr_format; }
|
668
|
+
inline QString attributeFormat() const { return m_attr_format; }
|
669
|
+
inline void setAttributeFormat(const QString& a) { m_attr_format = a; m_has_attr_format = true; }
|
670
|
+
inline void clearAttributeFormat() { m_has_attr_format = false; }
|
671
|
+
|
672
|
+
inline bool hasAttributeLength() const { return m_has_attr_length; }
|
673
|
+
inline int attributeLength() const { return m_attr_length; }
|
674
|
+
inline void setAttributeLength(int a) { m_attr_length = a; m_has_attr_length = true; }
|
675
|
+
inline void clearAttributeLength() { m_has_attr_length = false; }
|
676
|
+
|
677
|
+
// child element accessors
|
678
|
+
private:
|
679
|
+
QString m_text;
|
680
|
+
void clear(bool clear_all = true);
|
681
|
+
|
682
|
+
// attribute data
|
683
|
+
QString m_attr_format;
|
684
|
+
bool m_has_attr_format;
|
685
|
+
|
686
|
+
int m_attr_length;
|
687
|
+
bool m_has_attr_length;
|
688
|
+
|
689
|
+
// child element data
|
690
|
+
|
691
|
+
DomImageData(const DomImageData &other);
|
692
|
+
void operator = (const DomImageData&other);
|
693
|
+
};
|
694
|
+
|
695
|
+
class QDESIGNER_UILIB_EXPORT DomCustomWidgets {
|
696
|
+
public:
|
697
|
+
DomCustomWidgets();
|
698
|
+
~DomCustomWidgets();
|
699
|
+
|
700
|
+
void read(const QDomElement &node);
|
701
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
702
|
+
inline QString text() const { return m_text; }
|
703
|
+
inline void setText(const QString &s) { m_text = s; }
|
704
|
+
|
705
|
+
// attribute accessors
|
706
|
+
// child element accessors
|
707
|
+
inline QList<DomCustomWidget*> elementCustomWidget() const { return m_customWidget; }
|
708
|
+
void setElementCustomWidget(const QList<DomCustomWidget*>& a);
|
709
|
+
|
710
|
+
private:
|
711
|
+
QString m_text;
|
712
|
+
void clear(bool clear_all = true);
|
713
|
+
|
714
|
+
// attribute data
|
715
|
+
// child element data
|
716
|
+
QList<DomCustomWidget*> m_customWidget;
|
717
|
+
|
718
|
+
DomCustomWidgets(const DomCustomWidgets &other);
|
719
|
+
void operator = (const DomCustomWidgets&other);
|
720
|
+
};
|
721
|
+
|
722
|
+
class QDESIGNER_UILIB_EXPORT DomHeader {
|
723
|
+
public:
|
724
|
+
DomHeader();
|
725
|
+
~DomHeader();
|
726
|
+
|
727
|
+
void read(const QDomElement &node);
|
728
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
729
|
+
inline QString text() const { return m_text; }
|
730
|
+
inline void setText(const QString &s) { m_text = s; }
|
731
|
+
|
732
|
+
// attribute accessors
|
733
|
+
inline bool hasAttributeLocation() const { return m_has_attr_location; }
|
734
|
+
inline QString attributeLocation() const { return m_attr_location; }
|
735
|
+
inline void setAttributeLocation(const QString& a) { m_attr_location = a; m_has_attr_location = true; }
|
736
|
+
inline void clearAttributeLocation() { m_has_attr_location = false; }
|
737
|
+
|
738
|
+
// child element accessors
|
739
|
+
private:
|
740
|
+
QString m_text;
|
741
|
+
void clear(bool clear_all = true);
|
742
|
+
|
743
|
+
// attribute data
|
744
|
+
QString m_attr_location;
|
745
|
+
bool m_has_attr_location;
|
746
|
+
|
747
|
+
// child element data
|
748
|
+
|
749
|
+
DomHeader(const DomHeader &other);
|
750
|
+
void operator = (const DomHeader&other);
|
751
|
+
};
|
752
|
+
|
753
|
+
class QDESIGNER_UILIB_EXPORT DomCustomWidget {
|
754
|
+
public:
|
755
|
+
DomCustomWidget();
|
756
|
+
~DomCustomWidget();
|
757
|
+
|
758
|
+
void read(const QDomElement &node);
|
759
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
760
|
+
inline QString text() const { return m_text; }
|
761
|
+
inline void setText(const QString &s) { m_text = s; }
|
762
|
+
|
763
|
+
// attribute accessors
|
764
|
+
// child element accessors
|
765
|
+
inline QString elementClass() const { return m_class; }
|
766
|
+
void setElementClass(const QString& a);
|
767
|
+
inline bool hasElementClass() const { return m_children & Class; }
|
768
|
+
void clearElementClass();
|
769
|
+
|
770
|
+
inline QString elementExtends() const { return m_extends; }
|
771
|
+
void setElementExtends(const QString& a);
|
772
|
+
inline bool hasElementExtends() const { return m_children & Extends; }
|
773
|
+
void clearElementExtends();
|
774
|
+
|
775
|
+
inline DomHeader* elementHeader() const { return m_header; }
|
776
|
+
void setElementHeader(DomHeader* a);
|
777
|
+
inline bool hasElementHeader() const { return m_children & Header; }
|
778
|
+
void clearElementHeader();
|
779
|
+
|
780
|
+
inline DomSize* elementSizeHint() const { return m_sizeHint; }
|
781
|
+
void setElementSizeHint(DomSize* a);
|
782
|
+
inline bool hasElementSizeHint() const { return m_children & SizeHint; }
|
783
|
+
void clearElementSizeHint();
|
784
|
+
|
785
|
+
inline QString elementAddPageMethod() const { return m_addPageMethod; }
|
786
|
+
void setElementAddPageMethod(const QString& a);
|
787
|
+
inline bool hasElementAddPageMethod() const { return m_children & AddPageMethod; }
|
788
|
+
void clearElementAddPageMethod();
|
789
|
+
|
790
|
+
inline int elementContainer() const { return m_container; }
|
791
|
+
void setElementContainer(int a);
|
792
|
+
inline bool hasElementContainer() const { return m_children & Container; }
|
793
|
+
void clearElementContainer();
|
794
|
+
|
795
|
+
inline DomSizePolicyData* elementSizePolicy() const { return m_sizePolicy; }
|
796
|
+
void setElementSizePolicy(DomSizePolicyData* a);
|
797
|
+
inline bool hasElementSizePolicy() const { return m_children & SizePolicy; }
|
798
|
+
void clearElementSizePolicy();
|
799
|
+
|
800
|
+
inline QString elementPixmap() const { return m_pixmap; }
|
801
|
+
void setElementPixmap(const QString& a);
|
802
|
+
inline bool hasElementPixmap() const { return m_children & Pixmap; }
|
803
|
+
void clearElementPixmap();
|
804
|
+
|
805
|
+
inline DomScript* elementScript() const { return m_script; }
|
806
|
+
void setElementScript(DomScript* a);
|
807
|
+
inline bool hasElementScript() const { return m_children & Script; }
|
808
|
+
void clearElementScript();
|
809
|
+
|
810
|
+
inline DomProperties* elementProperties() const { return m_properties; }
|
811
|
+
void setElementProperties(DomProperties* a);
|
812
|
+
inline bool hasElementProperties() const { return m_children & Properties; }
|
813
|
+
void clearElementProperties();
|
814
|
+
|
815
|
+
inline DomSlots* elementSlots() const { return m_slots; }
|
816
|
+
void setElementSlots(DomSlots* a);
|
817
|
+
inline bool hasElementSlots() const { return m_children & Slots; }
|
818
|
+
void clearElementSlots();
|
819
|
+
|
820
|
+
private:
|
821
|
+
QString m_text;
|
822
|
+
void clear(bool clear_all = true);
|
823
|
+
|
824
|
+
// attribute data
|
825
|
+
// child element data
|
826
|
+
uint m_children;
|
827
|
+
QString m_class;
|
828
|
+
QString m_extends;
|
829
|
+
DomHeader* m_header;
|
830
|
+
DomSize* m_sizeHint;
|
831
|
+
QString m_addPageMethod;
|
832
|
+
int m_container;
|
833
|
+
DomSizePolicyData* m_sizePolicy;
|
834
|
+
QString m_pixmap;
|
835
|
+
DomScript* m_script;
|
836
|
+
DomProperties* m_properties;
|
837
|
+
DomSlots* m_slots;
|
838
|
+
enum Child {
|
839
|
+
Class = 1,
|
840
|
+
Extends = 2,
|
841
|
+
Header = 4,
|
842
|
+
SizeHint = 8,
|
843
|
+
AddPageMethod = 16,
|
844
|
+
Container = 32,
|
845
|
+
SizePolicy = 64,
|
846
|
+
Pixmap = 128,
|
847
|
+
Script = 256,
|
848
|
+
Properties = 512,
|
849
|
+
Slots = 1024
|
850
|
+
};
|
851
|
+
|
852
|
+
DomCustomWidget(const DomCustomWidget &other);
|
853
|
+
void operator = (const DomCustomWidget&other);
|
854
|
+
};
|
855
|
+
|
856
|
+
class QDESIGNER_UILIB_EXPORT DomProperties {
|
857
|
+
public:
|
858
|
+
DomProperties();
|
859
|
+
~DomProperties();
|
860
|
+
|
861
|
+
void read(const QDomElement &node);
|
862
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
863
|
+
inline QString text() const { return m_text; }
|
864
|
+
inline void setText(const QString &s) { m_text = s; }
|
865
|
+
|
866
|
+
// attribute accessors
|
867
|
+
// child element accessors
|
868
|
+
inline QList<DomPropertyData*> elementProperty() const { return m_property; }
|
869
|
+
void setElementProperty(const QList<DomPropertyData*>& a);
|
870
|
+
|
871
|
+
private:
|
872
|
+
QString m_text;
|
873
|
+
void clear(bool clear_all = true);
|
874
|
+
|
875
|
+
// attribute data
|
876
|
+
// child element data
|
877
|
+
QList<DomPropertyData*> m_property;
|
878
|
+
|
879
|
+
DomProperties(const DomProperties &other);
|
880
|
+
void operator = (const DomProperties&other);
|
881
|
+
};
|
882
|
+
|
883
|
+
class QDESIGNER_UILIB_EXPORT DomPropertyData {
|
884
|
+
public:
|
885
|
+
DomPropertyData();
|
886
|
+
~DomPropertyData();
|
887
|
+
|
888
|
+
void read(const QDomElement &node);
|
889
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
890
|
+
inline QString text() const { return m_text; }
|
891
|
+
inline void setText(const QString &s) { m_text = s; }
|
892
|
+
|
893
|
+
// attribute accessors
|
894
|
+
inline bool hasAttributeType() const { return m_has_attr_type; }
|
895
|
+
inline QString attributeType() const { return m_attr_type; }
|
896
|
+
inline void setAttributeType(const QString& a) { m_attr_type = a; m_has_attr_type = true; }
|
897
|
+
inline void clearAttributeType() { m_has_attr_type = false; }
|
898
|
+
|
899
|
+
// child element accessors
|
900
|
+
private:
|
901
|
+
QString m_text;
|
902
|
+
void clear(bool clear_all = true);
|
903
|
+
|
904
|
+
// attribute data
|
905
|
+
QString m_attr_type;
|
906
|
+
bool m_has_attr_type;
|
907
|
+
|
908
|
+
// child element data
|
909
|
+
|
910
|
+
DomPropertyData(const DomPropertyData &other);
|
911
|
+
void operator = (const DomPropertyData&other);
|
912
|
+
};
|
913
|
+
|
914
|
+
class QDESIGNER_UILIB_EXPORT DomSizePolicyData {
|
915
|
+
public:
|
916
|
+
DomSizePolicyData();
|
917
|
+
~DomSizePolicyData();
|
918
|
+
|
919
|
+
void read(const QDomElement &node);
|
920
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
921
|
+
inline QString text() const { return m_text; }
|
922
|
+
inline void setText(const QString &s) { m_text = s; }
|
923
|
+
|
924
|
+
// attribute accessors
|
925
|
+
// child element accessors
|
926
|
+
inline int elementHorData() const { return m_horData; }
|
927
|
+
void setElementHorData(int a);
|
928
|
+
inline bool hasElementHorData() const { return m_children & HorData; }
|
929
|
+
void clearElementHorData();
|
930
|
+
|
931
|
+
inline int elementVerData() const { return m_verData; }
|
932
|
+
void setElementVerData(int a);
|
933
|
+
inline bool hasElementVerData() const { return m_children & VerData; }
|
934
|
+
void clearElementVerData();
|
935
|
+
|
936
|
+
private:
|
937
|
+
QString m_text;
|
938
|
+
void clear(bool clear_all = true);
|
939
|
+
|
940
|
+
// attribute data
|
941
|
+
// child element data
|
942
|
+
uint m_children;
|
943
|
+
int m_horData;
|
944
|
+
int m_verData;
|
945
|
+
enum Child {
|
946
|
+
HorData = 1,
|
947
|
+
VerData = 2
|
948
|
+
};
|
949
|
+
|
950
|
+
DomSizePolicyData(const DomSizePolicyData &other);
|
951
|
+
void operator = (const DomSizePolicyData&other);
|
952
|
+
};
|
953
|
+
|
954
|
+
class QDESIGNER_UILIB_EXPORT DomLayoutDefault {
|
955
|
+
public:
|
956
|
+
DomLayoutDefault();
|
957
|
+
~DomLayoutDefault();
|
958
|
+
|
959
|
+
void read(const QDomElement &node);
|
960
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
961
|
+
inline QString text() const { return m_text; }
|
962
|
+
inline void setText(const QString &s) { m_text = s; }
|
963
|
+
|
964
|
+
// attribute accessors
|
965
|
+
inline bool hasAttributeSpacing() const { return m_has_attr_spacing; }
|
966
|
+
inline int attributeSpacing() const { return m_attr_spacing; }
|
967
|
+
inline void setAttributeSpacing(int a) { m_attr_spacing = a; m_has_attr_spacing = true; }
|
968
|
+
inline void clearAttributeSpacing() { m_has_attr_spacing = false; }
|
969
|
+
|
970
|
+
inline bool hasAttributeMargin() const { return m_has_attr_margin; }
|
971
|
+
inline int attributeMargin() const { return m_attr_margin; }
|
972
|
+
inline void setAttributeMargin(int a) { m_attr_margin = a; m_has_attr_margin = true; }
|
973
|
+
inline void clearAttributeMargin() { m_has_attr_margin = false; }
|
974
|
+
|
975
|
+
// child element accessors
|
976
|
+
private:
|
977
|
+
QString m_text;
|
978
|
+
void clear(bool clear_all = true);
|
979
|
+
|
980
|
+
// attribute data
|
981
|
+
int m_attr_spacing;
|
982
|
+
bool m_has_attr_spacing;
|
983
|
+
|
984
|
+
int m_attr_margin;
|
985
|
+
bool m_has_attr_margin;
|
986
|
+
|
987
|
+
// child element data
|
988
|
+
|
989
|
+
DomLayoutDefault(const DomLayoutDefault &other);
|
990
|
+
void operator = (const DomLayoutDefault&other);
|
991
|
+
};
|
992
|
+
|
993
|
+
class QDESIGNER_UILIB_EXPORT DomLayoutFunction {
|
994
|
+
public:
|
995
|
+
DomLayoutFunction();
|
996
|
+
~DomLayoutFunction();
|
997
|
+
|
998
|
+
void read(const QDomElement &node);
|
999
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1000
|
+
inline QString text() const { return m_text; }
|
1001
|
+
inline void setText(const QString &s) { m_text = s; }
|
1002
|
+
|
1003
|
+
// attribute accessors
|
1004
|
+
inline bool hasAttributeSpacing() const { return m_has_attr_spacing; }
|
1005
|
+
inline QString attributeSpacing() const { return m_attr_spacing; }
|
1006
|
+
inline void setAttributeSpacing(const QString& a) { m_attr_spacing = a; m_has_attr_spacing = true; }
|
1007
|
+
inline void clearAttributeSpacing() { m_has_attr_spacing = false; }
|
1008
|
+
|
1009
|
+
inline bool hasAttributeMargin() const { return m_has_attr_margin; }
|
1010
|
+
inline QString attributeMargin() const { return m_attr_margin; }
|
1011
|
+
inline void setAttributeMargin(const QString& a) { m_attr_margin = a; m_has_attr_margin = true; }
|
1012
|
+
inline void clearAttributeMargin() { m_has_attr_margin = false; }
|
1013
|
+
|
1014
|
+
// child element accessors
|
1015
|
+
private:
|
1016
|
+
QString m_text;
|
1017
|
+
void clear(bool clear_all = true);
|
1018
|
+
|
1019
|
+
// attribute data
|
1020
|
+
QString m_attr_spacing;
|
1021
|
+
bool m_has_attr_spacing;
|
1022
|
+
|
1023
|
+
QString m_attr_margin;
|
1024
|
+
bool m_has_attr_margin;
|
1025
|
+
|
1026
|
+
// child element data
|
1027
|
+
|
1028
|
+
DomLayoutFunction(const DomLayoutFunction &other);
|
1029
|
+
void operator = (const DomLayoutFunction&other);
|
1030
|
+
};
|
1031
|
+
|
1032
|
+
class QDESIGNER_UILIB_EXPORT DomTabStops {
|
1033
|
+
public:
|
1034
|
+
DomTabStops();
|
1035
|
+
~DomTabStops();
|
1036
|
+
|
1037
|
+
void read(const QDomElement &node);
|
1038
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1039
|
+
inline QString text() const { return m_text; }
|
1040
|
+
inline void setText(const QString &s) { m_text = s; }
|
1041
|
+
|
1042
|
+
// attribute accessors
|
1043
|
+
// child element accessors
|
1044
|
+
inline QStringList elementTabStop() const { return m_tabStop; }
|
1045
|
+
void setElementTabStop(const QStringList& a);
|
1046
|
+
|
1047
|
+
private:
|
1048
|
+
QString m_text;
|
1049
|
+
void clear(bool clear_all = true);
|
1050
|
+
|
1051
|
+
// attribute data
|
1052
|
+
// child element data
|
1053
|
+
QStringList m_tabStop;
|
1054
|
+
|
1055
|
+
DomTabStops(const DomTabStops &other);
|
1056
|
+
void operator = (const DomTabStops&other);
|
1057
|
+
};
|
1058
|
+
|
1059
|
+
class QDESIGNER_UILIB_EXPORT DomLayout {
|
1060
|
+
public:
|
1061
|
+
DomLayout();
|
1062
|
+
~DomLayout();
|
1063
|
+
|
1064
|
+
void read(const QDomElement &node);
|
1065
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1066
|
+
inline QString text() const { return m_text; }
|
1067
|
+
inline void setText(const QString &s) { m_text = s; }
|
1068
|
+
|
1069
|
+
// attribute accessors
|
1070
|
+
inline bool hasAttributeClass() const { return m_has_attr_class; }
|
1071
|
+
inline QString attributeClass() const { return m_attr_class; }
|
1072
|
+
inline void setAttributeClass(const QString& a) { m_attr_class = a; m_has_attr_class = true; }
|
1073
|
+
inline void clearAttributeClass() { m_has_attr_class = false; }
|
1074
|
+
|
1075
|
+
inline bool hasAttributeName() const { return m_has_attr_name; }
|
1076
|
+
inline QString attributeName() const { return m_attr_name; }
|
1077
|
+
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
|
1078
|
+
inline void clearAttributeName() { m_has_attr_name = false; }
|
1079
|
+
|
1080
|
+
// child element accessors
|
1081
|
+
inline QList<DomProperty*> elementProperty() const { return m_property; }
|
1082
|
+
void setElementProperty(const QList<DomProperty*>& a);
|
1083
|
+
|
1084
|
+
inline QList<DomProperty*> elementAttribute() const { return m_attribute; }
|
1085
|
+
void setElementAttribute(const QList<DomProperty*>& a);
|
1086
|
+
|
1087
|
+
inline QList<DomLayoutItem*> elementItem() const { return m_item; }
|
1088
|
+
void setElementItem(const QList<DomLayoutItem*>& a);
|
1089
|
+
|
1090
|
+
private:
|
1091
|
+
QString m_text;
|
1092
|
+
void clear(bool clear_all = true);
|
1093
|
+
|
1094
|
+
// attribute data
|
1095
|
+
QString m_attr_class;
|
1096
|
+
bool m_has_attr_class;
|
1097
|
+
|
1098
|
+
QString m_attr_name;
|
1099
|
+
bool m_has_attr_name;
|
1100
|
+
|
1101
|
+
// child element data
|
1102
|
+
QList<DomProperty*> m_property;
|
1103
|
+
QList<DomProperty*> m_attribute;
|
1104
|
+
QList<DomLayoutItem*> m_item;
|
1105
|
+
|
1106
|
+
DomLayout(const DomLayout &other);
|
1107
|
+
void operator = (const DomLayout&other);
|
1108
|
+
};
|
1109
|
+
|
1110
|
+
class QDESIGNER_UILIB_EXPORT DomLayoutItem {
|
1111
|
+
public:
|
1112
|
+
DomLayoutItem();
|
1113
|
+
~DomLayoutItem();
|
1114
|
+
|
1115
|
+
void read(const QDomElement &node);
|
1116
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1117
|
+
inline QString text() const { return m_text; }
|
1118
|
+
inline void setText(const QString &s) { m_text = s; }
|
1119
|
+
|
1120
|
+
// attribute accessors
|
1121
|
+
inline bool hasAttributeRow() const { return m_has_attr_row; }
|
1122
|
+
inline int attributeRow() const { return m_attr_row; }
|
1123
|
+
inline void setAttributeRow(int a) { m_attr_row = a; m_has_attr_row = true; }
|
1124
|
+
inline void clearAttributeRow() { m_has_attr_row = false; }
|
1125
|
+
|
1126
|
+
inline bool hasAttributeColumn() const { return m_has_attr_column; }
|
1127
|
+
inline int attributeColumn() const { return m_attr_column; }
|
1128
|
+
inline void setAttributeColumn(int a) { m_attr_column = a; m_has_attr_column = true; }
|
1129
|
+
inline void clearAttributeColumn() { m_has_attr_column = false; }
|
1130
|
+
|
1131
|
+
inline bool hasAttributeRowSpan() const { return m_has_attr_rowSpan; }
|
1132
|
+
inline int attributeRowSpan() const { return m_attr_rowSpan; }
|
1133
|
+
inline void setAttributeRowSpan(int a) { m_attr_rowSpan = a; m_has_attr_rowSpan = true; }
|
1134
|
+
inline void clearAttributeRowSpan() { m_has_attr_rowSpan = false; }
|
1135
|
+
|
1136
|
+
inline bool hasAttributeColSpan() const { return m_has_attr_colSpan; }
|
1137
|
+
inline int attributeColSpan() const { return m_attr_colSpan; }
|
1138
|
+
inline void setAttributeColSpan(int a) { m_attr_colSpan = a; m_has_attr_colSpan = true; }
|
1139
|
+
inline void clearAttributeColSpan() { m_has_attr_colSpan = false; }
|
1140
|
+
|
1141
|
+
// child element accessors
|
1142
|
+
enum Kind { Unknown = 0, Widget, Layout, Spacer };
|
1143
|
+
inline Kind kind() const { return m_kind; }
|
1144
|
+
|
1145
|
+
inline DomWidget* elementWidget() const { return m_widget; }
|
1146
|
+
void setElementWidget(DomWidget* a);
|
1147
|
+
|
1148
|
+
inline DomLayout* elementLayout() const { return m_layout; }
|
1149
|
+
void setElementLayout(DomLayout* a);
|
1150
|
+
|
1151
|
+
inline DomSpacer* elementSpacer() const { return m_spacer; }
|
1152
|
+
void setElementSpacer(DomSpacer* a);
|
1153
|
+
|
1154
|
+
private:
|
1155
|
+
QString m_text;
|
1156
|
+
void clear(bool clear_all = true);
|
1157
|
+
|
1158
|
+
// attribute data
|
1159
|
+
int m_attr_row;
|
1160
|
+
bool m_has_attr_row;
|
1161
|
+
|
1162
|
+
int m_attr_column;
|
1163
|
+
bool m_has_attr_column;
|
1164
|
+
|
1165
|
+
int m_attr_rowSpan;
|
1166
|
+
bool m_has_attr_rowSpan;
|
1167
|
+
|
1168
|
+
int m_attr_colSpan;
|
1169
|
+
bool m_has_attr_colSpan;
|
1170
|
+
|
1171
|
+
// child element data
|
1172
|
+
Kind m_kind;
|
1173
|
+
DomWidget* m_widget;
|
1174
|
+
DomLayout* m_layout;
|
1175
|
+
DomSpacer* m_spacer;
|
1176
|
+
|
1177
|
+
DomLayoutItem(const DomLayoutItem &other);
|
1178
|
+
void operator = (const DomLayoutItem&other);
|
1179
|
+
};
|
1180
|
+
|
1181
|
+
class QDESIGNER_UILIB_EXPORT DomRow {
|
1182
|
+
public:
|
1183
|
+
DomRow();
|
1184
|
+
~DomRow();
|
1185
|
+
|
1186
|
+
void read(const QDomElement &node);
|
1187
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1188
|
+
inline QString text() const { return m_text; }
|
1189
|
+
inline void setText(const QString &s) { m_text = s; }
|
1190
|
+
|
1191
|
+
// attribute accessors
|
1192
|
+
// child element accessors
|
1193
|
+
inline QList<DomProperty*> elementProperty() const { return m_property; }
|
1194
|
+
void setElementProperty(const QList<DomProperty*>& a);
|
1195
|
+
|
1196
|
+
private:
|
1197
|
+
QString m_text;
|
1198
|
+
void clear(bool clear_all = true);
|
1199
|
+
|
1200
|
+
// attribute data
|
1201
|
+
// child element data
|
1202
|
+
QList<DomProperty*> m_property;
|
1203
|
+
|
1204
|
+
DomRow(const DomRow &other);
|
1205
|
+
void operator = (const DomRow&other);
|
1206
|
+
};
|
1207
|
+
|
1208
|
+
class QDESIGNER_UILIB_EXPORT DomColumn {
|
1209
|
+
public:
|
1210
|
+
DomColumn();
|
1211
|
+
~DomColumn();
|
1212
|
+
|
1213
|
+
void read(const QDomElement &node);
|
1214
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1215
|
+
inline QString text() const { return m_text; }
|
1216
|
+
inline void setText(const QString &s) { m_text = s; }
|
1217
|
+
|
1218
|
+
// attribute accessors
|
1219
|
+
// child element accessors
|
1220
|
+
inline QList<DomProperty*> elementProperty() const { return m_property; }
|
1221
|
+
void setElementProperty(const QList<DomProperty*>& a);
|
1222
|
+
|
1223
|
+
private:
|
1224
|
+
QString m_text;
|
1225
|
+
void clear(bool clear_all = true);
|
1226
|
+
|
1227
|
+
// attribute data
|
1228
|
+
// child element data
|
1229
|
+
QList<DomProperty*> m_property;
|
1230
|
+
|
1231
|
+
DomColumn(const DomColumn &other);
|
1232
|
+
void operator = (const DomColumn&other);
|
1233
|
+
};
|
1234
|
+
|
1235
|
+
class QDESIGNER_UILIB_EXPORT DomItem {
|
1236
|
+
public:
|
1237
|
+
DomItem();
|
1238
|
+
~DomItem();
|
1239
|
+
|
1240
|
+
void read(const QDomElement &node);
|
1241
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1242
|
+
inline QString text() const { return m_text; }
|
1243
|
+
inline void setText(const QString &s) { m_text = s; }
|
1244
|
+
|
1245
|
+
// attribute accessors
|
1246
|
+
inline bool hasAttributeRow() const { return m_has_attr_row; }
|
1247
|
+
inline int attributeRow() const { return m_attr_row; }
|
1248
|
+
inline void setAttributeRow(int a) { m_attr_row = a; m_has_attr_row = true; }
|
1249
|
+
inline void clearAttributeRow() { m_has_attr_row = false; }
|
1250
|
+
|
1251
|
+
inline bool hasAttributeColumn() const { return m_has_attr_column; }
|
1252
|
+
inline int attributeColumn() const { return m_attr_column; }
|
1253
|
+
inline void setAttributeColumn(int a) { m_attr_column = a; m_has_attr_column = true; }
|
1254
|
+
inline void clearAttributeColumn() { m_has_attr_column = false; }
|
1255
|
+
|
1256
|
+
// child element accessors
|
1257
|
+
inline QList<DomProperty*> elementProperty() const { return m_property; }
|
1258
|
+
void setElementProperty(const QList<DomProperty*>& a);
|
1259
|
+
|
1260
|
+
inline QList<DomItem*> elementItem() const { return m_item; }
|
1261
|
+
void setElementItem(const QList<DomItem*>& a);
|
1262
|
+
|
1263
|
+
private:
|
1264
|
+
QString m_text;
|
1265
|
+
void clear(bool clear_all = true);
|
1266
|
+
|
1267
|
+
// attribute data
|
1268
|
+
int m_attr_row;
|
1269
|
+
bool m_has_attr_row;
|
1270
|
+
|
1271
|
+
int m_attr_column;
|
1272
|
+
bool m_has_attr_column;
|
1273
|
+
|
1274
|
+
// child element data
|
1275
|
+
QList<DomProperty*> m_property;
|
1276
|
+
QList<DomItem*> m_item;
|
1277
|
+
|
1278
|
+
DomItem(const DomItem &other);
|
1279
|
+
void operator = (const DomItem&other);
|
1280
|
+
};
|
1281
|
+
|
1282
|
+
class QDESIGNER_UILIB_EXPORT DomWidget {
|
1283
|
+
public:
|
1284
|
+
DomWidget();
|
1285
|
+
~DomWidget();
|
1286
|
+
|
1287
|
+
void read(const QDomElement &node);
|
1288
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1289
|
+
inline QString text() const { return m_text; }
|
1290
|
+
inline void setText(const QString &s) { m_text = s; }
|
1291
|
+
|
1292
|
+
// attribute accessors
|
1293
|
+
inline bool hasAttributeClass() const { return m_has_attr_class; }
|
1294
|
+
inline QString attributeClass() const { return m_attr_class; }
|
1295
|
+
inline void setAttributeClass(const QString& a) { m_attr_class = a; m_has_attr_class = true; }
|
1296
|
+
inline void clearAttributeClass() { m_has_attr_class = false; }
|
1297
|
+
|
1298
|
+
inline bool hasAttributeName() const { return m_has_attr_name; }
|
1299
|
+
inline QString attributeName() const { return m_attr_name; }
|
1300
|
+
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
|
1301
|
+
inline void clearAttributeName() { m_has_attr_name = false; }
|
1302
|
+
|
1303
|
+
inline bool hasAttributeNative() const { return m_has_attr_native; }
|
1304
|
+
inline bool attributeNative() const { return m_attr_native; }
|
1305
|
+
inline void setAttributeNative(bool a) { m_attr_native = a; m_has_attr_native = true; }
|
1306
|
+
inline void clearAttributeNative() { m_has_attr_native = false; }
|
1307
|
+
|
1308
|
+
// child element accessors
|
1309
|
+
inline QStringList elementClass() const { return m_class; }
|
1310
|
+
void setElementClass(const QStringList& a);
|
1311
|
+
|
1312
|
+
inline QList<DomProperty*> elementProperty() const { return m_property; }
|
1313
|
+
void setElementProperty(const QList<DomProperty*>& a);
|
1314
|
+
|
1315
|
+
inline QList<DomScript*> elementScript() const { return m_script; }
|
1316
|
+
void setElementScript(const QList<DomScript*>& a);
|
1317
|
+
|
1318
|
+
inline QList<DomWidgetData*> elementWidgetData() const { return m_widgetData; }
|
1319
|
+
void setElementWidgetData(const QList<DomWidgetData*>& a);
|
1320
|
+
|
1321
|
+
inline QList<DomProperty*> elementAttribute() const { return m_attribute; }
|
1322
|
+
void setElementAttribute(const QList<DomProperty*>& a);
|
1323
|
+
|
1324
|
+
inline QList<DomRow*> elementRow() const { return m_row; }
|
1325
|
+
void setElementRow(const QList<DomRow*>& a);
|
1326
|
+
|
1327
|
+
inline QList<DomColumn*> elementColumn() const { return m_column; }
|
1328
|
+
void setElementColumn(const QList<DomColumn*>& a);
|
1329
|
+
|
1330
|
+
inline QList<DomItem*> elementItem() const { return m_item; }
|
1331
|
+
void setElementItem(const QList<DomItem*>& a);
|
1332
|
+
|
1333
|
+
inline QList<DomLayout*> elementLayout() const { return m_layout; }
|
1334
|
+
void setElementLayout(const QList<DomLayout*>& a);
|
1335
|
+
|
1336
|
+
inline QList<DomWidget*> elementWidget() const { return m_widget; }
|
1337
|
+
void setElementWidget(const QList<DomWidget*>& a);
|
1338
|
+
|
1339
|
+
inline QList<DomAction*> elementAction() const { return m_action; }
|
1340
|
+
void setElementAction(const QList<DomAction*>& a);
|
1341
|
+
|
1342
|
+
inline QList<DomActionGroup*> elementActionGroup() const { return m_actionGroup; }
|
1343
|
+
void setElementActionGroup(const QList<DomActionGroup*>& a);
|
1344
|
+
|
1345
|
+
inline QList<DomActionRef*> elementAddAction() const { return m_addAction; }
|
1346
|
+
void setElementAddAction(const QList<DomActionRef*>& a);
|
1347
|
+
|
1348
|
+
inline QStringList elementZOrder() const { return m_zOrder; }
|
1349
|
+
void setElementZOrder(const QStringList& a);
|
1350
|
+
|
1351
|
+
private:
|
1352
|
+
QString m_text;
|
1353
|
+
void clear(bool clear_all = true);
|
1354
|
+
|
1355
|
+
// attribute data
|
1356
|
+
QString m_attr_class;
|
1357
|
+
bool m_has_attr_class;
|
1358
|
+
|
1359
|
+
QString m_attr_name;
|
1360
|
+
bool m_has_attr_name;
|
1361
|
+
|
1362
|
+
bool m_attr_native;
|
1363
|
+
bool m_has_attr_native;
|
1364
|
+
|
1365
|
+
// child element data
|
1366
|
+
QStringList m_class;
|
1367
|
+
QList<DomProperty*> m_property;
|
1368
|
+
QList<DomScript*> m_script;
|
1369
|
+
QList<DomWidgetData*> m_widgetData;
|
1370
|
+
QList<DomProperty*> m_attribute;
|
1371
|
+
QList<DomRow*> m_row;
|
1372
|
+
QList<DomColumn*> m_column;
|
1373
|
+
QList<DomItem*> m_item;
|
1374
|
+
QList<DomLayout*> m_layout;
|
1375
|
+
QList<DomWidget*> m_widget;
|
1376
|
+
QList<DomAction*> m_action;
|
1377
|
+
QList<DomActionGroup*> m_actionGroup;
|
1378
|
+
QList<DomActionRef*> m_addAction;
|
1379
|
+
QStringList m_zOrder;
|
1380
|
+
|
1381
|
+
DomWidget(const DomWidget &other);
|
1382
|
+
void operator = (const DomWidget&other);
|
1383
|
+
};
|
1384
|
+
|
1385
|
+
class QDESIGNER_UILIB_EXPORT DomSpacer {
|
1386
|
+
public:
|
1387
|
+
DomSpacer();
|
1388
|
+
~DomSpacer();
|
1389
|
+
|
1390
|
+
void read(const QDomElement &node);
|
1391
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1392
|
+
inline QString text() const { return m_text; }
|
1393
|
+
inline void setText(const QString &s) { m_text = s; }
|
1394
|
+
|
1395
|
+
// attribute accessors
|
1396
|
+
inline bool hasAttributeName() const { return m_has_attr_name; }
|
1397
|
+
inline QString attributeName() const { return m_attr_name; }
|
1398
|
+
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
|
1399
|
+
inline void clearAttributeName() { m_has_attr_name = false; }
|
1400
|
+
|
1401
|
+
// child element accessors
|
1402
|
+
inline QList<DomProperty*> elementProperty() const { return m_property; }
|
1403
|
+
void setElementProperty(const QList<DomProperty*>& a);
|
1404
|
+
|
1405
|
+
private:
|
1406
|
+
QString m_text;
|
1407
|
+
void clear(bool clear_all = true);
|
1408
|
+
|
1409
|
+
// attribute data
|
1410
|
+
QString m_attr_name;
|
1411
|
+
bool m_has_attr_name;
|
1412
|
+
|
1413
|
+
// child element data
|
1414
|
+
QList<DomProperty*> m_property;
|
1415
|
+
|
1416
|
+
DomSpacer(const DomSpacer &other);
|
1417
|
+
void operator = (const DomSpacer&other);
|
1418
|
+
};
|
1419
|
+
|
1420
|
+
class QDESIGNER_UILIB_EXPORT DomColor {
|
1421
|
+
public:
|
1422
|
+
DomColor();
|
1423
|
+
~DomColor();
|
1424
|
+
|
1425
|
+
void read(const QDomElement &node);
|
1426
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1427
|
+
inline QString text() const { return m_text; }
|
1428
|
+
inline void setText(const QString &s) { m_text = s; }
|
1429
|
+
|
1430
|
+
// attribute accessors
|
1431
|
+
inline bool hasAttributeAlpha() const { return m_has_attr_alpha; }
|
1432
|
+
inline int attributeAlpha() const { return m_attr_alpha; }
|
1433
|
+
inline void setAttributeAlpha(int a) { m_attr_alpha = a; m_has_attr_alpha = true; }
|
1434
|
+
inline void clearAttributeAlpha() { m_has_attr_alpha = false; }
|
1435
|
+
|
1436
|
+
// child element accessors
|
1437
|
+
inline int elementRed() const { return m_red; }
|
1438
|
+
void setElementRed(int a);
|
1439
|
+
inline bool hasElementRed() const { return m_children & Red; }
|
1440
|
+
void clearElementRed();
|
1441
|
+
|
1442
|
+
inline int elementGreen() const { return m_green; }
|
1443
|
+
void setElementGreen(int a);
|
1444
|
+
inline bool hasElementGreen() const { return m_children & Green; }
|
1445
|
+
void clearElementGreen();
|
1446
|
+
|
1447
|
+
inline int elementBlue() const { return m_blue; }
|
1448
|
+
void setElementBlue(int a);
|
1449
|
+
inline bool hasElementBlue() const { return m_children & Blue; }
|
1450
|
+
void clearElementBlue();
|
1451
|
+
|
1452
|
+
private:
|
1453
|
+
QString m_text;
|
1454
|
+
void clear(bool clear_all = true);
|
1455
|
+
|
1456
|
+
// attribute data
|
1457
|
+
int m_attr_alpha;
|
1458
|
+
bool m_has_attr_alpha;
|
1459
|
+
|
1460
|
+
// child element data
|
1461
|
+
uint m_children;
|
1462
|
+
int m_red;
|
1463
|
+
int m_green;
|
1464
|
+
int m_blue;
|
1465
|
+
enum Child {
|
1466
|
+
Red = 1,
|
1467
|
+
Green = 2,
|
1468
|
+
Blue = 4
|
1469
|
+
};
|
1470
|
+
|
1471
|
+
DomColor(const DomColor &other);
|
1472
|
+
void operator = (const DomColor&other);
|
1473
|
+
};
|
1474
|
+
|
1475
|
+
class QDESIGNER_UILIB_EXPORT DomGradientStop {
|
1476
|
+
public:
|
1477
|
+
DomGradientStop();
|
1478
|
+
~DomGradientStop();
|
1479
|
+
|
1480
|
+
void read(const QDomElement &node);
|
1481
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1482
|
+
inline QString text() const { return m_text; }
|
1483
|
+
inline void setText(const QString &s) { m_text = s; }
|
1484
|
+
|
1485
|
+
// attribute accessors
|
1486
|
+
inline bool hasAttributePosition() const { return m_has_attr_position; }
|
1487
|
+
inline double attributePosition() const { return m_attr_position; }
|
1488
|
+
inline void setAttributePosition(double a) { m_attr_position = a; m_has_attr_position = true; }
|
1489
|
+
inline void clearAttributePosition() { m_has_attr_position = false; }
|
1490
|
+
|
1491
|
+
// child element accessors
|
1492
|
+
inline DomColor* elementColor() const { return m_color; }
|
1493
|
+
void setElementColor(DomColor* a);
|
1494
|
+
inline bool hasElementColor() const { return m_children & Color; }
|
1495
|
+
void clearElementColor();
|
1496
|
+
|
1497
|
+
private:
|
1498
|
+
QString m_text;
|
1499
|
+
void clear(bool clear_all = true);
|
1500
|
+
|
1501
|
+
// attribute data
|
1502
|
+
double m_attr_position;
|
1503
|
+
bool m_has_attr_position;
|
1504
|
+
|
1505
|
+
// child element data
|
1506
|
+
uint m_children;
|
1507
|
+
DomColor* m_color;
|
1508
|
+
enum Child {
|
1509
|
+
Color = 1
|
1510
|
+
};
|
1511
|
+
|
1512
|
+
DomGradientStop(const DomGradientStop &other);
|
1513
|
+
void operator = (const DomGradientStop&other);
|
1514
|
+
};
|
1515
|
+
|
1516
|
+
class QDESIGNER_UILIB_EXPORT DomGradient {
|
1517
|
+
public:
|
1518
|
+
DomGradient();
|
1519
|
+
~DomGradient();
|
1520
|
+
|
1521
|
+
void read(const QDomElement &node);
|
1522
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1523
|
+
inline QString text() const { return m_text; }
|
1524
|
+
inline void setText(const QString &s) { m_text = s; }
|
1525
|
+
|
1526
|
+
// attribute accessors
|
1527
|
+
inline bool hasAttributeStartX() const { return m_has_attr_startX; }
|
1528
|
+
inline double attributeStartX() const { return m_attr_startX; }
|
1529
|
+
inline void setAttributeStartX(double a) { m_attr_startX = a; m_has_attr_startX = true; }
|
1530
|
+
inline void clearAttributeStartX() { m_has_attr_startX = false; }
|
1531
|
+
|
1532
|
+
inline bool hasAttributeStartY() const { return m_has_attr_startY; }
|
1533
|
+
inline double attributeStartY() const { return m_attr_startY; }
|
1534
|
+
inline void setAttributeStartY(double a) { m_attr_startY = a; m_has_attr_startY = true; }
|
1535
|
+
inline void clearAttributeStartY() { m_has_attr_startY = false; }
|
1536
|
+
|
1537
|
+
inline bool hasAttributeEndX() const { return m_has_attr_endX; }
|
1538
|
+
inline double attributeEndX() const { return m_attr_endX; }
|
1539
|
+
inline void setAttributeEndX(double a) { m_attr_endX = a; m_has_attr_endX = true; }
|
1540
|
+
inline void clearAttributeEndX() { m_has_attr_endX = false; }
|
1541
|
+
|
1542
|
+
inline bool hasAttributeEndY() const { return m_has_attr_endY; }
|
1543
|
+
inline double attributeEndY() const { return m_attr_endY; }
|
1544
|
+
inline void setAttributeEndY(double a) { m_attr_endY = a; m_has_attr_endY = true; }
|
1545
|
+
inline void clearAttributeEndY() { m_has_attr_endY = false; }
|
1546
|
+
|
1547
|
+
inline bool hasAttributeCentralX() const { return m_has_attr_centralX; }
|
1548
|
+
inline double attributeCentralX() const { return m_attr_centralX; }
|
1549
|
+
inline void setAttributeCentralX(double a) { m_attr_centralX = a; m_has_attr_centralX = true; }
|
1550
|
+
inline void clearAttributeCentralX() { m_has_attr_centralX = false; }
|
1551
|
+
|
1552
|
+
inline bool hasAttributeCentralY() const { return m_has_attr_centralY; }
|
1553
|
+
inline double attributeCentralY() const { return m_attr_centralY; }
|
1554
|
+
inline void setAttributeCentralY(double a) { m_attr_centralY = a; m_has_attr_centralY = true; }
|
1555
|
+
inline void clearAttributeCentralY() { m_has_attr_centralY = false; }
|
1556
|
+
|
1557
|
+
inline bool hasAttributeFocalX() const { return m_has_attr_focalX; }
|
1558
|
+
inline double attributeFocalX() const { return m_attr_focalX; }
|
1559
|
+
inline void setAttributeFocalX(double a) { m_attr_focalX = a; m_has_attr_focalX = true; }
|
1560
|
+
inline void clearAttributeFocalX() { m_has_attr_focalX = false; }
|
1561
|
+
|
1562
|
+
inline bool hasAttributeFocalY() const { return m_has_attr_focalY; }
|
1563
|
+
inline double attributeFocalY() const { return m_attr_focalY; }
|
1564
|
+
inline void setAttributeFocalY(double a) { m_attr_focalY = a; m_has_attr_focalY = true; }
|
1565
|
+
inline void clearAttributeFocalY() { m_has_attr_focalY = false; }
|
1566
|
+
|
1567
|
+
inline bool hasAttributeRadius() const { return m_has_attr_radius; }
|
1568
|
+
inline double attributeRadius() const { return m_attr_radius; }
|
1569
|
+
inline void setAttributeRadius(double a) { m_attr_radius = a; m_has_attr_radius = true; }
|
1570
|
+
inline void clearAttributeRadius() { m_has_attr_radius = false; }
|
1571
|
+
|
1572
|
+
inline bool hasAttributeAngle() const { return m_has_attr_angle; }
|
1573
|
+
inline double attributeAngle() const { return m_attr_angle; }
|
1574
|
+
inline void setAttributeAngle(double a) { m_attr_angle = a; m_has_attr_angle = true; }
|
1575
|
+
inline void clearAttributeAngle() { m_has_attr_angle = false; }
|
1576
|
+
|
1577
|
+
inline bool hasAttributeType() const { return m_has_attr_type; }
|
1578
|
+
inline QString attributeType() const { return m_attr_type; }
|
1579
|
+
inline void setAttributeType(const QString& a) { m_attr_type = a; m_has_attr_type = true; }
|
1580
|
+
inline void clearAttributeType() { m_has_attr_type = false; }
|
1581
|
+
|
1582
|
+
inline bool hasAttributeSpread() const { return m_has_attr_spread; }
|
1583
|
+
inline QString attributeSpread() const { return m_attr_spread; }
|
1584
|
+
inline void setAttributeSpread(const QString& a) { m_attr_spread = a; m_has_attr_spread = true; }
|
1585
|
+
inline void clearAttributeSpread() { m_has_attr_spread = false; }
|
1586
|
+
|
1587
|
+
inline bool hasAttributeCoordinateMode() const { return m_has_attr_coordinateMode; }
|
1588
|
+
inline QString attributeCoordinateMode() const { return m_attr_coordinateMode; }
|
1589
|
+
inline void setAttributeCoordinateMode(const QString& a) { m_attr_coordinateMode = a; m_has_attr_coordinateMode = true; }
|
1590
|
+
inline void clearAttributeCoordinateMode() { m_has_attr_coordinateMode = false; }
|
1591
|
+
|
1592
|
+
// child element accessors
|
1593
|
+
inline QList<DomGradientStop*> elementGradientStop() const { return m_gradientStop; }
|
1594
|
+
void setElementGradientStop(const QList<DomGradientStop*>& a);
|
1595
|
+
|
1596
|
+
private:
|
1597
|
+
QString m_text;
|
1598
|
+
void clear(bool clear_all = true);
|
1599
|
+
|
1600
|
+
// attribute data
|
1601
|
+
double m_attr_startX;
|
1602
|
+
bool m_has_attr_startX;
|
1603
|
+
|
1604
|
+
double m_attr_startY;
|
1605
|
+
bool m_has_attr_startY;
|
1606
|
+
|
1607
|
+
double m_attr_endX;
|
1608
|
+
bool m_has_attr_endX;
|
1609
|
+
|
1610
|
+
double m_attr_endY;
|
1611
|
+
bool m_has_attr_endY;
|
1612
|
+
|
1613
|
+
double m_attr_centralX;
|
1614
|
+
bool m_has_attr_centralX;
|
1615
|
+
|
1616
|
+
double m_attr_centralY;
|
1617
|
+
bool m_has_attr_centralY;
|
1618
|
+
|
1619
|
+
double m_attr_focalX;
|
1620
|
+
bool m_has_attr_focalX;
|
1621
|
+
|
1622
|
+
double m_attr_focalY;
|
1623
|
+
bool m_has_attr_focalY;
|
1624
|
+
|
1625
|
+
double m_attr_radius;
|
1626
|
+
bool m_has_attr_radius;
|
1627
|
+
|
1628
|
+
double m_attr_angle;
|
1629
|
+
bool m_has_attr_angle;
|
1630
|
+
|
1631
|
+
QString m_attr_type;
|
1632
|
+
bool m_has_attr_type;
|
1633
|
+
|
1634
|
+
QString m_attr_spread;
|
1635
|
+
bool m_has_attr_spread;
|
1636
|
+
|
1637
|
+
QString m_attr_coordinateMode;
|
1638
|
+
bool m_has_attr_coordinateMode;
|
1639
|
+
|
1640
|
+
// child element data
|
1641
|
+
QList<DomGradientStop*> m_gradientStop;
|
1642
|
+
|
1643
|
+
DomGradient(const DomGradient &other);
|
1644
|
+
void operator = (const DomGradient&other);
|
1645
|
+
};
|
1646
|
+
|
1647
|
+
class QDESIGNER_UILIB_EXPORT DomBrush {
|
1648
|
+
public:
|
1649
|
+
DomBrush();
|
1650
|
+
~DomBrush();
|
1651
|
+
|
1652
|
+
void read(const QDomElement &node);
|
1653
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1654
|
+
inline QString text() const { return m_text; }
|
1655
|
+
inline void setText(const QString &s) { m_text = s; }
|
1656
|
+
|
1657
|
+
// attribute accessors
|
1658
|
+
inline bool hasAttributeBrushStyle() const { return m_has_attr_brushStyle; }
|
1659
|
+
inline QString attributeBrushStyle() const { return m_attr_brushStyle; }
|
1660
|
+
inline void setAttributeBrushStyle(const QString& a) { m_attr_brushStyle = a; m_has_attr_brushStyle = true; }
|
1661
|
+
inline void clearAttributeBrushStyle() { m_has_attr_brushStyle = false; }
|
1662
|
+
|
1663
|
+
// child element accessors
|
1664
|
+
enum Kind { Unknown = 0, Color, Texture, Gradient };
|
1665
|
+
inline Kind kind() const { return m_kind; }
|
1666
|
+
|
1667
|
+
inline DomColor* elementColor() const { return m_color; }
|
1668
|
+
void setElementColor(DomColor* a);
|
1669
|
+
|
1670
|
+
inline DomProperty* elementTexture() const { return m_texture; }
|
1671
|
+
void setElementTexture(DomProperty* a);
|
1672
|
+
|
1673
|
+
inline DomGradient* elementGradient() const { return m_gradient; }
|
1674
|
+
void setElementGradient(DomGradient* a);
|
1675
|
+
|
1676
|
+
private:
|
1677
|
+
QString m_text;
|
1678
|
+
void clear(bool clear_all = true);
|
1679
|
+
|
1680
|
+
// attribute data
|
1681
|
+
QString m_attr_brushStyle;
|
1682
|
+
bool m_has_attr_brushStyle;
|
1683
|
+
|
1684
|
+
// child element data
|
1685
|
+
Kind m_kind;
|
1686
|
+
DomColor* m_color;
|
1687
|
+
DomProperty* m_texture;
|
1688
|
+
DomGradient* m_gradient;
|
1689
|
+
|
1690
|
+
DomBrush(const DomBrush &other);
|
1691
|
+
void operator = (const DomBrush&other);
|
1692
|
+
};
|
1693
|
+
|
1694
|
+
class QDESIGNER_UILIB_EXPORT DomColorRole {
|
1695
|
+
public:
|
1696
|
+
DomColorRole();
|
1697
|
+
~DomColorRole();
|
1698
|
+
|
1699
|
+
void read(const QDomElement &node);
|
1700
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1701
|
+
inline QString text() const { return m_text; }
|
1702
|
+
inline void setText(const QString &s) { m_text = s; }
|
1703
|
+
|
1704
|
+
// attribute accessors
|
1705
|
+
inline bool hasAttributeRole() const { return m_has_attr_role; }
|
1706
|
+
inline QString attributeRole() const { return m_attr_role; }
|
1707
|
+
inline void setAttributeRole(const QString& a) { m_attr_role = a; m_has_attr_role = true; }
|
1708
|
+
inline void clearAttributeRole() { m_has_attr_role = false; }
|
1709
|
+
|
1710
|
+
// child element accessors
|
1711
|
+
inline DomBrush* elementBrush() const { return m_brush; }
|
1712
|
+
void setElementBrush(DomBrush* a);
|
1713
|
+
inline bool hasElementBrush() const { return m_children & Brush; }
|
1714
|
+
void clearElementBrush();
|
1715
|
+
|
1716
|
+
private:
|
1717
|
+
QString m_text;
|
1718
|
+
void clear(bool clear_all = true);
|
1719
|
+
|
1720
|
+
// attribute data
|
1721
|
+
QString m_attr_role;
|
1722
|
+
bool m_has_attr_role;
|
1723
|
+
|
1724
|
+
// child element data
|
1725
|
+
uint m_children;
|
1726
|
+
DomBrush* m_brush;
|
1727
|
+
enum Child {
|
1728
|
+
Brush = 1
|
1729
|
+
};
|
1730
|
+
|
1731
|
+
DomColorRole(const DomColorRole &other);
|
1732
|
+
void operator = (const DomColorRole&other);
|
1733
|
+
};
|
1734
|
+
|
1735
|
+
class QDESIGNER_UILIB_EXPORT DomColorGroup {
|
1736
|
+
public:
|
1737
|
+
DomColorGroup();
|
1738
|
+
~DomColorGroup();
|
1739
|
+
|
1740
|
+
void read(const QDomElement &node);
|
1741
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1742
|
+
inline QString text() const { return m_text; }
|
1743
|
+
inline void setText(const QString &s) { m_text = s; }
|
1744
|
+
|
1745
|
+
// attribute accessors
|
1746
|
+
// child element accessors
|
1747
|
+
inline QList<DomColorRole*> elementColorRole() const { return m_colorRole; }
|
1748
|
+
void setElementColorRole(const QList<DomColorRole*>& a);
|
1749
|
+
|
1750
|
+
inline QList<DomColor*> elementColor() const { return m_color; }
|
1751
|
+
void setElementColor(const QList<DomColor*>& a);
|
1752
|
+
|
1753
|
+
private:
|
1754
|
+
QString m_text;
|
1755
|
+
void clear(bool clear_all = true);
|
1756
|
+
|
1757
|
+
// attribute data
|
1758
|
+
// child element data
|
1759
|
+
QList<DomColorRole*> m_colorRole;
|
1760
|
+
QList<DomColor*> m_color;
|
1761
|
+
|
1762
|
+
DomColorGroup(const DomColorGroup &other);
|
1763
|
+
void operator = (const DomColorGroup&other);
|
1764
|
+
};
|
1765
|
+
|
1766
|
+
class QDESIGNER_UILIB_EXPORT DomPalette {
|
1767
|
+
public:
|
1768
|
+
DomPalette();
|
1769
|
+
~DomPalette();
|
1770
|
+
|
1771
|
+
void read(const QDomElement &node);
|
1772
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1773
|
+
inline QString text() const { return m_text; }
|
1774
|
+
inline void setText(const QString &s) { m_text = s; }
|
1775
|
+
|
1776
|
+
// attribute accessors
|
1777
|
+
// child element accessors
|
1778
|
+
inline DomColorGroup* elementActive() const { return m_active; }
|
1779
|
+
void setElementActive(DomColorGroup* a);
|
1780
|
+
inline bool hasElementActive() const { return m_children & Active; }
|
1781
|
+
void clearElementActive();
|
1782
|
+
|
1783
|
+
inline DomColorGroup* elementInactive() const { return m_inactive; }
|
1784
|
+
void setElementInactive(DomColorGroup* a);
|
1785
|
+
inline bool hasElementInactive() const { return m_children & Inactive; }
|
1786
|
+
void clearElementInactive();
|
1787
|
+
|
1788
|
+
inline DomColorGroup* elementDisabled() const { return m_disabled; }
|
1789
|
+
void setElementDisabled(DomColorGroup* a);
|
1790
|
+
inline bool hasElementDisabled() const { return m_children & Disabled; }
|
1791
|
+
void clearElementDisabled();
|
1792
|
+
|
1793
|
+
private:
|
1794
|
+
QString m_text;
|
1795
|
+
void clear(bool clear_all = true);
|
1796
|
+
|
1797
|
+
// attribute data
|
1798
|
+
// child element data
|
1799
|
+
uint m_children;
|
1800
|
+
DomColorGroup* m_active;
|
1801
|
+
DomColorGroup* m_inactive;
|
1802
|
+
DomColorGroup* m_disabled;
|
1803
|
+
enum Child {
|
1804
|
+
Active = 1,
|
1805
|
+
Inactive = 2,
|
1806
|
+
Disabled = 4
|
1807
|
+
};
|
1808
|
+
|
1809
|
+
DomPalette(const DomPalette &other);
|
1810
|
+
void operator = (const DomPalette&other);
|
1811
|
+
};
|
1812
|
+
|
1813
|
+
class QDESIGNER_UILIB_EXPORT DomFont {
|
1814
|
+
public:
|
1815
|
+
DomFont();
|
1816
|
+
~DomFont();
|
1817
|
+
|
1818
|
+
void read(const QDomElement &node);
|
1819
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1820
|
+
inline QString text() const { return m_text; }
|
1821
|
+
inline void setText(const QString &s) { m_text = s; }
|
1822
|
+
|
1823
|
+
// attribute accessors
|
1824
|
+
// child element accessors
|
1825
|
+
inline QString elementFamily() const { return m_family; }
|
1826
|
+
void setElementFamily(const QString& a);
|
1827
|
+
inline bool hasElementFamily() const { return m_children & Family; }
|
1828
|
+
void clearElementFamily();
|
1829
|
+
|
1830
|
+
inline int elementPointSize() const { return m_pointSize; }
|
1831
|
+
void setElementPointSize(int a);
|
1832
|
+
inline bool hasElementPointSize() const { return m_children & PointSize; }
|
1833
|
+
void clearElementPointSize();
|
1834
|
+
|
1835
|
+
inline int elementWeight() const { return m_weight; }
|
1836
|
+
void setElementWeight(int a);
|
1837
|
+
inline bool hasElementWeight() const { return m_children & Weight; }
|
1838
|
+
void clearElementWeight();
|
1839
|
+
|
1840
|
+
inline bool elementItalic() const { return m_italic; }
|
1841
|
+
void setElementItalic(bool a);
|
1842
|
+
inline bool hasElementItalic() const { return m_children & Italic; }
|
1843
|
+
void clearElementItalic();
|
1844
|
+
|
1845
|
+
inline bool elementBold() const { return m_bold; }
|
1846
|
+
void setElementBold(bool a);
|
1847
|
+
inline bool hasElementBold() const { return m_children & Bold; }
|
1848
|
+
void clearElementBold();
|
1849
|
+
|
1850
|
+
inline bool elementUnderline() const { return m_underline; }
|
1851
|
+
void setElementUnderline(bool a);
|
1852
|
+
inline bool hasElementUnderline() const { return m_children & Underline; }
|
1853
|
+
void clearElementUnderline();
|
1854
|
+
|
1855
|
+
inline bool elementStrikeOut() const { return m_strikeOut; }
|
1856
|
+
void setElementStrikeOut(bool a);
|
1857
|
+
inline bool hasElementStrikeOut() const { return m_children & StrikeOut; }
|
1858
|
+
void clearElementStrikeOut();
|
1859
|
+
|
1860
|
+
inline bool elementAntialiasing() const { return m_antialiasing; }
|
1861
|
+
void setElementAntialiasing(bool a);
|
1862
|
+
inline bool hasElementAntialiasing() const { return m_children & Antialiasing; }
|
1863
|
+
void clearElementAntialiasing();
|
1864
|
+
|
1865
|
+
inline QString elementStyleStrategy() const { return m_styleStrategy; }
|
1866
|
+
void setElementStyleStrategy(const QString& a);
|
1867
|
+
inline bool hasElementStyleStrategy() const { return m_children & StyleStrategy; }
|
1868
|
+
void clearElementStyleStrategy();
|
1869
|
+
|
1870
|
+
inline bool elementKerning() const { return m_kerning; }
|
1871
|
+
void setElementKerning(bool a);
|
1872
|
+
inline bool hasElementKerning() const { return m_children & Kerning; }
|
1873
|
+
void clearElementKerning();
|
1874
|
+
|
1875
|
+
private:
|
1876
|
+
QString m_text;
|
1877
|
+
void clear(bool clear_all = true);
|
1878
|
+
|
1879
|
+
// attribute data
|
1880
|
+
// child element data
|
1881
|
+
uint m_children;
|
1882
|
+
QString m_family;
|
1883
|
+
int m_pointSize;
|
1884
|
+
int m_weight;
|
1885
|
+
bool m_italic;
|
1886
|
+
bool m_bold;
|
1887
|
+
bool m_underline;
|
1888
|
+
bool m_strikeOut;
|
1889
|
+
bool m_antialiasing;
|
1890
|
+
QString m_styleStrategy;
|
1891
|
+
bool m_kerning;
|
1892
|
+
enum Child {
|
1893
|
+
Family = 1,
|
1894
|
+
PointSize = 2,
|
1895
|
+
Weight = 4,
|
1896
|
+
Italic = 8,
|
1897
|
+
Bold = 16,
|
1898
|
+
Underline = 32,
|
1899
|
+
StrikeOut = 64,
|
1900
|
+
Antialiasing = 128,
|
1901
|
+
StyleStrategy = 256,
|
1902
|
+
Kerning = 512
|
1903
|
+
};
|
1904
|
+
|
1905
|
+
DomFont(const DomFont &other);
|
1906
|
+
void operator = (const DomFont&other);
|
1907
|
+
};
|
1908
|
+
|
1909
|
+
class QDESIGNER_UILIB_EXPORT DomPoint {
|
1910
|
+
public:
|
1911
|
+
DomPoint();
|
1912
|
+
~DomPoint();
|
1913
|
+
|
1914
|
+
void read(const QDomElement &node);
|
1915
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1916
|
+
inline QString text() const { return m_text; }
|
1917
|
+
inline void setText(const QString &s) { m_text = s; }
|
1918
|
+
|
1919
|
+
// attribute accessors
|
1920
|
+
// child element accessors
|
1921
|
+
inline int elementX() const { return m_x; }
|
1922
|
+
void setElementX(int a);
|
1923
|
+
inline bool hasElementX() const { return m_children & X; }
|
1924
|
+
void clearElementX();
|
1925
|
+
|
1926
|
+
inline int elementY() const { return m_y; }
|
1927
|
+
void setElementY(int a);
|
1928
|
+
inline bool hasElementY() const { return m_children & Y; }
|
1929
|
+
void clearElementY();
|
1930
|
+
|
1931
|
+
private:
|
1932
|
+
QString m_text;
|
1933
|
+
void clear(bool clear_all = true);
|
1934
|
+
|
1935
|
+
// attribute data
|
1936
|
+
// child element data
|
1937
|
+
uint m_children;
|
1938
|
+
int m_x;
|
1939
|
+
int m_y;
|
1940
|
+
enum Child {
|
1941
|
+
X = 1,
|
1942
|
+
Y = 2
|
1943
|
+
};
|
1944
|
+
|
1945
|
+
DomPoint(const DomPoint &other);
|
1946
|
+
void operator = (const DomPoint&other);
|
1947
|
+
};
|
1948
|
+
|
1949
|
+
class QDESIGNER_UILIB_EXPORT DomRect {
|
1950
|
+
public:
|
1951
|
+
DomRect();
|
1952
|
+
~DomRect();
|
1953
|
+
|
1954
|
+
void read(const QDomElement &node);
|
1955
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
1956
|
+
inline QString text() const { return m_text; }
|
1957
|
+
inline void setText(const QString &s) { m_text = s; }
|
1958
|
+
|
1959
|
+
// attribute accessors
|
1960
|
+
// child element accessors
|
1961
|
+
inline int elementX() const { return m_x; }
|
1962
|
+
void setElementX(int a);
|
1963
|
+
inline bool hasElementX() const { return m_children & X; }
|
1964
|
+
void clearElementX();
|
1965
|
+
|
1966
|
+
inline int elementY() const { return m_y; }
|
1967
|
+
void setElementY(int a);
|
1968
|
+
inline bool hasElementY() const { return m_children & Y; }
|
1969
|
+
void clearElementY();
|
1970
|
+
|
1971
|
+
inline int elementWidth() const { return m_width; }
|
1972
|
+
void setElementWidth(int a);
|
1973
|
+
inline bool hasElementWidth() const { return m_children & Width; }
|
1974
|
+
void clearElementWidth();
|
1975
|
+
|
1976
|
+
inline int elementHeight() const { return m_height; }
|
1977
|
+
void setElementHeight(int a);
|
1978
|
+
inline bool hasElementHeight() const { return m_children & Height; }
|
1979
|
+
void clearElementHeight();
|
1980
|
+
|
1981
|
+
private:
|
1982
|
+
QString m_text;
|
1983
|
+
void clear(bool clear_all = true);
|
1984
|
+
|
1985
|
+
// attribute data
|
1986
|
+
// child element data
|
1987
|
+
uint m_children;
|
1988
|
+
int m_x;
|
1989
|
+
int m_y;
|
1990
|
+
int m_width;
|
1991
|
+
int m_height;
|
1992
|
+
enum Child {
|
1993
|
+
X = 1,
|
1994
|
+
Y = 2,
|
1995
|
+
Width = 4,
|
1996
|
+
Height = 8
|
1997
|
+
};
|
1998
|
+
|
1999
|
+
DomRect(const DomRect &other);
|
2000
|
+
void operator = (const DomRect&other);
|
2001
|
+
};
|
2002
|
+
|
2003
|
+
class QDESIGNER_UILIB_EXPORT DomLocale {
|
2004
|
+
public:
|
2005
|
+
DomLocale();
|
2006
|
+
~DomLocale();
|
2007
|
+
|
2008
|
+
void read(const QDomElement &node);
|
2009
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2010
|
+
inline QString text() const { return m_text; }
|
2011
|
+
inline void setText(const QString &s) { m_text = s; }
|
2012
|
+
|
2013
|
+
// attribute accessors
|
2014
|
+
inline bool hasAttributeLanguage() const { return m_has_attr_language; }
|
2015
|
+
inline QString attributeLanguage() const { return m_attr_language; }
|
2016
|
+
inline void setAttributeLanguage(const QString& a) { m_attr_language = a; m_has_attr_language = true; }
|
2017
|
+
inline void clearAttributeLanguage() { m_has_attr_language = false; }
|
2018
|
+
|
2019
|
+
inline bool hasAttributeCountry() const { return m_has_attr_country; }
|
2020
|
+
inline QString attributeCountry() const { return m_attr_country; }
|
2021
|
+
inline void setAttributeCountry(const QString& a) { m_attr_country = a; m_has_attr_country = true; }
|
2022
|
+
inline void clearAttributeCountry() { m_has_attr_country = false; }
|
2023
|
+
|
2024
|
+
// child element accessors
|
2025
|
+
private:
|
2026
|
+
QString m_text;
|
2027
|
+
void clear(bool clear_all = true);
|
2028
|
+
|
2029
|
+
// attribute data
|
2030
|
+
QString m_attr_language;
|
2031
|
+
bool m_has_attr_language;
|
2032
|
+
|
2033
|
+
QString m_attr_country;
|
2034
|
+
bool m_has_attr_country;
|
2035
|
+
|
2036
|
+
// child element data
|
2037
|
+
|
2038
|
+
DomLocale(const DomLocale &other);
|
2039
|
+
void operator = (const DomLocale&other);
|
2040
|
+
};
|
2041
|
+
|
2042
|
+
class QDESIGNER_UILIB_EXPORT DomSizePolicy {
|
2043
|
+
public:
|
2044
|
+
DomSizePolicy();
|
2045
|
+
~DomSizePolicy();
|
2046
|
+
|
2047
|
+
void read(const QDomElement &node);
|
2048
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2049
|
+
inline QString text() const { return m_text; }
|
2050
|
+
inline void setText(const QString &s) { m_text = s; }
|
2051
|
+
|
2052
|
+
// attribute accessors
|
2053
|
+
inline bool hasAttributeHSizeType() const { return m_has_attr_hSizeType; }
|
2054
|
+
inline QString attributeHSizeType() const { return m_attr_hSizeType; }
|
2055
|
+
inline void setAttributeHSizeType(const QString& a) { m_attr_hSizeType = a; m_has_attr_hSizeType = true; }
|
2056
|
+
inline void clearAttributeHSizeType() { m_has_attr_hSizeType = false; }
|
2057
|
+
|
2058
|
+
inline bool hasAttributeVSizeType() const { return m_has_attr_vSizeType; }
|
2059
|
+
inline QString attributeVSizeType() const { return m_attr_vSizeType; }
|
2060
|
+
inline void setAttributeVSizeType(const QString& a) { m_attr_vSizeType = a; m_has_attr_vSizeType = true; }
|
2061
|
+
inline void clearAttributeVSizeType() { m_has_attr_vSizeType = false; }
|
2062
|
+
|
2063
|
+
// child element accessors
|
2064
|
+
inline int elementHSizeType() const { return m_hSizeType; }
|
2065
|
+
void setElementHSizeType(int a);
|
2066
|
+
inline bool hasElementHSizeType() const { return m_children & HSizeType; }
|
2067
|
+
void clearElementHSizeType();
|
2068
|
+
|
2069
|
+
inline int elementVSizeType() const { return m_vSizeType; }
|
2070
|
+
void setElementVSizeType(int a);
|
2071
|
+
inline bool hasElementVSizeType() const { return m_children & VSizeType; }
|
2072
|
+
void clearElementVSizeType();
|
2073
|
+
|
2074
|
+
inline int elementHorStretch() const { return m_horStretch; }
|
2075
|
+
void setElementHorStretch(int a);
|
2076
|
+
inline bool hasElementHorStretch() const { return m_children & HorStretch; }
|
2077
|
+
void clearElementHorStretch();
|
2078
|
+
|
2079
|
+
inline int elementVerStretch() const { return m_verStretch; }
|
2080
|
+
void setElementVerStretch(int a);
|
2081
|
+
inline bool hasElementVerStretch() const { return m_children & VerStretch; }
|
2082
|
+
void clearElementVerStretch();
|
2083
|
+
|
2084
|
+
private:
|
2085
|
+
QString m_text;
|
2086
|
+
void clear(bool clear_all = true);
|
2087
|
+
|
2088
|
+
// attribute data
|
2089
|
+
QString m_attr_hSizeType;
|
2090
|
+
bool m_has_attr_hSizeType;
|
2091
|
+
|
2092
|
+
QString m_attr_vSizeType;
|
2093
|
+
bool m_has_attr_vSizeType;
|
2094
|
+
|
2095
|
+
// child element data
|
2096
|
+
uint m_children;
|
2097
|
+
int m_hSizeType;
|
2098
|
+
int m_vSizeType;
|
2099
|
+
int m_horStretch;
|
2100
|
+
int m_verStretch;
|
2101
|
+
enum Child {
|
2102
|
+
HSizeType = 1,
|
2103
|
+
VSizeType = 2,
|
2104
|
+
HorStretch = 4,
|
2105
|
+
VerStretch = 8
|
2106
|
+
};
|
2107
|
+
|
2108
|
+
DomSizePolicy(const DomSizePolicy &other);
|
2109
|
+
void operator = (const DomSizePolicy&other);
|
2110
|
+
};
|
2111
|
+
|
2112
|
+
class QDESIGNER_UILIB_EXPORT DomSize {
|
2113
|
+
public:
|
2114
|
+
DomSize();
|
2115
|
+
~DomSize();
|
2116
|
+
|
2117
|
+
void read(const QDomElement &node);
|
2118
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2119
|
+
inline QString text() const { return m_text; }
|
2120
|
+
inline void setText(const QString &s) { m_text = s; }
|
2121
|
+
|
2122
|
+
// attribute accessors
|
2123
|
+
// child element accessors
|
2124
|
+
inline int elementWidth() const { return m_width; }
|
2125
|
+
void setElementWidth(int a);
|
2126
|
+
inline bool hasElementWidth() const { return m_children & Width; }
|
2127
|
+
void clearElementWidth();
|
2128
|
+
|
2129
|
+
inline int elementHeight() const { return m_height; }
|
2130
|
+
void setElementHeight(int a);
|
2131
|
+
inline bool hasElementHeight() const { return m_children & Height; }
|
2132
|
+
void clearElementHeight();
|
2133
|
+
|
2134
|
+
private:
|
2135
|
+
QString m_text;
|
2136
|
+
void clear(bool clear_all = true);
|
2137
|
+
|
2138
|
+
// attribute data
|
2139
|
+
// child element data
|
2140
|
+
uint m_children;
|
2141
|
+
int m_width;
|
2142
|
+
int m_height;
|
2143
|
+
enum Child {
|
2144
|
+
Width = 1,
|
2145
|
+
Height = 2
|
2146
|
+
};
|
2147
|
+
|
2148
|
+
DomSize(const DomSize &other);
|
2149
|
+
void operator = (const DomSize&other);
|
2150
|
+
};
|
2151
|
+
|
2152
|
+
class QDESIGNER_UILIB_EXPORT DomDate {
|
2153
|
+
public:
|
2154
|
+
DomDate();
|
2155
|
+
~DomDate();
|
2156
|
+
|
2157
|
+
void read(const QDomElement &node);
|
2158
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2159
|
+
inline QString text() const { return m_text; }
|
2160
|
+
inline void setText(const QString &s) { m_text = s; }
|
2161
|
+
|
2162
|
+
// attribute accessors
|
2163
|
+
// child element accessors
|
2164
|
+
inline int elementYear() const { return m_year; }
|
2165
|
+
void setElementYear(int a);
|
2166
|
+
inline bool hasElementYear() const { return m_children & Year; }
|
2167
|
+
void clearElementYear();
|
2168
|
+
|
2169
|
+
inline int elementMonth() const { return m_month; }
|
2170
|
+
void setElementMonth(int a);
|
2171
|
+
inline bool hasElementMonth() const { return m_children & Month; }
|
2172
|
+
void clearElementMonth();
|
2173
|
+
|
2174
|
+
inline int elementDay() const { return m_day; }
|
2175
|
+
void setElementDay(int a);
|
2176
|
+
inline bool hasElementDay() const { return m_children & Day; }
|
2177
|
+
void clearElementDay();
|
2178
|
+
|
2179
|
+
private:
|
2180
|
+
QString m_text;
|
2181
|
+
void clear(bool clear_all = true);
|
2182
|
+
|
2183
|
+
// attribute data
|
2184
|
+
// child element data
|
2185
|
+
uint m_children;
|
2186
|
+
int m_year;
|
2187
|
+
int m_month;
|
2188
|
+
int m_day;
|
2189
|
+
enum Child {
|
2190
|
+
Year = 1,
|
2191
|
+
Month = 2,
|
2192
|
+
Day = 4
|
2193
|
+
};
|
2194
|
+
|
2195
|
+
DomDate(const DomDate &other);
|
2196
|
+
void operator = (const DomDate&other);
|
2197
|
+
};
|
2198
|
+
|
2199
|
+
class QDESIGNER_UILIB_EXPORT DomTime {
|
2200
|
+
public:
|
2201
|
+
DomTime();
|
2202
|
+
~DomTime();
|
2203
|
+
|
2204
|
+
void read(const QDomElement &node);
|
2205
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2206
|
+
inline QString text() const { return m_text; }
|
2207
|
+
inline void setText(const QString &s) { m_text = s; }
|
2208
|
+
|
2209
|
+
// attribute accessors
|
2210
|
+
// child element accessors
|
2211
|
+
inline int elementHour() const { return m_hour; }
|
2212
|
+
void setElementHour(int a);
|
2213
|
+
inline bool hasElementHour() const { return m_children & Hour; }
|
2214
|
+
void clearElementHour();
|
2215
|
+
|
2216
|
+
inline int elementMinute() const { return m_minute; }
|
2217
|
+
void setElementMinute(int a);
|
2218
|
+
inline bool hasElementMinute() const { return m_children & Minute; }
|
2219
|
+
void clearElementMinute();
|
2220
|
+
|
2221
|
+
inline int elementSecond() const { return m_second; }
|
2222
|
+
void setElementSecond(int a);
|
2223
|
+
inline bool hasElementSecond() const { return m_children & Second; }
|
2224
|
+
void clearElementSecond();
|
2225
|
+
|
2226
|
+
private:
|
2227
|
+
QString m_text;
|
2228
|
+
void clear(bool clear_all = true);
|
2229
|
+
|
2230
|
+
// attribute data
|
2231
|
+
// child element data
|
2232
|
+
uint m_children;
|
2233
|
+
int m_hour;
|
2234
|
+
int m_minute;
|
2235
|
+
int m_second;
|
2236
|
+
enum Child {
|
2237
|
+
Hour = 1,
|
2238
|
+
Minute = 2,
|
2239
|
+
Second = 4
|
2240
|
+
};
|
2241
|
+
|
2242
|
+
DomTime(const DomTime &other);
|
2243
|
+
void operator = (const DomTime&other);
|
2244
|
+
};
|
2245
|
+
|
2246
|
+
class QDESIGNER_UILIB_EXPORT DomDateTime {
|
2247
|
+
public:
|
2248
|
+
DomDateTime();
|
2249
|
+
~DomDateTime();
|
2250
|
+
|
2251
|
+
void read(const QDomElement &node);
|
2252
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2253
|
+
inline QString text() const { return m_text; }
|
2254
|
+
inline void setText(const QString &s) { m_text = s; }
|
2255
|
+
|
2256
|
+
// attribute accessors
|
2257
|
+
// child element accessors
|
2258
|
+
inline int elementHour() const { return m_hour; }
|
2259
|
+
void setElementHour(int a);
|
2260
|
+
inline bool hasElementHour() const { return m_children & Hour; }
|
2261
|
+
void clearElementHour();
|
2262
|
+
|
2263
|
+
inline int elementMinute() const { return m_minute; }
|
2264
|
+
void setElementMinute(int a);
|
2265
|
+
inline bool hasElementMinute() const { return m_children & Minute; }
|
2266
|
+
void clearElementMinute();
|
2267
|
+
|
2268
|
+
inline int elementSecond() const { return m_second; }
|
2269
|
+
void setElementSecond(int a);
|
2270
|
+
inline bool hasElementSecond() const { return m_children & Second; }
|
2271
|
+
void clearElementSecond();
|
2272
|
+
|
2273
|
+
inline int elementYear() const { return m_year; }
|
2274
|
+
void setElementYear(int a);
|
2275
|
+
inline bool hasElementYear() const { return m_children & Year; }
|
2276
|
+
void clearElementYear();
|
2277
|
+
|
2278
|
+
inline int elementMonth() const { return m_month; }
|
2279
|
+
void setElementMonth(int a);
|
2280
|
+
inline bool hasElementMonth() const { return m_children & Month; }
|
2281
|
+
void clearElementMonth();
|
2282
|
+
|
2283
|
+
inline int elementDay() const { return m_day; }
|
2284
|
+
void setElementDay(int a);
|
2285
|
+
inline bool hasElementDay() const { return m_children & Day; }
|
2286
|
+
void clearElementDay();
|
2287
|
+
|
2288
|
+
private:
|
2289
|
+
QString m_text;
|
2290
|
+
void clear(bool clear_all = true);
|
2291
|
+
|
2292
|
+
// attribute data
|
2293
|
+
// child element data
|
2294
|
+
uint m_children;
|
2295
|
+
int m_hour;
|
2296
|
+
int m_minute;
|
2297
|
+
int m_second;
|
2298
|
+
int m_year;
|
2299
|
+
int m_month;
|
2300
|
+
int m_day;
|
2301
|
+
enum Child {
|
2302
|
+
Hour = 1,
|
2303
|
+
Minute = 2,
|
2304
|
+
Second = 4,
|
2305
|
+
Year = 8,
|
2306
|
+
Month = 16,
|
2307
|
+
Day = 32
|
2308
|
+
};
|
2309
|
+
|
2310
|
+
DomDateTime(const DomDateTime &other);
|
2311
|
+
void operator = (const DomDateTime&other);
|
2312
|
+
};
|
2313
|
+
|
2314
|
+
class QDESIGNER_UILIB_EXPORT DomStringList {
|
2315
|
+
public:
|
2316
|
+
DomStringList();
|
2317
|
+
~DomStringList();
|
2318
|
+
|
2319
|
+
void read(const QDomElement &node);
|
2320
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2321
|
+
inline QString text() const { return m_text; }
|
2322
|
+
inline void setText(const QString &s) { m_text = s; }
|
2323
|
+
|
2324
|
+
// attribute accessors
|
2325
|
+
// child element accessors
|
2326
|
+
inline QStringList elementString() const { return m_string; }
|
2327
|
+
void setElementString(const QStringList& a);
|
2328
|
+
|
2329
|
+
private:
|
2330
|
+
QString m_text;
|
2331
|
+
void clear(bool clear_all = true);
|
2332
|
+
|
2333
|
+
// attribute data
|
2334
|
+
// child element data
|
2335
|
+
QStringList m_string;
|
2336
|
+
|
2337
|
+
DomStringList(const DomStringList &other);
|
2338
|
+
void operator = (const DomStringList&other);
|
2339
|
+
};
|
2340
|
+
|
2341
|
+
class QDESIGNER_UILIB_EXPORT DomResourcePixmap {
|
2342
|
+
public:
|
2343
|
+
DomResourcePixmap();
|
2344
|
+
~DomResourcePixmap();
|
2345
|
+
|
2346
|
+
void read(const QDomElement &node);
|
2347
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2348
|
+
inline QString text() const { return m_text; }
|
2349
|
+
inline void setText(const QString &s) { m_text = s; }
|
2350
|
+
|
2351
|
+
// attribute accessors
|
2352
|
+
inline bool hasAttributeResource() const { return m_has_attr_resource; }
|
2353
|
+
inline QString attributeResource() const { return m_attr_resource; }
|
2354
|
+
inline void setAttributeResource(const QString& a) { m_attr_resource = a; m_has_attr_resource = true; }
|
2355
|
+
inline void clearAttributeResource() { m_has_attr_resource = false; }
|
2356
|
+
|
2357
|
+
inline bool hasAttributeAlias() const { return m_has_attr_alias; }
|
2358
|
+
inline QString attributeAlias() const { return m_attr_alias; }
|
2359
|
+
inline void setAttributeAlias(const QString& a) { m_attr_alias = a; m_has_attr_alias = true; }
|
2360
|
+
inline void clearAttributeAlias() { m_has_attr_alias = false; }
|
2361
|
+
|
2362
|
+
// child element accessors
|
2363
|
+
private:
|
2364
|
+
QString m_text;
|
2365
|
+
void clear(bool clear_all = true);
|
2366
|
+
|
2367
|
+
// attribute data
|
2368
|
+
QString m_attr_resource;
|
2369
|
+
bool m_has_attr_resource;
|
2370
|
+
|
2371
|
+
QString m_attr_alias;
|
2372
|
+
bool m_has_attr_alias;
|
2373
|
+
|
2374
|
+
// child element data
|
2375
|
+
|
2376
|
+
DomResourcePixmap(const DomResourcePixmap &other);
|
2377
|
+
void operator = (const DomResourcePixmap&other);
|
2378
|
+
};
|
2379
|
+
|
2380
|
+
class QDESIGNER_UILIB_EXPORT DomResourceIcon {
|
2381
|
+
public:
|
2382
|
+
DomResourceIcon();
|
2383
|
+
~DomResourceIcon();
|
2384
|
+
|
2385
|
+
void read(const QDomElement &node);
|
2386
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2387
|
+
inline QString text() const { return m_text; }
|
2388
|
+
inline void setText(const QString &s) { m_text = s; }
|
2389
|
+
|
2390
|
+
// attribute accessors
|
2391
|
+
inline bool hasAttributeResource() const { return m_has_attr_resource; }
|
2392
|
+
inline QString attributeResource() const { return m_attr_resource; }
|
2393
|
+
inline void setAttributeResource(const QString& a) { m_attr_resource = a; m_has_attr_resource = true; }
|
2394
|
+
inline void clearAttributeResource() { m_has_attr_resource = false; }
|
2395
|
+
|
2396
|
+
// child element accessors
|
2397
|
+
inline DomResourcePixmap* elementNormalOff() const { return m_normalOff; }
|
2398
|
+
void setElementNormalOff(DomResourcePixmap* a);
|
2399
|
+
inline bool hasElementNormalOff() const { return m_children & NormalOff; }
|
2400
|
+
void clearElementNormalOff();
|
2401
|
+
|
2402
|
+
inline DomResourcePixmap* elementNormalOn() const { return m_normalOn; }
|
2403
|
+
void setElementNormalOn(DomResourcePixmap* a);
|
2404
|
+
inline bool hasElementNormalOn() const { return m_children & NormalOn; }
|
2405
|
+
void clearElementNormalOn();
|
2406
|
+
|
2407
|
+
inline DomResourcePixmap* elementDisabledOff() const { return m_disabledOff; }
|
2408
|
+
void setElementDisabledOff(DomResourcePixmap* a);
|
2409
|
+
inline bool hasElementDisabledOff() const { return m_children & DisabledOff; }
|
2410
|
+
void clearElementDisabledOff();
|
2411
|
+
|
2412
|
+
inline DomResourcePixmap* elementDisabledOn() const { return m_disabledOn; }
|
2413
|
+
void setElementDisabledOn(DomResourcePixmap* a);
|
2414
|
+
inline bool hasElementDisabledOn() const { return m_children & DisabledOn; }
|
2415
|
+
void clearElementDisabledOn();
|
2416
|
+
|
2417
|
+
inline DomResourcePixmap* elementActiveOff() const { return m_activeOff; }
|
2418
|
+
void setElementActiveOff(DomResourcePixmap* a);
|
2419
|
+
inline bool hasElementActiveOff() const { return m_children & ActiveOff; }
|
2420
|
+
void clearElementActiveOff();
|
2421
|
+
|
2422
|
+
inline DomResourcePixmap* elementActiveOn() const { return m_activeOn; }
|
2423
|
+
void setElementActiveOn(DomResourcePixmap* a);
|
2424
|
+
inline bool hasElementActiveOn() const { return m_children & ActiveOn; }
|
2425
|
+
void clearElementActiveOn();
|
2426
|
+
|
2427
|
+
inline DomResourcePixmap* elementSelectedOff() const { return m_selectedOff; }
|
2428
|
+
void setElementSelectedOff(DomResourcePixmap* a);
|
2429
|
+
inline bool hasElementSelectedOff() const { return m_children & SelectedOff; }
|
2430
|
+
void clearElementSelectedOff();
|
2431
|
+
|
2432
|
+
inline DomResourcePixmap* elementSelectedOn() const { return m_selectedOn; }
|
2433
|
+
void setElementSelectedOn(DomResourcePixmap* a);
|
2434
|
+
inline bool hasElementSelectedOn() const { return m_children & SelectedOn; }
|
2435
|
+
void clearElementSelectedOn();
|
2436
|
+
|
2437
|
+
private:
|
2438
|
+
QString m_text;
|
2439
|
+
void clear(bool clear_all = true);
|
2440
|
+
|
2441
|
+
// attribute data
|
2442
|
+
QString m_attr_resource;
|
2443
|
+
bool m_has_attr_resource;
|
2444
|
+
|
2445
|
+
// child element data
|
2446
|
+
uint m_children;
|
2447
|
+
DomResourcePixmap* m_normalOff;
|
2448
|
+
DomResourcePixmap* m_normalOn;
|
2449
|
+
DomResourcePixmap* m_disabledOff;
|
2450
|
+
DomResourcePixmap* m_disabledOn;
|
2451
|
+
DomResourcePixmap* m_activeOff;
|
2452
|
+
DomResourcePixmap* m_activeOn;
|
2453
|
+
DomResourcePixmap* m_selectedOff;
|
2454
|
+
DomResourcePixmap* m_selectedOn;
|
2455
|
+
enum Child {
|
2456
|
+
NormalOff = 1,
|
2457
|
+
NormalOn = 2,
|
2458
|
+
DisabledOff = 4,
|
2459
|
+
DisabledOn = 8,
|
2460
|
+
ActiveOff = 16,
|
2461
|
+
ActiveOn = 32,
|
2462
|
+
SelectedOff = 64,
|
2463
|
+
SelectedOn = 128
|
2464
|
+
};
|
2465
|
+
|
2466
|
+
DomResourceIcon(const DomResourceIcon &other);
|
2467
|
+
void operator = (const DomResourceIcon&other);
|
2468
|
+
};
|
2469
|
+
|
2470
|
+
class QDESIGNER_UILIB_EXPORT DomString {
|
2471
|
+
public:
|
2472
|
+
DomString();
|
2473
|
+
~DomString();
|
2474
|
+
|
2475
|
+
void read(const QDomElement &node);
|
2476
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2477
|
+
inline QString text() const { return m_text; }
|
2478
|
+
inline void setText(const QString &s) { m_text = s; }
|
2479
|
+
|
2480
|
+
// attribute accessors
|
2481
|
+
inline bool hasAttributeNotr() const { return m_has_attr_notr; }
|
2482
|
+
inline QString attributeNotr() const { return m_attr_notr; }
|
2483
|
+
inline void setAttributeNotr(const QString& a) { m_attr_notr = a; m_has_attr_notr = true; }
|
2484
|
+
inline void clearAttributeNotr() { m_has_attr_notr = false; }
|
2485
|
+
|
2486
|
+
inline bool hasAttributeComment() const { return m_has_attr_comment; }
|
2487
|
+
inline QString attributeComment() const { return m_attr_comment; }
|
2488
|
+
inline void setAttributeComment(const QString& a) { m_attr_comment = a; m_has_attr_comment = true; }
|
2489
|
+
inline void clearAttributeComment() { m_has_attr_comment = false; }
|
2490
|
+
|
2491
|
+
// child element accessors
|
2492
|
+
private:
|
2493
|
+
QString m_text;
|
2494
|
+
void clear(bool clear_all = true);
|
2495
|
+
|
2496
|
+
// attribute data
|
2497
|
+
QString m_attr_notr;
|
2498
|
+
bool m_has_attr_notr;
|
2499
|
+
|
2500
|
+
QString m_attr_comment;
|
2501
|
+
bool m_has_attr_comment;
|
2502
|
+
|
2503
|
+
// child element data
|
2504
|
+
|
2505
|
+
DomString(const DomString &other);
|
2506
|
+
void operator = (const DomString&other);
|
2507
|
+
};
|
2508
|
+
|
2509
|
+
class QDESIGNER_UILIB_EXPORT DomPointF {
|
2510
|
+
public:
|
2511
|
+
DomPointF();
|
2512
|
+
~DomPointF();
|
2513
|
+
|
2514
|
+
void read(const QDomElement &node);
|
2515
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2516
|
+
inline QString text() const { return m_text; }
|
2517
|
+
inline void setText(const QString &s) { m_text = s; }
|
2518
|
+
|
2519
|
+
// attribute accessors
|
2520
|
+
// child element accessors
|
2521
|
+
inline double elementX() const { return m_x; }
|
2522
|
+
void setElementX(double a);
|
2523
|
+
inline bool hasElementX() const { return m_children & X; }
|
2524
|
+
void clearElementX();
|
2525
|
+
|
2526
|
+
inline double elementY() const { return m_y; }
|
2527
|
+
void setElementY(double a);
|
2528
|
+
inline bool hasElementY() const { return m_children & Y; }
|
2529
|
+
void clearElementY();
|
2530
|
+
|
2531
|
+
private:
|
2532
|
+
QString m_text;
|
2533
|
+
void clear(bool clear_all = true);
|
2534
|
+
|
2535
|
+
// attribute data
|
2536
|
+
// child element data
|
2537
|
+
uint m_children;
|
2538
|
+
double m_x;
|
2539
|
+
double m_y;
|
2540
|
+
enum Child {
|
2541
|
+
X = 1,
|
2542
|
+
Y = 2
|
2543
|
+
};
|
2544
|
+
|
2545
|
+
DomPointF(const DomPointF &other);
|
2546
|
+
void operator = (const DomPointF&other);
|
2547
|
+
};
|
2548
|
+
|
2549
|
+
class QDESIGNER_UILIB_EXPORT DomRectF {
|
2550
|
+
public:
|
2551
|
+
DomRectF();
|
2552
|
+
~DomRectF();
|
2553
|
+
|
2554
|
+
void read(const QDomElement &node);
|
2555
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2556
|
+
inline QString text() const { return m_text; }
|
2557
|
+
inline void setText(const QString &s) { m_text = s; }
|
2558
|
+
|
2559
|
+
// attribute accessors
|
2560
|
+
// child element accessors
|
2561
|
+
inline double elementX() const { return m_x; }
|
2562
|
+
void setElementX(double a);
|
2563
|
+
inline bool hasElementX() const { return m_children & X; }
|
2564
|
+
void clearElementX();
|
2565
|
+
|
2566
|
+
inline double elementY() const { return m_y; }
|
2567
|
+
void setElementY(double a);
|
2568
|
+
inline bool hasElementY() const { return m_children & Y; }
|
2569
|
+
void clearElementY();
|
2570
|
+
|
2571
|
+
inline double elementWidth() const { return m_width; }
|
2572
|
+
void setElementWidth(double a);
|
2573
|
+
inline bool hasElementWidth() const { return m_children & Width; }
|
2574
|
+
void clearElementWidth();
|
2575
|
+
|
2576
|
+
inline double elementHeight() const { return m_height; }
|
2577
|
+
void setElementHeight(double a);
|
2578
|
+
inline bool hasElementHeight() const { return m_children & Height; }
|
2579
|
+
void clearElementHeight();
|
2580
|
+
|
2581
|
+
private:
|
2582
|
+
QString m_text;
|
2583
|
+
void clear(bool clear_all = true);
|
2584
|
+
|
2585
|
+
// attribute data
|
2586
|
+
// child element data
|
2587
|
+
uint m_children;
|
2588
|
+
double m_x;
|
2589
|
+
double m_y;
|
2590
|
+
double m_width;
|
2591
|
+
double m_height;
|
2592
|
+
enum Child {
|
2593
|
+
X = 1,
|
2594
|
+
Y = 2,
|
2595
|
+
Width = 4,
|
2596
|
+
Height = 8
|
2597
|
+
};
|
2598
|
+
|
2599
|
+
DomRectF(const DomRectF &other);
|
2600
|
+
void operator = (const DomRectF&other);
|
2601
|
+
};
|
2602
|
+
|
2603
|
+
class QDESIGNER_UILIB_EXPORT DomSizeF {
|
2604
|
+
public:
|
2605
|
+
DomSizeF();
|
2606
|
+
~DomSizeF();
|
2607
|
+
|
2608
|
+
void read(const QDomElement &node);
|
2609
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2610
|
+
inline QString text() const { return m_text; }
|
2611
|
+
inline void setText(const QString &s) { m_text = s; }
|
2612
|
+
|
2613
|
+
// attribute accessors
|
2614
|
+
// child element accessors
|
2615
|
+
inline double elementWidth() const { return m_width; }
|
2616
|
+
void setElementWidth(double a);
|
2617
|
+
inline bool hasElementWidth() const { return m_children & Width; }
|
2618
|
+
void clearElementWidth();
|
2619
|
+
|
2620
|
+
inline double elementHeight() const { return m_height; }
|
2621
|
+
void setElementHeight(double a);
|
2622
|
+
inline bool hasElementHeight() const { return m_children & Height; }
|
2623
|
+
void clearElementHeight();
|
2624
|
+
|
2625
|
+
private:
|
2626
|
+
QString m_text;
|
2627
|
+
void clear(bool clear_all = true);
|
2628
|
+
|
2629
|
+
// attribute data
|
2630
|
+
// child element data
|
2631
|
+
uint m_children;
|
2632
|
+
double m_width;
|
2633
|
+
double m_height;
|
2634
|
+
enum Child {
|
2635
|
+
Width = 1,
|
2636
|
+
Height = 2
|
2637
|
+
};
|
2638
|
+
|
2639
|
+
DomSizeF(const DomSizeF &other);
|
2640
|
+
void operator = (const DomSizeF&other);
|
2641
|
+
};
|
2642
|
+
|
2643
|
+
class QDESIGNER_UILIB_EXPORT DomChar {
|
2644
|
+
public:
|
2645
|
+
DomChar();
|
2646
|
+
~DomChar();
|
2647
|
+
|
2648
|
+
void read(const QDomElement &node);
|
2649
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2650
|
+
inline QString text() const { return m_text; }
|
2651
|
+
inline void setText(const QString &s) { m_text = s; }
|
2652
|
+
|
2653
|
+
// attribute accessors
|
2654
|
+
// child element accessors
|
2655
|
+
inline int elementUnicode() const { return m_unicode; }
|
2656
|
+
void setElementUnicode(int a);
|
2657
|
+
inline bool hasElementUnicode() const { return m_children & Unicode; }
|
2658
|
+
void clearElementUnicode();
|
2659
|
+
|
2660
|
+
private:
|
2661
|
+
QString m_text;
|
2662
|
+
void clear(bool clear_all = true);
|
2663
|
+
|
2664
|
+
// attribute data
|
2665
|
+
// child element data
|
2666
|
+
uint m_children;
|
2667
|
+
int m_unicode;
|
2668
|
+
enum Child {
|
2669
|
+
Unicode = 1
|
2670
|
+
};
|
2671
|
+
|
2672
|
+
DomChar(const DomChar &other);
|
2673
|
+
void operator = (const DomChar&other);
|
2674
|
+
};
|
2675
|
+
|
2676
|
+
class QDESIGNER_UILIB_EXPORT DomUrl {
|
2677
|
+
public:
|
2678
|
+
DomUrl();
|
2679
|
+
~DomUrl();
|
2680
|
+
|
2681
|
+
void read(const QDomElement &node);
|
2682
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2683
|
+
inline QString text() const { return m_text; }
|
2684
|
+
inline void setText(const QString &s) { m_text = s; }
|
2685
|
+
|
2686
|
+
// attribute accessors
|
2687
|
+
// child element accessors
|
2688
|
+
inline DomString* elementString() const { return m_string; }
|
2689
|
+
void setElementString(DomString* a);
|
2690
|
+
inline bool hasElementString() const { return m_children & String; }
|
2691
|
+
void clearElementString();
|
2692
|
+
|
2693
|
+
private:
|
2694
|
+
QString m_text;
|
2695
|
+
void clear(bool clear_all = true);
|
2696
|
+
|
2697
|
+
// attribute data
|
2698
|
+
// child element data
|
2699
|
+
uint m_children;
|
2700
|
+
DomString* m_string;
|
2701
|
+
enum Child {
|
2702
|
+
String = 1
|
2703
|
+
};
|
2704
|
+
|
2705
|
+
DomUrl(const DomUrl &other);
|
2706
|
+
void operator = (const DomUrl&other);
|
2707
|
+
};
|
2708
|
+
|
2709
|
+
class QDESIGNER_UILIB_EXPORT DomProperty {
|
2710
|
+
public:
|
2711
|
+
DomProperty();
|
2712
|
+
~DomProperty();
|
2713
|
+
|
2714
|
+
void read(const QDomElement &node);
|
2715
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2716
|
+
inline QString text() const { return m_text; }
|
2717
|
+
inline void setText(const QString &s) { m_text = s; }
|
2718
|
+
|
2719
|
+
// attribute accessors
|
2720
|
+
inline bool hasAttributeName() const { return m_has_attr_name; }
|
2721
|
+
inline QString attributeName() const { return m_attr_name; }
|
2722
|
+
inline void setAttributeName(const QString& a) { m_attr_name = a; m_has_attr_name = true; }
|
2723
|
+
inline void clearAttributeName() { m_has_attr_name = false; }
|
2724
|
+
|
2725
|
+
inline bool hasAttributeStdset() const { return m_has_attr_stdset; }
|
2726
|
+
inline int attributeStdset() const { return m_attr_stdset; }
|
2727
|
+
inline void setAttributeStdset(int a) { m_attr_stdset = a; m_has_attr_stdset = true; }
|
2728
|
+
inline void clearAttributeStdset() { m_has_attr_stdset = false; }
|
2729
|
+
|
2730
|
+
// child element accessors
|
2731
|
+
enum Kind { Unknown = 0, Bool, Color, Cstring, Cursor, CursorShape, Enum, Font, IconSet, Pixmap, Palette, Point, Rect, Set, Locale, SizePolicy, Size, String, StringList, Number, Float, Double, Date, Time, DateTime, PointF, RectF, SizeF, LongLong, Char, Url, UInt, ULongLong, Brush };
|
2732
|
+
inline Kind kind() const { return m_kind; }
|
2733
|
+
|
2734
|
+
inline QString elementBool() const { return m_bool; }
|
2735
|
+
void setElementBool(const QString& a);
|
2736
|
+
|
2737
|
+
inline DomColor* elementColor() const { return m_color; }
|
2738
|
+
void setElementColor(DomColor* a);
|
2739
|
+
|
2740
|
+
inline QString elementCstring() const { return m_cstring; }
|
2741
|
+
void setElementCstring(const QString& a);
|
2742
|
+
|
2743
|
+
inline int elementCursor() const { return m_cursor; }
|
2744
|
+
void setElementCursor(int a);
|
2745
|
+
|
2746
|
+
inline QString elementCursorShape() const { return m_cursorShape; }
|
2747
|
+
void setElementCursorShape(const QString& a);
|
2748
|
+
|
2749
|
+
inline QString elementEnum() const { return m_enum; }
|
2750
|
+
void setElementEnum(const QString& a);
|
2751
|
+
|
2752
|
+
inline DomFont* elementFont() const { return m_font; }
|
2753
|
+
void setElementFont(DomFont* a);
|
2754
|
+
|
2755
|
+
inline DomResourceIcon* elementIconSet() const { return m_iconSet; }
|
2756
|
+
void setElementIconSet(DomResourceIcon* a);
|
2757
|
+
|
2758
|
+
inline DomResourcePixmap* elementPixmap() const { return m_pixmap; }
|
2759
|
+
void setElementPixmap(DomResourcePixmap* a);
|
2760
|
+
|
2761
|
+
inline DomPalette* elementPalette() const { return m_palette; }
|
2762
|
+
void setElementPalette(DomPalette* a);
|
2763
|
+
|
2764
|
+
inline DomPoint* elementPoint() const { return m_point; }
|
2765
|
+
void setElementPoint(DomPoint* a);
|
2766
|
+
|
2767
|
+
inline DomRect* elementRect() const { return m_rect; }
|
2768
|
+
void setElementRect(DomRect* a);
|
2769
|
+
|
2770
|
+
inline QString elementSet() const { return m_set; }
|
2771
|
+
void setElementSet(const QString& a);
|
2772
|
+
|
2773
|
+
inline DomLocale* elementLocale() const { return m_locale; }
|
2774
|
+
void setElementLocale(DomLocale* a);
|
2775
|
+
|
2776
|
+
inline DomSizePolicy* elementSizePolicy() const { return m_sizePolicy; }
|
2777
|
+
void setElementSizePolicy(DomSizePolicy* a);
|
2778
|
+
|
2779
|
+
inline DomSize* elementSize() const { return m_size; }
|
2780
|
+
void setElementSize(DomSize* a);
|
2781
|
+
|
2782
|
+
inline DomString* elementString() const { return m_string; }
|
2783
|
+
void setElementString(DomString* a);
|
2784
|
+
|
2785
|
+
inline DomStringList* elementStringList() const { return m_stringList; }
|
2786
|
+
void setElementStringList(DomStringList* a);
|
2787
|
+
|
2788
|
+
inline int elementNumber() const { return m_number; }
|
2789
|
+
void setElementNumber(int a);
|
2790
|
+
|
2791
|
+
inline float elementFloat() const { return m_float; }
|
2792
|
+
void setElementFloat(float a);
|
2793
|
+
|
2794
|
+
inline double elementDouble() const { return m_double; }
|
2795
|
+
void setElementDouble(double a);
|
2796
|
+
|
2797
|
+
inline DomDate* elementDate() const { return m_date; }
|
2798
|
+
void setElementDate(DomDate* a);
|
2799
|
+
|
2800
|
+
inline DomTime* elementTime() const { return m_time; }
|
2801
|
+
void setElementTime(DomTime* a);
|
2802
|
+
|
2803
|
+
inline DomDateTime* elementDateTime() const { return m_dateTime; }
|
2804
|
+
void setElementDateTime(DomDateTime* a);
|
2805
|
+
|
2806
|
+
inline DomPointF* elementPointF() const { return m_pointF; }
|
2807
|
+
void setElementPointF(DomPointF* a);
|
2808
|
+
|
2809
|
+
inline DomRectF* elementRectF() const { return m_rectF; }
|
2810
|
+
void setElementRectF(DomRectF* a);
|
2811
|
+
|
2812
|
+
inline DomSizeF* elementSizeF() const { return m_sizeF; }
|
2813
|
+
void setElementSizeF(DomSizeF* a);
|
2814
|
+
|
2815
|
+
inline qlonglong elementLongLong() const { return m_longLong; }
|
2816
|
+
void setElementLongLong(qlonglong a);
|
2817
|
+
|
2818
|
+
inline DomChar* elementChar() const { return m_char; }
|
2819
|
+
void setElementChar(DomChar* a);
|
2820
|
+
|
2821
|
+
inline DomUrl* elementUrl() const { return m_url; }
|
2822
|
+
void setElementUrl(DomUrl* a);
|
2823
|
+
|
2824
|
+
inline uint elementUInt() const { return m_uInt; }
|
2825
|
+
void setElementUInt(uint a);
|
2826
|
+
|
2827
|
+
inline qulonglong elementULongLong() const { return m_uLongLong; }
|
2828
|
+
void setElementULongLong(qulonglong a);
|
2829
|
+
|
2830
|
+
inline DomBrush* elementBrush() const { return m_brush; }
|
2831
|
+
void setElementBrush(DomBrush* a);
|
2832
|
+
|
2833
|
+
private:
|
2834
|
+
QString m_text;
|
2835
|
+
void clear(bool clear_all = true);
|
2836
|
+
|
2837
|
+
// attribute data
|
2838
|
+
QString m_attr_name;
|
2839
|
+
bool m_has_attr_name;
|
2840
|
+
|
2841
|
+
int m_attr_stdset;
|
2842
|
+
bool m_has_attr_stdset;
|
2843
|
+
|
2844
|
+
// child element data
|
2845
|
+
Kind m_kind;
|
2846
|
+
QString m_bool;
|
2847
|
+
DomColor* m_color;
|
2848
|
+
QString m_cstring;
|
2849
|
+
int m_cursor;
|
2850
|
+
QString m_cursorShape;
|
2851
|
+
QString m_enum;
|
2852
|
+
DomFont* m_font;
|
2853
|
+
DomResourceIcon* m_iconSet;
|
2854
|
+
DomResourcePixmap* m_pixmap;
|
2855
|
+
DomPalette* m_palette;
|
2856
|
+
DomPoint* m_point;
|
2857
|
+
DomRect* m_rect;
|
2858
|
+
QString m_set;
|
2859
|
+
DomLocale* m_locale;
|
2860
|
+
DomSizePolicy* m_sizePolicy;
|
2861
|
+
DomSize* m_size;
|
2862
|
+
DomString* m_string;
|
2863
|
+
DomStringList* m_stringList;
|
2864
|
+
int m_number;
|
2865
|
+
float m_float;
|
2866
|
+
double m_double;
|
2867
|
+
DomDate* m_date;
|
2868
|
+
DomTime* m_time;
|
2869
|
+
DomDateTime* m_dateTime;
|
2870
|
+
DomPointF* m_pointF;
|
2871
|
+
DomRectF* m_rectF;
|
2872
|
+
DomSizeF* m_sizeF;
|
2873
|
+
qlonglong m_longLong;
|
2874
|
+
DomChar* m_char;
|
2875
|
+
DomUrl* m_url;
|
2876
|
+
uint m_uInt;
|
2877
|
+
qulonglong m_uLongLong;
|
2878
|
+
DomBrush* m_brush;
|
2879
|
+
|
2880
|
+
DomProperty(const DomProperty &other);
|
2881
|
+
void operator = (const DomProperty&other);
|
2882
|
+
};
|
2883
|
+
|
2884
|
+
class QDESIGNER_UILIB_EXPORT DomConnections {
|
2885
|
+
public:
|
2886
|
+
DomConnections();
|
2887
|
+
~DomConnections();
|
2888
|
+
|
2889
|
+
void read(const QDomElement &node);
|
2890
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2891
|
+
inline QString text() const { return m_text; }
|
2892
|
+
inline void setText(const QString &s) { m_text = s; }
|
2893
|
+
|
2894
|
+
// attribute accessors
|
2895
|
+
// child element accessors
|
2896
|
+
inline QList<DomConnection*> elementConnection() const { return m_connection; }
|
2897
|
+
void setElementConnection(const QList<DomConnection*>& a);
|
2898
|
+
|
2899
|
+
private:
|
2900
|
+
QString m_text;
|
2901
|
+
void clear(bool clear_all = true);
|
2902
|
+
|
2903
|
+
// attribute data
|
2904
|
+
// child element data
|
2905
|
+
QList<DomConnection*> m_connection;
|
2906
|
+
|
2907
|
+
DomConnections(const DomConnections &other);
|
2908
|
+
void operator = (const DomConnections&other);
|
2909
|
+
};
|
2910
|
+
|
2911
|
+
class QDESIGNER_UILIB_EXPORT DomConnection {
|
2912
|
+
public:
|
2913
|
+
DomConnection();
|
2914
|
+
~DomConnection();
|
2915
|
+
|
2916
|
+
void read(const QDomElement &node);
|
2917
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2918
|
+
inline QString text() const { return m_text; }
|
2919
|
+
inline void setText(const QString &s) { m_text = s; }
|
2920
|
+
|
2921
|
+
// attribute accessors
|
2922
|
+
// child element accessors
|
2923
|
+
inline QString elementSender() const { return m_sender; }
|
2924
|
+
void setElementSender(const QString& a);
|
2925
|
+
inline bool hasElementSender() const { return m_children & Sender; }
|
2926
|
+
void clearElementSender();
|
2927
|
+
|
2928
|
+
inline QString elementSignal() const { return m_signal; }
|
2929
|
+
void setElementSignal(const QString& a);
|
2930
|
+
inline bool hasElementSignal() const { return m_children & Signal; }
|
2931
|
+
void clearElementSignal();
|
2932
|
+
|
2933
|
+
inline QString elementReceiver() const { return m_receiver; }
|
2934
|
+
void setElementReceiver(const QString& a);
|
2935
|
+
inline bool hasElementReceiver() const { return m_children & Receiver; }
|
2936
|
+
void clearElementReceiver();
|
2937
|
+
|
2938
|
+
inline QString elementSlot() const { return m_slot; }
|
2939
|
+
void setElementSlot(const QString& a);
|
2940
|
+
inline bool hasElementSlot() const { return m_children & Slot; }
|
2941
|
+
void clearElementSlot();
|
2942
|
+
|
2943
|
+
inline DomConnectionHints* elementHints() const { return m_hints; }
|
2944
|
+
void setElementHints(DomConnectionHints* a);
|
2945
|
+
inline bool hasElementHints() const { return m_children & Hints; }
|
2946
|
+
void clearElementHints();
|
2947
|
+
|
2948
|
+
private:
|
2949
|
+
QString m_text;
|
2950
|
+
void clear(bool clear_all = true);
|
2951
|
+
|
2952
|
+
// attribute data
|
2953
|
+
// child element data
|
2954
|
+
uint m_children;
|
2955
|
+
QString m_sender;
|
2956
|
+
QString m_signal;
|
2957
|
+
QString m_receiver;
|
2958
|
+
QString m_slot;
|
2959
|
+
DomConnectionHints* m_hints;
|
2960
|
+
enum Child {
|
2961
|
+
Sender = 1,
|
2962
|
+
Signal = 2,
|
2963
|
+
Receiver = 4,
|
2964
|
+
Slot = 8,
|
2965
|
+
Hints = 16
|
2966
|
+
};
|
2967
|
+
|
2968
|
+
DomConnection(const DomConnection &other);
|
2969
|
+
void operator = (const DomConnection&other);
|
2970
|
+
};
|
2971
|
+
|
2972
|
+
class QDESIGNER_UILIB_EXPORT DomConnectionHints {
|
2973
|
+
public:
|
2974
|
+
DomConnectionHints();
|
2975
|
+
~DomConnectionHints();
|
2976
|
+
|
2977
|
+
void read(const QDomElement &node);
|
2978
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
2979
|
+
inline QString text() const { return m_text; }
|
2980
|
+
inline void setText(const QString &s) { m_text = s; }
|
2981
|
+
|
2982
|
+
// attribute accessors
|
2983
|
+
// child element accessors
|
2984
|
+
inline QList<DomConnectionHint*> elementHint() const { return m_hint; }
|
2985
|
+
void setElementHint(const QList<DomConnectionHint*>& a);
|
2986
|
+
|
2987
|
+
private:
|
2988
|
+
QString m_text;
|
2989
|
+
void clear(bool clear_all = true);
|
2990
|
+
|
2991
|
+
// attribute data
|
2992
|
+
// child element data
|
2993
|
+
QList<DomConnectionHint*> m_hint;
|
2994
|
+
|
2995
|
+
DomConnectionHints(const DomConnectionHints &other);
|
2996
|
+
void operator = (const DomConnectionHints&other);
|
2997
|
+
};
|
2998
|
+
|
2999
|
+
class QDESIGNER_UILIB_EXPORT DomConnectionHint {
|
3000
|
+
public:
|
3001
|
+
DomConnectionHint();
|
3002
|
+
~DomConnectionHint();
|
3003
|
+
|
3004
|
+
void read(const QDomElement &node);
|
3005
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
3006
|
+
inline QString text() const { return m_text; }
|
3007
|
+
inline void setText(const QString &s) { m_text = s; }
|
3008
|
+
|
3009
|
+
// attribute accessors
|
3010
|
+
inline bool hasAttributeType() const { return m_has_attr_type; }
|
3011
|
+
inline QString attributeType() const { return m_attr_type; }
|
3012
|
+
inline void setAttributeType(const QString& a) { m_attr_type = a; m_has_attr_type = true; }
|
3013
|
+
inline void clearAttributeType() { m_has_attr_type = false; }
|
3014
|
+
|
3015
|
+
// child element accessors
|
3016
|
+
inline int elementX() const { return m_x; }
|
3017
|
+
void setElementX(int a);
|
3018
|
+
inline bool hasElementX() const { return m_children & X; }
|
3019
|
+
void clearElementX();
|
3020
|
+
|
3021
|
+
inline int elementY() const { return m_y; }
|
3022
|
+
void setElementY(int a);
|
3023
|
+
inline bool hasElementY() const { return m_children & Y; }
|
3024
|
+
void clearElementY();
|
3025
|
+
|
3026
|
+
private:
|
3027
|
+
QString m_text;
|
3028
|
+
void clear(bool clear_all = true);
|
3029
|
+
|
3030
|
+
// attribute data
|
3031
|
+
QString m_attr_type;
|
3032
|
+
bool m_has_attr_type;
|
3033
|
+
|
3034
|
+
// child element data
|
3035
|
+
uint m_children;
|
3036
|
+
int m_x;
|
3037
|
+
int m_y;
|
3038
|
+
enum Child {
|
3039
|
+
X = 1,
|
3040
|
+
Y = 2
|
3041
|
+
};
|
3042
|
+
|
3043
|
+
DomConnectionHint(const DomConnectionHint &other);
|
3044
|
+
void operator = (const DomConnectionHint&other);
|
3045
|
+
};
|
3046
|
+
|
3047
|
+
class QDESIGNER_UILIB_EXPORT DomScript {
|
3048
|
+
public:
|
3049
|
+
DomScript();
|
3050
|
+
~DomScript();
|
3051
|
+
|
3052
|
+
void read(const QDomElement &node);
|
3053
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
3054
|
+
inline QString text() const { return m_text; }
|
3055
|
+
inline void setText(const QString &s) { m_text = s; }
|
3056
|
+
|
3057
|
+
// attribute accessors
|
3058
|
+
inline bool hasAttributeSource() const { return m_has_attr_source; }
|
3059
|
+
inline QString attributeSource() const { return m_attr_source; }
|
3060
|
+
inline void setAttributeSource(const QString& a) { m_attr_source = a; m_has_attr_source = true; }
|
3061
|
+
inline void clearAttributeSource() { m_has_attr_source = false; }
|
3062
|
+
|
3063
|
+
inline bool hasAttributeLanguage() const { return m_has_attr_language; }
|
3064
|
+
inline QString attributeLanguage() const { return m_attr_language; }
|
3065
|
+
inline void setAttributeLanguage(const QString& a) { m_attr_language = a; m_has_attr_language = true; }
|
3066
|
+
inline void clearAttributeLanguage() { m_has_attr_language = false; }
|
3067
|
+
|
3068
|
+
// child element accessors
|
3069
|
+
private:
|
3070
|
+
QString m_text;
|
3071
|
+
void clear(bool clear_all = true);
|
3072
|
+
|
3073
|
+
// attribute data
|
3074
|
+
QString m_attr_source;
|
3075
|
+
bool m_has_attr_source;
|
3076
|
+
|
3077
|
+
QString m_attr_language;
|
3078
|
+
bool m_has_attr_language;
|
3079
|
+
|
3080
|
+
// child element data
|
3081
|
+
|
3082
|
+
DomScript(const DomScript &other);
|
3083
|
+
void operator = (const DomScript&other);
|
3084
|
+
};
|
3085
|
+
|
3086
|
+
class QDESIGNER_UILIB_EXPORT DomWidgetData {
|
3087
|
+
public:
|
3088
|
+
DomWidgetData();
|
3089
|
+
~DomWidgetData();
|
3090
|
+
|
3091
|
+
void read(const QDomElement &node);
|
3092
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
3093
|
+
inline QString text() const { return m_text; }
|
3094
|
+
inline void setText(const QString &s) { m_text = s; }
|
3095
|
+
|
3096
|
+
// attribute accessors
|
3097
|
+
// child element accessors
|
3098
|
+
inline QList<DomProperty*> elementProperty() const { return m_property; }
|
3099
|
+
void setElementProperty(const QList<DomProperty*>& a);
|
3100
|
+
|
3101
|
+
private:
|
3102
|
+
QString m_text;
|
3103
|
+
void clear(bool clear_all = true);
|
3104
|
+
|
3105
|
+
// attribute data
|
3106
|
+
// child element data
|
3107
|
+
QList<DomProperty*> m_property;
|
3108
|
+
|
3109
|
+
DomWidgetData(const DomWidgetData &other);
|
3110
|
+
void operator = (const DomWidgetData&other);
|
3111
|
+
};
|
3112
|
+
|
3113
|
+
class QDESIGNER_UILIB_EXPORT DomDesignerData {
|
3114
|
+
public:
|
3115
|
+
DomDesignerData();
|
3116
|
+
~DomDesignerData();
|
3117
|
+
|
3118
|
+
void read(const QDomElement &node);
|
3119
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
3120
|
+
inline QString text() const { return m_text; }
|
3121
|
+
inline void setText(const QString &s) { m_text = s; }
|
3122
|
+
|
3123
|
+
// attribute accessors
|
3124
|
+
// child element accessors
|
3125
|
+
inline QList<DomProperty*> elementProperty() const { return m_property; }
|
3126
|
+
void setElementProperty(const QList<DomProperty*>& a);
|
3127
|
+
|
3128
|
+
private:
|
3129
|
+
QString m_text;
|
3130
|
+
void clear(bool clear_all = true);
|
3131
|
+
|
3132
|
+
// attribute data
|
3133
|
+
// child element data
|
3134
|
+
QList<DomProperty*> m_property;
|
3135
|
+
|
3136
|
+
DomDesignerData(const DomDesignerData &other);
|
3137
|
+
void operator = (const DomDesignerData&other);
|
3138
|
+
};
|
3139
|
+
|
3140
|
+
class QDESIGNER_UILIB_EXPORT DomSlots {
|
3141
|
+
public:
|
3142
|
+
DomSlots();
|
3143
|
+
~DomSlots();
|
3144
|
+
|
3145
|
+
void read(const QDomElement &node);
|
3146
|
+
QDomElement write(QDomDocument &doc, const QString &tagName = QString()) const;
|
3147
|
+
inline QString text() const { return m_text; }
|
3148
|
+
inline void setText(const QString &s) { m_text = s; }
|
3149
|
+
|
3150
|
+
// attribute accessors
|
3151
|
+
// child element accessors
|
3152
|
+
inline QStringList elementSlot() const { return m_slot; }
|
3153
|
+
void setElementSlot(const QStringList& a);
|
3154
|
+
|
3155
|
+
inline QStringList elementSignal() const { return m_signal; }
|
3156
|
+
void setElementSignal(const QStringList& a);
|
3157
|
+
|
3158
|
+
private:
|
3159
|
+
QString m_text;
|
3160
|
+
void clear(bool clear_all = true);
|
3161
|
+
|
3162
|
+
// attribute data
|
3163
|
+
// child element data
|
3164
|
+
QStringList m_slot;
|
3165
|
+
QStringList m_signal;
|
3166
|
+
|
3167
|
+
DomSlots(const DomSlots &other);
|
3168
|
+
void operator = (const DomSlots&other);
|
3169
|
+
};
|
3170
|
+
|
3171
|
+
|
3172
|
+
#ifdef QFORMINTERNAL_NAMESPACE
|
3173
|
+
}
|
3174
|
+
#endif
|
3175
|
+
|
3176
|
+
#if defined(QT_END_NAMESPACE)
|
3177
|
+
QT_END_NAMESPACE
|
3178
|
+
#endif
|
3179
|
+
|
3180
|
+
#endif // UI4_H
|