mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
HTML overlay status message, smaller form of overlay message
* improved toHTML (with icon) * overlay message
This commit is contained in:
@@ -347,7 +347,7 @@ namespace BlackMisc
|
||||
QString convertToQString(bool i18n = false) const;
|
||||
|
||||
//! To HTML
|
||||
QString toHtml() const;
|
||||
QString toHtml(bool withIcon) const;
|
||||
|
||||
//! Representing icon
|
||||
static const CIcon &convertToIcon(const CStatusMessage &statusMessage);
|
||||
@@ -355,6 +355,9 @@ namespace BlackMisc
|
||||
//! Representing icon
|
||||
static const CIcon &convertToIcon(CStatusMessage::StatusSeverity severity);
|
||||
|
||||
//! Representing icon
|
||||
static const QString &convertToIconResource(CStatusMessage::StatusSeverity severity);
|
||||
|
||||
//! Object from JSON
|
||||
static CStatusMessage fromDatabaseJson(const QJsonObject &json);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user