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. Tamplate Style for window
Forum Updated to NodeBB v4.3 + New Features

Tamplate Style for window

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 390 Views 2 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.
  • B Offline
    B Offline
    Blackzero
    wrote on last edited by
    #1

    Where can I get a stylesheet template like Visual Studio or Android Studio style, has anyone ever made such a template, do I have to make my own?

    Pl45m4P 1 Reply Last reply
    0
    • B Blackzero

      Where can I get a stylesheet template like Visual Studio or Android Studio style, has anyone ever made such a template, do I have to make my own?

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @Blackzero

      What is Visual Studio style?


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      B 1 Reply Last reply
      0
      • Pl45m4P Pl45m4

        @Blackzero

        What is Visual Studio style?

        B Offline
        B Offline
        Blackzero
        wrote on last edited by
        #3

        @Pl45m4 I mean modern application styles such as Visual Studio or Android Studio, I found something similar, yes it's QMaterial but it's like it can't change through Design from qt creator.

        Pl45m4P 1 Reply Last reply
        0
        • B Blackzero

          @Pl45m4 I mean modern application styles such as Visual Studio or Android Studio, I found something similar, yes it's QMaterial but it's like it can't change through Design from qt creator.

          Pl45m4P Offline
          Pl45m4P Offline
          Pl45m4
          wrote on last edited by
          #4

          @Blackzero said in Tamplate Style for window:

          QMaterial

          If you are talking about this, then you can't use it in QtWidget apps anyway, because it's for Qt 3D applications and don't style QPushButton or so.

          Search for "Qt Styles" or "Qt Palette Style" and "Qt Themes"... there are many ready to use styles for Qt app out there. Many "Dark Themes" etc...

          • https://doc.qt.io/qt-6.2/qtwidgets-widgets-styles-example.html

          If debugging is the process of removing software bugs, then programming must be the process of putting them in.

          ~E. W. Dijkstra

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SimonSchroeder
            wrote on last edited by
            #5

            You get really good results, when you search on github directly:
            https://github.com/Oussama1403/QtDarkTheme
            https://github.com/ColinDuquesnoy/QDarkStyleSheet/tree/master

            I can only advise to not use palette-based themes. They don't work portably (except maybe if you are specifically selecting the Fusion style). Use something that uses stylesheets (we adapted a stylesheet where the colors are replaced by %1, %2 and so on. This allows to put in either light or dark colors (load stylesheet into string and replace colors by calling .arg()).

            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