diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-08-02 17:44:37 +0200 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-08-02 17:44:37 +0200 |
commit | 31a78ae551b781eccc47546a2f6d4bf121af24cf (patch) | |
tree | b997a471d484f9b096878919fcd38b074dc7a59a /src/data/style.h | |
parent | f978634e8607f568b83952db9255e08f3f7cbe92 (diff) |
started style editor
Diffstat (limited to 'src/data/style.h')
-rw-r--r-- | src/data/style.h | 4 |
1 files changed, 2 insertions, 2 deletions
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;
};
|