blob: 00d1b20c71051e7ca551448ee6023374521552d4 (
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
|
#ifndef NODESTYLE_H
#define NODESTYLE_H
#include <QColor>
enum NodeShape {
Square, UpTriangle, DownTriangle, Circle
};
class NodeStyle
{
public:
NodeStyle();
NodeStyle(QString nm, NodeShape sh, QColor fillCol);
NodeStyle(QString nm, NodeShape sh, QColor fillCol, QColor strokeCol, int strokeThick);
bool isNone();
QString name;
NodeShape shape;
QColor fillColor;
QColor strokeColor;
int strokeThickness;
};
extern NodeStyle *noneStyle;
#endif // NODESTYLE_H
|