diff options
Diffstat (limited to 'tests/auto/qml/qqmlqt/data/font.qml')
-rw-r--r-- | tests/auto/qml/qqmlqt/data/font.qml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlqt/data/font.qml b/tests/auto/qml/qqmlqt/data/font.qml new file mode 100644 index 0000000000..9ebf460caf --- /dev/null +++ b/tests/auto/qml/qqmlqt/data/font.qml @@ -0,0 +1,8 @@ +import QtQuick 2.0 + +QtObject { + property variant test1: Qt.font({ family: "Arial", pointSize: 22 }); + property variant test2: Qt.font({ family: "Arial", pointSize: 20, weight: Font.DemiBold, italic: true }); + property variant test3: Qt.font("Arial", 22); + property variant test4: Qt.font({ something: "Arial", other: 22 }); +} |