ui: styled code view

* updated spacings and colors in QtCodeView and QtCodeFile
* using Source Code Pro Regular (had to remove light cut from the Fonts folder because it got always used)
* updated syntax highlighted colors to fit design
* changed colors of highlights
* indent all QtCodeSnippets by maximum line number in QtCodeFile
* fixed syntax highlighting to work with sole multiline comment end

fortune cookie message = Your present plans are going to succeed.
This commit is contained in:
Eberhard Graether
2014-07-17 12:26:37 +02:00
parent 7157f0d127
commit efe3316ae3
10 changed files with 140 additions and 121 deletions
+19
View File
@@ -0,0 +1,19 @@
#code_view #code_file QLabel#title_label {
background-color: rgb(220,220,220);
border-top-right-radius: 10px;
font-family: "Source Code Pro";
font-size: 14px;
padding: 4px 12px;
}
#code_view #code_file #code_snippet {
font-family: "Source Code Pro";
font-size: 14px;
margin-bottom: 2px;
}
#code_view #code_file #code_snippet #line_number_area {
background-color: white;
font-family: "Source Code Pro";
font-size: 14px;
}