Author Topic: Wierd Stuff...  (Read 4393 times)

cwaig

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Wierd Stuff...
« on: January 10, 2005, 05:07:59 am »
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....)
SL5500+Origo WIFI+Pocketop Keyboard+BlueMonkey Bluetooth+IBM Microdrive+SL6000+iRiver USB host+PackardBell USB RF mini-mouse+Cheapo Kingmax USB laptop Keyboard+Dynamode USB Ethernet Adaptor
Wrote a couple of things....
IRK, SubApplet, QMode2, NetActive, SimpleEdit, zPocketScript.

Mickeyl

  • Hero Member
  • *****
  • Posts: 1495
    • View Profile
    • http://www.Vanille.de
Wierd Stuff...
« Reply #1 on: January 10, 2005, 08:24:41 am »
Hehe, that has been hidden in Qt/Embedded for a long time, see qwshydrodecoration_qws.cpp and qwsbeosdecoration_qws.cpp  

I kind of like those styles.
« Last Edit: January 10, 2005, 08:25:08 am by Mickeyl »
Cheers,

Michael 'Mickey' Lauer | Embedded Linux Freelancer | www.Vanille-Media.de
Consider donating, if you like the software I contribute to.

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Wierd Stuff...
« Reply #2 on: January 10, 2005, 08:54:05 am »
So what were the commands then?

Don't keep us all in suspense ;-)


Si
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

cwaig

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Wierd Stuff...
« Reply #3 on: January 10, 2005, 09:48:21 am »
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....
SL5500+Origo WIFI+Pocketop Keyboard+BlueMonkey Bluetooth+IBM Microdrive+SL6000+iRiver USB host+PackardBell USB RF mini-mouse+Cheapo Kingmax USB laptop Keyboard+Dynamode USB Ethernet Adaptor
Wrote a couple of things....
IRK, SubApplet, QMode2, NetActive, SimpleEdit, zPocketScript.

ashikase

  • Sr. Member
  • ****
  • Posts: 280
    • View Profile
    • http://
Wierd Stuff...
« Reply #4 on: March 03, 2005, 07:48:37 pm »
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: [Select]
[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
« Last Edit: March 03, 2005, 07:50:02 pm by ashikase »
SL-C3100 & SL-C760