Results 1 to 3 of 3

Thread: How to set QwtLegend style as Button

  1. #1
    Join Date
    Jun 2015
    Posts
    51
    Thanks
    10
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default How to set QwtLegend style as Button

    Hi,

    I have 4 QwtLegend, where they are clickable but looks like not clickable as user perspective,
    So does it is possible to make then looks like a button so that user understand that I can click on it ?

    And one more questions: Does it possible to make QwtLegend as in by-default clickable position, if yes, then how ?

    Thanks

  2. #2
    Join Date
    Jun 2015
    Posts
    51
    Thanks
    10
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to set QwtLegend style as Button

    Any suggestions will be appreciable

  3. #3
    Join Date
    Jun 2015
    Posts
    51
    Thanks
    10
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: How to set QwtLegend style as Button

    Hi,

    I have used setStyleSheet to set different background, color and border.
    Now somehow it looks like button now.

Similar Threads

  1. QT push button style sheet issue
    By meraj ansari in forum Qt Programming
    Replies: 4
    Last Post: 4th October 2013, 13:56
  2. Replies: 3
    Last Post: 12th March 2013, 11:16
  3. Changing style of Button,Label...
    By Anshuman in forum Newbie
    Replies: 4
    Last Post: 25th April 2011, 11:44
  4. Creating a style for a button
    By Luc4 in forum Qt Programming
    Replies: 2
    Last Post: 23rd April 2010, 14:16
  5. QTabbar style ::scroller to expand the tab scoll button space.
    By AmolShinde_8 in forum Qt Programming
    Replies: 0
    Last Post: 22nd February 2010, 15:40

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.