Introduce the concept of an "active" bufferview
[quassel.git] / src / qtui / qtuistyle.cpp
index 2e505a6..2fa8aeb 100644 (file)
@@ -59,7 +59,8 @@ void QtUiStyle::generateSettingsQss() const {
   if(s.value("UseChatViewColors").toBool()) {
     out << "\n// Custom ChatView Colors\n"
 
-        << "Palette { marker-line: " << color("MarkerLine", s) << "; }\n"
+        // markerline is special in that it always used to use a gradient, so we keep this behavior even with the new implementation
+        << "Palette { marker-line: qlineargradient(x1: 0, y1: 0, x2: 0, y2: 1, stop: 0 " << color("MarkerLine", s) << ", stop: 0.1 transparent); }\n"
         << "ChatView { background: " << color("ChatViewBackground", s) << "; }\n\n"
         << "ChatLine[label=\"highlight\"] {\n"
         << "  foreground: " << color("Highlight",s) << ";\n"
@@ -81,6 +82,9 @@ void QtUiStyle::generateSettingsQss() const {
         << msgTypeQss("info", "ServerMsg", s)
         << msgTypeQss("error", "ErrorMsg", s)
         << msgTypeQss("daychange", "ServerMsg", s)
+        << msgTypeQss("topic", "CommandMsg", s)
+        << msgTypeQss("netsplit-join", "CommandMsg", s)
+        << msgTypeQss("netsplit-quit", "CommandMsg", s)
         << "\n";
   }