TextEditor: Relative colors

We introduce relative colors to make it possible to change for
example the color of a declaration slightly.

Change-Id: I8c1991a8907207d3616be954504c68ea18c6deb1
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
Marco Bubke
2016-09-27 11:52:18 +02:00
parent cbcc556614
commit e24eb97969
8 changed files with 434 additions and 95 deletions

View File

@@ -312,7 +312,7 @@ TextEditorSettings::TextEditorSettings(QObject *parent)
formatDescr.emplace_back(C_DECLARATION,
tr("Declaration"),
tr("Declaration of a function, variable, and so on."),
FormatDescription::ShowFontAndUnderlineControls);
FormatDescription::ShowFontUnderlineAndRelativeControls);
d->m_fontSettingsPage = new FontSettingsPage(formatDescr,
Constants::TEXT_EDITOR_FONT_SETTINGS,