Help - Search - Members - Calendar
Full Version: Wierd Stuff...
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > 6000 - Tosa
cwaig
Whilst messing about adding Intellimouse scroll wheel support for the mouse driver, I made a mistake that sent the wrong codes to Qtopia. Much to my surprise, this caused a menu to pop up that let's you change the style of each app individually on the fly.

There's only two to chose from - one is the default QT style (I don't mean the default Qtopia style - this is the normal QT on the desktop style), and an OSX clone style called Hydra (that doesn't draw 100% correctly).

The other effect of selecting one of these styles is that the app immediately becomes rootless and let's you drag it's window around the screen (works on all apps, including the email app and Opera).

It's not that useful, but it's an interesting hidden feature....

(someone's now going to tell me this is common knowledge, and I've just not noticed it in the past....)
Mickeyl
Hehe, that has been hidden in Qt/Embedded for a long time, see qwshydrodecoration_qws.cpp and qwsbeosdecoration_qws.cpp smile.gif

I kind of like those styles.
lardman
So what were the commands then?

Don't keep us all in suspense ;-)


Si
cwaig
Turns out to be right mouse click anywhere on the title bar of an applications window.

(when I had the USB mouse screwed up, it was sending random button clicks)

You don't get it using the stylus 'coz you cann't send a right-mouse click with the stylus....
ashikase
The titlebar menu can also be accessed using InputHelper and KeyHelper.

From http://d.hatena.ne.jp/tqd/20050303/1109850190 (Japanese, with screenshots) :

Add the following to your keyhelper.conf file:
CODE
[Launch]
T = @qcop[TAB]QPE/InputHelper mouse(QString) "click 320 4 right"

You can then press (launch button)+T to popup the menu. The change only affects the current window, and resets upon closing the app.

Not very useful, but fun.

- ashikase
- anpachi, gifu, japan
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.