diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-03-17 19:01:02 -0400 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-03-17 19:01:02 -0400 |
commit | 3cea1514203a451c0a8806d276807863b463a78f (patch) | |
tree | d6850ab0f41a6d85f3504e8c92fcecf79b37689b /src/data/nodestyle.h | |
parent | 39c2c74c664a6c770639ead8f45322352cacb997 (diff) |
added saving, style application, and copy and paste
Diffstat (limited to 'src/data/nodestyle.h')
-rw-r--r-- | src/data/nodestyle.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/data/nodestyle.h b/src/data/nodestyle.h index 58c0c12..0b9f282 100644 --- a/src/data/nodestyle.h +++ b/src/data/nodestyle.h @@ -9,20 +9,20 @@ #include <QPainterPath> #include <QIcon> -enum NodeShape { - Rectangle, UpTriangle, DownTriangle, Circle -}; - class NodeStyle { public: + enum Shape { + Rectangle, UpTriangle, DownTriangle, Circle + }; + NodeStyle(); NodeStyle(QString name, GraphElementData *data); bool isNone(); GraphElementData *data() const; QString name() const; - NodeShape shape() const; + Shape shape() const; QColor fillColor() const; QColor strokeColor() const; int strokeThickness() const; |