mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
d306ba9b38
commit
77a5ca4234
4 changed files with 7 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue