summaryrefslogtreecommitdiffstats
path: root/examples/graphicsview
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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
* Cleanup our usage of the term "Qt Software".Jason McDonald2009-06-161-1/+1
| | | | Reviewed-by: Trust Me
* Update license headers as requested by the marketing department.Jason McDonald2009-06-1653-106/+106
| | | | Reviewed-by: Trust Me
* Fix more NaNs in Elastic Nodes exampleJoão Abecasis2009-04-221-3/+6
| | | | | | | Don't try to draw zero-length lines. Don't draw lines if nodes are superimposed. Reviewed-by: Andreas
* BT: Fix lock-up & crash in the Elastic Nodes exampleAndreas Aardal Hanssen2009-04-211-3/+8
| | | | | | | | Ensure that we don't divide by 0 when two nodes are exactly on top of each other. Reviewed-by: Alexis Reviewed-by: Joao
* BT: Adjust the colliding mice example to work with coalesced updates.Norwegian Rock Cat2009-04-063-7/+9
| | | | | | | | | | | | | | | | | | | It seems that Cocoa is much more strict about coalesced updates than Carbon ever was. The upshot of this is that some examples that "worked" after a fashion in Carbon, do not exhibit good frame rates with Cocoa. The reason why is that apparently Cocoa will decide to flush to the screen every time a timer fires. If you have a lot of timers that are all dependent on doing on update to the screen, you will get undesirable effects. Thankfully, it is possible to adjust the examples to follow best practices and get a good result. So, we now only do the animation once using QGraphicsScene::advance(). We are also able to make the mice less heavy (no QObject subclass). I've updated the docs and someone on the doc team has kindly volunteered to go through them. Reviewed-by: Andreas
* Long live Qt 4.5!Lars Knoll2009-03-23272-0/+9535