@@ -46,6 +46,8 | |||||
46 | #include "qbarlegendmarker.h" |
|
46 | #include "qbarlegendmarker.h" | |
47 | #include "qpielegendmarker.h" |
|
47 | #include "qpielegendmarker.h" | |
48 | #include "qxylegendmarker.h" |
|
48 | #include "qxylegendmarker.h" | |
|
49 | #include "qboxplotmodelmapper.h" | |||
|
50 | #include "qvboxplotmodelmapper.h" | |||
49 | #ifndef QT_ON_ARM |
|
51 | #ifndef QT_ON_ARM | |
50 | #include "qdatetimeaxis.h" |
|
52 | #include "qdatetimeaxis.h" | |
51 | #endif |
|
53 | #endif | |
@@ -103,6 +105,9 Q_DECLARE_METATYPE(QVPieModelMapper *) | |||||
103 | Q_DECLARE_METATYPE(QVXYModelMapper *) |
|
105 | Q_DECLARE_METATYPE(QVXYModelMapper *) | |
104 | Q_DECLARE_METATYPE(QXYLegendMarker *) |
|
106 | Q_DECLARE_METATYPE(QXYLegendMarker *) | |
105 | Q_DECLARE_METATYPE(QXYModelMapper *) |
|
107 | Q_DECLARE_METATYPE(QXYModelMapper *) | |
|
108 | Q_DECLARE_METATYPE(QBoxPlotModelMapper *) | |||
|
109 | Q_DECLARE_METATYPE(QVBoxPlotModelMapper *) | |||
|
110 | ||||
106 |
|
111 | |||
107 | Q_DECLARE_METATYPE(QAbstractSeries *) |
|
112 | Q_DECLARE_METATYPE(QAbstractSeries *) | |
108 | Q_DECLARE_METATYPE(QXYSeries *) |
|
113 | Q_DECLARE_METATYPE(QXYSeries *) | |
@@ -165,6 +170,7 public: | |||||
165 | qmlRegisterType<QVPieModelMapper>(uri, 1, 0, "VPieModelMapper"); |
|
170 | qmlRegisterType<QVPieModelMapper>(uri, 1, 0, "VPieModelMapper"); | |
166 | qmlRegisterType<QHBarModelMapper>(uri, 1, 0, "HBarModelMapper"); |
|
171 | qmlRegisterType<QHBarModelMapper>(uri, 1, 0, "HBarModelMapper"); | |
167 | qmlRegisterType<QVBarModelMapper>(uri, 1, 0, "VBarModelMapper"); |
|
172 | qmlRegisterType<QVBarModelMapper>(uri, 1, 0, "VBarModelMapper"); | |
|
173 | ||||
168 | qmlRegisterType<QValueAxis>(uri, 1, 0, "ValuesAxis"); |
|
174 | qmlRegisterType<QValueAxis>(uri, 1, 0, "ValuesAxis"); | |
169 | qmlRegisterType<QBarCategoryAxis>(uri, 1, 0, "BarCategoriesAxis"); |
|
175 | qmlRegisterType<QBarCategoryAxis>(uri, 1, 0, "BarCategoriesAxis"); | |
170 | qmlRegisterUncreatableType<QLegend>(uri, 1, 0, "Legend", |
|
176 | qmlRegisterUncreatableType<QLegend>(uri, 1, 0, "Legend", | |
@@ -247,6 +253,11 public: | |||||
247 | qmlRegisterType<DeclarativeBoxSet, 1>(uri, 1, 4, "BoxSet"); |
|
253 | qmlRegisterType<DeclarativeBoxSet, 1>(uri, 1, 4, "BoxSet"); | |
248 | qmlRegisterType<DeclarativePieSlice>(uri, 1, 4, "PieSlice"); |
|
254 | qmlRegisterType<DeclarativePieSlice>(uri, 1, 4, "PieSlice"); | |
249 | qmlRegisterType<DeclarativeScatterSeries, 4>(uri, 1, 4, "ScatterSeries"); |
|
255 | qmlRegisterType<DeclarativeScatterSeries, 4>(uri, 1, 4, "ScatterSeries"); | |
|
256 | ||||
|
257 | // QtCommercial.Chart 2.0 | |||
|
258 | qmlRegisterType<QVBoxPlotModelMapper>(uri, 2, 0, "VBoxPlotModelMapper"); | |||
|
259 | qmlRegisterUncreatableType<QBoxPlotModelMapper>(uri, 2, 0, "BoxPlotModelMapper", | |||
|
260 | QLatin1String("Trying to create uncreatable: BoxPlotModelMapper.")); | |||
250 | } |
|
261 | } | |
251 | }; |
|
262 | }; | |
252 |
|
263 |
@@ -4,7 +4,7 import QtQuick.tooling 1.1 | |||||
4 | // It is used for QML tooling purposes only. |
|
4 | // It is used for QML tooling purposes only. | |
5 | // |
|
5 | // | |
6 | // This file was auto-generated by: |
|
6 | // This file was auto-generated by: | |
7 |
// 'qmlplugindump -nonrelocatable QtCommercial.Chart |
|
7 | // 'qmlplugindump -nonrelocatable QtCommercial.Chart 2.0' | |
8 |
|
8 | |||
9 | Module { |
|
9 | Module { | |
10 | Component { |
|
10 | Component { | |
@@ -119,6 +119,7 Module { | |||||
119 | name: "QtCommercialChart::DeclarativeAxes" |
|
119 | name: "QtCommercialChart::DeclarativeAxes" | |
120 | prototype: "QObject" |
|
120 | prototype: "QObject" | |
121 | exports: ["QtCommercial.Chart/DeclarativeAxes 1.0"] |
|
121 | exports: ["QtCommercial.Chart/DeclarativeAxes 1.0"] | |
|
122 | isCreatable: false | |||
122 | exportMetaObjectRevisions: [0] |
|
123 | exportMetaObjectRevisions: [0] | |
123 | Property { name: "axisX"; type: "QAbstractAxis"; isPointer: true } |
|
124 | Property { name: "axisX"; type: "QAbstractAxis"; isPointer: true } | |
124 | Property { name: "axisY"; type: "QAbstractAxis"; isPointer: true } |
|
125 | Property { name: "axisY"; type: "QAbstractAxis"; isPointer: true } | |
@@ -948,6 +949,7 Module { | |||||
948 | name: "QtCommercialChart::DeclarativeMargins" |
|
949 | name: "QtCommercialChart::DeclarativeMargins" | |
949 | prototype: "QObject" |
|
950 | prototype: "QObject" | |
950 | exports: ["QtCommercial.Chart/Margins 1.1"] |
|
951 | exports: ["QtCommercial.Chart/Margins 1.1"] | |
|
952 | isCreatable: false | |||
951 | exportMetaObjectRevisions: [0] |
|
953 | exportMetaObjectRevisions: [0] | |
952 | Property { name: "top"; type: "int" } |
|
954 | Property { name: "top"; type: "int" } | |
953 | Property { name: "bottom"; type: "int" } |
|
955 | Property { name: "bottom"; type: "int" } | |
@@ -1442,6 +1444,7 Module { | |||||
1442 | name: "QtCommercialChart::QAbstractAxis" |
|
1444 | name: "QtCommercialChart::QAbstractAxis" | |
1443 | prototype: "QObject" |
|
1445 | prototype: "QObject" | |
1444 | exports: ["QtCommercial.Chart/AbstractAxis 1.0"] |
|
1446 | exports: ["QtCommercial.Chart/AbstractAxis 1.0"] | |
|
1447 | isCreatable: false | |||
1445 | exportMetaObjectRevisions: [0] |
|
1448 | exportMetaObjectRevisions: [0] | |
1446 | Property { name: "visible"; type: "bool" } |
|
1449 | Property { name: "visible"; type: "bool" } | |
1447 | Property { name: "lineVisible"; type: "bool" } |
|
1450 | Property { name: "lineVisible"; type: "bool" } | |
@@ -1560,6 +1563,7 Module { | |||||
1560 | name: "QtCommercialChart::QAbstractBarSeries" |
|
1563 | name: "QtCommercialChart::QAbstractBarSeries" | |
1561 | prototype: "QtCommercialChart::QAbstractSeries" |
|
1564 | prototype: "QtCommercialChart::QAbstractSeries" | |
1562 | exports: ["QtCommercial.Chart/AbstractBarSeries 1.0"] |
|
1565 | exports: ["QtCommercial.Chart/AbstractBarSeries 1.0"] | |
|
1566 | isCreatable: false | |||
1563 | exportMetaObjectRevisions: [0] |
|
1567 | exportMetaObjectRevisions: [0] | |
1564 | Enum { |
|
1568 | Enum { | |
1565 | name: "LabelsPosition" |
|
1569 | name: "LabelsPosition" | |
@@ -1612,6 +1616,7 Module { | |||||
1612 | name: "QtCommercialChart::QAbstractSeries" |
|
1616 | name: "QtCommercialChart::QAbstractSeries" | |
1613 | prototype: "QObject" |
|
1617 | prototype: "QObject" | |
1614 | exports: ["QtCommercial.Chart/AbstractSeries 1.0"] |
|
1618 | exports: ["QtCommercial.Chart/AbstractSeries 1.0"] | |
|
1619 | isCreatable: false | |||
1615 | exportMetaObjectRevisions: [0] |
|
1620 | exportMetaObjectRevisions: [0] | |
1616 | Enum { |
|
1621 | Enum { | |
1617 | name: "SeriesType" |
|
1622 | name: "SeriesType" | |
@@ -1712,6 +1717,7 Module { | |||||
1712 | name: "QtCommercialChart::QBarModelMapper" |
|
1717 | name: "QtCommercialChart::QBarModelMapper" | |
1713 | prototype: "QObject" |
|
1718 | prototype: "QObject" | |
1714 | exports: ["QtCommercial.Chart/BarModelMapper 1.0"] |
|
1719 | exports: ["QtCommercial.Chart/BarModelMapper 1.0"] | |
|
1720 | isCreatable: false | |||
1715 | exportMetaObjectRevisions: [0] |
|
1721 | exportMetaObjectRevisions: [0] | |
1716 | } |
|
1722 | } | |
1717 | Component { |
|
1723 | Component { | |
@@ -1722,6 +1728,7 Module { | |||||
1722 | name: "QtCommercialChart::QBarSet" |
|
1728 | name: "QtCommercialChart::QBarSet" | |
1723 | prototype: "QObject" |
|
1729 | prototype: "QObject" | |
1724 | exports: ["QtCommercial.Chart/BarSetBase 1.0"] |
|
1730 | exports: ["QtCommercial.Chart/BarSetBase 1.0"] | |
|
1731 | isCreatable: false | |||
1725 | exportMetaObjectRevisions: [0] |
|
1732 | exportMetaObjectRevisions: [0] | |
1726 | Property { name: "label"; type: "string" } |
|
1733 | Property { name: "label"; type: "string" } | |
1727 | Property { name: "pen"; type: "QPen" } |
|
1734 | Property { name: "pen"; type: "QPen" } | |
@@ -1772,6 +1779,13 Module { | |||||
1772 | } |
|
1779 | } | |
1773 | } |
|
1780 | } | |
1774 | Component { |
|
1781 | Component { | |
|
1782 | name: "QtCommercialChart::QBoxPlotModelMapper" | |||
|
1783 | prototype: "QObject" | |||
|
1784 | exports: ["QtCommercial.Chart/BoxPlotModelMapper 2.0"] | |||
|
1785 | isCreatable: false | |||
|
1786 | exportMetaObjectRevisions: [0] | |||
|
1787 | } | |||
|
1788 | Component { | |||
1775 | name: "QtCommercialChart::QBoxPlotSeries" |
|
1789 | name: "QtCommercialChart::QBoxPlotSeries" | |
1776 | prototype: "QtCommercialChart::QAbstractSeries" |
|
1790 | prototype: "QtCommercialChart::QAbstractSeries" | |
1777 | Property { name: "boxOutlineVisible"; type: "bool" } |
|
1791 | Property { name: "boxOutlineVisible"; type: "bool" } | |
@@ -1913,6 +1927,7 Module { | |||||
1913 | defaultProperty: "children" |
|
1927 | defaultProperty: "children" | |
1914 | prototype: "QGraphicsWidget" |
|
1928 | prototype: "QGraphicsWidget" | |
1915 | exports: ["QtCommercial.Chart/Legend 1.0"] |
|
1929 | exports: ["QtCommercial.Chart/Legend 1.0"] | |
|
1930 | isCreatable: false | |||
1916 | exportMetaObjectRevisions: [0] |
|
1931 | exportMetaObjectRevisions: [0] | |
1917 | Property { name: "alignment"; type: "Qt::Alignment" } |
|
1932 | Property { name: "alignment"; type: "Qt::Alignment" } | |
1918 | Property { name: "backgroundVisible"; type: "bool" } |
|
1933 | Property { name: "backgroundVisible"; type: "bool" } | |
@@ -1986,12 +2001,14 Module { | |||||
1986 | name: "QtCommercialChart::QPieModelMapper" |
|
2001 | name: "QtCommercialChart::QPieModelMapper" | |
1987 | prototype: "QObject" |
|
2002 | prototype: "QObject" | |
1988 | exports: ["QtCommercial.Chart/PieModelMapper 1.0"] |
|
2003 | exports: ["QtCommercial.Chart/PieModelMapper 1.0"] | |
|
2004 | isCreatable: false | |||
1989 | exportMetaObjectRevisions: [0] |
|
2005 | exportMetaObjectRevisions: [0] | |
1990 | } |
|
2006 | } | |
1991 | Component { |
|
2007 | Component { | |
1992 | name: "QtCommercialChart::QPieSeries" |
|
2008 | name: "QtCommercialChart::QPieSeries" | |
1993 | prototype: "QtCommercialChart::QAbstractSeries" |
|
2009 | prototype: "QtCommercialChart::QAbstractSeries" | |
1994 | exports: ["QtCommercial.Chart/QPieSeries 1.0"] |
|
2010 | exports: ["QtCommercial.Chart/QPieSeries 1.0"] | |
|
2011 | isCreatable: false | |||
1995 | exportMetaObjectRevisions: [0] |
|
2012 | exportMetaObjectRevisions: [0] | |
1996 | Property { name: "horizontalPosition"; type: "double" } |
|
2013 | Property { name: "horizontalPosition"; type: "double" } | |
1997 | Property { name: "verticalPosition"; type: "double" } |
|
2014 | Property { name: "verticalPosition"; type: "double" } | |
@@ -2104,6 +2121,20 Module { | |||||
2104 | Signal { name: "modelReplaced" } |
|
2121 | Signal { name: "modelReplaced" } | |
2105 | } |
|
2122 | } | |
2106 | Component { |
|
2123 | Component { | |
|
2124 | name: "QtCommercialChart::QVBoxPlotModelMapper" | |||
|
2125 | prototype: "QtCommercialChart::QBoxPlotModelMapper" | |||
|
2126 | exports: ["QtCommercial.Chart/VBoxPlotModelMapper 2.0"] | |||
|
2127 | exportMetaObjectRevisions: [0] | |||
|
2128 | Property { name: "series"; type: "QBoxPlotSeries"; isPointer: true } | |||
|
2129 | Property { name: "model"; type: "QAbstractItemModel"; isPointer: true } | |||
|
2130 | Property { name: "firstBoxSetColumn"; type: "int" } | |||
|
2131 | Property { name: "lastBoxSetColumn"; type: "int" } | |||
|
2132 | Property { name: "firstRow"; type: "int" } | |||
|
2133 | Property { name: "rowCount"; type: "int" } | |||
|
2134 | Signal { name: "seriesReplaced" } | |||
|
2135 | Signal { name: "modelReplaced" } | |||
|
2136 | } | |||
|
2137 | Component { | |||
2107 | name: "QtCommercialChart::QVPieModelMapper" |
|
2138 | name: "QtCommercialChart::QVPieModelMapper" | |
2108 | prototype: "QtCommercialChart::QPieModelMapper" |
|
2139 | prototype: "QtCommercialChart::QPieModelMapper" | |
2109 | exports: ["QtCommercial.Chart/VPieModelMapper 1.0"] |
|
2140 | exports: ["QtCommercial.Chart/VPieModelMapper 1.0"] | |
@@ -2171,12 +2202,14 Module { | |||||
2171 | name: "QtCommercialChart::QXYModelMapper" |
|
2202 | name: "QtCommercialChart::QXYModelMapper" | |
2172 | prototype: "QObject" |
|
2203 | prototype: "QObject" | |
2173 | exports: ["QtCommercial.Chart/XYModelMapper 1.0"] |
|
2204 | exports: ["QtCommercial.Chart/XYModelMapper 1.0"] | |
|
2205 | isCreatable: false | |||
2174 | exportMetaObjectRevisions: [0] |
|
2206 | exportMetaObjectRevisions: [0] | |
2175 | } |
|
2207 | } | |
2176 | Component { |
|
2208 | Component { | |
2177 | name: "QtCommercialChart::QXYSeries" |
|
2209 | name: "QtCommercialChart::QXYSeries" | |
2178 | prototype: "QtCommercialChart::QAbstractSeries" |
|
2210 | prototype: "QtCommercialChart::QAbstractSeries" | |
2179 | exports: ["QtCommercial.Chart/XYSeries 1.0"] |
|
2211 | exports: ["QtCommercial.Chart/XYSeries 1.0"] | |
|
2212 | isCreatable: false | |||
2180 | exportMetaObjectRevisions: [0] |
|
2213 | exportMetaObjectRevisions: [0] | |
2181 | Property { name: "pointsVisible"; type: "bool" } |
|
2214 | Property { name: "pointsVisible"; type: "bool" } | |
2182 | Property { name: "color"; type: "QColor" } |
|
2215 | Property { name: "color"; type: "QColor" } |
General Comments 0
You need to be logged in to leave comments.
Login now