blob: eaf7e64f8b4897e81ea52e76fefd92400d900c2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
#ifndef PROJECT_H
#define PROJECT_H
#include "graphelementdata.h"
#include "nodestyle.h"
#include <QObject>
#include <QString>
class TikzStyles : public QObject
{
Q_OBJECT
public:
explicit TikzStyles(QObject *parent = 0);
void addStyle(QString name, GraphElementData *data);
NodeStyle *nodeStyle(QString name) const;
QVector<NodeStyle *> nodeStyles() const;
void clear();
signals:
public slots:
private:
QVector<NodeStyle*> _nodeStyles;
};
#endif // PROJECT_H
|