July 11, 2011

kkrzewniak kkrzewniak
Hobby Entomologist
216 posts

QtCreator editor color schemes

 

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:

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <style-scheme version="1.0" name="MyDarkTheme">
  3.   <style name="AddedLine" foreground="#359f9f"/>
  4.   <style name="Comment" foreground="#2d9a9e"/>
  5.   <style name="CurrentLine" background="#232323"/>
  6.   <style name="CurrentLineNumber" foreground="#aaaaaa" bold="true"/>
  7.   <style name="DiffFile" foreground="#349e34"/>
  8.   <style name="DiffLocation" foreground="#89892d"/>
  9.   <style name="DisabledCode" foreground="#777777" background="#222222"/>
  10.   <style name="Doxygen.Comment" foreground="#3dbbbb"/>
  11.   <style name="Doxygen.Tag" foreground="#00a0a0"/>
  12.   <style name="Field" foreground="#618f5c"/>
  13.   <style name="Keyword" foreground="#acac39"/>
  14.   <style name="Label" foreground="#bfbf3f"/>
  15.   <style name="LineNumber" foreground="#888888" background="#232323"/>
  16.   <style name="Link" foreground="#0041c4"/>
  17.   <style name="Local" foreground="#696969"/>
  18.   <style name="Number" foreground="#8393c0"/>
  19.   <style name="Occurrences" background="#363636"/>
  20.   <style name="Occurrences.Rename" foreground="#ffaaaa" background="#553636"/>
  21.   <style name="Occurrences.Unused" foreground="#c0c0c0"/>
  22.   <style name="Operator" foreground="#aaaaaa"/>
  23.   <style name="Parentheses" foreground="#ff5555" background="#333333"/>
  24.   <style name="Preprocessor" foreground="#917bbc"/>
  25.   <style name="RemovedLine" foreground="#b43c3c"/>
  26.   <style name="SearchResult" background="#555500"/>
  27.   <style name="SearchScope" background="#222200"/>
  28.   <style name="Selection" foreground="#000000" background="#aaaaaa"/>
  29.   <style name="Static" foreground="#a69829"/>
  30.   <style name="String" foreground="#485abe"/>
  31.   <style name="Text" foreground="#a1a1a1" background="#000000"/>
  32.   <style name="Type" foreground="#317f13"/>
  33.   <style name="VirtualMethod" foreground="#a69174" italic="true"/>
  34.   <style name="VisualWhitespace" foreground="#c0c0c0"/>
  35. </style-scheme>

 Signature 

Me, Grimlock, not “nice dino”. ME BASH BRAINS!

12 replies

July 11, 2011

mlong mlong
Mad Scientist
1137 posts

Color schemes, you mean?

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

 Signature 

Senior Software Engineer
AccuWeather Enterprise Solutions
/* My views and opinions do not necessarily reflect those of my employer.  Void where prohibited. */

July 11, 2011

kkrzewniak kkrzewniak
Hobby Entomologist
216 posts

Sorry and thanks for correcting me :)

 Signature 

Me, Grimlock, not “nice dino”. ME BASH BRAINS!

July 12, 2011

Denis Kormalev Denis Kormalev
Area 51 Engineer
1652 posts

Mine is

  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <style-scheme version="1.0" name="My Dark Theme">
  3.   <style name="AddedLine" foreground="#00aa00"/>
  4.   <style name="Comment" foreground="#cd8b00"/>
  5.   <style name="CurrentLine" foreground="#000000" background="#25252e"/>
  6.   <style name="CurrentLineNumber" foreground="#a7a7f5" bold="true"/>
  7.   <style name="DiffFile" foreground="#8484f3"/>
  8.   <style name="DiffLocation" foreground="#0084ff"/>
  9.   <style name="DisabledCode" foreground="#a0a0a4" italic="true"/>
  10.   <style name="Doxygen.Comment" foreground="#737dd5"/>
  11.   <style name="Doxygen.Tag" foreground="#4e5ab3"/>
  12.   <style name="Field" foreground="#b83817"/>
  13.   <style name="Keyword" foreground="#808bed"/>
  14.   <style name="Label" foreground="#e76000"/>
  15.   <style name="LineNumber" foreground="#8b8bcd" background="#2e2e2e"/>
  16.   <style name="Link" foreground="#008cff"/>
  17.   <style name="Local" foreground="#c9b81e"/>
  18.   <style name="Number" foreground="#506bbd"/>
  19.   <style name="Occurrences" foreground="#ffead5" background="#323232"/>
  20.   <style name="Occurrences.Rename" foreground="#000000" background="#ffdedb"/>
  21.   <style name="Occurrences.Unused" foreground="#808000"/>
  22.   <style name="Operator" foreground="#409040"/>
  23.   <style name="Parentheses" foreground="#ffff00" background="#2d2d32"/>
  24.   <style name="Preprocessor" foreground="#19aa19"/>
  25.   <style name="RemovedLine" foreground="#ff0000"/>
  26.   <style name="SearchResult" foreground="#050505" background="#aa0000"/>
  27.   <style name="SearchScope" foreground="#cfbfad"/>
  28.   <style name="Selection" foreground="#ffffff" background="#678db2"/>
  29.   <style name="Static" foreground="#c200c5"/>
  30.   <style name="String" foreground="#ffcd8b"/>
  31.   <style name="Text" foreground="#cfbfad" background="#1e1e27"/>
  32.   <style name="Type" foreground="#ff8bff"/>
  33.   <style name="VirtualMethod" foreground="#cfbfad" italic="true"/>
  34.   <style name="VisualWhitespace" foreground="#c0c0c0"/>
  35. </style-scheme>

July 12, 2011

sidewinder sidewinder
Ant Farmer
19 posts

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 :).

 Signature 

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

July 12, 2011

Tobias Hunger Tobias Hunger
Mad Scientist
1998 posts

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

July 12, 2011

Denis Kormalev Denis Kormalev
Area 51 Engineer
1652 posts

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

July 12, 2011

Andre Andre
Mad Scientist
4667 posts

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

 Signature 

Nokia Certified Qt Specialist.
Interested in Qt consultancy and job opportunities.

July 12, 2011

kkrzewniak kkrzewniak
Hobby Entomologist
216 posts

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

 Signature 

Me, Grimlock, not “nice dino”. ME BASH BRAINS!

February 10, 2012

Woody Woody
Ant Farmer
57 posts

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

 Signature 

File not found. Nobody leave the room!

February 10, 2012

Tobias Hunger Tobias Hunger
Mad Scientist
1998 posts

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

February 10, 2012

mlong mlong
Mad Scientist
1137 posts

@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!

 Signature 

Senior Software Engineer
AccuWeather Enterprise Solutions
/* My views and opinions do not necessarily reflect those of my employer.  Void where prohibited. */

April 24, 2012

MoonHoku MoonHoku
Lab Rat
1 posts

  1. Cobalt.xml
  2. <?xml version="1.0" encoding="UTF-8"?>
  3. <style-scheme version="1.0" name="Cobalt">
  4.   <style name="AddedLine" foreground="#2aa198"/>
  5.   <style name="Comment" foreground="#0088ff" italic="true"/>
  6.   <style name="CurrentLine"/>
  7.   <style name="CurrentLineNumber" foreground="#586e75" bold="true"/>
  8.   <style name="DiffFile" foreground="#859900"/>
  9.   <style name="DiffLocation" foreground="#b58900"/>
  10.   <style name="DisabledCode" foreground="#93a1a1"/>
  11.   <style name="Doxygen.Comment" foreground="#0088ff" italic="true"/>
  12.   <style name="Doxygen.Tag" foreground="#0059a8" italic="true"/>
  13.   <style name="Field"/>
  14.   <style name="Keyword" foreground="#026d10" bold="true"/>
  15.   <style name="Label" foreground="#026d10" bold="true"/>
  16.   <style name="LineNumber" foreground="#b3b3b3" background="#4c4c4c"/>
  17.   <style name="Link" foreground="#268bd2"/>
  18.   <style name="Local"/>
  19.   <style name="Number" foreground="#3ad900"/>
  20.   <style name="Occurrences" background="#93a1a1"/>
  21.   <style name="Occurrences.Rename" foreground="#000000" background="#d65557"/>
  22.   <style name="Occurrences.Unused" foreground="#808000"/>
  23.   <style name="Operator"/>
  24.   <style name="Parentheses" foreground="#dc322f"/>
  25.   <style name="Preprocessor" foreground="#80a0c4"/>
  26.   <style name="RemovedLine" foreground="#bd2a28"/>
  27.   <style name="SearchResult" foreground="#ffffff" background="#b99e00"/>
  28.   <style name="SearchScope" foreground="#000000" background="#e2efff"/>
  29.   <style name="Selection" background="#b36539"/>
  30.   <style name="Static" foreground="#859900" italic="true"/>
  31.   <style name="String" foreground="#3ad900"/>
  32.   <style name="Text" foreground="#e6e6e6" background="#002140"/>
  33.   <style name="Type" foreground="#ff9d00"/>
  34.   <style name="VirtualMethod" italic="true"/>
  35.   <style name="VisualWhitespace" foreground="#c0c0c0"/>
  36. </style-scheme>

 
  ‹‹ [REDUNDANT] Losing points in forums      I had a WTF moment at the store last week :) ››

You must log in to post a reply. Not a member yet? Register here!