mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Different Icon for a Bookmark Event.
This patch adds a different icon for a Bookmark Event, and it also cleaned a lot of code. :) See #300 [Dirk Hohndel: made the two icons slightly bigger] Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d3a56c137b
commit
441838def0
4 changed files with 9 additions and 32 deletions
|
@ -97,7 +97,7 @@ private:
|
|||
int paint_direction;
|
||||
};
|
||||
|
||||
class EventItem : public QGraphicsPolygonItem
|
||||
class EventItem : public QGraphicsPixmapItem
|
||||
{
|
||||
public:
|
||||
explicit EventItem(struct event *ev, QGraphicsItem* parent = 0, bool grayscale = FALSE);
|
||||
|
@ -106,7 +106,6 @@ public:
|
|||
private:
|
||||
ToolTipItem *controller;
|
||||
QString text;
|
||||
QIcon icon;
|
||||
bool isGrayscale;
|
||||
|
||||
QColor getColor(const color_indice_t i);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue