For warnings, show icon in infobox

Render a warning sign in front of the event string
in the infobox. This is done in rich text.

Note: This shows the warning sign for all events,
not just warnings.

Signed-off-by: Robert C. Helling <helling@atdotde.de>
This commit is contained in:
Robert C. Helling 2022-09-11 19:54:28 +02:00
parent d306ba9b38
commit 77a5ca4234
4 changed files with 7 additions and 5 deletions

View file

@ -45,7 +45,7 @@ slots:
void setRect(const QRectF &rect);
private:
typedef QPair<QGraphicsPixmapItem *, QGraphicsSimpleTextItem *> ToolTip;
typedef QPair<QGraphicsPixmapItem *, QGraphicsTextItem *> ToolTip;
QVector<ToolTip> toolTips;
ToolTip entryToolTip;
QGraphicsSimpleTextItem *title;