Changeset View
Changeset View
Standalone View
Standalone View
examples/applets/testtheme/contents/ui/FontTest.qml
Show First 20 Lines • Show All 109 Lines • ▼ Show 20 Line(s) | 107 | Rectangle { | |||
---|---|---|---|---|---|
110 | height: units.gridUnit * 2 | 110 | height: units.gridUnit * 2 | ||
111 | width: height | 111 | width: height | ||
112 | anchors { | 112 | anchors { | ||
113 | top: parent.top | 113 | top: parent.top | ||
114 | left: parent.left | 114 | left: parent.left | ||
115 | } | 115 | } | ||
116 | } | 116 | } | ||
117 | 117 | | |||
118 | PlasmaExtras.Title { | 118 | PlasmaExtras.Heading { | ||
119 | 119 | | |||
120 | font.weight: lightCheck.checked ? Font.Light : Font.Normal | 120 | font.weight: lightCheck.checked ? Font.Light : Font.Normal | ||
121 | font.family: fontCheck.text | 121 | font.family: fontCheck.text | ||
122 | font.pointSize: 24 | 122 | font.pointSize: 24 | ||
123 | verticalAlignment: Text.AlignTop | 123 | verticalAlignment: Text.AlignTop | ||
124 | 124 | | |||
125 | text: "That's a Headline" | 125 | text: "That's a Headline" | ||
126 | 126 | | |||
Show All 12 Lines |