Sometimes when you think you’re on to something, and you end up in the flow, so bad, that it overshadows everything you’re doing. Ariya and I were working on optimizations in Graphics View and stumbled over an optimization for clipping that made a certain benchmark run 40 - forty - times faster. The patch has […]
Graphics Items
From Qt Labs
| Graphics Items | |||
| |||
| Platforms: | GNU/Linux, Windows, Mac | ||
| License: | GPL | ||
Graphics Items blogs | |||
Subversion:
| |||
[edit] Graphics Items
[edit]
On this project page, you will find links to experimental Graphics View items.
QGraphicsWidgetItem is a graphics item that allows embedding of QWidgets in a QGraphicsScene. It does not support transformations, and item stacking order (Z value) is ignored. Note also that performance-wise, QWidget is not designed for high volume use like QGraphicsItem is. With hundreds or thousands of widgets, performance will not be optimal.
[edit]
The code can be obtained by typing:
svn checkout svn://labs.trolltech.com/svn/graphicsview/ graphicsview
from a terminal window.
The code in the SVN contains items (one in each folder), as well as a compilable example.
[edit] Latest 5 Graphics View Blogs
To breathe some new life into the graphics dojo, here’s an example of how to put widgets on top of an OpenGL scene using QGraphicsView. By leveraging the synergy (tounge in cheek) of the OpenGL module and graphics view’s in 4.4 new widget capabilities, the long lacking feature of putting widgets in OpenGL becomes possible. […]
So the time is finally here. Qt 4.4.0 was released a few weeks ago and as promised Qt Jambi is right behind. A lot of effort has gone into this one, in addition to supporting all the new Qt features, like Phonon, Webkit, Widgets in Graphics View, XQuery and Qt Concurrent, we also have a […]
I’m studying how we can add light and shadow to widgets and items. I want to hear what you think :-). So I’ll just throw out my ideas and see what happens.
Light and shadow are special effects that follow and decorate items, and affect how they are rendered, at the same time as they’re a […]
Here’s another brain dump… I’m working on adding opacity support to QGraphicsItem and possibly QWidget, and have run into a common inside pattern, with a common problem to solve. Figured I’d share it with those interested.
Many of Qt’s properties propagate, some do in different ways, but the general pattern is that you set or modify […]