Debian Codegraph @

tests/auto/qml/qqmlqt/data/font.qml

raw
1 import QtQuick 2.0
2
3 QtObject {
4 property variant test1: Qt.font({ family: "Arial", pointSize: 22 });
5 property variant test2: Qt.font({ family: "Arial", pointSize: 20, weight: Font.DemiBold, italic: true });
6 property variant test3: Qt.font("Arial", 22);
7 property variant test4: Qt.font({ something: "Arial", other: 22 });
8 }