##// END OF EJS Templates
Replaced qFuzzyIsNull with qFuzzyCompare. Once qchart test case still uses qFuzzyIsNull becasue it started failing when qFuzzyCompare was used
Replaced qFuzzyIsNull with qFuzzyCompare. Once qchart test case still uses qFuzzyIsNull becasue it started failing when qFuzzyCompare was used

File last commit:

r2086:c1c7478d673d
r2242:2523dbee7254
Show More
ChartEditorLegend.qml
76 lines | 2.2 KiB | application/x-qml | QmlLexer
Tero Ahola
QML font properties to chart properties test app
r1525 /****************************************************************************
**
** Copyright (C) 2012 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 Commercial Charts Add-on.
**
** $QT_BEGIN_LICENSE$
** Licensees holding valid Qt Commercial licenses may use this file in
** accordance with the Qt Commercial 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 1.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();
}
Tero Ahola
Removed QLegend::setLabelPen, clean up theme label brushes
r1528 Button {
text: "legend label color"
onClicked: chartLegend.labelColor = main.nextColor();
}
Tero Ahola
QML font properties to chart properties test app
r1525 Button {
text: "legend top"
Michal Klocek
Fixes qmlchartproperites aligment legend bug
r2086 onClicked: chartLegend.alignment = Qt.AlignTop;
Tero Ahola
QML font properties to chart properties test app
r1525 }
Button {
text: "legend bottom"
Michal Klocek
Fixes qmlchartproperites aligment legend bug
r2086 onClicked: chartLegend.alignment = Qt.AlignBottom;
Tero Ahola
QML font properties to chart properties test app
r1525 }
Button {
text: "legend left"
Michal Klocek
Fixes qmlchartproperites aligment legend bug
r2086 onClicked: chartLegend.alignment = Qt.AlignLeft;
Tero Ahola
QML font properties to chart properties test app
r1525 }
Button {
text: "legend right"
Michal Klocek
Fixes qmlchartproperites aligment legend bug
r2086 onClicked: chartLegend.alignment = Qt.AlignRight;
Tero Ahola
QML font properties to chart properties test app
r1525 }
}
FontEditor {
fontDescription: "legend"
function editedFont() {
return chartLegend.font;
}
}
}