diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2020-04-18 23:05:52 +0100 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2020-04-18 23:05:52 +0100 |
commit | 706b7fc38c4ed4769a3a1a8602e729b672f13118 (patch) | |
tree | 1ae3124a5d70323828f2affb78ffbac82b9e08eb /src/data/style.h | |
parent | ef07176e5c5c8e2aa9ea5a380000302234f2934c (diff) |
set no fill and no draw
Diffstat (limited to 'src/data/style.h')
-rw-r--r-- | src/data/style.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/data/style.h b/src/data/style.h index 78e11dc..0e795e1 100644 --- a/src/data/style.h +++ b/src/data/style.h @@ -57,18 +57,21 @@ public: void setName(const QString &name);
QString propertyWithDefault(QString prop, QString def, bool tikzitOverride=true) const;
QString tikz() const;
- void setArrowAtom(QString atom);
-
- // only relevant for node styles
QColor fillColor(bool tikzitOverride=true) const;
QBrush brush() const;
+ bool hasFill() const;
+ bool hasStroke() const;
+
+ // only relevant for node styles
QString shape(bool tikzitOverride=true) const;
+ QString category() const;
// only relevant for edge styles
Style::ArrowTipStyle arrowHead() const;
Style::ArrowTipStyle arrowTail() const;
Style::DrawStyle drawStyle() const;
- QString category() const;
+ void setArrowAtom(QString atom);
+
protected:
QString _name;
|