summaryrefslogtreecommitdiff
path: root/src/gui/styleeditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/styleeditor.h')
-rw-r--r--src/gui/styleeditor.h14
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;