blob: 8eae52029284558e7f3b270a470da5bd4f0a882c (
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
30
31
32
33
34
|
#ifndef NODE_H
#define NODE_H
#include <QObject>
#include <QPointF>
#include <QString>
class Node : public QObject
{
Q_OBJECT
public:
explicit Node(QObject *parent = 0);
~Node();
QPointF pos() const;
void setPos(const QPointF &pos);
QString name() const;
void setName(const QString &name);
QString label() const;
void setLabel(const QString &label);
signals:
public slots:
private:
QPointF _pos;
QString _name;
QString _label;
};
#endif // NODE_H
|