transparent QWebView and QWebPage

.

Seems that the trick to make a transparent QWebView or QWebPage is not very well known. So here is the magic incantation: view = new QWebView(this); QPalette palette = view->palette(); palette.setBrush(QPalette::Base, Qt::transparent); view->page()->setPalette(palette); view->setAttribute(Qt::WA_OpaquePaintEvent, false); Or grab it at http://gist.github.com/103126. Here is the result (click to zoom). I put the famous TuxKiller wallpaper as the… Read more »

quattro cinque uno

.

Fresh from the oven: Qt 4.5.1, Qt Creator 1.1, new SDK. Details on what has changed can be examined in the changes file. Now that the release is out, the QtWebKit team is busy again fixing bugs and backporting important fixes for the next patch release (4.5.2). Expect to see more extensive changes there. Few… Read more »

Still about color wheel

.

This is the follow-up to what I wrote before: hue subdivision for mortals. Seems everyone echoes my sentiment: increasing the coverage area of green is not the right way to go. The easiest explanation is as follows. Since this is an additive color model, due to the higher sensitivity of green, its contribution to other… Read more »

On hue subdividision for mortals

.

The use of HSV/HSL color space is obvious when we need to have several colors distributed in an optimal way, colors as unique as possible. For example, SpeedCrunch uses it to autogenerate the colors used for the syntax highlighting feature. The details behind its algorithm was already described by Helder in his Qt Quarterly article… Read more »

this is the world that we live in, the Python world!

.

It’s been one year I work for Qt Software (nee Trolltech). Two big releases: Qt 4.4 and Qt 4.5. Qt for S60. LGPL-ed Qt. Graphics Dojo. Going to Munich and Redwood City for DevDays. Things are exciting as ever. In one month, I will be in Florence (Italy) for PyCon Italia. I’d have one technical… Read more »