Results 1 to 14 of 14

Thread: Three pushButtons in a shape of one

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2009
    Location
    Poland
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Three pushButtons in a shape of one

    Hi all,

    It finally happened - I have a problem.
    I want to make a custom QPushButton with three separated areas doing different actions. See the attachment for mock-up.
    I managed to draw it (as you can see) and even implement the actions I want, but I'm stuck with the look, I have no idea how to change the state of just one part of the button.
    So, the question is: How to create such button with the ability to change the state of each part, without actually splitting it into three (because it will look..weird)?
    Attached Images Attached Images

Similar Threads

  1. Saving the widget class as a QPixmap
    By zgulser in forum Newbie
    Replies: 11
    Last Post: 2nd February 2009, 09:48
  2. how to change backgroup color, button color and shape?
    By lzha022 in forum Qt Programming
    Replies: 10
    Last Post: 16th June 2008, 22:25
  3. shape of a pushbutton
    By sabeesh in forum Qt Programming
    Replies: 3
    Last Post: 16th August 2007, 08:58
  4. Shape changing under other tab using slider/spinbox
    By kramed in forum Qt Programming
    Replies: 2
    Last Post: 7th August 2007, 19:59
  5. Custom Shape Widget (resize)
    By PiXeL16 in forum Qt Programming
    Replies: 7
    Last Post: 12th February 2007, 07:00

Tags for this Thread

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.