+ /**
+ * Generate a Qt stylesheet color string from a given setting
+ *
+ * @param[in] key Reference to settings key containing a QColor
+ * @param[in] settings UiSettings manager to search
+ * @param[in] defaultColor Fallback color if not found; when unspecified default is black
+ */
+ QString color(const QString& key, UiSettings& settings, const QColor& defaultColor = QColor()) const;
+
+ QString msgTypeQss(const QString& msgType, const QString& key, UiSettings& settings) const;
+
+ /**
+ * Generates the Qss color palette stylesheet for sender colors
+ *
+ * This must be called before generating any Qss dependent on these colors.
+ *
+ * @see QtUiStyle::senderQss()
+ * @param[in] settings Reference to current UI settings, used for loading color values
+ * @return Quassel-theme-compatible Qss color palette
+ */
+ QString senderPaletteQss(UiSettings& settings) const;