Changeset View
Changeset View
Standalone View
Standalone View
kcms/colors/package/contents/ui/main.qml
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | 31 | KCM.GridViewKCM { | |||
---|---|---|---|---|---|
42 | } | 42 | } | ||
43 | 43 | | |||
44 | Binding { | 44 | Binding { | ||
45 | target: kcm.filteredModel | 45 | target: kcm.filteredModel | ||
46 | property: "filter" | 46 | property: "filter" | ||
47 | value: filterCombo.model[filterCombo.currentIndex].filter | 47 | value: filterCombo.model[filterCombo.currentIndex].filter | ||
48 | } | 48 | } | ||
49 | 49 | | |||
50 | enabled: !kcm.downloadingFile | 50 | enabled: !kcm.downloadingFile && !kcm.colorsSettings.isImmutable("colorScheme") | ||
51 | 51 | | |||
52 | Component.onCompleted: { | 52 | Component.onCompleted: { | ||
53 | // The thumbnails are a bit more elaborate and need more room, especially when translated | 53 | // The thumbnails are a bit more elaborate and need more room, especially when translated | ||
54 | view.implicitCellWidth = Kirigami.Units.gridUnit * 13; | 54 | view.implicitCellWidth = Kirigami.Units.gridUnit * 13; | ||
55 | view.implicitCellHeight = Kirigami.Units.gridUnit * 11; | 55 | view.implicitCellHeight = Kirigami.Units.gridUnit * 11; | ||
56 | } | 56 | } | ||
57 | 57 | | |||
58 | DropArea { | 58 | DropArea { | ||
▲ Show 20 Lines • Show All 320 Lines • Show Last 20 Lines |