##// END OF EJS Templates
Fix axes issues with oscilloscope demos...
Titta Heikkala -
r2694:638297e957ee
parent child
Show More
@@ -28,6 +28,7
28 28 QTCOMMERCIALCHART_USE_NAMESPACE
29 29
30 30 Q_DECLARE_METATYPE(QAbstractSeries *)
31 Q_DECLARE_METATYPE(QAbstractAxis *)
31 32
32 33 DataSource::DataSource(QDeclarativeView *appViewer, QObject *parent) :
33 34 QObject(parent),
@@ -35,6 +36,7 DataSource::DataSource(QDeclarativeView *appViewer, QObject *parent) :
35 36 m_index(-1)
36 37 {
37 38 qRegisterMetaType<QAbstractSeries*>();
39 qRegisterMetaType<QAbstractAxis*>();
38 40
39 41 generateData(0, 5, 1024);
40 42 }
@@ -29,6 +29,7
29 29 QTCOMMERCIALCHART_USE_NAMESPACE
30 30
31 31 Q_DECLARE_METATYPE(QAbstractSeries *)
32 Q_DECLARE_METATYPE(QAbstractAxis *)
32 33
33 34 DataSource::DataSource(QQuickView *appViewer, QObject *parent) :
34 35 QObject(parent),
@@ -36,6 +37,7 DataSource::DataSource(QQuickView *appViewer, QObject *parent) :
36 37 m_index(-1)
37 38 {
38 39 qRegisterMetaType<QAbstractSeries*>();
40 qRegisterMetaType<QAbstractAxis*>();
39 41
40 42 generateData(0, 5, 1024);
41 43 }
General Comments 0
You need to be logged in to leave comments. Login now