Graphics Items

From Qt Labs

Jump to: navigation, search


Graphics Items
Project logo: qgraphicswidgetitem.png
Platforms: GNU/Linux, Windows, Mac
License: GPL
   Graphics Items blogs
   
Graphics Items forum
Subversion:
svn://labs.trolltech.com/svn/graphicsview/


[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

Andreas
Qt
KDE
Graphics View
Posted by Andreas
 in Qt, KDE, Graphics View
 on Wednesday, August 06, 2008 @ 18:06

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 […]

» 7 comments «
sroedal
Qt
Graphics View
Graphics Items
Graphics Dojo
Posted by sroedal
 in Qt, Graphics View, Graphics Items, Graphics Dojo
 on Friday, June 27, 2008 @ 13:47

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. […]

» 11 comments «
gunnar
Uncategorized
Qt
Qt Jambi
WebKit
Qt Concurrent
Graphics View
Patternist
Posted by gunnar
 in Uncategorized, Qt, Qt Jambi, WebKit, Qt Concurrent, Graphics View, Patternist
 on Tuesday, June 10, 2008 @ 09:13

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 […]

» 2 comments «
Andreas
Qt
KDE
Graphics View
Posted by Andreas
 in Qt, KDE, Graphics View
 on Friday, May 30, 2008 @ 13:57

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 […]

» 12 comments «
Andreas
Qt
Graphics View
Posted by Andreas
 in Qt, Graphics View
 on Friday, May 23, 2008 @ 07:47

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 […]

» 12 comments «


© 2008 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners.