Changeset View
Changeset View
Standalone View
Standalone View
applets/kickoff/package/contents/ui/KickoffListView.qml
Show First 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | 26 | FocusScope { | |||
---|---|---|---|---|---|
49 | function incrementCurrentIndex() { | 49 | function incrementCurrentIndex() { | ||
50 | listView.incrementCurrentIndex(); | 50 | listView.incrementCurrentIndex(); | ||
51 | } | 51 | } | ||
52 | 52 | | |||
53 | function decrementCurrentIndex() { | 53 | function decrementCurrentIndex() { | ||
54 | listView.decrementCurrentIndex(); | 54 | listView.decrementCurrentIndex(); | ||
55 | } | 55 | } | ||
56 | 56 | | |||
57 | Connections { | ||||
58 | target: plasmoid | ||||
59 | | ||||
60 | onExpandedChanged: { | ||||
61 | if (!expanded) { | ||||
62 | listView.positionViewAtBeginning(); | ||||
63 | } | ||||
64 | } | ||||
65 | } | ||||
57 | 66 | | |||
58 | PlasmaExtras.ScrollArea { | 67 | PlasmaExtras.ScrollArea { | ||
59 | id: scrollArea | 68 | id: scrollArea | ||
60 | frameVisible: false | 69 | frameVisible: false | ||
61 | anchors.fill: parent | 70 | anchors.fill: parent | ||
62 | 71 | | |||
63 | ListView { | 72 | ListView { | ||
64 | id: listView | 73 | id: listView | ||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |