diff options
Diffstat (limited to 'src/gui/styleeditor.h')
-rw-r--r-- | src/gui/styleeditor.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/gui/styleeditor.h b/src/gui/styleeditor.h index e40facd..fed2908 100644 --- a/src/gui/styleeditor.h +++ b/src/gui/styleeditor.h @@ -58,17 +58,16 @@ private: void setColor(QPushButton *btn, QColor col); void setPropertyModel(GraphElementData *d); QColor color(QPushButton *btn); - QStandardItemModel *_nodeModel; - QStandardItemModel *_edgeModel; - QStandardItem *_activeItem; - Style *_activeNodeStyle; - Style *_activeEdgeStyle; //QString _activeCategory; Style *activeStyle(); + void refreshActiveStyle(); TikzStyles *_styles; void updateColor(QPushButton *btn, QString name, QString propName); QVector<QWidget*> _formWidgets; bool _dirty; + + QModelIndex _nodeStyleIndex; + QModelIndex _edgeStyleIndex; }; #endif // STYLEEDITOR_H |