qtbindings 4.8.6.1-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- 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/COPYING.txt
ADDED
@@ -0,0 +1,286 @@
|
|
1
|
+
NOTE! The GPL below is copyrighted by the Free Software Foundation, but
|
2
|
+
the instance of code that it refers to (the kde programs) are copyrighted
|
3
|
+
by the authors who actually wrote it.
|
4
|
+
|
5
|
+
---------------------------------------------------------------------------
|
6
|
+
|
7
|
+
GNU GENERAL PUBLIC LICENSE
|
8
|
+
Version 2, June 1991
|
9
|
+
|
10
|
+
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
11
|
+
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
12
|
+
Everyone is permitted to copy and distribute verbatim copies
|
13
|
+
of this license document, but changing it is not allowed.
|
14
|
+
|
15
|
+
Preamble
|
16
|
+
|
17
|
+
The licenses for most software are designed to take away your
|
18
|
+
freedom to share and change it. By contrast, the GNU General Public
|
19
|
+
License is intended to guarantee your freedom to share and change free
|
20
|
+
software--to make sure the software is free for all its users. This
|
21
|
+
General Public License applies to most of the Free Software
|
22
|
+
Foundation's software and to any other program whose authors commit to
|
23
|
+
using it. (Some other Free Software Foundation software is covered by
|
24
|
+
the GNU Library General Public License instead.) You can apply it to
|
25
|
+
your programs, too.
|
26
|
+
|
27
|
+
When we speak of free software, we are referring to freedom, not
|
28
|
+
price. Our General Public Licenses are designed to make sure that you
|
29
|
+
have the freedom to distribute copies of free software (and charge for
|
30
|
+
this service if you wish), that you receive source code or can get it
|
31
|
+
if you want it, that you can change the software or use pieces of it
|
32
|
+
in new free programs; and that you know you can do these things.
|
33
|
+
|
34
|
+
To protect your rights, we need to make restrictions that forbid
|
35
|
+
anyone to deny you these rights or to ask you to surrender the rights.
|
36
|
+
These restrictions translate to certain responsibilities for you if you
|
37
|
+
distribute copies of the software, or if you modify it.
|
38
|
+
|
39
|
+
For example, if you distribute copies of such a program, whether
|
40
|
+
gratis or for a fee, you must give the recipients all the rights that
|
41
|
+
you have. You must make sure that they, too, receive or can get the
|
42
|
+
source code. And you must show them these terms so they know their
|
43
|
+
rights.
|
44
|
+
|
45
|
+
We protect your rights with two steps: (1) copyright the software, and
|
46
|
+
(2) offer you this license which gives you legal permission to copy,
|
47
|
+
distribute and/or modify the software.
|
48
|
+
|
49
|
+
Also, for each author's protection and ours, we want to make certain
|
50
|
+
that everyone understands that there is no warranty for this free
|
51
|
+
software. If the software is modified by someone else and passed on, we
|
52
|
+
want its recipients to know that what they have is not the original, so
|
53
|
+
that any problems introduced by others will not reflect on the original
|
54
|
+
authors' reputations.
|
55
|
+
|
56
|
+
Finally, any free program is threatened constantly by software
|
57
|
+
patents. We wish to avoid the danger that redistributors of a free
|
58
|
+
program will individually obtain patent licenses, in effect making the
|
59
|
+
program proprietary. To prevent this, we have made it clear that any
|
60
|
+
patent must be licensed for everyone's free use or not licensed at all.
|
61
|
+
|
62
|
+
The precise terms and conditions for copying, distribution and
|
63
|
+
modification follow.
|
64
|
+
|
65
|
+
GNU GENERAL PUBLIC LICENSE
|
66
|
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
67
|
+
|
68
|
+
0. This License applies to any program or other work which contains
|
69
|
+
a notice placed by the copyright holder saying it may be distributed
|
70
|
+
under the terms of this General Public License. The "Program", below,
|
71
|
+
refers to any such program or work, and a "work based on the Program"
|
72
|
+
means either the Program or any derivative work under copyright law:
|
73
|
+
that is to say, a work containing the Program or a portion of it,
|
74
|
+
either verbatim or with modifications and/or translated into another
|
75
|
+
language. (Hereinafter, translation is included without limitation in
|
76
|
+
the term "modification".) Each licensee is addressed as "you".
|
77
|
+
|
78
|
+
Activities other than copying, distribution and modification are not
|
79
|
+
covered by this License; they are outside its scope. The act of
|
80
|
+
running the Program is not restricted, and the output from the Program
|
81
|
+
is covered only if its contents constitute a work based on the
|
82
|
+
Program (independent of having been made by running the Program).
|
83
|
+
Whether that is true depends on what the Program does.
|
84
|
+
|
85
|
+
1. You may copy and distribute verbatim copies of the Program's
|
86
|
+
source code as you receive it, in any medium, provided that you
|
87
|
+
conspicuously and appropriately publish on each copy an appropriate
|
88
|
+
copyright notice and disclaimer of warranty; keep intact all the
|
89
|
+
notices that refer to this License and to the absence of any warranty;
|
90
|
+
and give any other recipients of the Program a copy of this License
|
91
|
+
along with the Program.
|
92
|
+
|
93
|
+
You may charge a fee for the physical act of transferring a copy, and
|
94
|
+
you may at your option offer warranty protection in exchange for a fee.
|
95
|
+
|
96
|
+
2. You may modify your copy or copies of the Program or any portion
|
97
|
+
of it, thus forming a work based on the Program, and copy and
|
98
|
+
distribute such modifications or work under the terms of Section 1
|
99
|
+
above, provided that you also meet all of these conditions:
|
100
|
+
|
101
|
+
a) You must cause the modified files to carry prominent notices
|
102
|
+
stating that you changed the files and the date of any change.
|
103
|
+
|
104
|
+
b) You must cause any work that you distribute or publish, that in
|
105
|
+
whole or in part contains or is derived from the Program or any
|
106
|
+
part thereof, to be licensed as a whole at no charge to all third
|
107
|
+
parties under the terms of this License.
|
108
|
+
|
109
|
+
c) If the modified program normally reads commands interactively
|
110
|
+
when run, you must cause it, when started running for such
|
111
|
+
interactive use in the most ordinary way, to print or display an
|
112
|
+
announcement including an appropriate copyright notice and a
|
113
|
+
notice that there is no warranty (or else, saying that you provide
|
114
|
+
a warranty) and that users may redistribute the program under
|
115
|
+
these conditions, and telling the user how to view a copy of this
|
116
|
+
License. (Exception: if the Program itself is interactive but
|
117
|
+
does not normally print such an announcement, your work based on
|
118
|
+
the Program is not required to print an announcement.)
|
119
|
+
|
120
|
+
These requirements apply to the modified work as a whole. If
|
121
|
+
identifiable sections of that work are not derived from the Program,
|
122
|
+
and can be reasonably considered independent and separate works in
|
123
|
+
themselves, then this License, and its terms, do not apply to those
|
124
|
+
sections when you distribute them as separate works. But when you
|
125
|
+
distribute the same sections as part of a whole which is a work based
|
126
|
+
on the Program, the distribution of the whole must be on the terms of
|
127
|
+
this License, whose permissions for other licensees extend to the
|
128
|
+
entire whole, and thus to each and every part regardless of who wrote it.
|
129
|
+
|
130
|
+
Thus, it is not the intent of this section to claim rights or contest
|
131
|
+
your rights to work written entirely by you; rather, the intent is to
|
132
|
+
exercise the right to control the distribution of derivative or
|
133
|
+
collective works based on the Program.
|
134
|
+
|
135
|
+
In addition, mere aggregation of another work not based on the Program
|
136
|
+
with the Program (or with a work based on the Program) on a volume of
|
137
|
+
a storage or distribution medium does not bring the other work under
|
138
|
+
the scope of this License.
|
139
|
+
|
140
|
+
3. You may copy and distribute the Program (or a work based on it,
|
141
|
+
under Section 2) in object code or executable form under the terms of
|
142
|
+
Sections 1 and 2 above provided that you also do one of the following:
|
143
|
+
|
144
|
+
a) Accompany it with the complete corresponding machine-readable
|
145
|
+
source code, which must be distributed under the terms of Sections
|
146
|
+
1 and 2 above on a medium customarily used for software interchange; or,
|
147
|
+
|
148
|
+
b) Accompany it with a written offer, valid for at least three
|
149
|
+
years, to give any third party, for a charge no more than your
|
150
|
+
cost of physically performing source distribution, a complete
|
151
|
+
machine-readable copy of the corresponding source code, to be
|
152
|
+
distributed under the terms of Sections 1 and 2 above on a medium
|
153
|
+
customarily used for software interchange; or,
|
154
|
+
|
155
|
+
c) Accompany it with the information you received as to the offer
|
156
|
+
to distribute corresponding source code. (This alternative is
|
157
|
+
allowed only for noncommercial distribution and only if you
|
158
|
+
received the program in object code or executable form with such
|
159
|
+
an offer, in accord with Subsection b above.)
|
160
|
+
|
161
|
+
The source code for a work means the preferred form of the work for
|
162
|
+
making modifications to it. For an executable work, complete source
|
163
|
+
code means all the source code for all modules it contains, plus any
|
164
|
+
associated interface definition files, plus the scripts used to
|
165
|
+
control compilation and installation of the executable. However, as a
|
166
|
+
special exception, the source code distributed need not include
|
167
|
+
anything that is normally distributed (in either source or binary
|
168
|
+
form) with the major components (compiler, kernel, and so on) of the
|
169
|
+
operating system on which the executable runs, unless that component
|
170
|
+
itself accompanies the executable.
|
171
|
+
|
172
|
+
If distribution of executable or object code is made by offering
|
173
|
+
access to copy from a designated place, then offering equivalent
|
174
|
+
access to copy the source code from the same place counts as
|
175
|
+
distribution of the source code, even though third parties are not
|
176
|
+
compelled to copy the source along with the object code.
|
177
|
+
|
178
|
+
4. You may not copy, modify, sublicense, or distribute the Program
|
179
|
+
except as expressly provided under this License. Any attempt
|
180
|
+
otherwise to copy, modify, sublicense or distribute the Program is
|
181
|
+
void, and will automatically terminate your rights under this License.
|
182
|
+
However, parties who have received copies, or rights, from you under
|
183
|
+
this License will not have their licenses terminated so long as such
|
184
|
+
parties remain in full compliance.
|
185
|
+
|
186
|
+
5. You are not required to accept this License, since you have not
|
187
|
+
signed it. However, nothing else grants you permission to modify or
|
188
|
+
distribute the Program or its derivative works. These actions are
|
189
|
+
prohibited by law if you do not accept this License. Therefore, by
|
190
|
+
modifying or distributing the Program (or any work based on the
|
191
|
+
Program), you indicate your acceptance of this License to do so, and
|
192
|
+
all its terms and conditions for copying, distributing or modifying
|
193
|
+
the Program or works based on it.
|
194
|
+
|
195
|
+
6. Each time you redistribute the Program (or any work based on the
|
196
|
+
Program), the recipient automatically receives a license from the
|
197
|
+
original licensor to copy, distribute or modify the Program subject to
|
198
|
+
these terms and conditions. You may not impose any further
|
199
|
+
restrictions on the recipients' exercise of the rights granted herein.
|
200
|
+
You are not responsible for enforcing compliance by third parties to
|
201
|
+
this License.
|
202
|
+
|
203
|
+
7. If, as a consequence of a court judgment or allegation of patent
|
204
|
+
infringement or for any other reason (not limited to patent issues),
|
205
|
+
conditions are imposed on you (whether by court order, agreement or
|
206
|
+
otherwise) that contradict the conditions of this License, they do not
|
207
|
+
excuse you from the conditions of this License. If you cannot
|
208
|
+
distribute so as to satisfy simultaneously your obligations under this
|
209
|
+
License and any other pertinent obligations, then as a consequence you
|
210
|
+
may not distribute the Program at all. For example, if a patent
|
211
|
+
license would not permit royalty-free redistribution of the Program by
|
212
|
+
all those who receive copies directly or indirectly through you, then
|
213
|
+
the only way you could satisfy both it and this License would be to
|
214
|
+
refrain entirely from distribution of the Program.
|
215
|
+
|
216
|
+
If any portion of this section is held invalid or unenforceable under
|
217
|
+
any particular circumstance, the balance of the section is intended to
|
218
|
+
apply and the section as a whole is intended to apply in other
|
219
|
+
circumstances.
|
220
|
+
|
221
|
+
It is not the purpose of this section to induce you to infringe any
|
222
|
+
patents or other property right claims or to contest validity of any
|
223
|
+
such claims; this section has the sole purpose of protecting the
|
224
|
+
integrity of the free software distribution system, which is
|
225
|
+
implemented by public license practices. Many people have made
|
226
|
+
generous contributions to the wide range of software distributed
|
227
|
+
through that system in reliance on consistent application of that
|
228
|
+
system; it is up to the author/donor to decide if he or she is willing
|
229
|
+
to distribute software through any other system and a licensee cannot
|
230
|
+
impose that choice.
|
231
|
+
|
232
|
+
This section is intended to make thoroughly clear what is believed to
|
233
|
+
be a consequence of the rest of this License.
|
234
|
+
|
235
|
+
8. If the distribution and/or use of the Program is restricted in
|
236
|
+
certain countries either by patents or by copyrighted interfaces, the
|
237
|
+
original copyright holder who places the Program under this License
|
238
|
+
may add an explicit geographical distribution limitation excluding
|
239
|
+
those countries, so that distribution is permitted only in or among
|
240
|
+
countries not thus excluded. In such case, this License incorporates
|
241
|
+
the limitation as if written in the body of this License.
|
242
|
+
|
243
|
+
9. The Free Software Foundation may publish revised and/or new versions
|
244
|
+
of the General Public License from time to time. Such new versions will
|
245
|
+
be similar in spirit to the present version, but may differ in detail to
|
246
|
+
address new problems or concerns.
|
247
|
+
|
248
|
+
Each version is given a distinguishing version number. If the Program
|
249
|
+
specifies a version number of this License which applies to it and "any
|
250
|
+
later version", you have the option of following the terms and conditions
|
251
|
+
either of that version or of any later version published by the Free
|
252
|
+
Software Foundation. If the Program does not specify a version number of
|
253
|
+
this License, you may choose any version ever published by the Free Software
|
254
|
+
Foundation.
|
255
|
+
|
256
|
+
10. If you wish to incorporate parts of the Program into other free
|
257
|
+
programs whose distribution conditions are different, write to the author
|
258
|
+
to ask for permission. For software which is copyrighted by the Free
|
259
|
+
Software Foundation, write to the Free Software Foundation; we sometimes
|
260
|
+
make exceptions for this. Our decision will be guided by the two goals
|
261
|
+
of preserving the free status of all derivatives of our free software and
|
262
|
+
of promoting the sharing and reuse of software generally.
|
263
|
+
|
264
|
+
NO WARRANTY
|
265
|
+
|
266
|
+
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
267
|
+
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
268
|
+
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
269
|
+
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
270
|
+
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
271
|
+
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
272
|
+
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
273
|
+
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
274
|
+
REPAIR OR CORRECTION.
|
275
|
+
|
276
|
+
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
277
|
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
278
|
+
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
279
|
+
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
280
|
+
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
281
|
+
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
282
|
+
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
283
|
+
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
284
|
+
POSSIBILITY OF SUCH DAMAGES.
|
285
|
+
|
286
|
+
END OF TERMS AND CONDITIONS
|
data/KNOWN_ISSUES.txt
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
1. To run the OpenGL examples install opengl (doesn't work on Ubuntu)
|
2
|
+
gem install opengl --pre
|
3
|
+
2. The qRgb macro doesn't appear to work correctly
|
4
|
+
3. The following examples fail on Windows:
|
5
|
+
itemview/dirview -> Hangs
|
6
|
+
network/broadcastsender -> writeDatagram(const char* data, ...) fails
|
7
|
+
network/broadcastreceiver -> readDatagram(char* data, ...) fails
|
8
|
+
4. The following examples fail on Ubuntu:
|
9
|
+
opengl/* -> opengl doesn't install
|
10
|
+
network/broadcastsender -> writeDatagram(const char* data, ...) fails
|
11
|
+
network/broadcastreceiver -> readDatagram(char* data, ...) fails
|
12
|
+
5. The following examples fail on Mac OS X:
|
13
|
+
desktop/screenshot -> QPixmap::scaled: Pixmap is a null pixmap
|
14
|
+
network/broadcastsender -> writeDatagram(const char* data, ...) fails
|
15
|
+
network/broadcastreceiver -> readDatagram(char* data, ...) fails
|
16
|
+
|
17
|
+
NOTE: The QDBus examples don't work on Windows because QtDBus is Unix only.
|
data/Rakefile
ADDED
@@ -0,0 +1,121 @@
|
|
1
|
+
require 'rake'
|
2
|
+
|
3
|
+
windows = false
|
4
|
+
processor, platform, *rest = RUBY_PLATFORM.split("-")
|
5
|
+
windows = true if platform =~ /mswin32/ or platform =~ /mingw32/
|
6
|
+
|
7
|
+
if windows
|
8
|
+
MAKE = 'mingw32-make'
|
9
|
+
SLASH = '\\'
|
10
|
+
COPY = 'copy'
|
11
|
+
DEL = 'del'
|
12
|
+
else
|
13
|
+
MAKE = 'make'
|
14
|
+
SLASH = '/'
|
15
|
+
COPY = 'cp'
|
16
|
+
DEL = 'rm'
|
17
|
+
end
|
18
|
+
|
19
|
+
def warn_version
|
20
|
+
puts 'Warning: VERSION not specified' unless ENV['VERSION']
|
21
|
+
end
|
22
|
+
|
23
|
+
def set_version
|
24
|
+
if ENV['VERSION']
|
25
|
+
File.open('lib/qtbindings_version.rb', 'w') do |file|
|
26
|
+
file.write("QTBINDINGS_VERSION = '#{ENV['VERSION']}'\n")
|
27
|
+
file.write("QTBINDINGS_RELEASE_DATE = '#{Time.now}'\n")
|
28
|
+
end
|
29
|
+
File.open('qtlib/qtbindings_qt_version.rb', 'w') do |file|
|
30
|
+
file.write("QTBINDINGS_QT_VERSION = '#{ENV['VERSION'].split('.')[0..-2].join('.')}'\n")
|
31
|
+
file.write("QTBINDINGS_QT_RELEASE_DATE = '#{Time.now}'\n")
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
def clear_version
|
37
|
+
if ENV['VERSION']
|
38
|
+
File.open('lib/qtbindings_version.rb', 'w') do |file|
|
39
|
+
file.write("QTBINDINGS_VERSION = '0.0.0.0'\n")
|
40
|
+
file.write("QTBINDINGS_RELEASE_DATE = ''\n")
|
41
|
+
end
|
42
|
+
File.open('lib/qtbindings_qt_version.rb', 'w') do |file|
|
43
|
+
file.write("QTBINDINGS_QT_VERSION = '0.0.0'\n")
|
44
|
+
file.write("QTBINDINGS_QT_RELEASE_DATE = ''\n")
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
task :build_examples do
|
50
|
+
# Go into the examples directory and look for all the makefiles and build them
|
51
|
+
Dir['examples/**/makefile'].each do |file|
|
52
|
+
if windows
|
53
|
+
system("cd #{File.dirname(file).gsub('/', '\\')} && #{MAKE}")
|
54
|
+
else
|
55
|
+
system("cd #{File.dirname(file)} && #{MAKE}")
|
56
|
+
end
|
57
|
+
end
|
58
|
+
end
|
59
|
+
|
60
|
+
task :examples => [:build_examples] do
|
61
|
+
system('cd examples && ruby run_all.rb')
|
62
|
+
end
|
63
|
+
|
64
|
+
task :default => [:all]
|
65
|
+
|
66
|
+
task :extconf do
|
67
|
+
system('ruby extconf.rb')
|
68
|
+
end
|
69
|
+
|
70
|
+
# All calls 'make clean' and 'make build'
|
71
|
+
task :all => [:extconf] do
|
72
|
+
system("#{MAKE} all")
|
73
|
+
end
|
74
|
+
|
75
|
+
task :clean => [:extconf] do
|
76
|
+
system("#{MAKE} clean")
|
77
|
+
end
|
78
|
+
|
79
|
+
task :distclean => [:extconf] do
|
80
|
+
system("#{MAKE} distclean")
|
81
|
+
end
|
82
|
+
|
83
|
+
task :make_build => [:extconf] do
|
84
|
+
system("#{MAKE} build")
|
85
|
+
end
|
86
|
+
|
87
|
+
task :install => [:extconf] do
|
88
|
+
system("#{MAKE} install")
|
89
|
+
end
|
90
|
+
|
91
|
+
task :gem => [:distclean] do
|
92
|
+
warn_version()
|
93
|
+
set_version()
|
94
|
+
system("gem build qtbindings.gemspec")
|
95
|
+
clear_version()
|
96
|
+
end
|
97
|
+
|
98
|
+
task :gemnative do
|
99
|
+
warn_version()
|
100
|
+
set_version()
|
101
|
+
system("#{COPY} gemspecs#{SLASH}qtbindingsnative.gemspec .")
|
102
|
+
system("gem build qtbindingsnative.gemspec")
|
103
|
+
system("#{DEL} qtbindingsnative.gemspec")
|
104
|
+
clear_version()
|
105
|
+
end
|
106
|
+
|
107
|
+
task :gemqt do
|
108
|
+
warn_version()
|
109
|
+
set_version()
|
110
|
+
system("#{MAKE} installqt")
|
111
|
+
system("#{COPY} gemspecs#{SLASH}qtbindings-qt.gemspec .")
|
112
|
+
system("gem build qtbindings-qt.gemspec")
|
113
|
+
system("#{DEL} qtbindings-qt.gemspec")
|
114
|
+
clear_version()
|
115
|
+
end
|
116
|
+
|
117
|
+
task :build do
|
118
|
+
Rake::Task[:extconf].execute
|
119
|
+
Rake::Task[:all].execute
|
120
|
+
Rake::Task[:install].execute
|
121
|
+
end
|
data/TODO.txt
ADDED
data/bin/2.0/rbrcc.exe
ADDED
Binary file
|
data/bin/2.0/rbuic4.exe
ADDED
Binary file
|
Binary file
|
Binary file
|
data/bin/2.1/rbrcc.exe
ADDED
Binary file
|
data/bin/2.1/rbuic4.exe
ADDED
Binary file
|
Binary file
|
Binary file
|
data/bin/2.2/rbrcc.exe
ADDED
Binary file
|
data/bin/2.2/rbuic4.exe
ADDED
Binary file
|