Changeset View
Changeset View
Standalone View
Standalone View
applets/kicker/package/contents/ui/ItemMultiGridView.qml
Show All 15 Lines | |||||
16 | * Free Software Foundation, Inc., * | 16 | * Free Software Foundation, Inc., * | ||
17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . * | 17 | * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . * | ||
18 | ***************************************************************************/ | 18 | ***************************************************************************/ | ||
19 | 19 | | |||
20 | import QtQuick 2.4 | 20 | import QtQuick 2.4 | ||
21 | 21 | | |||
22 | import org.kde.plasma.core 2.0 as PlasmaCore | 22 | import org.kde.plasma.core 2.0 as PlasmaCore | ||
23 | import org.kde.plasma.extras 2.0 as PlasmaExtras | 23 | import org.kde.plasma.extras 2.0 as PlasmaExtras | ||
24 | import org.kde.kirigami 2.8 as Kirigami | ||||
24 | 25 | | |||
25 | import org.kde.plasma.private.kicker 0.1 as Kicker | 26 | import org.kde.plasma.private.kicker 0.1 as Kicker | ||
26 | 27 | | |||
27 | PlasmaExtras.ScrollArea { | 28 | PlasmaExtras.ScrollArea { | ||
28 | id: itemMultiGrid | 29 | id: itemMultiGrid | ||
29 | 30 | | |||
30 | anchors { | 31 | anchors { | ||
31 | top: parent.top | 32 | top: parent.top | ||
▲ Show 20 Lines • Show All 78 Lines • ▼ Show 20 Line(s) | 106 | PlasmaExtras.Heading { | |||
110 | x: units.smallSpacing | 111 | x: units.smallSpacing | ||
111 | width: parent.width - x | 112 | width: parent.width - x | ||
112 | height: dummyHeading.height | 113 | height: dummyHeading.height | ||
113 | 114 | | |||
114 | elide: Text.ElideRight | 115 | elide: Text.ElideRight | ||
115 | wrapMode: Text.NoWrap | 116 | wrapMode: Text.NoWrap | ||
116 | opacity: 1.0 | 117 | opacity: 1.0 | ||
117 | 118 | | |||
118 | color: "white" // FIXME TODO: Respect theming? | 119 | color: Kirigami.Theme.textColor | ||
119 | 120 | | |||
120 | level: 1 | 121 | level: 1 | ||
121 | 122 | | |||
122 | text: repeater.model.modelForRow(index).description | 123 | text: repeater.model.modelForRow(index).description | ||
123 | } | 124 | } | ||
124 | 125 | | |||
125 | PlasmaCore.SvgItem { | 126 | PlasmaCore.SvgItem { | ||
126 | id: gridViewLabelUnderline | 127 | id: gridViewLabelUnderline | ||
▲ Show 20 Lines • Show All 113 Lines • Show Last 20 Lines |