diff options
author | Aleks Kissinger <aleks0@gmail.com> | 2018-10-09 10:33:08 +0200 |
---|---|---|
committer | Aleks Kissinger <aleks0@gmail.com> | 2018-10-09 10:33:08 +0200 |
commit | 38582ebd4b974150cbe446ac92c9a4a7024f5f09 (patch) | |
tree | 8da4e23b02274e31ae62e2d26e40746ee988c368 /src/gui/styleeditor.h | |
parent | 59f92c45fd751aeb7811ca68d76d3af4ee72a9c4 (diff) |
style editor is finished
Diffstat (limited to 'src/gui/styleeditor.h')
-rw-r--r-- | src/gui/styleeditor.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gui/styleeditor.h b/src/gui/styleeditor.h index bc548f0..b8bf646 100644 --- a/src/gui/styleeditor.h +++ b/src/gui/styleeditor.h @@ -24,6 +24,9 @@ public: void save(); void closeEvent(QCloseEvent *event) override; + bool dirty() const; + void setDirty(bool dirty); + public slots: void refreshDisplay(); void nodeItemChanged(QModelIndex sel); @@ -49,6 +52,14 @@ public slots: void on_propertyDown_clicked(); void on_addStyle_clicked(); + void on_removeStyle_clicked(); + void on_styleUp_clicked(); + void on_styleDown_clicked(); + + void on_addEdgeStyle_clicked(); + void on_removeEdgeStyle_clicked(); + void on_edgeStyleUp_clicked(); + void on_edgeStyleDown_clicked(); void on_save_clicked(); @@ -65,6 +76,9 @@ private: void refreshActiveStyle(); TikzStyles *_styles; void updateColor(QPushButton *btn, QString name, QString propName); + void selectNodeStyle(int i); + void selectEdgeStyle(int i); + QVector<QWidget*> _formWidgets; bool _dirty; |