Results 1 to 4 of 4

Thread: Customise QPushButton shape

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2007
    Location
    Rome, GA
    Posts
    199
    Qt products
    Qt4
    Platforms
    MacOS X Windows
    Thanks
    14
    Thanked 41 Times in 35 Posts

    Default Re: Customise QPushButton shape

    Recently I subclassed a QPushButton and re-implemented its paint event to draw my own Vista-style glass button. The code is on the wiki, here:

    http://wiki.qtcentre.org/index.php?title=AeroButton

    Its not exactly what you need I know, but maybe you can see by my example how you can draw your own buttons.

  2. The following user says thank you to JimDaniel for this useful post:

    hiro (4th July 2010)

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
  •  
Qt is a trademark of The Qt Company.