mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +08:00
Ref T529, added "IndexSeverityAsIcon", use logic sort order
This commit is contained in:
committed by
Mat Sutcliffe
parent
bb1bb35926
commit
fe840613cb
@@ -315,6 +315,7 @@ namespace BlackMisc
|
||||
IndexCategoryHumanReadableOrTechnicalAsString,
|
||||
IndexSeverity,
|
||||
IndexSeverityAsString,
|
||||
IndexSeverityAsIcon,
|
||||
IndexMessage,
|
||||
IndexMessageNoLineBreaks,
|
||||
IndexMessageAsHtml
|
||||
@@ -464,11 +465,14 @@ namespace BlackMisc
|
||||
void setCategories(const CLogCategoryList &categories) { this->m_categories = categories; }
|
||||
|
||||
//! Representing icon
|
||||
CIcon toIcon() const { return convertToIcon(*this); }
|
||||
const CIcon &toIcon() const { return convertToIcon(*this); }
|
||||
|
||||
//! Severity as string
|
||||
const QString &getSeverityAsString() const;
|
||||
|
||||
//! Severity as icon
|
||||
const CIcon &getSeverityAsIcon() const;
|
||||
|
||||
//! Severity as string
|
||||
static const QString &severityToString(StatusSeverity severity);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user