Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Stylesheet for disabled QPushButton under Windows 7 Basic Theme
Forum Updated to NodeBB v4.3 + New Features

Stylesheet for disabled QPushButton under Windows 7 Basic Theme

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 2.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    walteste
    wrote on last edited by
    #1

    Hi,

    I can change the font and font-color of a QPushButton thru the StyleSheets.
    The Problem is that under the old Windows Theme the disabled Buttons shows a shaded font, but i dont know how to get rid of this shaded front thru stylesheets.

    Any idea from your side?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      Macro
      wrote on last edited by
      #2

      Can you Please Post a Screenshot image of your Button....

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mikeandrews
        wrote on last edited by
        #3

        Here is some tips about your question..
        WindowBlinds 7 is a third party freeware for applying theme and other interesting themes on XP. MSStyler Theme is not a perfect match of Mac Leopard, many of the visual features are missing, for e.g., the close, minimize and restore buttons are given on right hand side of title bar, instead of left hand side; menus and task bar are not transparent; etc. Window Blinds gives you almost a 100% result in changing the looks of windows to Mac OS X Leopard. Besides this, you can also add transparency effects to your windows and change the colors of the windows (only in full version). And most important, you don’t have to play with your Windows XP/7’s original files.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          Macro
          wrote on last edited by
          #4

          I think this will work Fine. Try this in your Stylesheet,

          @pushButton->setStyleSheet("background: transparent");@

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved