Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. fusion
    Log in to post

    • SOLVED QMessage box buttons size/others have incorrect width after setting style.
      General and Desktop • qss qstyle qstylesheet qpalette fusion • • Dariusz  

      7
      0
      Votes
      7
      Posts
      94
      Views

      I finally got it solved... The fix was: QPushButton { width: 100%; } :- )
    • UNSOLVED How to get this style on a button
      General and Desktop • qstyle qstylesheet fusion • • Dariusz  

      10
      0
      Votes
      10
      Posts
      172
      Views

      @Dariusz said in How to get this style on a button: @JKSH AH yes, could do... but I'm trying to css entire app with hundreds of buttons/etc.. I think you could inherit from the QPushButton then: class MyButton : public QPushButton { MyButton( ... ) : ... { setMinimumSize( ... ); } };
    • UNSOLVED Different behaviour of icons in vista style vs fusion style?
      General and Desktop • button icons fusion • • CJha  

      4
      0
      Votes
      4
      Posts
      128
      Views

      @mrjj Yes, sorry :D
    • UNSOLVED How to set QStyle::SH_ComboBox_Popup to false?
      General and Desktop • combobox qstyle fusion • • CJha  

      6
      0
      Votes
      6
      Posts
      130
      Views

      @raven-worx For me, it seems as it is working. The above code is actually taken from ProxyStyle web page from Qt's website, I just replaced QStyle::SH_UnderlineShortcut with QStyle::SH_ComboBox_Popup. So, I think it is a good approach. Subclassing QComboBox would become quite cumbersome as I will have to promote all the combo boxes in my UI to the subclass.
    • UNSOLVED Styling the QMdiArea using the the fusion style and QPalette (dark theme)
      General and Desktop • qstyle qstylesheet qmdisubwindow fusion qpallete • • Gbhutra  

      3
      0
      Votes
      3
      Posts
      571
      Views

      @Gojir4 said in Styling the QMdiArea using the the fusion style and QPalette (dark theme): darkPalette.setColor(QPalette::Disabled, QPalette::Shadow, QColor(r, g, b)); (Edited) tried, but it didn't work. I suspect that underneath it's a QLabel with a raised text but I don't know how to set the color of those using QPalette
    • QtCreator doesn't use Fusion
      Installation and Deployment • linux qt 5.4.1 fusion qtcreator 3.4.0 • • Mavoka  

      1
      0
      Votes
      1
      Posts
      676
      Views

      No one has replied