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. Qt Creator theme folder
Forum Updated to NodeBB v4.3 + New Features

Qt Creator theme folder

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 2 Posters 6.9k 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.
  • M Offline
    M Offline
    Mr Gisa
    wrote on last edited by Mr Gisa
    #1

    Where is the Qt Creator folder for the themes? I'm using Qt Creator 4.6.1.

    I tried to find in C:\Users\<user>\AppData\Roaming\QtProject\qtcreator, but there's nothing there.

    I'm interested in finding the css for the Qt Creator themes, if that's possible.

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

      Hi
      its in
      "C:\Qt\Tools\QtCreator\share\qtcreator\themes"
      But its NOT a css. more like a color table in ini format.
      It uses the fusion style and the themes simply set the colors.
      [General]
      ThemeName=Flat Dark
      PreferredStyles=Fusion
      DefaultTextEditorColorScheme=creator-dark.xml

      [Palette]
      shadowBackground=ff404244
      text=ffd0d0d0
      textDisabled=60a4a6a8
      toolBarItem=b6fbfdff
      toolBarItemDisabled=60a4a6a8
      fancyBarsNormalTextColor=ffd0d0d0
      fancyBarsBoldTextColor=b6fbfdff
      hoverBackground=22ffffff
      selectedBackground=66000000
      normalBackground=ff2E2F30
      alternateBackground=ff353637
      error=ffdf4f4f
      warning=ffecbc1c
      splitter=ff06080A
      textColorLink=ff007af4
      textColorLinkVisited=ffa57aff
      backgroundColorDisabled=ff444444
      ...
      
      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mr Gisa
        wrote on last edited by
        #3

        So it's like setting the palettes? Like this?

        https://gist.github.com/skyrpex/5547015

        mrjjM 1 Reply Last reply
        0
        • M Mr Gisa

          So it's like setting the palettes? Like this?

          https://gist.github.com/skyrpex/5547015

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Mr-Gisa
          Basically yes.
          But Creator might have internal use that outside of setPalette as it knows the styles.
          Like PreferredStyles=Fusion

          I also wanted to borrow the look but even reading the ini file and set same color
          did not produce 100% same look but was close.

          You can maybe find inspiration in
          https://github.com/ColinDuquesnoy/QDarkStyleSheet

          M 1 Reply Last reply
          0
          • mrjjM mrjj

            @Mr-Gisa
            Basically yes.
            But Creator might have internal use that outside of setPalette as it knows the styles.
            Like PreferredStyles=Fusion

            I also wanted to borrow the look but even reading the ini file and set same color
            did not produce 100% same look but was close.

            You can maybe find inspiration in
            https://github.com/ColinDuquesnoy/QDarkStyleSheet

            M Offline
            M Offline
            Mr Gisa
            wrote on last edited by
            #5

            @mrjj Yes, I know, that is sad. I'm not actually looking for the dark theme but the flat light one, all the styles I can find is only dark (people like dark things right? haha)

            mrjjM 1 Reply Last reply
            0
            • M Mr Gisa

              @mrjj Yes, I know, that is sad. I'm not actually looking for the dark theme but the flat light one, all the styles I can find is only dark (people like dark things right? haha)

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @Mr-Gisa
              haha :)
              I thought i was only person in the world that is not into dark themes.
              Well using fusion QStyle and the colors in the flat file will get you close.
              But i think some of the flatness in Creator also comes from the custom widgets.

              M 1 Reply Last reply
              0
              • mrjjM mrjj

                @Mr-Gisa
                haha :)
                I thought i was only person in the world that is not into dark themes.
                Well using fusion QStyle and the colors in the flat file will get you close.
                But i think some of the flatness in Creator also comes from the custom widgets.

                M Offline
                M Offline
                Mr Gisa
                wrote on last edited by
                #7

                @mrjj I will try to see if it works, if not I will stick with the fusion style without any palette.

                mrjjM 1 Reply Last reply
                0
                • M Mr Gisa

                  @mrjj I will try to see if it works, if not I will stick with the fusion style without any palette.

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @Mr-Gisa
                  Btw, i searched Creator source for any style sheets but i didn't find any.
                  I wondered if rest of theme was via qss compiled to the exe.

                  1 Reply Last reply
                  0
                  • M Offline
                    M Offline
                    Mr Gisa
                    wrote on last edited by
                    #9

                    I tried to find the style and I couldn't, for now I won't put too much effort into this cause the application that I want to do that doesn't require that, it's just something I want to do to make it look a little bit different from the native OS style.

                    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