diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-08-03 23:22:11 +0200 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-08-03 23:22:11 +0200 |
commit | 247d9e6b004b2920d696245838b9969690637fd2 (patch) | |
tree | c5120e553ed37ddd1ed899f61eaba141af57f9b2 /src/data/style.h | |
parent | 31a78ae551b781eccc47546a2f6d4bf121af24cf (diff) |
support for RGB colors, edit color and name in style editor
Diffstat (limited to 'src/data/style.h')
-rw-r--r-- | src/data/style.h | 2 |
1 files changed, 2 insertions, 0 deletions
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;
|