Results 1 to 2 of 2

Thread: Menu on pressed

  1. #1
    Join Date
    Aug 2012
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Menu on pressed

    Hi all,
    is there maybe a built-in functionality in Qt which provides "on-press menu".
    I know, what is "on-press menu?"
    It's something like we can found on some virtual keyboards when for e.g. you press and keep some button You will se menu with selection of additional characters.

    Does anybody heard abount something like that?

    I would be gratefull for any hints.

    Best regards,
    Tomek

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Menu on pressed

    If you have a button, as in QPushButton or QToolButton, you can set a menu on it that gets activated on press-and-hold.

    Cheers,
    _

Similar Threads

  1. do something while a button is pressed
    By saman_artorious in forum Qt Programming
    Replies: 11
    Last Post: 12th November 2013, 15:39
  2. QTableView key pressed
    By radu_d in forum Qt Programming
    Replies: 6
    Last Post: 1st August 2013, 03:20
  3. Replies: 5
    Last Post: 29th November 2012, 15:26
  4. Replies: 1
    Last Post: 4th November 2011, 11:25
  5. Replies: 6
    Last Post: 4th October 2010, 03: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.