8#include <QPlainTextEdit>
11#include "ui_statusmessageform.h"
37 ui->te_Message->setPlainText(message.
getMessage());
38 ui->lbl_SeverityIcon->setPixmap(
CIcon(message.
toIcon()));
43 ui->le_Categories->setToolTip(
"");
47 ui->le_Categories->setText(hrc);
56 ui->le_Timestamp->clear();
57 ui->le_Categories->clear();
58 ui->le_Severity->clear();
65 ui->le_Timestamp->setVisible(!reduced);
66 ui->lbl_Timestamp->setVisible(!reduced);
67 ui->le_Categories->setVisible(!reduced);
68 ui->lbl_Categories->setVisible(!reduced);
69 ui->le_Severity->setVisible(!reduced);
70 ui->lbl_SeverityIcon->setVisible(!reduced);
71 ui->lbl_Severity->setVisible(!reduced);
Value object for icons. An icon is stored in the global icon repository and identified by its index....
QString toQString(bool i18n=false) const
Cast as QString.
static QStringList humanReadableNamesFrom(const CStatusMessage &message)
Human readable categories of message.
Streamable status message, e.g.
const QString & getSeverityAsString() const
Severity as string.
QString getMessage() const
Message.
const CLogCategoryList & getCategories() const
Message categories.
CIcons::IconIndex toIcon() const
Representing icon.
Wrapper around QVariant which provides transparent access to CValueObject methods of the contained ob...
T value() const
Return the value converted to the type T.
QString getFormattedUtcTimestampYmdhms() const
As yyyy MM dd HH mm ss.
High level reusable GUI components.
Free functions in swift::misc.
QFrame(QWidget *parent, Qt::WindowFlags f)
QObject * parent() const const
bool isEmpty() const const