From 31a78ae551b781eccc47546a2f6d4bf121af24cf Mon Sep 17 00:00:00 2001 From: Aleks Kissinger Date: Thu, 2 Aug 2018 17:44:37 +0200 Subject: started style editor --- src/data/style.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/data/style.h') diff --git a/src/data/style.h b/src/data/style.h index 8315e5a..0be8b87 100644 --- a/src/data/style.h +++ b/src/data/style.h @@ -38,7 +38,7 @@ public: // properties that both edges and nodes have GraphElementData *data() const; QString name() const; - QColor strokeColor() const; + QColor strokeColor(bool tikzitOverride=true) const; int strokeThickness() const; // methods that are implemented differently for edges and nodes @@ -47,7 +47,7 @@ public: virtual QPainterPath palettePath() const = 0; virtual QIcon icon() const = 0; protected: - QString propertyWithDefault(QString prop, QString def) const; + QString propertyWithDefault(QString prop, QString def, bool tikzitOverride=true) const; QString _name; GraphElementData *_data; }; -- cgit v1.2.3