Page 2 of 2 FirstFirst 12
Results 21 to 24 of 24

Thread: shape of push button

  1. #21
    Join Date
    Aug 2007
    Location
    Gorakhpur, India
    Posts
    254
    Thanks
    8
    Thanked 14 Times in 14 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: shape of push button

    Quote Originally Posted by MarkoSan View Post
    I can show the code to you next thurdsay, until then I cannot ....
    Dear MarkoSan!
    Thanks for your response! Ok! I wait for your code.
    Anurag Shukla
    A man who never makes mistake is the man who never does anything! Theodre Rosvelt!

  2. #22
    Join Date
    Aug 2007
    Location
    Gorakhpur, India
    Posts
    254
    Thanks
    8
    Thanked 14 Times in 14 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: shape of push button

    Can You tell me whats wrong in my implementation?
    Anurag Shukla
    A man who never makes mistake is the man who never does anything! Theodre Rosvelt!

  3. #23
    Join Date
    Apr 2006
    Location
    Denmark / Norway
    Posts
    67
    Thanks
    3
    Thanked 12 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: shape of push button

    I would use a style sheet. almost same as CSS, and it makes it possible to have several styles...

    But if your shape is very irregular, the paint might be an easier approach.

    For info on style sheets:
    http://foss.in/2007/register/slides/...Sheets_484.pdf
    http://labs.trolltech.com/blogs/category/labs/styles/

    and of course the style sheets examples provided in the docs.

    Several of the comments on the blogs in the labs have solutions to some styling as well.

  4. #24
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: shape of push button

    How do I resize push button?
    Qt 5.3 Opensource & Creator 3.1.2

Similar Threads

  1. push button fast activation
    By bhogasena in forum Qt Programming
    Replies: 1
    Last Post: 20th January 2009, 01:48
  2. Line edit and push button
    By dela in forum Newbie
    Replies: 1
    Last Post: 10th December 2008, 16:10
  3. how to change backgroup color, button color and shape?
    By lzha022 in forum Qt Programming
    Replies: 10
    Last Post: 16th June 2008, 22:25
  4. Push Button problem!!
    By Seema Rao in forum Qt Programming
    Replies: 1
    Last Post: 22nd April 2006, 16:31
  5. Push button double click
    By curtisw in forum Qt Programming
    Replies: 3
    Last Post: 15th February 2006, 16:40

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.