Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. QtCreator editor color schemes
Forum Updated to NodeBB v4.3 + New Features

QtCreator editor color schemes

Scheduled Pinned Locked Moved The Lounge
13 Posts 8 Posters 16.8k Views 1 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.
  • K Offline
    K Offline
    kkrzewniak
    wrote on last edited by
    #1

    Thought it would be fun to see what color schemes people use for Creator.

    I like my code on a black background (found it's a bit less tiring for my eyes).

    My scheme file looks like this:
    @<?xml version="1.0" encoding="UTF-8"?>
    <style-scheme version="1.0" name="MyDarkTheme">
    <style name="AddedLine" foreground="#359f9f"/>
    <style name="Comment" foreground="#2d9a9e"/>
    <style name="CurrentLine" background="#232323"/>
    <style name="CurrentLineNumber" foreground="#aaaaaa" bold="true"/>
    <style name="DiffFile" foreground="#349e34"/>
    <style name="DiffLocation" foreground="#89892d"/>
    <style name="DisabledCode" foreground="#777777" background="#222222"/>
    <style name="Doxygen.Comment" foreground="#3dbbbb"/>
    <style name="Doxygen.Tag" foreground="#00a0a0"/>
    <style name="Field" foreground="#618f5c"/>
    <style name="Keyword" foreground="#acac39"/>
    <style name="Label" foreground="#bfbf3f"/>
    <style name="LineNumber" foreground="#888888" background="#232323"/>
    <style name="Link" foreground="#0041c4"/>
    <style name="Local" foreground="#696969"/>
    <style name="Number" foreground="#8393c0"/>
    <style name="Occurrences" background="#363636"/>
    <style name="Occurrences.Rename" foreground="#ffaaaa" background="#553636"/>
    <style name="Occurrences.Unused" foreground="#c0c0c0"/>
    <style name="Operator" foreground="#aaaaaa"/>
    <style name="Parentheses" foreground="#ff5555" background="#333333"/>
    <style name="Preprocessor" foreground="#917bbc"/>
    <style name="RemovedLine" foreground="#b43c3c"/>
    <style name="SearchResult" background="#555500"/>
    <style name="SearchScope" background="#222200"/>
    <style name="Selection" foreground="#000000" background="#aaaaaa"/>
    <style name="Static" foreground="#a69829"/>
    <style name="String" foreground="#485abe"/>
    <style name="Text" foreground="#a1a1a1" background="#000000"/>
    <style name="Type" foreground="#317f13"/>
    <style name="VirtualMethod" foreground="#a69174" italic="true"/>
    <style name="VisualWhitespace" foreground="#c0c0c0"/>
    </style-scheme>@

    Me, Grimlock, not "nice dino". ME BASH BRAINS!

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mlong
      wrote on last edited by
      #2

      Color schemes, you mean?

      Just weighing in here. I've always just used the default. It works fine for me.

      Software Engineer
      My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kkrzewniak
        wrote on last edited by
        #3

        Sorry and thanks for correcting me :)

        Me, Grimlock, not "nice dino". ME BASH BRAINS!

        1 Reply Last reply
        0
        • D Offline
          D Offline
          DenisKormalev
          wrote on last edited by
          #4

          Mine is
          @
          <?xml version="1.0" encoding="UTF-8"?>
          <style-scheme version="1.0" name="My Dark Theme">
          <style name="AddedLine" foreground="#00aa00"/>
          <style name="Comment" foreground="#cd8b00"/>
          <style name="CurrentLine" foreground="#000000" background="#25252e"/>
          <style name="CurrentLineNumber" foreground="#a7a7f5" bold="true"/>
          <style name="DiffFile" foreground="#8484f3"/>
          <style name="DiffLocation" foreground="#0084ff"/>
          <style name="DisabledCode" foreground="#a0a0a4" italic="true"/>
          <style name="Doxygen.Comment" foreground="#737dd5"/>
          <style name="Doxygen.Tag" foreground="#4e5ab3"/>
          <style name="Field" foreground="#b83817"/>
          <style name="Keyword" foreground="#808bed"/>
          <style name="Label" foreground="#e76000"/>
          <style name="LineNumber" foreground="#8b8bcd" background="#2e2e2e"/>
          <style name="Link" foreground="#008cff"/>
          <style name="Local" foreground="#c9b81e"/>
          <style name="Number" foreground="#506bbd"/>
          <style name="Occurrences" foreground="#ffead5" background="#323232"/>
          <style name="Occurrences.Rename" foreground="#000000" background="#ffdedb"/>
          <style name="Occurrences.Unused" foreground="#808000"/>
          <style name="Operator" foreground="#409040"/>
          <style name="Parentheses" foreground="#ffff00" background="#2d2d32"/>
          <style name="Preprocessor" foreground="#19aa19"/>
          <style name="RemovedLine" foreground="#ff0000"/>
          <style name="SearchResult" foreground="#050505" background="#aa0000"/>
          <style name="SearchScope" foreground="#cfbfad"/>
          <style name="Selection" foreground="#ffffff" background="#678db2"/>
          <style name="Static" foreground="#c200c5"/>
          <style name="String" foreground="#ffcd8b"/>
          <style name="Text" foreground="#cfbfad" background="#1e1e27"/>
          <style name="Type" foreground="#ff8bff"/>
          <style name="VirtualMethod" foreground="#cfbfad" italic="true"/>
          <style name="VisualWhitespace" foreground="#c0c0c0"/>
          </style-scheme>

          @

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

            Nice topic! I've been always using vim dark theme, but it seems Denis' one gives better contrast to eyes tiredness ratio so probably I'll pinch it :).

            "Never memorize what you can look up in books."
            Albert Einstein

            1 Reply Last reply
            0
            • T Offline
              T Offline
              tobias.hunger
              wrote on last edited by
              #6

              I wonder whether we can have a "best color scheme for Qt Creator competition" here:-)

              1 Reply Last reply
              0
              • D Offline
                D Offline
                DenisKormalev
                wrote on last edited by
                #7

                sidewinder, I should say that mine scheme has some problems with colors, but if you have good screen then you will not notice them.

                1 Reply Last reply
                0
                • A Offline
                  A Offline
                  andre
                  wrote on last edited by
                  #8

                  Default one works for me, I never felt inclined to change it.

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    kkrzewniak
                    wrote on last edited by
                    #9

                    A very interesting scheme Denis, it's way more custom than my fake vim modification :)

                    Me, Grimlock, not "nice dino". ME BASH BRAINS!

                    1 Reply Last reply
                    0
                    • W Offline
                      W Offline
                      Woody
                      wrote on last edited by
                      #10

                      I have an other question.

                      Is it possible to give a color to classes you made yourself? For example, I made a class: event. I use it many times: Event event = new Event();
                      And since i got couple of those, it will come in handy to give em a specific colour (One color for all classes offcourse)
                      But i like to give them a specific color, which will make my code more readable.

                      But is it possible? Anyone an idea

                      File not found. Nobody leave the room!

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tobias.hunger
                        wrote on last edited by
                        #11

                        It is not possible at this time. Contributions are welcome of course:-)

                        1 Reply Last reply
                        0
                        • M Offline
                          M Offline
                          mlong
                          wrote on last edited by
                          #12

                          @Woody:

                          Thanks for your input (and welcome to the forums!) But in the future, please be sure and start a new thread when you have separate questions, even if the topics are somewhat related.

                          Thanks!

                          Software Engineer
                          My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

                          1 Reply Last reply
                          0
                          • M Offline
                            M Offline
                            MoonHoku
                            wrote on last edited by
                            #13

                            @Cobalt.xml
                            <?xml version="1.0" encoding="UTF-8"?>
                            <style-scheme version="1.0" name="Cobalt">
                            <style name="AddedLine" foreground="#2aa198"/>
                            <style name="Comment" foreground="#0088ff" italic="true"/>
                            <style name="CurrentLine"/>
                            <style name="CurrentLineNumber" foreground="#586e75" bold="true"/>
                            <style name="DiffFile" foreground="#859900"/>
                            <style name="DiffLocation" foreground="#b58900"/>
                            <style name="DisabledCode" foreground="#93a1a1"/>
                            <style name="Doxygen.Comment" foreground="#0088ff" italic="true"/>
                            <style name="Doxygen.Tag" foreground="#0059a8" italic="true"/>
                            <style name="Field"/>
                            <style name="Keyword" foreground="#026d10" bold="true"/>
                            <style name="Label" foreground="#026d10" bold="true"/>
                            <style name="LineNumber" foreground="#b3b3b3" background="#4c4c4c"/>
                            <style name="Link" foreground="#268bd2"/>
                            <style name="Local"/>
                            <style name="Number" foreground="#3ad900"/>
                            <style name="Occurrences" background="#93a1a1"/>
                            <style name="Occurrences.Rename" foreground="#000000" background="#d65557"/>
                            <style name="Occurrences.Unused" foreground="#808000"/>
                            <style name="Operator"/>
                            <style name="Parentheses" foreground="#dc322f"/>
                            <style name="Preprocessor" foreground="#80a0c4"/>
                            <style name="RemovedLine" foreground="#bd2a28"/>
                            <style name="SearchResult" foreground="#ffffff" background="#b99e00"/>
                            <style name="SearchScope" foreground="#000000" background="#e2efff"/>
                            <style name="Selection" background="#b36539"/>
                            <style name="Static" foreground="#859900" italic="true"/>
                            <style name="String" foreground="#3ad900"/>
                            <style name="Text" foreground="#e6e6e6" background="#002140"/>
                            <style name="Type" foreground="#ff9d00"/>
                            <style name="VirtualMethod" italic="true"/>
                            <style name="VisualWhitespace" foreground="#c0c0c0"/>
                            </style-scheme>
                            @

                            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