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. Windows 10 Universal Style for Qt?
Forum Updated to NodeBB v4.3 + New Features

Windows 10 Universal Style for Qt?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 7.1k Views 3 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.
  • O Offline
    O Offline
    oystein.djuvsland
    wrote on last edited by
    #1

    Does anyone have any experience improving the look and feel of Qt applications on Windows 10? The latest QStyle at the moment is QWindowsVistaStyle, and there doesn't seem to be an effort to update this.

    1 Reply Last reply
    1
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      What is wrong with it ?
      If I make a GUI Desktop application and run it. it looks pretty ok to me ?
      Like any other application on win 10.

      Its pretty simple to make a new style/ change existing
      http://doc.qt.io/archives/qt-5.6/qtwidgets-tools-styleplugin-example.html

      But it would be interesting to know what is wrong first :)

      O 1 Reply Last reply
      2
      • Chris KawaC Offline
        Chris KawaC Offline
        Chris Kawa
        Lifetime Qt Champion
        wrote on last edited by Chris Kawa
        #3

        The name is unfortunate because instead of QWindowsVistaStyle it should be called something like QWindowsAeroStyle or QWindowsDWMStyle. The desktop manager (DWM) and the only available style (Aero) is the same in Vista and Windows 10 so QWindowsVistaStyle should work the same in both. There are some visual changes but basically Windows 10 just uses a different "skin".
        Some additional DWM features are exposed in the QtWinExtras module if you need them. What are you missing exactly?

        1 Reply Last reply
        3
        • mrjjM mrjj

          Hi
          What is wrong with it ?
          If I make a GUI Desktop application and run it. it looks pretty ok to me ?
          Like any other application on win 10.

          Its pretty simple to make a new style/ change existing
          http://doc.qt.io/archives/qt-5.6/qtwidgets-tools-styleplugin-example.html

          But it would be interesting to know what is wrong first :)

          O Offline
          O Offline
          oystein.djuvsland
          wrote on last edited by
          #4

          Well, I don't think there is much wrong with it, and personally I have no problems with it. The problem arises when we get feedback from customers that the application looks outdated when using the default style. We could start styling things ourselves, but it would be nice if there would be a common style for Windows applications.

          Microsoft has a style guide for their Universal Windows Platform (which is implemented for QML). That isn't necessarily always a fit for a desktop application, but it seems that for instance Microsoft Edge is based on that.

          It looks like MS tries to keep some common themes between their apps as well, and stuff like sliders and dropdown menus definitely looks different between MS and Qt apps. These things are what I assume users base their opinion of what looks up to date on.

          So I have two different questions. Are there any projects attempting to create the Universal style for widgets? Is there anyway to get controls like dropdowns and sliders to look more like the MS apps?

          I understand that it is possible to implement it in several ways, just trying to find out if someone invested any time in this already.

          1 Reply Last reply
          1

          • Login

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