Download this file
36 lines (29 with data), 716 Bytes
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
35 | #ifndef XLINK_WRAPPER_H
#define XLINK_WRAPPER_H
#include <QObject>
class XLink;
class VymModel;
class XLinkWrapper : public QObject {
Q_OBJECT
public:
Q_INVOKABLE XLinkWrapper(XLink*);
~XLinkWrapper();
VymModel* model();
XLink* xlink();
public slots:
QString getColor();
int getWidth();
QString getPenStyle();
QString getStyleBegin();
QString getStyleEnd();
void setColor(const QString &color);
void setStyle(const QString &styGle);
void setStyleBegin(const QString &style);
void setStyleEnd(const QString &style);
void setWidth(int w);
private:
XLink *xlinkInt;
};
Q_DECLARE_METATYPE(XLinkWrapper)
Q_DECLARE_METATYPE(XLinkWrapper*)
#endif
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.