blob: e15306667d1f055a32a2e62d523d4532b4a75210 (
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 SEQENCETYPEEXAMPLE_H
#define SEQENCETYPEEXAMPLE_H
#include <QDebug>
#include <QObject>
#include <QtQml>
class SequenceTypeExample : public QObject
{
Q_OBJECT
QML_ELEMENT
Q_PROPERTY (QList<qreal> qrealListProperty READ qrealListProperty WRITE setQrealListProperty
NOTIFY qrealListPropertyChanged)
public:
explicit SequenceTypeExample();
QList<qreal> qrealListProperty() const;
void setQrealListProperty(const QList<qreal> &list);
signals:
void qrealListPropertyChanged();
private :
QList<qreal> m_list;
};
#endif // SEQENCETYPEEXAMPLE_H
|