- mySelectionStyle = "QLineEdit {background-color: ";
- mySelectionStyle += "qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 " + aHighlight.lighter(170).name();
- mySelectionStyle += ", stop:1 " + aHighlight.lighter().name() + ");";
- mySelectionStyle += "border: 1px solid lightblue; border-radius: 2px }";
+
+#if (!defined HAVE_SALOME) && (defined WIN32)
+ mySelectionStyle = "QLabel {background-color: ";
+ mySelectionStyle += "qlineargradient(x1:0, y1:0, x2:0, y2:1, stop:0 rgb(236, 245, 255)";
+ mySelectionStyle += ", stop:1 rgb(208, 229, 255));";
+ mySelectionStyle += "border: 1px solid rgb(132, 172, 221); border-radius: 2px }";
+#else
+ mySelectionStyle = "QLabel {background-color: " + aHighlight.name();
+ mySelectionStyle += "; color : " + aHighlightText.name() + "}";
+#endif