Dojo

From Qt Labs

Jump to: navigation, search


Graphics Dojo
Platforms: GNU/Linux, Windows, Mac
License: GPL
   Graphics Dojo blogs
Subversion:
svn://labs.trolltech.com/svn/graphics/dojo/




[edit] Graphics Dojo

[edit]

A dojo (道場, dōjō) is a Japanese term which literally means "place of the Way". As such it can refer to a formal training place for any of the Japanese do arts but typically it is considered the formal gathering place for students of a martial arts style to conduct training, examinations and other related encounters." [wikipedia.org]

[edit]

The Graphics Dojo is a place where we show off advanced and fancy graphics effects related to Qt and graphics.

The source code for all the examples can be checked out with subversion: svn checkout svn://labs.trolltech.com/svn/graphics/dojo

[edit] Older Dojo Examples

[edit] Examples2

[edit]

X11 Widget Mirror

A neat example showing how to monitor contents of a X11 window for changes and compose it with some transformation. All done in real time.
svn://labs.trolltech.com/svn/graphics/dojo/qx11mirror

Image: qx11mirror.png ...

[edit] Examples1

[edit]

ARGB

This example shows how to create ARGB windows. Meaning windows which can be drawn to using transparent brush and will in turn be transparent. The example loads an SVG file and renders its contents in a transparent window, then adds a checkbox that makes it show/hide an icon in the upper right corner.
svn://labs.trolltech.com/svn/graphics/dojo/argb

Image:argb.png ...


[edit] Latest 5 Graphics Dojo Blogs

ariya
WebKit
Graphics Dojo
Posted by ariya
 in WebKit, Graphics Dojo
 on Monday, June 29, 2009 @ 23:01

If you use QWebView, do you know how make its background to be translucent? Apparently, the trick is not so well known, hence I decide to share it here.
Basically it boils down the following code snippet:
QPalette palette = view->palette();
palette.setBrush(QPalette::Base, Qt::transparent);
view->page()->setPalette(palette);
view->setAttribute(Qt::WA_OpaquePaintEvent, false);
The first three lines set a new transparent brush for the page. This is necessary […]

» 7 comments «
Henrik Hartz
Qt
WebKit
Patternist
Graphics Dojo
Posted by Henrik Hartz
 in Qt, WebKit, Patternist, Graphics Dojo
 on Tuesday, June 16, 2009 @ 07:45

While planning for Developer Days 2008 I tried to wring something interesting out of my technically starved brain to show off to the crowds of hackers attending. At the time I had just noticed Twitter, a service that seemed to promise the value of Facebook without all the junk - seeing status updates from my […]

» 7 comments «
ariya
WebKit
Graphics Dojo
Posted by ariya
 in WebKit, Graphics Dojo
 on Tuesday, June 09, 2009 @ 07:01

An interesting feature of a navigation system (so I was told, I don’t own a car) is the so-called "night mode". Basically the display is adjusted so that the text and the map become more readable under low ambient light condition. An easy trick to do this is by inverting the color, just like what […]

» 6 comments «
ariya
WebKit
Graphics Dojo
Posted by ariya
 in WebKit, Graphics Dojo
 on Saturday, June 06, 2009 @ 08:33

When you develop a web browser for a mobile platform, a D-pad or a mini trackball is usually the main in-page navigation input. In some browsers, going "down" scrolls the whole web page or jumps to the nearest (sensible) hyperlink. There is an interesting observation here. As you scroll to read e.g. a news site, […]

» No comments «
ariya
WebKit
Graphics Dojo
Posted by ariya
 in WebKit, Graphics Dojo
 on Tuesday, June 02, 2009 @ 07:25

For any widget system, be it KDE4 Plasma, Mac OS X Dashboard, Yahoo! Widgets, Opera Widget, Google Gadgets, Microsoft Gadgets, and so on, weather applet is usually the typical example (beside a digital clock, an analog clock, or other variants of the clock). What is shown here is yet another little weather info tool, built […]

» 13 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.