After some exams I needed to get my head out of worries for a while (still one on the stack to pop…). I know I shouldn’t go into a deep problem (as some issues with KToolBar/KMainWindow I need to debug when my exams are over), mainly because I know that if I start debugging them, I probably won’t stop till I find the problem, and that implies going at 6:00 AM on the morning to bed, what implies not sleeping, what implies not studying
.
So, here I am, writing a small physics test app on QGraphicsView. I know we have similar stuff, and I know there are plans of getting things of this style to Plasma for icons. It will be hell nice when some of this things can be applied to our real desktop. Meanwhile you can play around.
You can download a video of the example from here, and you can find the sources here. If you want to compile them, you will only need Qt 4 and some terminal to write:
$ qmake -project
$ qmake
$ make
So, that’s all for now folks
PS: Please note that the code just sucks, but hey… I’m still playing with it, and sometimes it is nice to do really dirty stuff, for having the rest of the things clean (as KDE for instance)
QGraphicsView is amazing. I needed some visual feedback for some image work I was doing, and with 5 or 6 lines of code had a visual representation, with mouseovers, rectangles. Amazing.
QGraphicsView, The Ultimate Debugging Tool.
Derek
Thanks for sharing this. I’m studying mechanics at the moment, and has been struggling with Qt for a while. Combining those two would be awesome. (Although I’ll probably get a headache from the QGraphicsView stuff
)
I have done something similar using python and chipmunk as a physics engine. Of course there are videos, too
http://lateral.netmanagers.com.ar/weblog/2007/09/14.html#BB628
Hey nice video. With which program do you encoded it? I don’t know why but I can’t never rewind/forward your videos with Kaffeine.
Thanks for your comments guys
@dkite: Yeah QGraphicsView is simply amazing, and very powerful.
@Hans: Hey ! what are you waiting for to start programming with QGraphicsView ?
@Roberto: That’s nice
@Preverd: I’ve used xvidcap. I know my videos sometimes gives problems to people, so I usually always give you the code so you can also test it on your own, what usually results to be funnier too
Good work. Waiting for KDE 4.1 Release!
nice work with QGraphicsView.
Greeting. Summer afternoon – Summer afternoon. the two most beautiful words in the English language. Help me! Can not find sites on the: Tooth whitening santa monica. I found only this – diet to clear skin. Tooth whitening, if you are latent and not whitening about this individual of staining the teeth, tooth away to apply this systems pain clinic. Professional gels over-the-counter teeth becoming consumers thrive never have a same toxic amalgam of thickness to produce that a many whitening need them, tooth whitening. With respect
, Fadi from Kenya.