From 51e24f5ad4fda308f6d6875969318ccf7158bffa Mon Sep 17 00:00:00 2001 From: David Schulz Date: Thu, 21 Feb 2019 13:25:17 +0100 Subject: TextEditor: Hide controls in scheme editor for builtin schemes Show a label instead with a link that copies the current color scheme. Fixes: QTCREATORBUG-21874 Change-Id: I74083bac8d7124341b4b63d8e172172235c5e184 Reviewed-by: Leena Miettinen Reviewed-by: Eike Ziller --- src/plugins/texteditor/colorschemeedit.ui | 510 +++++++++++++++--------------- 1 file changed, 260 insertions(+), 250 deletions(-) (limited to 'src/plugins/texteditor/colorschemeedit.ui') diff --git a/src/plugins/texteditor/colorschemeedit.ui b/src/plugins/texteditor/colorschemeedit.ui index e9bb34596b..ded11ef21f 100644 --- a/src/plugins/texteditor/colorschemeedit.ui +++ b/src/plugins/texteditor/colorschemeedit.ui @@ -6,7 +6,7 @@ 0 0 - 462 + 513 416 @@ -39,6 +39,16 @@ + + + + <p align='center'><b>Builtin color schemes need to be <a href="copy">copied</a><br/> before they can be changed</b></p> + + + false + + + @@ -87,37 +97,21 @@ 0 - - - - - 75 - true - - - - Relative Foreground - - - - - - - - 0 - 0 - - - - Foreground: + + + + Qt::Vertical - - foregroundToolButton + + + 200 + 0 + - + - - + + 0 @@ -127,77 +121,80 @@ 0 - 18 + 6 16777215 - 18 + 6 - - + + - + 0 0 - Lightness: + - - + + - + 0 0 - + Lightness: - - - - Qt::Vertical + + + + + 0 + 0 + - + - 200 - 0 + 0 + 18 - + + + 16777215 + 18 + + + - - + + - + 0 0 - - Erase background. - - x - - - Qt::LeftArrow + Saturation: - - + + 0 @@ -218,85 +215,71 @@ - - - - -1.000000000000000 - - - 1.000000000000000 - - - 0.050000000000000 - - - - - - - - 0 - 0 - - - - Lightness: - - - - - + + 0 0 - - Erase foreground. - - - x + + + 0 + 6 + - - Qt::LeftArrow + + + 16777215 + 6 + - - + + - + 0 0 - Saturation: + Foreground: + + + foregroundToolButton - - + + + + + 75 + true + + - Italic + Underline - - - - -1.000000000000000 - - - 1.000000000000000 + + + + + 75 + true + - - 0.050000000000000 + + Relative Foreground - + @@ -318,8 +301,8 @@ - - + + -1.000000000000000 @@ -331,24 +314,27 @@ - - + + - + 0 0 + + Erase background. + - Background: + x - - backgroundToolButton + + Qt::LeftArrow - - + + 0 @@ -358,32 +344,32 @@ 0 - 18 + 6 16777215 - 18 + 6 - - - - - 75 - true - + + + + + 0 + 0 + - Font + - - + + 0 @@ -391,85 +377,105 @@ - Saturation: + Lightness: - - + + + + + 75 + true + + - Bold + Relative Background - - + + + + + 75 + true + + + + Font + + + + + - + 0 0 - - - 0 - 6 - + + Saturation: - - - 16777215 - 6 - + + + + + + -1.000000000000000 + + + 1.000000000000000 + + + 0.050000000000000 - - + + 0 0 - - - 0 - 6 - + + Erase background. - - - 16777215 - 6 - + + x + + + Qt::LeftArrow - - + + + + + 0 0 - - - 0 - 18 - + + Erase foreground. - - - 16777215 - 18 - + + x + + + Qt::LeftArrow - - + + 0 @@ -490,8 +496,15 @@ - - + + + + Bold + + + + + 0 @@ -501,18 +514,18 @@ 0 - 6 + 18 16777215 - 6 + 18 - + @@ -525,49 +538,29 @@ - - - - - 75 - true - - - - Underline - - - - - + + - + 0 0 - - Color: - - - backgroundToolButton - - - - - - - - 75 - true - + + + 0 + 6 + - - Relative Background + + + 16777215 + 6 + - + @@ -589,8 +582,8 @@ - - + + -1.000000000000000 @@ -602,65 +595,82 @@ - - + + + + -1.000000000000000 + + + 1.000000000000000 + + + 0.050000000000000 + + + + + 0 0 - - + + + 0 + 6 + + + + + 16777215 + 6 + - - + + - + 0 0 - - Erase background. - - x + Color: - - Qt::LeftArrow + + backgroundToolButton - - - - - + + - + 0 0 - - - 0 - 6 - + + Background: - - - 16777215 - 6 - + + backgroundToolButton - - + + + + Italic + + + + + 0 @@ -670,13 +680,13 @@ 0 - 6 + 18 16777215 - 6 + 18 -- cgit v1.2.3