diff options
Diffstat (limited to 'plugins/quick2/plugins.qmltypes')
-rw-r--r-- | plugins/quick2/plugins.qmltypes | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/plugins/quick2/plugins.qmltypes b/plugins/quick2/plugins.qmltypes index 4233d815..6b8dfc88 100644 --- a/plugins/quick2/plugins.qmltypes +++ b/plugins/quick2/plugins.qmltypes @@ -1561,9 +1561,20 @@ Module { prototype: "QtCommercialChart::QAbstractSeries" exports: ["QtCommercial.Chart/AbstractBarSeries 1.0"] exportMetaObjectRevisions: [0] + Enum { + name: "LabelsPosition" + values: { + "LabelsCenter": 0, + "LabelsInsideEnd": 1, + "LabelsInsideBase": 2, + "LabelsOutsideEnd": 3 + } + } Property { name: "barWidth"; type: "double" } Property { name: "count"; type: "int"; isReadonly: true } Property { name: "labelsVisible"; type: "bool" } + Property { name: "labelsFormat"; type: "string" } + Property { name: "labelsPosition"; type: "LabelsPosition" } Signal { name: "clicked" Parameter { name: "index"; type: "int" } @@ -1581,6 +1592,14 @@ Module { Parameter { name: "barset"; type: "QBarSet"; isPointer: true } } Signal { + name: "labelsFormatChanged" + Parameter { name: "format"; type: "string" } + } + Signal { + name: "labelsPositionChanged" + Parameter { name: "position"; type: "QAbstractBarSeries::LabelsPosition" } + } + Signal { name: "barsetsAdded" Parameter { name: "sets"; type: "QList<QBarSet*>" } } @@ -1623,6 +1642,10 @@ Module { Property { name: "lowerSeries"; type: "QLineSeries"; isReadonly: true; isPointer: true } Property { name: "color"; type: "QColor" } Property { name: "borderColor"; type: "QColor" } + Property { name: "pointLabelsFormat"; type: "string" } + Property { name: "pointLabelsVisible"; type: "bool" } + Property { name: "pointLabelsFont"; type: "QFont" } + Property { name: "pointLabelsColor"; type: "QColor" } Signal { name: "clicked" Parameter { name: "point"; type: "QPointF" } @@ -1641,6 +1664,22 @@ Module { name: "borderColorChanged" Parameter { name: "color"; type: "QColor" } } + Signal { + name: "pointLabelsFormatChanged" + Parameter { name: "format"; type: "string" } + } + Signal { + name: "pointLabelsVisibilityChanged" + Parameter { name: "visible"; type: "bool" } + } + Signal { + name: "pointLabelsFontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { + name: "pointLabelsColorChanged" + Parameter { name: "color"; type: "QColor" } + } } Component { name: "QtCommercialChart::QBarCategoryAxis" @@ -2140,6 +2179,10 @@ Module { exportMetaObjectRevisions: [0] Property { name: "pointsVisible"; type: "bool" } Property { name: "color"; type: "QColor" } + Property { name: "pointLabelsFormat"; type: "string" } + Property { name: "pointLabelsVisible"; type: "bool" } + Property { name: "pointLabelsFont"; type: "QFont" } + Property { name: "pointLabelsColor"; type: "QColor" } Signal { name: "clicked" Parameter { name: "point"; type: "QPointF" } @@ -2166,5 +2209,21 @@ Module { Parameter { name: "color"; type: "QColor" } } Signal { name: "pointsReplaced" } + Signal { + name: "pointLabelsFormatChanged" + Parameter { name: "format"; type: "string" } + } + Signal { + name: "pointLabelsVisibilityChanged" + Parameter { name: "visible"; type: "bool" } + } + Signal { + name: "pointLabelsFontChanged" + Parameter { name: "font"; type: "QFont" } + } + Signal { + name: "pointLabelsColorChanged" + Parameter { name: "color"; type: "QColor" } + } } } |