Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwindecoration/qml/Previews.qml
Show All 36 Lines | 36 | onContentHeightChanged: { | |||
---|---|---|---|---|---|
37 | if (gridView.currentIndex == -1 && initialThemeIndex != -1) { | 37 | if (gridView.currentIndex == -1 && initialThemeIndex != -1) { | ||
38 | gridView.currentIndex = initialThemeIndex | 38 | gridView.currentIndex = initialThemeIndex | ||
39 | } | 39 | } | ||
40 | gridView.positionViewAtIndex(gridView.currentIndex, GridView.Visible) | 40 | gridView.positionViewAtIndex(gridView.currentIndex, GridView.Visible) | ||
41 | } | 41 | } | ||
42 | Rectangle { | 42 | Rectangle { | ||
43 | z: -1 | 43 | z: -1 | ||
44 | anchors.fill: parent | 44 | anchors.fill: parent | ||
45 | color: baseColor | 45 | color: backgroundColor | ||
46 | } | 46 | } | ||
47 | highlight: Rectangle { | 47 | highlight: Rectangle { | ||
48 | color: highlightColor | 48 | color: highlightColor | ||
49 | opacity: 0.6 | 49 | opacity: 0.6 | ||
50 | } | 50 | } | ||
51 | highlightMoveDuration: units.longDuration | 51 | highlightMoveDuration: units.longDuration | ||
52 | boundsBehavior: Flickable.StopAtBounds | 52 | boundsBehavior: Flickable.StopAtBounds | ||
53 | property int borderSizesIndex: 3 // 3 == Normal | 53 | property int borderSizesIndex: 3 // 3 == Normal | ||
▲ Show 20 Lines • Show All 107 Lines • Show Last 20 Lines |