summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativelocale/data/properties.qml
blob: 1d2968b4199fcd8640bac5a19ad467bf608f18c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import QtQuick 2.0

QtObject {
    property var locale: Qt.locale()

    function setLocale(l) {
        locale = Qt.locale(l);
    }

    property var name: locale.name
    property var amText: locale.amText
    property var pmText: locale.pmText
    property var nativeLanguageName: locale.nativeLanguageName
    property var nativeCountryName: locale.nativeCountryName
    property var decimalPoint: locale.decimalPoint
    property var groupSeparator: locale.groupSeparator
    property var percent: locale.percent
    property var zeroDigit: locale.zeroDigit
    property var negativeSign: locale.negativeSign
    property var positiveSign: locale.positiveSign
    property var exponential: locale.exponential
    property var firstDayOfWeek: locale.firstDayOfWeek
    property var measurementSystem: locale.measurementSystem
    property var textDirection: locale.textDirection
    property var weekDays: locale.weekDays
}