summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview
Commit message (Collapse)AuthorAgeFilesLines
* Doc: Updated example license to three clause BSD license.David Boddie2010-05-1963-1723/+1660
| | | | | Reviewed-by: Trust Me Requested-by: Legal
* Compile fixes.ck2010-05-171-0/+4
|
* Add missing file!Andreas Aardal Hanssen2010-05-141-0/+208
| | | | Amendment to 812f78e55aa3db4d51ec8617320358d80c4a71d5.
* Documentation for the Pad Navigator Example.Andreas Aardal Hanssen2010-05-129-108/+186
| | | | This also does a few touch-ups on the source code.
* New Pad Nagivator example implementation.Andreas Aardal Hanssen2010-05-1212-670/+524
| | | | | | | | | | The old implementation was demo-quality and didn't really belong in the examples section. This new code cleans up the implementation, and also makes use of brand new features such as the state machine and animated transitions system. The new code is more suitable for documentation, and full docs are coming up in the next commit.
* Documentation for the Elastic Nodes example.Andreas Aardal Hanssen2010-04-296-42/+80
| | | | Checked for qdoc errors.
* Documentation for the Drag and Drop Robot example.Andreas Aardal Hanssen2010-04-295-108/+172
| | | | | | Checked that it doesn't introduce qdoc errors. Discussed with David and Martin; recommendation was to commit first and fix any errors via review in later commits.
* Diagram scene example (graphicsview/diagramscene) refresh problem.Bjørn Erik Nilsen2010-04-221-0/+1
| | | | | | | | | | Connections between shapes were not updated when moving items around. Problem was that the QGraphicsItem::ItemSendsGeometryChanges flag was not enabled. (Geoemtry changes notifications were disabled by default in 4.6 for performance reasons) Task-number: QT-2482 Reviewed-by: TrustMe
* Fix warnings and build on mingwThierry Bastian2010-03-251-9/+2
|
* Removed duplicate resource.axis2010-02-231-1/+0
|
* Doc: Added a missing example to the list of Graphics View examples.David Boddie2010-01-111-0/+1
| | | | Reviewed-by: Trust Me
* Update copyright year to 2010Jason McDonald2010-01-0661-61/+61
| | | | Reviewed-by: Trust Me
* QGAL (Test): Fix memory leaks in example and testsEduardo M. Fleury2009-11-271-2/+2
| | | | | | | | | | | Some tests and the example were leaking memory what made it harder to investigate leaks on the layout itself. Those were simple errors like not deleting the layout at the end of the test and were corrected. Signed-off-by: Eduardo M. Fleury <eduardo.fleury@openbossa.org> Reviewed-by: Artur Duque de Souza <artur.souza@openbossa.org>
* Ran the script utils/normalizeOlivier Goffart2009-11-183-22/+22
| | | | Over src/ tools/ examples/ and demos/
* Make it clear that the two semi-floating widget should overflow.Jan-Arve Sæther2009-11-131-2/+2
|
* Clean up example (remove unused ifdef).Jan-Arve Sæther2009-11-131-14/+6
|
* Compile fix Solaris: "sun" is defined to 1 on Solaris :)Jan-Arve Sæther2009-11-131-9/+9
|
* Pro file fixes wrt anchor layout examples.Jan-Arve Sæther2009-11-062-4/+3
|
* Make sure the pixmap is properly initialized.Jan-Arve Sæther2009-11-061-0/+1
| | | | Reviewed-by: sroedal
* Weather Anchor Layout exampleArtur Duque de Souza2009-11-059-0/+300
| | | | | | | | | | | | This was a design that was not possible before with the other layouts. To do this, the developer would need to hardcode all the positions and resize would not work. Besides the fact that we use "pixmap widgets" no it's not totally usefull widgets, it shows how anchors can help developers an designers with to create applications with new layouts. Signed-off-by: Artur Duque de Souza <artur.souza@openbossa.org>
* Doc: Reviewed and revised QGraphicsAnchorLayout documentation.David Boddie2009-10-233-8/+145
| | | | Reviewed-by: Trust Me
* Doc: Added an example to the list of Graphics View examples to build.David Boddie2009-10-121-0/+1
| | | | Reviewed-by: Trust Me
* Demos and applications have a nice Qt logo when installed on SymbianEspen Riskedal2009-10-024-4/+4
| | | | | | | | | | Added a line to the symbianpkgrules.pri files which includes an ICON if the TARGET.UID3 is defined. We should fix the application_icon.prf to handle ICON without UID3 situations more gracefully, but for now I reordered existing UID3s to be specified before the symbianpkgrules.pri includes. Reviewed-by: Aleksandar Babic
* Use qDebug() instead of printf() when dumping the simplex matrix.Jan-Arve Sæther2009-09-251-0/+1
| | | | | | printf() does not work very well on windows, since it will not send the output to OutputDebugString(). This allows us to catch the output even if the program is configured without "CONFIG += console".
* Merge branch '4.5' of scm.dev.nokia.troll.no:qt/qt into 4.6Simon Hausmann2009-09-241-1/+1
|\ | | | | | | | | | | | | Conflicts: examples/webkit/formextractor/formextractor.pro mkspecs/features/qt.prf src/gui/painting/qpaintengineex.cpp
| * Paint arrow on top of node, not underneath itEskil Abrahamsen Blomfeldt2009-09-231-1/+1
| | | | | | | | | | | | | | | | | | It looked strange that the node and its drop shadow was painted on top of the arrow. Flip the z-axis around to make sure the arrow is painted on top. Task-number: QTBUG-4544 Reviewed-by: Gunnar
| * Update license headers again.Jason McDonald2009-09-0853-212/+212
| | | | | | | | Reviewed-by: Trust Me
* | QGraphicsAnchorLayout: Set size policy in the exampleAnselmo Lacerda S. de Melo2009-09-181-0/+1
| | | | | | | | | | | | | | | | Set QSizePolicy::Preferred to all proxy widgets (after setWidgeT) in the QGraphicsAnchorLayout example to avoid "QSimplex: No feasible solution!" that occurs when all items are set with QPushButton's default size policy. Signed-off-by: Anselmo Lacerda S. de Melo <anselmo.melo@openbossa.org>
* | API change. This will get rid of the ugly setAnchorSpacing() method.Jan-Arve Sæther2009-09-141-52/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Say hello to QGraphicsAnchor, move the spacing (and removeAnchor) functionality over to that class. This also opens up for a cleaner API when we add support for size policies or min/pref/max sizes for anchors. Also remove - addLeftAndRightAnchors() - addTopAndBottomAnchors() - addAllAnchors() in favor of - addAnchors(itemA, itemB, Qt::Orientations) API change discussed with Caio and Andreas. Reviewed-by: Alexis
* | Update license headers again.Jason McDonald2009-09-0959-236/+236
| | | | | | | | Reviewed-by: Trust Me
* | Make the view in the flowlayout example big enough.Jan-Arve Sæther2009-09-041-0/+1
| |
* | Minor fixes to the graphicsview/flowlayout exampleJan-Arve Sæther2009-09-042-13/+17
| |
* | Don't show the pad navigator example full screen.Andreas Aardal Hanssen2009-08-311-1/+1
| | | | | | | | | | | | | | | | This reverts a change added by 6a3de1f5 by mistake (according to the S60 guys). The proper fix may be to add a -small-screen argument, or to run fullscreen on embedded only. Reviewed-by: jbarron
* | Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-315-65/+65
| | | | | | | | Reviewed-by: Trust Me
* | Merge branch '4.5' into 4.6Thiago Macieira2009-08-3154-702/+702
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/boxes/glshaders.cpp demos/boxes/vector.h demos/embedded/fluidlauncher/pictureflow.cpp demos/embedded/fluidlauncher/pictureflow.h doc/src/desktop-integration.qdoc doc/src/distributingqt.qdoc doc/src/examples-overview.qdoc doc/src/examples.qdoc doc/src/frameworks-technologies/dbus-adaptors.qdoc doc/src/geometry.qdoc doc/src/groups.qdoc doc/src/objecttrees.qdoc doc/src/platform-notes.qdoc doc/src/plugins-howto.qdoc doc/src/qt3support.qdoc doc/src/qtdbus.qdoc doc/src/qtdesigner.qdoc doc/src/qtgui.qdoc doc/src/qtmain.qdoc doc/src/qtopengl.qdoc doc/src/qtsvg.qdoc doc/src/qtuiloader.qdoc doc/src/qundo.qdoc doc/src/richtext.qdoc doc/src/topics.qdoc src/corelib/tools/qdumper.cpp src/gui/embedded/qkbdpc101_qws.cpp src/gui/embedded/qkbdsl5000_qws.cpp src/gui/embedded/qkbdusb_qws.cpp src/gui/embedded/qkbdvr41xx_qws.cpp src/gui/embedded/qkbdyopy_qws.cpp src/gui/embedded/qmousebus_qws.cpp src/gui/embedded/qmousevr41xx_qws.cpp src/gui/embedded/qmouseyopy_qws.cpp src/gui/painting/qpaintengine_d3d.cpp src/gui/painting/qwindowsurface_d3d.cpp src/opengl/gl2paintengineex/glgc_shader_source.h src/opengl/gl2paintengineex/qglpexshadermanager.cpp src/opengl/gl2paintengineex/qglpexshadermanager_p.h src/opengl/gl2paintengineex/qglshader.cpp src/opengl/gl2paintengineex/qglshader_p.h src/opengl/util/fragmentprograms_p.h src/plugins/kbddrivers/linuxis/linuxiskbdhandler.cpp src/plugins/mousedrivers/linuxis/linuxismousehandler.cpp src/script/parser/qscript.g src/script/qscriptarray_p.h src/script/qscriptasm_p.h src/script/qscriptbuffer_p.h src/script/qscriptclass.cpp src/script/qscriptclassdata_p.h src/script/qscriptcompiler.cpp src/script/qscriptcompiler_p.h src/script/qscriptcontext.cpp src/script/qscriptcontext_p.cpp src/script/qscriptcontext_p.h src/script/qscriptcontextfwd_p.h src/script/qscriptecmaarray.cpp src/script/qscriptecmaarray_p.h src/script/qscriptecmaboolean.cpp src/script/qscriptecmacore.cpp src/script/qscriptecmadate.cpp src/script/qscriptecmadate_p.h src/script/qscriptecmaerror.cpp src/script/qscriptecmaerror_p.h src/script/qscriptecmafunction.cpp src/script/qscriptecmafunction_p.h src/script/qscriptecmaglobal.cpp src/script/qscriptecmaglobal_p.h src/script/qscriptecmamath.cpp src/script/qscriptecmamath_p.h src/script/qscriptecmanumber.cpp src/script/qscriptecmanumber_p.h src/script/qscriptecmaobject.cpp src/script/qscriptecmaobject_p.h src/script/qscriptecmaregexp.cpp src/script/qscriptecmaregexp_p.h src/script/qscriptecmastring.cpp src/script/qscriptecmastring_p.h src/script/qscriptengine.cpp src/script/qscriptengine_p.cpp src/script/qscriptengine_p.h src/script/qscriptenginefwd_p.h src/script/qscriptextenumeration.cpp src/script/qscriptextenumeration_p.h src/script/qscriptextqobject.cpp src/script/qscriptextqobject_p.h src/script/qscriptextvariant.cpp src/script/qscriptfunction.cpp src/script/qscriptfunction_p.h src/script/qscriptgc_p.h src/script/qscriptmember_p.h src/script/qscriptobject_p.h src/script/qscriptprettypretty.cpp src/script/qscriptprettypretty_p.h src/script/qscriptvalue.cpp src/script/qscriptvalueimpl.cpp src/script/qscriptvalueimpl_p.h src/script/qscriptvalueimplfwd_p.h src/script/qscriptvalueiteratorimpl.cpp src/script/qscriptxmlgenerator.cpp src/script/qscriptxmlgenerator_p.h tests/auto/linguist/lupdate/testdata/recursivescan/project.ui tests/auto/linguist/lupdate/testdata/recursivescan/sub/finddialog.cpp tests/auto/qkeyevent/tst_qkeyevent.cpp tools/linguist/shared/cpp.cpp
| * Update tech preview license header.Jason McDonald2009-08-3153-689/+689
| | | | | | | | Reviewed-by: Trust Me
| * Update license headers.Jason McDonald2009-08-1153-53/+53
| | | | | | | | Reviewed-by: Trust Me
* | Make it compile on Windows CE where min and max are predefined macros.Jan-Arve Sæther2009-08-271-11/+11
| | | | | | | | Reviewed-by: mauricek
* | Add missing license headers and header guards.Jason McDonald2009-08-211-0/+41
| | | | | | | | Reviewed-by: Trust Me
* | renamed examplebase.pri to symbianpkgrules.priEspen Riskedal2009-08-219-16/+21
| | | | | | | | | | | | | | | | examplesbase.pri sounded to generic and it was not obvious that this was only for Symbian. Also merged the different symbian rules if they were spread around in the .pro file. Reviewed-by: Aleksandar Sasha Babic
* | Removed an example that was listed twice.axis2009-08-211-1/+0
| | | | | | | | RevBy: Espen Riskedal
* | Merge commit 'qt/master'Jason Barron2009-08-213-1/+124
|\ \ | | | | | | | | | | | | Conflicts: examples/graphicsview/graphicsview.pro
| * \ Merge branch 'anchorlayout' of ↵Jan-Arve Sæther2009-08-213-1/+124
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | git@gitorious.org:+openbossa-developers/qt/openbossa-clone Conflicts: src/gui/graphicsview/graphicsview.pri
| | * | update API to what was agreed on the API review meeting yesterday:Jan-Arve Sæther2009-08-191-29/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The changes are: * Move enums in QGraphicsAnchorLayout::Edge to Qt::AnchorPoint. Prefix them with Anchor since they are not edges in general. * Rename anchor() to addAnchor() * Rename anchorCorner() -> addCornerAnchors() * Rename anchorWidth() -> addLeftAndRightAnchors() * Rename anchorHeight() -> addTopAndBottomAnchors() * Rename anchorGeometry() -> addAllAnchors() * remove the overloads that take a spacing argument, and add setAnchorSpacing() to accommodate for that. * Added anchorSpacing() (implementation missing) * Added unsetAnchorSpacing(). (implementation missing) * made sizeHint() protected. Updated all examples and autotest to reflect this API change.
| | * | Clean up exampleJan-Arve Sæther2009-08-172-151/+6
| | | |
| | * | Clean up public API: move dumpGraph() to private API.Jan-Arve Sæther2009-08-171-2/+0
| | | | | | | | | | | | | | | | Hopefully we won't need it more...
| | * | Explicitly use a spacing of 0 in order to keep old behaviour.Jan-Arve Sæther2009-07-221-23/+23
| | | | | | | | | | | | | | | | | | | | This broke after commit 0872f78d8924b9bea8b8da6618e24cd7d06c5d7d that fixed the default spacings.
| | * | QGraphicsAnchorLayoutExample: Delete objects to avoid memory leaksEduardo M. Fleury2009-07-221-1/+6
| | | | | | | | | | | | | | | | Delete objects from heap.
| | * | QGraphicsAnchorLayout: Adding an usage exampleJesus Sanchez-Palencia2009-07-224-1/+243
| | | | | | | | | | | | | | | | Signed-off-by: Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
* | | | Merge commit 'qt/master'Jason Barron2009-08-1358-58/+58
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: examples/opengl/samplebuffers/glwidget.cpp src/corelib/io/qfsfileengine_unix.cpp src/corelib/kernel/qobject.cpp src/corelib/tools/qsharedpointer.cpp src/gui/gui.pro tests/auto/qhttp/tst_qhttp.cpp tests/auto/qkeyevent/tst_qkeyevent.cpp