Results 1 to 3 of 3

Thread: Multiple choice button

  1. #1
    Join Date
    Oct 2009
    Location
    Mantova, Italy
    Posts
    15
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60

    Default Multiple choice button

    Hi.
    The question is simple: is possible with qt to implement a button like this:

    http://img508.imageshack.us/i/senzatitolo1i.png/

    when if i click on the button, it does the default operation, if i click on the right arrow it show a menu...

    Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Multiple choice button

    Yes it is. See QPushButton and QPushButton::setMenu(). Next time please add the image to this forum and not to a 3rd site. (To keep the post valid for a long long time..)

  3. #3
    Join Date
    Oct 2009
    Location
    Mantova, Italy
    Posts
    15
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: Multiple choice button

    Thanks.

    sorry for the image, i will add now..
    Attached Images Attached Images

Similar Threads

  1. is Qt a good choice for S60 SDK 5
    By coco in forum Qt for Embedded and Mobile
    Replies: 2
    Last Post: 4th May 2010, 20:33
  2. Replies: 2
    Last Post: 10th November 2009, 06:17
  3. Qt language of choice
    By alecs1 in forum Qt Programming
    Replies: 4
    Last Post: 26th April 2009, 20:13
  4. The right choice of IDE
    By LordQt in forum Qt Programming
    Replies: 2
    Last Post: 17th August 2007, 12:21
  5. Question about iterator's choice
    By Dark_Tower in forum Qt Programming
    Replies: 8
    Last Post: 20th December 2006, 16:09

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.