qtbindings 4.8.6.1-x64-mingw32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.txt +48 -0
- data/COPYING.LIB.txt +510 -0
- data/COPYING.txt +286 -0
- data/KNOWN_ISSUES.txt +17 -0
- data/Rakefile +121 -0
- data/TODO.txt +2 -0
- data/bin/2.0/rbrcc.exe +0 -0
- data/bin/2.0/rbuic4.exe +0 -0
- data/bin/2.0/smokeapi.exe +0 -0
- data/bin/2.0/smokedeptool.exe +0 -0
- data/bin/2.1/rbrcc.exe +0 -0
- data/bin/2.1/rbuic4.exe +0 -0
- data/bin/2.1/smokeapi.exe +0 -0
- data/bin/2.1/smokedeptool.exe +0 -0
- data/bin/2.2/rbrcc.exe +0 -0
- data/bin/2.2/rbuic4.exe +0 -0
- data/bin/2.2/smokeapi.exe +0 -0
- data/bin/2.2/smokedeptool.exe +0 -0
- data/bin/rbqtapi +152 -0
- data/bin/rbrcc +14 -0
- data/bin/rbuic4 +14 -0
- data/bin/smokeapi +14 -0
- data/bin/smokedeptool +14 -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 +157 -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 +219 -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 +99 -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 +72 -0
- data/examples/network/fortuneclient/client.rb +149 -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 +259 -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 +369 -0
- data/examples/painting/fontsampler/mainwindowbase.ui +136 -0
- data/examples/painting/fontsampler/makefile +8 -0
- data/examples/painting/fontsampler/previewdialog.rb +257 -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/LICENSE.txt +58 -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 +15 -0
- data/examples/threading/main_thread.rb +19 -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/extconf.rb +256 -0
- data/lib/2.0/libqtruby4shared.dll +0 -0
- data/lib/2.0/libsmokebase.dll +0 -0
- data/lib/2.0/libsmokeqtcore.dll +0 -0
- data/lib/2.0/libsmokeqtdeclarative.dll +0 -0
- data/lib/2.0/libsmokeqtgui.dll +0 -0
- data/lib/2.0/libsmokeqthelp.dll +0 -0
- data/lib/2.0/libsmokeqtmultimedia.dll +0 -0
- data/lib/2.0/libsmokeqtnetwork.dll +0 -0
- data/lib/2.0/libsmokeqtopengl.dll +0 -0
- data/lib/2.0/libsmokeqtscript.dll +0 -0
- data/lib/2.0/libsmokeqtsql.dll +0 -0
- data/lib/2.0/libsmokeqtsvg.dll +0 -0
- data/lib/2.0/libsmokeqttest.dll +0 -0
- data/lib/2.0/libsmokeqtuitools.dll +0 -0
- data/lib/2.0/libsmokeqtwebkit.dll +0 -0
- data/lib/2.0/libsmokeqtxml.dll +0 -0
- data/lib/2.0/libsmokeqtxmlpatterns.dll +0 -0
- data/lib/2.0/qtdeclarative.so +0 -0
- data/lib/2.0/qtruby4.so +0 -0
- data/lib/2.0/qtscript.so +0 -0
- data/lib/2.0/qttest.so +0 -0
- data/lib/2.0/qtuitools.so +0 -0
- data/lib/2.0/qtwebkit.so +0 -0
- data/lib/2.1/libqtruby4shared.dll +0 -0
- data/lib/2.1/libsmokebase.dll +0 -0
- data/lib/2.1/libsmokeqtcore.dll +0 -0
- data/lib/2.1/libsmokeqtdeclarative.dll +0 -0
- data/lib/2.1/libsmokeqtgui.dll +0 -0
- data/lib/2.1/libsmokeqthelp.dll +0 -0
- data/lib/2.1/libsmokeqtmultimedia.dll +0 -0
- data/lib/2.1/libsmokeqtnetwork.dll +0 -0
- data/lib/2.1/libsmokeqtopengl.dll +0 -0
- data/lib/2.1/libsmokeqtscript.dll +0 -0
- data/lib/2.1/libsmokeqtsql.dll +0 -0
- data/lib/2.1/libsmokeqtsvg.dll +0 -0
- data/lib/2.1/libsmokeqttest.dll +0 -0
- data/lib/2.1/libsmokeqtuitools.dll +0 -0
- data/lib/2.1/libsmokeqtwebkit.dll +0 -0
- data/lib/2.1/libsmokeqtxml.dll +0 -0
- data/lib/2.1/libsmokeqtxmlpatterns.dll +0 -0
- data/lib/2.1/qtdeclarative.so +0 -0
- data/lib/2.1/qtruby4.so +0 -0
- data/lib/2.1/qtscript.so +0 -0
- data/lib/2.1/qttest.so +0 -0
- data/lib/2.1/qtuitools.so +0 -0
- data/lib/2.1/qtwebkit.so +0 -0
- data/lib/2.2/libqtruby4shared.dll +0 -0
- data/lib/2.2/libsmokebase.dll +0 -0
- data/lib/2.2/libsmokeqtcore.dll +0 -0
- data/lib/2.2/libsmokeqtdeclarative.dll +0 -0
- data/lib/2.2/libsmokeqtgui.dll +0 -0
- data/lib/2.2/libsmokeqthelp.dll +0 -0
- data/lib/2.2/libsmokeqtmultimedia.dll +0 -0
- data/lib/2.2/libsmokeqtnetwork.dll +0 -0
- data/lib/2.2/libsmokeqtopengl.dll +0 -0
- data/lib/2.2/libsmokeqtscript.dll +0 -0
- data/lib/2.2/libsmokeqtsql.dll +0 -0
- data/lib/2.2/libsmokeqtsvg.dll +0 -0
- data/lib/2.2/libsmokeqttest.dll +0 -0
- data/lib/2.2/libsmokeqtuitools.dll +0 -0
- data/lib/2.2/libsmokeqtwebkit.dll +0 -0
- data/lib/2.2/libsmokeqtxml.dll +0 -0
- data/lib/2.2/libsmokeqtxmlpatterns.dll +0 -0
- data/lib/2.2/qtdeclarative.so +0 -0
- data/lib/2.2/qtruby4.so +0 -0
- data/lib/2.2/qtscript.so +0 -0
- data/lib/2.2/qttest.so +0 -0
- data/lib/2.2/qtuitools.so +0 -0
- data/lib/2.2/qtwebkit.so +0 -0
- data/lib/Qt.rb +1 -0
- data/lib/Qt/qtruby4.rb +3258 -0
- data/lib/Qt4.rb +111 -0
- data/lib/qtbindings_version.rb +2 -0
- data/lib/qtdeclarative/qtdeclarative.rb +17 -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 +19 -0
- metadata +559 -0
data/lib/Qt4.rb
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
windows = false
|
2
|
+
platform = RUBY_PLATFORM.split("-")[1]
|
3
|
+
windows = true if platform =~ /mswin32/ or platform =~ /mingw32/
|
4
|
+
|
5
|
+
begin
|
6
|
+
require 'thread'
|
7
|
+
require 'qtbindings-qt'
|
8
|
+
rescue LoadError
|
9
|
+
# Oh well - Hopefully not using the Windows binary gem
|
10
|
+
end
|
11
|
+
|
12
|
+
ruby_version = RUBY_VERSION.split('.')[0..1].join('.')
|
13
|
+
if windows
|
14
|
+
ENV['PATH'] = File.join(File.dirname(__FILE__), '../bin') + ';' + File.join(File.dirname(__FILE__), "../lib/#{ruby_version}") + ';' + File.join(File.dirname(__FILE__), "../bin/#{ruby_version}") + ';' + ENV['PATH']
|
15
|
+
end
|
16
|
+
$: << File.join(File.dirname(__FILE__), "../lib/#{ruby_version}")
|
17
|
+
require "#{ruby_version}/qtruby4"
|
18
|
+
|
19
|
+
module Qt
|
20
|
+
class RubyThreadFix < Qt::Object
|
21
|
+
slots 'ruby_thread_timeout()'
|
22
|
+
slots 'callback_timeout()'
|
23
|
+
slots 'callback_timeout2()'
|
24
|
+
@@queue = Queue.new
|
25
|
+
|
26
|
+
def initialize
|
27
|
+
super()
|
28
|
+
# Enable threading
|
29
|
+
@ruby_thread_sleep_period = 0.01
|
30
|
+
@ruby_thread_timer = Qt::Timer.new(self)
|
31
|
+
connect(@ruby_thread_timer, SIGNAL('timeout()'), SLOT('ruby_thread_timeout()'))
|
32
|
+
@ruby_thread_timer.start(0)
|
33
|
+
@callback_timer = Qt::Timer.new(self)
|
34
|
+
connect(@callback_timer, SIGNAL('timeout()'), SLOT('callback_timeout()'))
|
35
|
+
@callback_timer.start(1)
|
36
|
+
@callback_timer2 = Qt::Timer.new(self)
|
37
|
+
connect(@callback_timer2, SIGNAL('timeout()'), SLOT('callback_timeout2()'))
|
38
|
+
@running = true
|
39
|
+
end
|
40
|
+
|
41
|
+
def ruby_thread_timeout
|
42
|
+
sleep(@ruby_thread_sleep_period)
|
43
|
+
end
|
44
|
+
|
45
|
+
def callback_timeout
|
46
|
+
if !@@queue.empty?
|
47
|
+
# Start a backup timer in case this one goes modal.
|
48
|
+
@callback_timer2.start(100)
|
49
|
+
@@queue.pop.call until @@queue.empty?
|
50
|
+
# Cancel the backup timer
|
51
|
+
@callback_timer2.stop if @callback_timer2
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def callback_timeout2
|
56
|
+
@callback_timer2.interval = 10
|
57
|
+
@@queue.pop.call until @@queue.empty?
|
58
|
+
end
|
59
|
+
|
60
|
+
def self.queue
|
61
|
+
@@queue
|
62
|
+
end
|
63
|
+
|
64
|
+
def stop
|
65
|
+
if @running
|
66
|
+
@running = false
|
67
|
+
@ruby_thread_timer.stop
|
68
|
+
@callback_timer.stop
|
69
|
+
@callback_timer2.stop
|
70
|
+
@ruby_thread_timer.dispose
|
71
|
+
@callback_timer.dispose
|
72
|
+
@callback_timer2.dispose
|
73
|
+
@ruby_thread_timer = nil
|
74
|
+
@callback_timer = nil
|
75
|
+
@callback_timer2 = nil
|
76
|
+
end
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
# Code which accesses the GUI must be executed in the main QT GUI thread.
|
81
|
+
# This method allows code in another thread to execute safely in the main GUI
|
82
|
+
# thread. By default it will block the main GUI thread until the code in the
|
83
|
+
# block completes althought this can be changed by passing false for the
|
84
|
+
# first parameter.
|
85
|
+
#
|
86
|
+
# @param blocking [Boolean] Whether to block the main thread until the code
|
87
|
+
# in the block finishing executing. If false the main thread will be
|
88
|
+
# allowed to continue and the block code will execute in parallel.
|
89
|
+
# @param sleep_period [Float] The amount of time to sleep between checking
|
90
|
+
# whether the code in the block has finished executing
|
91
|
+
# @param delay_execution [Boolean] Only used if called from the main GUI
|
92
|
+
# thread. Allows the block to be executed in parallel with the main thread.
|
93
|
+
def self.execute_in_main_thread (blocking = true, sleep_period = 0.001, delay_execution = false)
|
94
|
+
if Thread.current != Thread.main
|
95
|
+
complete = false
|
96
|
+
RubyThreadFix.queue << lambda {|| yield; complete = true}
|
97
|
+
if blocking
|
98
|
+
until complete
|
99
|
+
sleep(sleep_period)
|
100
|
+
end
|
101
|
+
end
|
102
|
+
else
|
103
|
+
if delay_execution
|
104
|
+
RubyThreadFix.queue << lambda {|| yield; complete = true}
|
105
|
+
else
|
106
|
+
yield
|
107
|
+
end
|
108
|
+
end
|
109
|
+
end
|
110
|
+
|
111
|
+
end # module Qt
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
|
3
|
+
module QtDeclarative
|
4
|
+
module Internal
|
5
|
+
def self.init_all_classes
|
6
|
+
getClassList.each do |c|
|
7
|
+
classname = Qt::Internal::normalize_classname(c)
|
8
|
+
id = Qt::Internal::findClass(c);
|
9
|
+
Qt::Internal::insert_pclassid(classname, id)
|
10
|
+
Qt::Internal::cpp_names[classname] = c
|
11
|
+
klass = Qt::Internal::isQObject(c) ? Qt::Internal::create_qobject_class(classname, Qt) \
|
12
|
+
: Qt::Internal::create_qt_class(classname, Qt)
|
13
|
+
Qt::Internal::classes[classname] = klass unless klass.nil?
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=begin
|
2
|
+
/***************************************************************************
|
3
|
+
qtscript.rb - QtScript ruby client lib
|
4
|
+
-------------------
|
5
|
+
begin : 11-07-2008
|
6
|
+
copyright : (C) 2008 by Richard Dale
|
7
|
+
email : richard.j.dale@gmail.com
|
8
|
+
***************************************************************************/
|
9
|
+
|
10
|
+
/***************************************************************************
|
11
|
+
* *
|
12
|
+
* This program is free software; you can redistribute it and/or modify *
|
13
|
+
* it under the terms of the GNU General Public License as published by *
|
14
|
+
* the Free Software Foundation; either version 2 of the License, or *
|
15
|
+
* (at your option) any later version. *
|
16
|
+
* *
|
17
|
+
***************************************************************************/
|
18
|
+
=end
|
19
|
+
|
20
|
+
module QtScript
|
21
|
+
module Internal
|
22
|
+
def self.init_all_classes
|
23
|
+
# Qt::Internal::add_normalize_proc(Proc.new do |classname|
|
24
|
+
# if classname =~ /^QtScript/
|
25
|
+
# now = classname.sub(/^QtScript?(?=[A-Z])/,'QtScript::')
|
26
|
+
# end
|
27
|
+
# now
|
28
|
+
# end)
|
29
|
+
getClassList.each do |c|
|
30
|
+
classname = Qt::Internal::normalize_classname(c)
|
31
|
+
id = Qt::Internal::findClass(c);
|
32
|
+
Qt::Internal::insert_pclassid(classname, id)
|
33
|
+
Qt::Internal::cpp_names[classname] = c
|
34
|
+
klass = Qt::Internal::isQObject(c) ? Qt::Internal::create_qobject_class(classname, Qt) \
|
35
|
+
: Qt::Internal::create_qt_class(classname, Qt)
|
36
|
+
Qt::Internal::classes[classname] = klass unless klass.nil?
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
@@ -0,0 +1,166 @@
|
|
1
|
+
=begin
|
2
|
+
/***************************************************************************
|
3
|
+
qttest.rb - QtTest ruby client lib
|
4
|
+
-------------------
|
5
|
+
begin : 29-10-2008
|
6
|
+
copyright : (C) 2008 by Richard Dale
|
7
|
+
email : richard.j.dale@gmail.com
|
8
|
+
***************************************************************************/
|
9
|
+
|
10
|
+
/***************************************************************************
|
11
|
+
* *
|
12
|
+
* This program is free software; you can redistribute it and/or modify *
|
13
|
+
* it under the terms of the GNU General Public License as published by *
|
14
|
+
* the Free Software Foundation; either version 2 of the License, or *
|
15
|
+
* (at your option) any later version. *
|
16
|
+
* *
|
17
|
+
***************************************************************************/
|
18
|
+
=end
|
19
|
+
|
20
|
+
module QtTest
|
21
|
+
module Internal
|
22
|
+
def self.init_all_classes
|
23
|
+
getClassList.each do |c|
|
24
|
+
classname = Qt::Internal::normalize_classname(c)
|
25
|
+
id = Qt::Internal::findClass(c);
|
26
|
+
Qt::Internal::insert_pclassid(classname, id)
|
27
|
+
Qt::Internal::cpp_names[classname] = c
|
28
|
+
klass = Qt::Internal::isQObject(c) ? Qt::Internal::create_qobject_class(classname, Qt) : Qt::Internal::create_qt_class(classname, Qt)
|
29
|
+
Qt::Internal::classes[classname] = klass unless klass.nil?
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
module Qt
|
36
|
+
class Test < Base
|
37
|
+
|
38
|
+
# This is the isValidSlot() function in testlib/qtestcase.cpp translated
|
39
|
+
# to Ruby. Probably could be a bit shorter in Ruby..
|
40
|
+
def self.validSlot?(sl)
|
41
|
+
if sl.access != Qt::MetaMethod::Private || !sl.parameterTypes.empty? ||
|
42
|
+
sl.typeName != "" || sl.methodType != Qt::MetaMethod::Slot
|
43
|
+
return false
|
44
|
+
end
|
45
|
+
|
46
|
+
sig = sl.signature
|
47
|
+
len = sig.length
|
48
|
+
|
49
|
+
if len < 2
|
50
|
+
return false
|
51
|
+
end
|
52
|
+
|
53
|
+
if sig[len - 2, 1] != '(' || sig[len - 1, 1] != ')'
|
54
|
+
return false
|
55
|
+
end
|
56
|
+
|
57
|
+
if len > 7 && sig[len - 7, len] == "_data()"
|
58
|
+
return false
|
59
|
+
end
|
60
|
+
|
61
|
+
if sig == "initTestCase()" || sig == "cleanupTestCase()" ||
|
62
|
+
sig == "cleanup()" || sig == "init()"
|
63
|
+
return false
|
64
|
+
end
|
65
|
+
|
66
|
+
return true
|
67
|
+
end
|
68
|
+
|
69
|
+
def self.current_binding
|
70
|
+
@@current_binding
|
71
|
+
end
|
72
|
+
|
73
|
+
def self.current_binding=(b)
|
74
|
+
@@current_binding = b
|
75
|
+
end
|
76
|
+
|
77
|
+
def self.qExec(*args)
|
78
|
+
test_functions = []
|
79
|
+
meta = args[0].metaObject
|
80
|
+
className = meta.className
|
81
|
+
for i in 0...meta.methodCount
|
82
|
+
sl = meta.method(i)
|
83
|
+
if Test.validSlot?(sl)
|
84
|
+
test_functions << sl.signature.sub("()", "").to_sym
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
# Trap calls to the test functions and save their binding, so that
|
89
|
+
# the various test methods, like QVERIFY(), can evaluate the code strings
|
90
|
+
# passed to them in the context of the test function
|
91
|
+
trace_func = set_trace_func proc { |event, file, line, id, binding, klass|
|
92
|
+
if event == 'call' && klass.name == className && test_functions.include?(id)
|
93
|
+
Test.current_binding = binding
|
94
|
+
end
|
95
|
+
}
|
96
|
+
|
97
|
+
if args.length == 2 && args[1].kind_of?(Array)
|
98
|
+
super(args[0], args[1].length + 1, [$0] + args[1])
|
99
|
+
else
|
100
|
+
super(*args)
|
101
|
+
end
|
102
|
+
|
103
|
+
set_trace_func(trace_func)
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
class Base
|
108
|
+
def QVERIFY(statement)
|
109
|
+
file, line = caller(1)[0].split(':')
|
110
|
+
if !Qt::Test.qVerify(eval(statement, Qt::Test.current_binding), statement, "", file, line.to_i)
|
111
|
+
return eval('return', Qt::Test.current_binding)
|
112
|
+
end
|
113
|
+
end
|
114
|
+
|
115
|
+
def QFAIL(message)
|
116
|
+
file, line = caller(1)[0].split(':')
|
117
|
+
Qt::Test.qFail(message, file, line.to_i)
|
118
|
+
return eval('return', Qt::Test.current_binding)
|
119
|
+
end
|
120
|
+
|
121
|
+
def QVERIFY2(statement, description)
|
122
|
+
file, line = caller(1)[0].split(':')
|
123
|
+
if eval(statement, Qt::Test.current_binding)
|
124
|
+
if !Qt::Test.qVerify(true, statement, description, file, line.to_i)
|
125
|
+
return eval('return', Qt::Test.current_binding)
|
126
|
+
end
|
127
|
+
else
|
128
|
+
if !Qt::Test.qVerify(false, statement, description, file, line.to_i)
|
129
|
+
return eval('return', Qt::Test.current_binding)
|
130
|
+
end
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
def QCOMPARE(actual, expected)
|
135
|
+
file, line = caller(1)[0].split(':')
|
136
|
+
if !Qt::Test.qCompare(eval(actual, Qt::Test.current_binding), eval(expected, Qt::Test.current_binding), actual, expected, file, line.to_i)
|
137
|
+
return eval('return', Qt::Test.current_binding)
|
138
|
+
end
|
139
|
+
end
|
140
|
+
|
141
|
+
def QSKIP(statement, mode)
|
142
|
+
file, line = caller(1)[0].split(':')
|
143
|
+
Qt::Test.qSkip(statement, mode, file, line.to_i)
|
144
|
+
return eval('return', Qt::Test.current_binding)
|
145
|
+
end
|
146
|
+
|
147
|
+
def QEXPECT_FAIL(dataIndex, comment, mode)
|
148
|
+
file, line = caller(1)[0].split(':')
|
149
|
+
if !Qt::Test.qExpectFail(dataIndex, comment, mode, file, line.to_i)
|
150
|
+
return eval('return', Qt::Test.current_binding)
|
151
|
+
end
|
152
|
+
end
|
153
|
+
|
154
|
+
def QTEST(actual, testElement)
|
155
|
+
file, line = caller(1)[0].split(':')
|
156
|
+
if !Qt::Test.qTest(eval(actual, Qt::Test.current_binding), eval(testElement, Qt::Test.current_binding), actual, testElement, file, line.to_i)
|
157
|
+
return eval('return', Qt::Test.current_binding)
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
def QWARN(msg)
|
162
|
+
Qt::Test.qWarn(msg)
|
163
|
+
end
|
164
|
+
end
|
165
|
+
end
|
166
|
+
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
|
3
|
+
module QtUiTools
|
4
|
+
module Internal
|
5
|
+
def self.init_all_classes
|
6
|
+
getClassList.each do |c|
|
7
|
+
classname = Qt::Internal::normalize_classname(c)
|
8
|
+
id = Qt::Internal::findClass(c);
|
9
|
+
Qt::Internal::insert_pclassid(classname, id)
|
10
|
+
Qt::Internal::cpp_names[classname] = c
|
11
|
+
klass = Qt::Internal::isQObject(c) ? Qt::Internal::create_qobject_class(classname, Qt) \
|
12
|
+
: Qt::Internal::create_qt_class(classname, Qt)
|
13
|
+
Qt::Internal::classes[classname] = klass unless klass.nil?
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
|
3
|
+
module QtWebKit
|
4
|
+
module Internal
|
5
|
+
def self.init_all_classes
|
6
|
+
getClassList.each do |c|
|
7
|
+
classname = Qt::Internal::normalize_classname(c)
|
8
|
+
id = Qt::Internal::findClass(c);
|
9
|
+
Qt::Internal::insert_pclassid(classname, id)
|
10
|
+
Qt::Internal::cpp_names[classname] = c
|
11
|
+
klass = Qt::Internal::isQObject(c) ? Qt::Internal::create_qobject_class(classname, Qt) \
|
12
|
+
: Qt::Internal::create_qt_class(classname, Qt)
|
13
|
+
Qt::Internal::classes[classname] = klass unless klass.nil?
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
data/qtbindings.gemspec
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
require './lib/qtbindings_version'
|
2
|
+
|
3
|
+
spec = Gem::Specification.new do |s|
|
4
|
+
s.authors = ['Ryan Melton', 'Jason Thomas', 'Richard Dale', 'Arno Rehn']
|
5
|
+
s.email = 'kde-bindings@kde.org'
|
6
|
+
s.rubyforge_project = 'qtbindings'
|
7
|
+
s.summary = "Qt bindings for ruby"
|
8
|
+
s.homepage = "http://github.com/ryanmelt/qtbindings"
|
9
|
+
s.name = 'qtbindings'
|
10
|
+
s.version = QTBINDINGS_VERSION
|
11
|
+
s.requirements << 'none'
|
12
|
+
s.require_path = 'lib'
|
13
|
+
s.files = Dir['lib/**/*', 'bin/**/*', 'examples/**/*', 'ext/**/*', '*.txt', 'extconf.rb', '*.gemspec', 'Rakefile'].to_a
|
14
|
+
s.extensions = ['extconf.rb']
|
15
|
+
s.executables = ['smokeapi', 'smokedeptool', 'rbrcc', 'rbuic4', 'rbqtapi']
|
16
|
+
s.description = 'qtbindings provides ruby bindings to QT4.x. It is derived from the kdebindings project.'
|
17
|
+
s.licenses = ['LGPLv2.1']
|
18
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
require './lib/qtbindings_version'
|
2
|
+
|
3
|
+
spec = Gem::Specification.new do |s|
|
4
|
+
s.authors = ['Ryan Melton', 'Jason Thomas', 'Richard Dale', 'Arno Rehn']
|
5
|
+
s.email = 'kde-bindings@kde.org'
|
6
|
+
s.rubyforge_project = 'qtbindings'
|
7
|
+
s.platform = Gem::Platform::CURRENT
|
8
|
+
s.summary = "Qt bindings for ruby"
|
9
|
+
s.homepage = "http://github.com/ryanmelt/qtbindings"
|
10
|
+
s.name = 'qtbindings'
|
11
|
+
s.version = QTBINDINGS_VERSION
|
12
|
+
s.required_ruby_version = '>= 2.0.0'
|
13
|
+
s.add_dependency 'qtbindings-qt', QTBINDINGS_VERSION.split('.')[0..-2].join('.')
|
14
|
+
s.require_path = 'lib'
|
15
|
+
s.files = Dir['lib/**/*', 'bin/**/*', 'examples/**/*', '*.txt', 'extconf.rb', '*.gemspec', 'Rakefile'].to_a
|
16
|
+
s.executables = ['smokeapi', 'smokedeptool', 'rbrcc', 'rbuic4', 'rbqtapi']
|
17
|
+
s.description = 'qtbindings provides ruby bindings to QT4.x. It is derived from the kdebindings project.'
|
18
|
+
s.licenses = ['LGPLv2.1']
|
19
|
+
end
|
metadata
ADDED
@@ -0,0 +1,559 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: qtbindings
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 4.8.6.1
|
5
|
+
platform: x64-mingw32
|
6
|
+
authors:
|
7
|
+
- Ryan Melton
|
8
|
+
- Jason Thomas
|
9
|
+
- Richard Dale
|
10
|
+
- Arno Rehn
|
11
|
+
autorequire:
|
12
|
+
bindir: bin
|
13
|
+
cert_chain: []
|
14
|
+
date: 2015-03-27 00:00:00.000000000 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: qtbindings-qt
|
18
|
+
requirement: !ruby/object:Gem::Requirement
|
19
|
+
requirements:
|
20
|
+
- - '='
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 4.8.6
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
requirements:
|
27
|
+
- - '='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 4.8.6
|
30
|
+
description: qtbindings provides ruby bindings to QT4.x. It is derived from the kdebindings
|
31
|
+
project.
|
32
|
+
email: kde-bindings@kde.org
|
33
|
+
executables:
|
34
|
+
- smokeapi
|
35
|
+
- smokedeptool
|
36
|
+
- rbrcc
|
37
|
+
- rbuic4
|
38
|
+
- rbqtapi
|
39
|
+
extensions: []
|
40
|
+
extra_rdoc_files: []
|
41
|
+
files:
|
42
|
+
- CHANGELOG.txt
|
43
|
+
- COPYING.LIB.txt
|
44
|
+
- COPYING.txt
|
45
|
+
- KNOWN_ISSUES.txt
|
46
|
+
- Rakefile
|
47
|
+
- TODO.txt
|
48
|
+
- bin/2.0/rbrcc.exe
|
49
|
+
- bin/2.0/rbuic4.exe
|
50
|
+
- bin/2.0/smokeapi.exe
|
51
|
+
- bin/2.0/smokedeptool.exe
|
52
|
+
- bin/2.1/rbrcc.exe
|
53
|
+
- bin/2.1/rbuic4.exe
|
54
|
+
- bin/2.1/smokeapi.exe
|
55
|
+
- bin/2.1/smokedeptool.exe
|
56
|
+
- bin/2.2/rbrcc.exe
|
57
|
+
- bin/2.2/rbuic4.exe
|
58
|
+
- bin/2.2/smokeapi.exe
|
59
|
+
- bin/2.2/smokedeptool.exe
|
60
|
+
- bin/rbqtapi
|
61
|
+
- bin/rbrcc
|
62
|
+
- bin/rbuic4
|
63
|
+
- bin/smokeapi
|
64
|
+
- bin/smokedeptool
|
65
|
+
- examples/designer/calculatorbuilder/calculatorbuilder.qrc
|
66
|
+
- examples/designer/calculatorbuilder/calculatorform.rb
|
67
|
+
- examples/designer/calculatorbuilder/calculatorform.ui
|
68
|
+
- examples/designer/calculatorbuilder/main.rb
|
69
|
+
- examples/designer/calculatorbuilder/makefile
|
70
|
+
- examples/designer/calculatorform/calculatorform.rb
|
71
|
+
- examples/designer/calculatorform/calculatorform.ui
|
72
|
+
- examples/designer/calculatorform/main.rb
|
73
|
+
- examples/designer/calculatorform/makefile
|
74
|
+
- examples/desktop/screenshot/main.rb
|
75
|
+
- examples/desktop/screenshot/screenshot.rb
|
76
|
+
- examples/desktop/systray/images/bad.svg
|
77
|
+
- examples/desktop/systray/images/heart.svg
|
78
|
+
- examples/desktop/systray/images/trash.svg
|
79
|
+
- examples/desktop/systray/main.rb
|
80
|
+
- examples/desktop/systray/makefile
|
81
|
+
- examples/desktop/systray/systray.qrc
|
82
|
+
- examples/desktop/systray/window.rb
|
83
|
+
- examples/dialogs/complexwizard/complexwizard.rb
|
84
|
+
- examples/dialogs/complexwizard/licensewizard.rb
|
85
|
+
- examples/dialogs/complexwizard/main.rb
|
86
|
+
- examples/dialogs/configdialog/configdialog.rb
|
87
|
+
- examples/dialogs/configdialog/images/config.png
|
88
|
+
- examples/dialogs/configdialog/images/query.png
|
89
|
+
- examples/dialogs/configdialog/images/update.png
|
90
|
+
- examples/dialogs/configdialog/main.rb
|
91
|
+
- examples/dialogs/configdialog/pages.rb
|
92
|
+
- examples/dialogs/extension/finddialog.rb
|
93
|
+
- examples/dialogs/extension/main.rb
|
94
|
+
- examples/dialogs/findfiles/main.rb
|
95
|
+
- examples/dialogs/findfiles/window.rb
|
96
|
+
- examples/dialogs/simplewizard/classwizard.rb
|
97
|
+
- examples/dialogs/simplewizard/main.rb
|
98
|
+
- examples/dialogs/simplewizard/simplewizard.rb
|
99
|
+
- examples/dialogs/standarddialogs/dialog.rb
|
100
|
+
- examples/dialogs/standarddialogs/main.rb
|
101
|
+
- examples/dialogs/tabdialog/main.rb
|
102
|
+
- examples/dialogs/tabdialog/tabdialog.rb
|
103
|
+
- examples/draganddrop/draggableicons/dragwidget.rb
|
104
|
+
- examples/draganddrop/draggableicons/images/boat.png
|
105
|
+
- examples/draganddrop/draggableicons/images/car.png
|
106
|
+
- examples/draganddrop/draggableicons/images/house.png
|
107
|
+
- examples/draganddrop/draggableicons/main.rb
|
108
|
+
- examples/draganddrop/draggabletext/draglabel.rb
|
109
|
+
- examples/draganddrop/draggabletext/dragwidget.rb
|
110
|
+
- examples/draganddrop/draggabletext/main.rb
|
111
|
+
- examples/draganddrop/draggabletext/words.txt
|
112
|
+
- examples/draganddrop/dropsite/dropsitewidget.rb
|
113
|
+
- examples/draganddrop/dropsite/dropsitewindow.rb
|
114
|
+
- examples/draganddrop/dropsite/main.rb
|
115
|
+
- examples/draganddrop/fridgemagnets/draglabel.rb
|
116
|
+
- examples/draganddrop/fridgemagnets/dragwidget.rb
|
117
|
+
- examples/draganddrop/fridgemagnets/main.rb
|
118
|
+
- examples/draganddrop/fridgemagnets/words.txt
|
119
|
+
- examples/draganddrop/puzzle/example.jpg
|
120
|
+
- examples/draganddrop/puzzle/main.rb
|
121
|
+
- examples/draganddrop/puzzle/mainwindow.rb
|
122
|
+
- examples/draganddrop/puzzle/pieceslist.rb
|
123
|
+
- examples/draganddrop/puzzle/puzzlewidget.rb
|
124
|
+
- examples/graphicsview/collidingmice/images/cheese.jpg
|
125
|
+
- examples/graphicsview/collidingmice/main.rb
|
126
|
+
- examples/graphicsview/collidingmice/makefile
|
127
|
+
- examples/graphicsview/collidingmice/mice.qrc
|
128
|
+
- examples/graphicsview/collidingmice/mouse.rb
|
129
|
+
- examples/graphicsview/dragdroprobot/coloritem.rb
|
130
|
+
- examples/graphicsview/dragdroprobot/images/head.png
|
131
|
+
- examples/graphicsview/dragdroprobot/main.rb
|
132
|
+
- examples/graphicsview/dragdroprobot/makefile
|
133
|
+
- examples/graphicsview/dragdroprobot/robot.qrc
|
134
|
+
- examples/graphicsview/dragdroprobot/robot.rb
|
135
|
+
- examples/itemviews/chart/chart.qrc
|
136
|
+
- examples/itemviews/chart/main.rb
|
137
|
+
- examples/itemviews/chart/mainwindow.rb
|
138
|
+
- examples/itemviews/chart/makefile
|
139
|
+
- examples/itemviews/chart/mydata.cht
|
140
|
+
- examples/itemviews/chart/pieview.rb
|
141
|
+
- examples/itemviews/chart/qtdata.cht
|
142
|
+
- examples/itemviews/dirview/main.rb
|
143
|
+
- examples/itemviews/pixelator/imagemodel.rb
|
144
|
+
- examples/itemviews/pixelator/images.qrc
|
145
|
+
- examples/itemviews/pixelator/images/qt.png
|
146
|
+
- examples/itemviews/pixelator/main.rb
|
147
|
+
- examples/itemviews/pixelator/mainwindow.rb
|
148
|
+
- examples/itemviews/pixelator/makefile
|
149
|
+
- examples/itemviews/pixelator/pixeldelegate.rb
|
150
|
+
- examples/itemviews/puzzle/example.jpg
|
151
|
+
- examples/itemviews/puzzle/main.rb
|
152
|
+
- examples/itemviews/puzzle/mainwindow.rb
|
153
|
+
- examples/itemviews/puzzle/piecesmodel.rb
|
154
|
+
- examples/itemviews/puzzle/puzzlewidget.rb
|
155
|
+
- examples/itemviews/simpledommodel/domitem.rb
|
156
|
+
- examples/itemviews/simpledommodel/dommodel.rb
|
157
|
+
- examples/itemviews/simpledommodel/main.rb
|
158
|
+
- examples/itemviews/simpledommodel/mainwindow.rb
|
159
|
+
- examples/itemviews/simpletreemodel/default.txt
|
160
|
+
- examples/itemviews/simpletreemodel/main.rb
|
161
|
+
- examples/itemviews/simpletreemodel/makefile
|
162
|
+
- examples/itemviews/simpletreemodel/simpletreemodel.qrc
|
163
|
+
- examples/itemviews/simpletreemodel/treeitem.rb
|
164
|
+
- examples/itemviews/simpletreemodel/treemodel.rb
|
165
|
+
- examples/itemviews/sortingmodel/default.txt
|
166
|
+
- examples/itemviews/sortingmodel/main.rb
|
167
|
+
- examples/itemviews/sortingmodel/treeitem.rb
|
168
|
+
- examples/itemviews/sortingmodel/treemodel.rb
|
169
|
+
- examples/itemviews/spinboxdelegate/main.rb
|
170
|
+
- examples/itemviews/spinboxdelegate/spinboxdelegate.rb
|
171
|
+
- examples/killerfilter/killerfilter.rb
|
172
|
+
- examples/layouts/basiclayouts/dialog.rb
|
173
|
+
- examples/layouts/basiclayouts/main.rb
|
174
|
+
- examples/layouts/borderlayout/borderlayout.rb
|
175
|
+
- examples/layouts/borderlayout/main.rb
|
176
|
+
- examples/layouts/borderlayout/window.rb
|
177
|
+
- examples/layouts/flowlayouts/flowlayout.rb
|
178
|
+
- examples/layouts/flowlayouts/main.rb
|
179
|
+
- examples/layouts/flowlayouts/window.rb
|
180
|
+
- examples/mainwindows/application/images/copy.png
|
181
|
+
- examples/mainwindows/application/images/cut.png
|
182
|
+
- examples/mainwindows/application/images/new.png
|
183
|
+
- examples/mainwindows/application/images/open.png
|
184
|
+
- examples/mainwindows/application/images/paste.png
|
185
|
+
- examples/mainwindows/application/images/save.png
|
186
|
+
- examples/mainwindows/application/main.rb
|
187
|
+
- examples/mainwindows/application/mainwindow.rb
|
188
|
+
- examples/mainwindows/dockwidgets/images/new.png
|
189
|
+
- examples/mainwindows/dockwidgets/images/print.png
|
190
|
+
- examples/mainwindows/dockwidgets/images/save.png
|
191
|
+
- examples/mainwindows/dockwidgets/images/undo.png
|
192
|
+
- examples/mainwindows/dockwidgets/main.rb
|
193
|
+
- examples/mainwindows/dockwidgets/mainwindow.rb
|
194
|
+
- examples/mainwindows/mdi/images/copy.png
|
195
|
+
- examples/mainwindows/mdi/images/cut.png
|
196
|
+
- examples/mainwindows/mdi/images/new.png
|
197
|
+
- examples/mainwindows/mdi/images/open.png
|
198
|
+
- examples/mainwindows/mdi/images/paste.png
|
199
|
+
- examples/mainwindows/mdi/images/save.png
|
200
|
+
- examples/mainwindows/mdi/main.rb
|
201
|
+
- examples/mainwindows/mdi/mainwindow.rb
|
202
|
+
- examples/mainwindows/mdi/mdichild.rb
|
203
|
+
- examples/mainwindows/menus/main.rb
|
204
|
+
- examples/mainwindows/menus/mainwindow.rb
|
205
|
+
- examples/mainwindows/recentfiles/main.rb
|
206
|
+
- examples/mainwindows/recentfiles/mainwindow.rb
|
207
|
+
- examples/mainwindows/sdi/images/copy.png
|
208
|
+
- examples/mainwindows/sdi/images/cut.png
|
209
|
+
- examples/mainwindows/sdi/images/new.png
|
210
|
+
- examples/mainwindows/sdi/images/open.png
|
211
|
+
- examples/mainwindows/sdi/images/paste.png
|
212
|
+
- examples/mainwindows/sdi/images/save.png
|
213
|
+
- examples/mainwindows/sdi/main.rb
|
214
|
+
- examples/mainwindows/sdi/mainwindow.rb
|
215
|
+
- examples/network/broadcastreceiver/main.rb
|
216
|
+
- examples/network/broadcastreceiver/receiver.rb
|
217
|
+
- examples/network/broadcastsender/main.rb
|
218
|
+
- examples/network/broadcastsender/sender.rb
|
219
|
+
- examples/network/fortuneclient/client.rb
|
220
|
+
- examples/network/fortuneclient/main.rb
|
221
|
+
- examples/network/fortuneserver/main.rb
|
222
|
+
- examples/network/fortuneserver/server.rb
|
223
|
+
- examples/network/ftp/ftpwindow.rb
|
224
|
+
- examples/network/ftp/images/cdtoparent.png
|
225
|
+
- examples/network/ftp/images/dir.png
|
226
|
+
- examples/network/ftp/images/file.png
|
227
|
+
- examples/network/ftp/main.rb
|
228
|
+
- examples/network/http/httpwindow.rb
|
229
|
+
- examples/network/http/main.rb
|
230
|
+
- examples/network/loopback/dialog.rb
|
231
|
+
- examples/network/loopback/main.rb
|
232
|
+
- examples/opengl/grabber/glwidget.rb
|
233
|
+
- examples/opengl/grabber/main.rb
|
234
|
+
- examples/opengl/grabber/mainwindow.rb
|
235
|
+
- examples/opengl/hellogl/glwidget.rb
|
236
|
+
- examples/opengl/hellogl/main.rb
|
237
|
+
- examples/opengl/hellogl/window.rb
|
238
|
+
- examples/opengl/textures/glwidget.rb
|
239
|
+
- examples/opengl/textures/images/side1.png
|
240
|
+
- examples/opengl/textures/images/side2.png
|
241
|
+
- examples/opengl/textures/images/side3.png
|
242
|
+
- examples/opengl/textures/images/side4.png
|
243
|
+
- examples/opengl/textures/images/side5.png
|
244
|
+
- examples/opengl/textures/images/side6.png
|
245
|
+
- examples/opengl/textures/main.rb
|
246
|
+
- examples/opengl/textures/window.rb
|
247
|
+
- examples/painting/basicdrawing/images/brick.png
|
248
|
+
- examples/painting/basicdrawing/images/qt-logo.png
|
249
|
+
- examples/painting/basicdrawing/main.rb
|
250
|
+
- examples/painting/basicdrawing/renderarea.rb
|
251
|
+
- examples/painting/basicdrawing/window.rb
|
252
|
+
- examples/painting/concentriccircles/circlewidget.rb
|
253
|
+
- examples/painting/concentriccircles/main.rb
|
254
|
+
- examples/painting/concentriccircles/window.rb
|
255
|
+
- examples/painting/fontsampler/main.rb
|
256
|
+
- examples/painting/fontsampler/mainwindow.rb
|
257
|
+
- examples/painting/fontsampler/mainwindowbase.ui
|
258
|
+
- examples/painting/fontsampler/makefile
|
259
|
+
- examples/painting/fontsampler/previewdialog.rb
|
260
|
+
- examples/painting/fontsampler/previewdialogbase.ui
|
261
|
+
- examples/painting/fontsampler/previewlabel.rb
|
262
|
+
- examples/painting/imagecomposition/imagecomposer.rb
|
263
|
+
- examples/painting/imagecomposition/imagecomposition.qrc
|
264
|
+
- examples/painting/imagecomposition/images/background.png
|
265
|
+
- examples/painting/imagecomposition/images/blackrectangle.png
|
266
|
+
- examples/painting/imagecomposition/images/butterfly.png
|
267
|
+
- examples/painting/imagecomposition/images/checker.png
|
268
|
+
- examples/painting/imagecomposition/main.rb
|
269
|
+
- examples/painting/imagecomposition/makefile
|
270
|
+
- examples/painting/painterpaths/main.rb
|
271
|
+
- examples/painting/painterpaths/renderarea.rb
|
272
|
+
- examples/painting/painterpaths/window.rb
|
273
|
+
- examples/painting/svgviewer/files/bubbles.svg
|
274
|
+
- examples/painting/svgviewer/files/cubic.svg
|
275
|
+
- examples/painting/svgviewer/files/spheres.svg
|
276
|
+
- examples/painting/svgviewer/main.rb
|
277
|
+
- examples/painting/svgviewer/mainwindow.rb
|
278
|
+
- examples/painting/svgviewer/makefile
|
279
|
+
- examples/painting/svgviewer/svgview.rb
|
280
|
+
- examples/painting/svgviewer/svgviewer.qrc
|
281
|
+
- examples/painting/svgviewer/svgwindow.rb
|
282
|
+
- examples/painting/transformations/main.rb
|
283
|
+
- examples/painting/transformations/renderarea.rb
|
284
|
+
- examples/painting/transformations/window.rb
|
285
|
+
- examples/passivepopup/passivepopup.rb
|
286
|
+
- examples/qdbus/chat/chat.rb
|
287
|
+
- examples/qdbus/chat/chat_adaptor.rb
|
288
|
+
- examples/qdbus/chat/chat_interface.rb
|
289
|
+
- examples/qdbus/chat/chatmainwindow.ui
|
290
|
+
- examples/qdbus/chat/chatsetnickname.ui
|
291
|
+
- examples/qdbus/chat/makefile
|
292
|
+
- examples/qdbus/complexpingpong/complexping.rb
|
293
|
+
- examples/qdbus/complexpingpong/complexpong.rb
|
294
|
+
- examples/qdbus/complexpingpong/ping-common.rb
|
295
|
+
- examples/qdbus/listnames/listnames.rb
|
296
|
+
- examples/qdbus/pingpong/ping-common.rb
|
297
|
+
- examples/qdbus/pingpong/ping.rb
|
298
|
+
- examples/qdbus/pingpong/pong.rb
|
299
|
+
- examples/qdbus/remotecontrolledcar/car/car.rb
|
300
|
+
- examples/qdbus/remotecontrolledcar/car/main.rb
|
301
|
+
- examples/qdbus/remotecontrolledcar/controller/controller.rb
|
302
|
+
- examples/qdbus/remotecontrolledcar/controller/controller.ui
|
303
|
+
- examples/qdbus/remotecontrolledcar/controller/main.rb
|
304
|
+
- examples/qdbus/remotecontrolledcar/controller/makefile
|
305
|
+
- examples/qtscribble/scribble.rb
|
306
|
+
- examples/richtext/calendar/main.rb
|
307
|
+
- examples/richtext/calendar/mainwindow.rb
|
308
|
+
- examples/richtext/orderform/detailsdialog.rb
|
309
|
+
- examples/richtext/orderform/main.rb
|
310
|
+
- examples/richtext/orderform/mainwindow.rb
|
311
|
+
- examples/richtext/syntaxhighlighter/examples/example
|
312
|
+
- examples/richtext/syntaxhighlighter/highlighter.rb
|
313
|
+
- examples/richtext/syntaxhighlighter/main.rb
|
314
|
+
- examples/richtext/syntaxhighlighter/mainwindow.rb
|
315
|
+
- examples/ruboids/LICENSE.txt
|
316
|
+
- examples/ruboids/Manifest
|
317
|
+
- examples/ruboids/README
|
318
|
+
- examples/ruboids/TODO
|
319
|
+
- examples/ruboids/boids.properties
|
320
|
+
- examples/ruboids/generateManifest.rb
|
321
|
+
- examples/ruboids/index.html
|
322
|
+
- examples/ruboids/release.rb
|
323
|
+
- examples/ruboids/ruboids/Boid.rb
|
324
|
+
- examples/ruboids/ruboids/BoidView.rb
|
325
|
+
- examples/ruboids/ruboids/Camera.rb
|
326
|
+
- examples/ruboids/ruboids/CameraDialog.rb
|
327
|
+
- examples/ruboids/ruboids/Canvas.rb
|
328
|
+
- examples/ruboids/ruboids/Cloud.rb
|
329
|
+
- examples/ruboids/ruboids/CloudView.rb
|
330
|
+
- examples/ruboids/ruboids/Flock.rb
|
331
|
+
- examples/ruboids/ruboids/Graphics.rb
|
332
|
+
- examples/ruboids/ruboids/Params.rb
|
333
|
+
- examples/ruboids/ruboids/Point.rb
|
334
|
+
- examples/ruboids/ruboids/Thing.rb
|
335
|
+
- examples/ruboids/ruboids/Triangle.rb
|
336
|
+
- examples/ruboids/ruboids/View.rb
|
337
|
+
- examples/ruboids/ruboids/World.rb
|
338
|
+
- examples/ruboids/ruboids/WorldWindow.rb
|
339
|
+
- examples/ruboids/ruboids/info.rb
|
340
|
+
- examples/ruboids/ruboids/ruboids.rb
|
341
|
+
- examples/run_all.rb
|
342
|
+
- examples/threading/main_thread.rb
|
343
|
+
- examples/tutorial/t1/t1.rb
|
344
|
+
- examples/tutorial/t10/cannon.rb
|
345
|
+
- examples/tutorial/t10/lcdrange.rb
|
346
|
+
- examples/tutorial/t10/t10.rb
|
347
|
+
- examples/tutorial/t11/cannon.rb
|
348
|
+
- examples/tutorial/t11/lcdrange.rb
|
349
|
+
- examples/tutorial/t11/t11.rb
|
350
|
+
- examples/tutorial/t12/cannon.rb
|
351
|
+
- examples/tutorial/t12/lcdrange.rb
|
352
|
+
- examples/tutorial/t12/t12.rb
|
353
|
+
- examples/tutorial/t13/cannon.rb
|
354
|
+
- examples/tutorial/t13/gamebrd.rb
|
355
|
+
- examples/tutorial/t13/lcdrange.rb
|
356
|
+
- examples/tutorial/t13/t13.rb
|
357
|
+
- examples/tutorial/t14/cannon.rb
|
358
|
+
- examples/tutorial/t14/gamebrd.rb
|
359
|
+
- examples/tutorial/t14/lcdrange.rb
|
360
|
+
- examples/tutorial/t14/t14.rb
|
361
|
+
- examples/tutorial/t2/t2.rb
|
362
|
+
- examples/tutorial/t3/t3.rb
|
363
|
+
- examples/tutorial/t4/t4.rb
|
364
|
+
- examples/tutorial/t5/t5.rb
|
365
|
+
- examples/tutorial/t6/t6.rb
|
366
|
+
- examples/tutorial/t7/lcdrange.rb
|
367
|
+
- examples/tutorial/t7/t7.rb
|
368
|
+
- examples/tutorial/t8/cannon.rb
|
369
|
+
- examples/tutorial/t8/lcdrange.rb
|
370
|
+
- examples/tutorial/t8/t8.rb
|
371
|
+
- examples/tutorial/t9/cannon.rb
|
372
|
+
- examples/tutorial/t9/lcdrange.rb
|
373
|
+
- examples/tutorial/t9/t9.rb
|
374
|
+
- examples/widgets/analogclock/analogclock.rb
|
375
|
+
- examples/widgets/analogclock/main.rb
|
376
|
+
- examples/widgets/calculator/button.rb
|
377
|
+
- examples/widgets/calculator/calculator.rb
|
378
|
+
- examples/widgets/calculator/main.rb
|
379
|
+
- examples/widgets/charactermap/characterwidget.rb
|
380
|
+
- examples/widgets/charactermap/main.rb
|
381
|
+
- examples/widgets/charactermap/mainwindow.rb
|
382
|
+
- examples/widgets/digitalclock/digitalclock.rb
|
383
|
+
- examples/widgets/digitalclock/main.rb
|
384
|
+
- examples/widgets/groupbox/main.rb
|
385
|
+
- examples/widgets/groupbox/window.rb
|
386
|
+
- examples/widgets/icons/iconpreviewarea.rb
|
387
|
+
- examples/widgets/icons/iconsizespinbox.rb
|
388
|
+
- examples/widgets/icons/imagedelegate.rb
|
389
|
+
- examples/widgets/icons/images/designer.png
|
390
|
+
- examples/widgets/icons/images/find_disabled.png
|
391
|
+
- examples/widgets/icons/images/find_normal.png
|
392
|
+
- examples/widgets/icons/images/monkey_off_128x128.png
|
393
|
+
- examples/widgets/icons/images/monkey_off_16x16.png
|
394
|
+
- examples/widgets/icons/images/monkey_off_32x32.png
|
395
|
+
- examples/widgets/icons/images/monkey_off_64x64.png
|
396
|
+
- examples/widgets/icons/images/monkey_on_128x128.png
|
397
|
+
- examples/widgets/icons/images/monkey_on_16x16.png
|
398
|
+
- examples/widgets/icons/images/monkey_on_32x32.png
|
399
|
+
- examples/widgets/icons/images/monkey_on_64x64.png
|
400
|
+
- examples/widgets/icons/images/qtopia_16x16.png
|
401
|
+
- examples/widgets/icons/images/qtopia_32x32.png
|
402
|
+
- examples/widgets/icons/images/qtopia_48x48.png
|
403
|
+
- examples/widgets/icons/main.rb
|
404
|
+
- examples/widgets/icons/mainwindow.rb
|
405
|
+
- examples/widgets/imageviewer/imageviewer.rb
|
406
|
+
- examples/widgets/imageviewer/main.rb
|
407
|
+
- examples/widgets/lineedits/main.rb
|
408
|
+
- examples/widgets/lineedits/window.rb
|
409
|
+
- examples/widgets/movie/images/open.png
|
410
|
+
- examples/widgets/movie/images/pause.png
|
411
|
+
- examples/widgets/movie/images/play.png
|
412
|
+
- examples/widgets/movie/images/quit.png
|
413
|
+
- examples/widgets/movie/images/stop.png
|
414
|
+
- examples/widgets/movie/main.rb
|
415
|
+
- examples/widgets/movie/movieplayer.rb
|
416
|
+
- examples/widgets/movie/movies/fire.mng
|
417
|
+
- examples/widgets/screenshot/main.rb
|
418
|
+
- examples/widgets/screenshot/screenshot.rb
|
419
|
+
- examples/widgets/scribble/main.rb
|
420
|
+
- examples/widgets/scribble/mainwindow.rb
|
421
|
+
- examples/widgets/scribble/scribblearea.rb
|
422
|
+
- examples/widgets/sliders/main.rb
|
423
|
+
- examples/widgets/sliders/slidersgroup.rb
|
424
|
+
- examples/widgets/sliders/window.rb
|
425
|
+
- examples/widgets/spinboxes/main.rb
|
426
|
+
- examples/widgets/spinboxes/window.rb
|
427
|
+
- examples/widgets/tetrix/main.rb
|
428
|
+
- examples/widgets/tetrix/tetrixboard.rb
|
429
|
+
- examples/widgets/tetrix/tetrixpiece.rb
|
430
|
+
- examples/widgets/tetrix/tetrixwindow.rb
|
431
|
+
- examples/widgets/tooltips/images/circle.png
|
432
|
+
- examples/widgets/tooltips/images/square.png
|
433
|
+
- examples/widgets/tooltips/images/triangle.png
|
434
|
+
- examples/widgets/tooltips/main.rb
|
435
|
+
- examples/widgets/tooltips/shapeitem.rb
|
436
|
+
- examples/widgets/tooltips/sortingbox.rb
|
437
|
+
- examples/widgets/wiggly/dialog.rb
|
438
|
+
- examples/widgets/wiggly/main.rb
|
439
|
+
- examples/widgets/wiggly/wigglywidget.rb
|
440
|
+
- examples/widgets/windowflags/controllerwindow.rb
|
441
|
+
- examples/widgets/windowflags/main.rb
|
442
|
+
- examples/widgets/windowflags/previewwindow.rb
|
443
|
+
- examples/xml/dombookmarks/frank.xbel
|
444
|
+
- examples/xml/dombookmarks/jennifer.xbel
|
445
|
+
- examples/xml/dombookmarks/main.rb
|
446
|
+
- examples/xml/dombookmarks/mainwindow.rb
|
447
|
+
- examples/xml/dombookmarks/xbeltree.rb
|
448
|
+
- examples/xml/saxbookmarks/frank.xbel
|
449
|
+
- examples/xml/saxbookmarks/jennifer.xbel
|
450
|
+
- examples/xml/saxbookmarks/main.rb
|
451
|
+
- examples/xml/saxbookmarks/mainwindow.rb
|
452
|
+
- examples/xml/saxbookmarks/xbelgenerator.rb
|
453
|
+
- examples/xml/saxbookmarks/xbelhandler.rb
|
454
|
+
- extconf.rb
|
455
|
+
- lib/2.0/libqtruby4shared.dll
|
456
|
+
- lib/2.0/libsmokebase.dll
|
457
|
+
- lib/2.0/libsmokeqtcore.dll
|
458
|
+
- lib/2.0/libsmokeqtdeclarative.dll
|
459
|
+
- lib/2.0/libsmokeqtgui.dll
|
460
|
+
- lib/2.0/libsmokeqthelp.dll
|
461
|
+
- lib/2.0/libsmokeqtmultimedia.dll
|
462
|
+
- lib/2.0/libsmokeqtnetwork.dll
|
463
|
+
- lib/2.0/libsmokeqtopengl.dll
|
464
|
+
- lib/2.0/libsmokeqtscript.dll
|
465
|
+
- lib/2.0/libsmokeqtsql.dll
|
466
|
+
- lib/2.0/libsmokeqtsvg.dll
|
467
|
+
- lib/2.0/libsmokeqttest.dll
|
468
|
+
- lib/2.0/libsmokeqtuitools.dll
|
469
|
+
- lib/2.0/libsmokeqtwebkit.dll
|
470
|
+
- lib/2.0/libsmokeqtxml.dll
|
471
|
+
- lib/2.0/libsmokeqtxmlpatterns.dll
|
472
|
+
- lib/2.0/qtdeclarative.so
|
473
|
+
- lib/2.0/qtruby4.so
|
474
|
+
- lib/2.0/qtscript.so
|
475
|
+
- lib/2.0/qttest.so
|
476
|
+
- lib/2.0/qtuitools.so
|
477
|
+
- lib/2.0/qtwebkit.so
|
478
|
+
- lib/2.1/libqtruby4shared.dll
|
479
|
+
- lib/2.1/libsmokebase.dll
|
480
|
+
- lib/2.1/libsmokeqtcore.dll
|
481
|
+
- lib/2.1/libsmokeqtdeclarative.dll
|
482
|
+
- lib/2.1/libsmokeqtgui.dll
|
483
|
+
- lib/2.1/libsmokeqthelp.dll
|
484
|
+
- lib/2.1/libsmokeqtmultimedia.dll
|
485
|
+
- lib/2.1/libsmokeqtnetwork.dll
|
486
|
+
- lib/2.1/libsmokeqtopengl.dll
|
487
|
+
- lib/2.1/libsmokeqtscript.dll
|
488
|
+
- lib/2.1/libsmokeqtsql.dll
|
489
|
+
- lib/2.1/libsmokeqtsvg.dll
|
490
|
+
- lib/2.1/libsmokeqttest.dll
|
491
|
+
- lib/2.1/libsmokeqtuitools.dll
|
492
|
+
- lib/2.1/libsmokeqtwebkit.dll
|
493
|
+
- lib/2.1/libsmokeqtxml.dll
|
494
|
+
- lib/2.1/libsmokeqtxmlpatterns.dll
|
495
|
+
- lib/2.1/qtdeclarative.so
|
496
|
+
- lib/2.1/qtruby4.so
|
497
|
+
- lib/2.1/qtscript.so
|
498
|
+
- lib/2.1/qttest.so
|
499
|
+
- lib/2.1/qtuitools.so
|
500
|
+
- lib/2.1/qtwebkit.so
|
501
|
+
- lib/2.2/libqtruby4shared.dll
|
502
|
+
- lib/2.2/libsmokebase.dll
|
503
|
+
- lib/2.2/libsmokeqtcore.dll
|
504
|
+
- lib/2.2/libsmokeqtdeclarative.dll
|
505
|
+
- lib/2.2/libsmokeqtgui.dll
|
506
|
+
- lib/2.2/libsmokeqthelp.dll
|
507
|
+
- lib/2.2/libsmokeqtmultimedia.dll
|
508
|
+
- lib/2.2/libsmokeqtnetwork.dll
|
509
|
+
- lib/2.2/libsmokeqtopengl.dll
|
510
|
+
- lib/2.2/libsmokeqtscript.dll
|
511
|
+
- lib/2.2/libsmokeqtsql.dll
|
512
|
+
- lib/2.2/libsmokeqtsvg.dll
|
513
|
+
- lib/2.2/libsmokeqttest.dll
|
514
|
+
- lib/2.2/libsmokeqtuitools.dll
|
515
|
+
- lib/2.2/libsmokeqtwebkit.dll
|
516
|
+
- lib/2.2/libsmokeqtxml.dll
|
517
|
+
- lib/2.2/libsmokeqtxmlpatterns.dll
|
518
|
+
- lib/2.2/qtdeclarative.so
|
519
|
+
- lib/2.2/qtruby4.so
|
520
|
+
- lib/2.2/qtscript.so
|
521
|
+
- lib/2.2/qttest.so
|
522
|
+
- lib/2.2/qtuitools.so
|
523
|
+
- lib/2.2/qtwebkit.so
|
524
|
+
- lib/Qt.rb
|
525
|
+
- lib/Qt/qtruby4.rb
|
526
|
+
- lib/Qt4.rb
|
527
|
+
- lib/qtbindings_version.rb
|
528
|
+
- lib/qtdeclarative/qtdeclarative.rb
|
529
|
+
- lib/qtscript/qtscript.rb
|
530
|
+
- lib/qttest/qttest.rb
|
531
|
+
- lib/qtuitools/qtuitools.rb
|
532
|
+
- lib/qtwebkit/qtwebkit.rb
|
533
|
+
- qtbindings.gemspec
|
534
|
+
- qtbindingsnative.gemspec
|
535
|
+
homepage: http://github.com/ryanmelt/qtbindings
|
536
|
+
licenses:
|
537
|
+
- LGPLv2.1
|
538
|
+
metadata: {}
|
539
|
+
post_install_message:
|
540
|
+
rdoc_options: []
|
541
|
+
require_paths:
|
542
|
+
- lib
|
543
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
544
|
+
requirements:
|
545
|
+
- - ">="
|
546
|
+
- !ruby/object:Gem::Version
|
547
|
+
version: 2.0.0
|
548
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
549
|
+
requirements:
|
550
|
+
- - ">="
|
551
|
+
- !ruby/object:Gem::Version
|
552
|
+
version: '0'
|
553
|
+
requirements: []
|
554
|
+
rubyforge_project: qtbindings
|
555
|
+
rubygems_version: 2.4.5
|
556
|
+
signing_key:
|
557
|
+
specification_version: 4
|
558
|
+
summary: Qt bindings for ruby
|
559
|
+
test_files: []
|