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 […]
Generator
From Qt Labs
| Qt Script Generator | |||
| |||
| Platforms: | Linux/Mac/Win | ||
| Qt version: | 4.4 | ||
| License: | GPL | ||
Qt Script Generator blogs | |||
Subversion:
| |||
[edit] Qt Script Generator
[edit]
Qt Script Generator is a tool that generates Qt bindings for Qt Script.
[edit]
With the generated bindings you get access to substantial portions of the Qt API from within Qt Script.
Commercial customers should be aware of the licensing implications when using the generated bindings: See [1] and [2].
Please report bugs at the issues tracker [3].
Note: Development has been moved to git (git://gitorious.org/qt-labs/qtscriptgenerator.git); the Subversion repository will no longer be updated, and will be deleted in the near future.
[edit] Latest 5 Qt Script Generator Blogs
In the recent pre-release of Qt for S60 we have included a build of WebKit that compiles and runs on S60. This pre-release is an important milestone for this porting effort that started about half a year ago. Hence, I would like to briefly highlight a few things about it:
The main work is finding good […]
I did some work this week on a task related to higher DPI values on Vista. The task was essentially about scaling artifacts related to checkboxes, radio buttons and menus. However after fixing up those I decided that we needed a little more to really work properly on Vista and Windows 7 and realized that […]
Not long after Brad blogged about multi-touch in May, I got my hands on a brand new MacBook Pro under the excuse of implementing multi-touch support for Qt on Mac. This machine has a big and sexy trackpad (excuse my sexual orientation) that goes beyond normal mouse control to also include multi-touch- and gesture support.
After […]
For those of you that enjoy writing relatively complex yet manageable apps without needing too much native code, the SCXML enabler that works on top of the Qt State Machine Framework is now active on public Gitorious, at http://qt.gitorious.org/qt-labs/scxml. We’re opening the repository after a few bug-fixes and improvements we found in other Git repositories […]
