diff options
Diffstat (limited to 'tests/quick2chartproperties/qml/quick2chartproperties/ChartEditorLegend.qml')
-rw-r--r-- | tests/quick2chartproperties/qml/quick2chartproperties/ChartEditorLegend.qml | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/tests/quick2chartproperties/qml/quick2chartproperties/ChartEditorLegend.qml b/tests/quick2chartproperties/qml/quick2chartproperties/ChartEditorLegend.qml deleted file mode 100644 index 24ffd9ef..00000000 --- a/tests/quick2chartproperties/qml/quick2chartproperties/ChartEditorLegend.qml +++ /dev/null @@ -1,80 +0,0 @@ -/**************************************************************************** -** -** Copyright (C) 2014 Digia Plc -** All rights reserved. -** For any questions to Digia, please use contact form at http://qt.digia.com -** -** This file is part of the Qt Enterprise Charts Add-on. -** -** $QT_BEGIN_LICENSE$ -** Licensees holding valid Qt Enterprise licenses may use this file in -** accordance with the Qt Enterprise License Agreement provided with the -** Software or, alternatively, in accordance with the terms contained in -** a written agreement between you and Digia. -** -** If you have questions regarding the use of this file, please use -** contact form at http://qt.digia.com -** $QT_END_LICENSE$ -** -****************************************************************************/ - -import QtQuick 2.0 - -Row { - anchors.fill: parent - spacing: 5 - property variant chartLegend - - Flow { - spacing: 5 - flow: Flow.TopToBottom - - Button { - text: "legend visible" - onClicked: chartLegend.visible = !chartLegend.visible; - } - Button { - text: "legend bckgrd visible" - onClicked: chartLegend.backgroundVisible = !chartLegend.backgroundVisible; - } - Button { - text: "legend color" - onClicked: chartLegend.color = main.nextColor(); - } - Button { - text: "legend border color" - onClicked: chartLegend.borderColor = main.nextColor(); - } - Button { - text: "legend label color" - onClicked: chartLegend.labelColor = main.nextColor(); - } - Button { - text: "legend top" - onClicked: chartLegend.alignment = Qt.AlignTop; - } - Button { - text: "legend bottom" - onClicked: chartLegend.alignment = Qt.AlignBottom; - } - Button { - text: "legend left" - onClicked: chartLegend.alignment = Qt.AlignLeft; - } - Button { - text: "legend right" - onClicked: chartLegend.alignment = Qt.AlignRight; - } - Button { - text: "legend use reverse order" - onClicked: chartLegend.reverseMarkers = !chartLegend.reverseMarkers; - } - } - - FontEditor { - fontDescription: "legend" - function editedFont() { - return chartLegend.font; - } - } -} |