Results 1 to 3 of 3

Thread: Key sequence maximize program

  1. #1
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default Key sequence maximize program

    Hey trolls,

    I would like to achieve the following.

    - I have a Qt program hidden and in the tray.
    - I press a special key sequence (like Ctrl + Alt).
    - The application shows up.

    I want to keep portability.

    How can I achieve this ?

    Thanks.

  2. #2
    Join Date
    Jan 2007
    Location
    Paris
    Posts
    459
    Thanks
    98
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt5

    Default Re: Key sequence maximize program

    Harder than it seems.

  3. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Key sequence maximize program

    The tray is easy - QSystemTrayIcon

    The hotkey isn't so easy if you want portability. Under windows you can RegisterHotKey() which lets you have a system-wide key sequence, but I've no idea about other OSs.

  4. The following user says thank you to squidge for this useful post:

    bunjee (13th November 2009)

Similar Threads

  1. Segmentation Fault when Program Starts
    By KaptainKarl in forum Newbie
    Replies: 7
    Last Post: 10th September 2009, 08:43
  2. External Program Management with Qt
    By rapajic in forum Qt Programming
    Replies: 5
    Last Post: 7th April 2009, 09:52
  3. Replies: 19
    Last Post: 21st January 2008, 09:13
  4. Replies: 5
    Last Post: 29th October 2007, 22:49
  5. QT MySQL
    By sabeeshcs in forum Newbie
    Replies: 6
    Last Post: 12th January 2007, 04:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.