From 247d9e6b004b2920d696245838b9969690637fd2 Mon Sep 17 00:00:00 2001 From: Aleks Kissinger Date: Fri, 3 Aug 2018 23:22:11 +0200 Subject: support for RGB colors, edit color and name in style editor --- src/data/style.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/data/style.h') diff --git a/src/data/style.h b/src/data/style.h index 0be8b87..7a6ff18 100644 --- a/src/data/style.h +++ b/src/data/style.h @@ -46,6 +46,8 @@ public: virtual QPainterPath path() const = 0; virtual QPainterPath palettePath() const = 0; virtual QIcon icon() const = 0; + void setName(const QString &name); + protected: QString propertyWithDefault(QString prop, QString def, bool tikzitOverride=true) const; QString _name; -- cgit v1.2.3