From 133838d7440bbafe25a9cbdee581547f14013894 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomi=20Korpip=C3=A4=C3=A4?= Date: Thu, 5 Jun 2014 12:24:34 +0300 Subject: Plugins.qmltypes updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTRD-3150 Change-Id: I717ed6a7d59d74f6d850cbb0954186a6c00390df Reviewed-by: Tomi Korpipää --- src/datavisualizationqml2/plugins.qmltypes | 79 ++++++++++++++++++++++++++++-- 1 file changed, 76 insertions(+), 3 deletions(-) diff --git a/src/datavisualizationqml2/plugins.qmltypes b/src/datavisualizationqml2/plugins.qmltypes index 99fa53de..71decd74 100644 --- a/src/datavisualizationqml2/plugins.qmltypes +++ b/src/datavisualizationqml2/plugins.qmltypes @@ -78,6 +78,20 @@ Module { "RenderIndirect": 2 } } + Enum { + name: "OptimizationHint" + values: { + "OptimizationDefault": 0, + "OptimizationStatic": 1 + } + } + Enum { + name: "OptimizationHints" + values: { + "OptimizationDefault": 0, + "OptimizationStatic": 1 + } + } Property { name: "selectionMode"; type: "SelectionFlags" } Property { name: "shadowQuality"; type: "ShadowQuality" } Property { name: "shadowsSupported"; type: "bool"; isReadonly: true } @@ -98,6 +112,7 @@ Module { Property { name: "orthoProjection"; revision: 1; type: "bool" } Property { name: "selectedElement"; revision: 1; type: "ElementType"; isReadonly: true } Property { name: "aspectRatio"; revision: 1; type: "double" } + Property { name: "optimizationHints"; revision: 1; type: "OptimizationHints" } Signal { name: "selectionModeChanged" Parameter { name: "mode"; type: "AbstractDeclarative::SelectionFlags" } @@ -155,6 +170,11 @@ Module { revision: 1 Parameter { name: "ratio"; type: "double" } } + Signal { + name: "optimizationHintsChanged" + revision: 1 + Parameter { name: "hints"; type: "QAbstract3DGraph::OptimizationHints" } + } Method { name: "handleAxisXChanged" Parameter { name: "axis"; type: "QAbstract3DAxis"; isPointer: true } @@ -845,6 +865,8 @@ Module { Property { name: "max"; type: "double" } Property { name: "autoAdjustRange"; type: "bool" } Property { name: "labelAutoRotation"; revision: 1; type: "double" } + Property { name: "titleVisible"; revision: 1; type: "bool" } + Property { name: "titleFixed"; revision: 1; type: "bool" } Signal { name: "titleChanged" Parameter { name: "newTitle"; type: "string" } @@ -875,6 +897,16 @@ Module { revision: 1 Parameter { name: "angle"; type: "double" } } + Signal { + name: "titleVisibilityChanged" + revision: 1 + Parameter { name: "visible"; type: "bool" } + } + Signal { + name: "titleFixedChanged" + revision: 1 + Parameter { name: "fixed"; type: "bool" } + } } Component { name: "QtDataVisualization::QAbstract3DInputHandler" @@ -1172,6 +1204,47 @@ Module { Parameter { name: "angle"; type: "double" } } } + Component { + name: "QtDataVisualization::QCustom3DLabel" + prototype: "QtDataVisualization::QCustom3DItem" + exports: ["QtDataVisualization/Custom3DLabel 1.1"] + exportMetaObjectRevisions: [0] + Property { name: "text"; type: "string" } + Property { name: "font"; type: "QFont" } + Property { name: "textColor"; type: "QColor" } + Property { name: "backgroundColor"; type: "QColor" } + Property { name: "borderEnabled"; type: "bool" } + Property { name: "backgroundEnabled"; type: "bool" } + Property { name: "facingCamera"; type: "bool" } + Signal { + name: "textChanged" + Parameter { name: "text"; type: "string" } + } + Signal { + name: "fontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { + name: "textColorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { + name: "backgroundColorChanged" + Parameter { name: "color"; type: "QColor" } + } + Signal { + name: "borderEnabledChanged" + Parameter { name: "enabled"; type: "bool" } + } + Signal { + name: "backgroundEnabledChanged" + Parameter { name: "enabled"; type: "bool" } + } + Signal { + name: "facingCameraChanged" + Parameter { name: "enabled"; type: "bool" } + } + } Component { name: "QtDataVisualization::QHeightMapSurfaceDataProxy" prototype: "QtDataVisualization::QSurfaceDataProxy" @@ -1225,7 +1298,7 @@ Module { "MMBCumulative": 3 } } - Property { name: "itemModel"; type: "const QAbstractItemModel"; isPointer: true } + Property { name: "itemModel"; type: "QAbstractItemModel"; isPointer: true } Property { name: "rowRole"; type: "string" } Property { name: "columnRole"; type: "string" } Property { name: "valueRole"; type: "string" } @@ -1340,7 +1413,7 @@ Module { "QtDataVisualization/ItemModelScatterDataProxy 1.1" ] exportMetaObjectRevisions: [0, 1] - Property { name: "itemModel"; type: "const QAbstractItemModel"; isPointer: true } + Property { name: "itemModel"; type: "QAbstractItemModel"; isPointer: true } Property { name: "xPosRole"; type: "string" } Property { name: "yPosRole"; type: "string" } Property { name: "zPosRole"; type: "string" } @@ -1431,7 +1504,7 @@ Module { "MMBCumulativeY": 3 } } - Property { name: "itemModel"; type: "const QAbstractItemModel"; isPointer: true } + Property { name: "itemModel"; type: "QAbstractItemModel"; isPointer: true } Property { name: "rowRole"; type: "string" } Property { name: "columnRole"; type: "string" } Property { name: "xPosRole"; type: "string" } -- cgit v1.2.3