Author: mir3x
Date: Fri Oct 28 17:56:33 2016
New Revision: 34280

URL: http://svn.gna.org/viewcvs/freeciv?rev=34280&view=rev
Log:
Qt client - themed disabled QCheckBox and QRadioButton

See bug #25235

Modified:
    trunk/data/themes/gui-qt/Classic/resource.qss
    trunk/data/themes/gui-qt/Necrophos/resource.qss
    trunk/data/themes/gui-qt/NightStalker/resource.qss

Modified: trunk/data/themes/gui-qt/Classic/resource.qss
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/themes/gui-qt/Classic/resource.qss?rev=34280&r1=34279&r2=34280&view=diff
==============================================================================
--- trunk/data/themes/gui-qt/Classic/resource.qss       (original)
+++ trunk/data/themes/gui-qt/Classic/resource.qss       Fri Oct 28 17:56:33 2016
@@ -107,6 +107,10 @@
   selection-background-color: none;
 }
 
+QLineEdit:disabled, QComboBox:disabled, QSpinBox:disabled , QComboBox:disabled{
+  color: #7b7b7b;
+}
+
 QComboBox {
   color: black;
   border-image: url(LittleFingercombo-normal.png) 3 3 3 3;
@@ -445,6 +449,10 @@
   background: #e1cea1;
 }
 
+QCheckBox:disabled, QRadioButton:disabled {
+  background-color: transparent;
+  color: #7b7b7b;
+}
 
 QTextEdit {
   background-color: #efddb5;

Modified: trunk/data/themes/gui-qt/Necrophos/resource.qss
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/themes/gui-qt/Necrophos/resource.qss?rev=34280&r1=34279&r2=34280&view=diff
==============================================================================
--- trunk/data/themes/gui-qt/Necrophos/resource.qss     (original)
+++ trunk/data/themes/gui-qt/Necrophos/resource.qss     Fri Oct 28 17:56:33 2016
@@ -478,6 +478,11 @@
   background-image:url(LittleFingersun.png);
 }
 
+QCheckBox:disabled, QRadioButton:disabled {
+  background-color: transparent;
+  color: #7b7b7b;
+}
+
 units_select {
   background-color: rgba(0, 0, 0,175);
   color: #dcffcf;

Modified: trunk/data/themes/gui-qt/NightStalker/resource.qss
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/themes/gui-qt/NightStalker/resource.qss?rev=34280&r1=34279&r2=34280&view=diff
==============================================================================
--- trunk/data/themes/gui-qt/NightStalker/resource.qss  (original)
+++ trunk/data/themes/gui-qt/NightStalker/resource.qss  Fri Oct 28 17:56:33 2016
@@ -367,6 +367,8 @@
 QRadioButton::indicator:checked:pressed {
   image: url(LittleFingerradio-checked.png);
 }
+
+
 
 QDialog {
   color: #3399FF;
@@ -487,6 +489,11 @@
   spacing: 5px;
 }
 
+QCheckBox:disabled, QRadioButton:disabled {
+  background-color: transparent;
+  color: #696969;
+}
+
 QCheckBox::indicator {
   width: 16px;
   height: 16px;


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to