From d048506bb65a3f77102f07f54c7bfc16c80e003e Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Thu, 10 Mar 2022 19:51:52 +0200 Subject: kxkb: transparent indicator background feature Signed-off-by: Mavridis Philippe --- kxkb/kcmlayoutwidget.ui | 222 +++++++++++++++++++++++++++--------------------- 1 file changed, 126 insertions(+), 96 deletions(-) (limited to 'kxkb/kcmlayoutwidget.ui') diff --git a/kxkb/kcmlayoutwidget.ui b/kxkb/kcmlayoutwidget.ui index dc3350a87..e8dcc3a9e 100644 --- a/kxkb/kcmlayoutwidget.ui +++ b/kxkb/kcmlayoutwidget.ui @@ -545,96 +545,108 @@ false - + - spacer2 - - - Horizontal - - - Fixed - - - - 20 - 20 - - - - - - labelBgColor - - - Background color: - - - This color will be used as the indicator's background unless the indicator was set to display a flag. - - - false - + grpLabelColors + + + NoFrame + + + Plain + + + + + spacer2 + + + Horizontal + + + Fixed + + + + 20 + 20 + + + + + + labelBgColor + + + Background color: + + + This color will be used as the indicator's background unless the indicator was set to display a flag. + + + + + bgColor + + + This color will be used as the indicator's background unless the indicator was set to display a flag. + + + + + spacer2 + + + Horizontal + + + Fixed + + + + 20 + 20 + + + + + + labelFgColor + + + Text color: + + + This color will be used to draw the language label on the indicator. + + + + + fgColor + + + This color will be used to draw the language label on the indicator. + + + - + - bgColor - - - This color will be used as the indicator's background unless the indicator was set to display a flag. - - - false - - - - - spacer2 - - - Horizontal - - - Fixed - - - - 20 - 20 - - - - - - labelFgColor + chkBgTransparent - Text color: + Transparent background - This color will be used to draw the language label on the indicator. - - - false + Check this to remove the indicator's background. Only applicable in "Label only" mode. - - - fgColor - - - This color will be used to draw the language label on the indicator. - - - false - - - + separator1 - + labelFontRequester @@ -645,12 +657,12 @@ This is the font which will be used by the layout indicator to draw the label. - + labelFont - + chkLabelShadow @@ -661,7 +673,7 @@ Draw a drop shadow behind the language label. In some cases this option can improve readability. - + shColor @@ -920,38 +932,56 @@ radLabelUseCustom toggled(bool) - bgColor + grpLabelColors setEnabled(bool) - radLabelUseCustom + chkLabelShadow toggled(bool) - fgColor + shColor setEnabled(bool) - - - radLabelUseCustom + + + chkEnable toggled(bool) - labelBgColor + optionsFrame setEnabled(bool) - - - radLabelUseCustom + + + radFlagOnly + toggled(bool) + grpLabel + setDisabled(bool) + + + radLabelOnly toggled(bool) - labelFgColor + chkBgTransparent + setEnabled(bool) + + + radLabelOnly + toggled(bool) + bgColor setEnabled(bool) - chkLabelShadow + radLabelOnly toggled(bool) - shColor + labelBgColor setEnabled(bool) - chkEnable + radFlagLabel toggled(bool) - optionsFrame - setEnabled(bool) + bgColor + setDisabled(bool) + + + radFlagLabel + toggled(bool) + labelBgColor + setDisabled(bool) -- cgit v1.2.1