Important: Please read the Qt Code of Conduct -

Stylesheet for disabled QPushButton under Windows 7 Basic Theme

  • 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?

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

  • 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.

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

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

Log in to reply