@@ -121,7 +121,6 public: | |||||
121 |
|
121 | |||
122 | // QtCommercial.Chart 1.1 |
|
122 | // QtCommercial.Chart 1.1 | |
123 | qmlRegisterType<DeclarativeChart, 1>(uri, 1, 1, "ChartView"); |
|
123 | qmlRegisterType<DeclarativeChart, 1>(uri, 1, 1, "ChartView"); | |
124 | qmlRegisterType<DeclarativeXYPoint>(uri, 1, 1, "XYPoint"); |
|
|||
125 | qmlRegisterType<DeclarativeScatterSeries, 1>(uri, 1, 1, "ScatterSeries"); |
|
124 | qmlRegisterType<DeclarativeScatterSeries, 1>(uri, 1, 1, "ScatterSeries"); | |
126 | qmlRegisterType<DeclarativeLineSeries, 1>(uri, 1, 1, "LineSeries"); |
|
125 | qmlRegisterType<DeclarativeLineSeries, 1>(uri, 1, 1, "LineSeries"); | |
127 | qmlRegisterType<DeclarativeSplineSeries, 1>(uri, 1, 1, "SplineSeries"); |
|
126 | qmlRegisterType<DeclarativeSplineSeries, 1>(uri, 1, 1, "SplineSeries"); | |
@@ -133,43 +132,13 public: | |||||
133 | qmlRegisterType<DeclarativeHorizontalStackedBarSeries, 1>(uri, 1, 1, "HorizontalStackedBarSeries"); |
|
132 | qmlRegisterType<DeclarativeHorizontalStackedBarSeries, 1>(uri, 1, 1, "HorizontalStackedBarSeries"); | |
134 | qmlRegisterType<DeclarativeHorizontalPercentBarSeries, 1>(uri, 1, 1, "HorizontalPercentBarSeries"); |
|
133 | qmlRegisterType<DeclarativeHorizontalPercentBarSeries, 1>(uri, 1, 1, "HorizontalPercentBarSeries"); | |
135 | qmlRegisterType<DeclarativePieSeries>(uri, 1, 1, "PieSeries"); |
|
134 | qmlRegisterType<DeclarativePieSeries>(uri, 1, 1, "PieSeries"); | |
136 | qmlRegisterType<QPieSlice>(uri, 1, 1, "PieSlice"); |
|
|||
137 | qmlRegisterType<DeclarativeBarSet>(uri, 1, 1, "BarSet"); |
|
135 | qmlRegisterType<DeclarativeBarSet>(uri, 1, 1, "BarSet"); | |
138 | qmlRegisterType<QHXYModelMapper>(uri, 1, 1, "HXYModelMapper"); |
|
|||
139 | qmlRegisterType<QVXYModelMapper>(uri, 1, 1, "VXYModelMapper"); |
|
|||
140 | qmlRegisterType<QHPieModelMapper>(uri, 1, 1, "HPieModelMapper"); |
|
|||
141 | qmlRegisterType<QVPieModelMapper>(uri, 1, 1, "VPieModelMapper"); |
|
|||
142 | qmlRegisterType<QHBarModelMapper>(uri, 1, 1, "HBarModelMapper"); |
|
|||
143 | qmlRegisterType<QVBarModelMapper>(uri, 1, 1, "VBarModelMapper"); |
|
|||
144 | qmlRegisterType<QValueAxis>(uri, 1, 1, "ValueAxis"); |
|
|||
145 | #ifndef QT_ON_ARM |
|
136 | #ifndef QT_ON_ARM | |
146 | qmlRegisterType<QDateTimeAxis>(uri, 1, 1, "DateTimeAxis"); |
|
137 | qmlRegisterType<QDateTimeAxis>(uri, 1, 1, "DateTimeAxis"); | |
147 | #endif |
|
138 | #endif | |
148 | qmlRegisterType<DeclarativeCategoryAxis>(uri, 1, 1, "CategoryAxis"); |
|
139 | qmlRegisterType<DeclarativeCategoryAxis>(uri, 1, 1, "CategoryAxis"); | |
149 | qmlRegisterType<DeclarativeCategoryRange>(uri, 1, 1, "CategoryRange"); |
|
140 | qmlRegisterType<DeclarativeCategoryRange>(uri, 1, 1, "CategoryRange"); | |
150 | qmlRegisterType<QBarCategoryAxis>(uri, 1, 1, "BarCategoryAxis"); |
|
141 | qmlRegisterType<QBarCategoryAxis>(uri, 1, 1, "BarCategoryAxis"); | |
151 | qmlRegisterUncreatableType<QLegend>(uri, 1, 1, "Legend", |
|
|||
152 | QLatin1String("Trying to create uncreatable: Legend.")); |
|
|||
153 | qmlRegisterUncreatableType<QXYSeries>(uri, 1, 1, "XYSeries", |
|
|||
154 | QLatin1String("Trying to create uncreatable: XYSeries.")); |
|
|||
155 | qmlRegisterUncreatableType<QAbstractItemModel>(uri, 1, 1, "AbstractItemModel", |
|
|||
156 | QLatin1String("Trying to create uncreatable: AbstractItemModel.")); |
|
|||
157 | qmlRegisterUncreatableType<QXYModelMapper>(uri, 1, 1, "XYModelMapper", |
|
|||
158 | QLatin1String("Trying to create uncreatable: XYModelMapper.")); |
|
|||
159 | qmlRegisterUncreatableType<QPieModelMapper>(uri, 1, 1, "PieModelMapper", |
|
|||
160 | QLatin1String("Trying to create uncreatable: PieModelMapper.")); |
|
|||
161 | qmlRegisterUncreatableType<QBarModelMapper>(uri, 1, 1, "BarModelMapper", |
|
|||
162 | QLatin1String("Trying to create uncreatable: BarModelMapper.")); |
|
|||
163 | qmlRegisterUncreatableType<QAbstractSeries>(uri, 1, 1, "AbstractSeries", |
|
|||
164 | QLatin1String("Trying to create uncreatable: AbstractSeries.")); |
|
|||
165 | qmlRegisterUncreatableType<QAbstractBarSeries>(uri, 1, 1, "AbstractBarSeries", |
|
|||
166 | QLatin1String("Trying to create uncreatable: AbstractBarSeries.")); |
|
|||
167 | qmlRegisterUncreatableType<QAbstractAxis>(uri, 1, 1, "AbstractAxis", |
|
|||
168 | QLatin1String("Trying to create uncreatable: AbstractAxis. Use specific types of axis instead.")); |
|
|||
169 | qmlRegisterUncreatableType<QBarSet>(uri, 1, 1, "BarSetBase", |
|
|||
170 | QLatin1String("Trying to create uncreatable: BarsetBase.")); |
|
|||
171 | qmlRegisterUncreatableType<QPieSeries>(uri, 1, 1, "QPieSeries", |
|
|||
172 | QLatin1String("Trying to create uncreatable: QPieSeries. Use PieSeries instead.")); |
|
|||
173 | qmlRegisterUncreatableType<DeclarativeMargins>(uri, 1, 1, "Margins", |
|
142 | qmlRegisterUncreatableType<DeclarativeMargins>(uri, 1, 1, "Margins", | |
174 | QLatin1String("Trying to create uncreatable: Margins.")); |
|
143 | QLatin1String("Trying to create uncreatable: Margins.")); | |
175 |
|
144 |
General Comments 0
You need to be logged in to leave comments.
Login now