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