Changeset View
Changeset View
Standalone View
Standalone View
applet/contents/ui/PopupDialog.qml
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 51 | Toolbar { | |||
---|---|---|---|---|---|
52 | id: toolbar | 52 | id: toolbar | ||
53 | Layout.fillWidth: true | 53 | Layout.fillWidth: true | ||
54 | } | 54 | } | ||
55 | 55 | | |||
56 | PlasmaExtras.ScrollArea { | 56 | PlasmaExtras.ScrollArea { | ||
57 | id: scrollView | 57 | id: scrollView | ||
58 | Layout.fillWidth: true | 58 | Layout.fillWidth: true | ||
59 | Layout.fillHeight: true | 59 | Layout.fillHeight: true | ||
60 | frameVisible: false | ||||
60 | 61 | | |||
61 | ListView { | 62 | ListView { | ||
62 | id: connectionView | 63 | id: connectionView | ||
63 | 64 | | |||
64 | property bool availableConnectionsVisible: false | | |||
65 | property int currentVisibleButtonIndex: -1 | 65 | property int currentVisibleButtonIndex: -1 | ||
66 | 66 | | |||
67 | spacing: 0 | ||||
67 | anchors.fill: parent | 68 | anchors.fill: parent | ||
68 | clip: true | 69 | clip: true | ||
69 | model: appletProxyModel | 70 | model: appletProxyModel | ||
70 | currentIndex: -1 | 71 | currentIndex: -1 | ||
71 | boundsBehavior: Flickable.StopAtBounds | 72 | boundsBehavior: Flickable.StopAtBounds | ||
72 | section.property: showSections ? "Section" : "" | 73 | section.property: "Section" | ||
73 | section.delegate: Header { text: section } | 74 | section.delegate: Header { } | ||
74 | delegate: ConnectionItem { } | 75 | delegate: ConnectionItem { } | ||
75 | } | 76 | } | ||
76 | } | 77 | } | ||
77 | } | 78 | } | ||
78 | 79 | | |||
79 | Connections { | 80 | Connections { | ||
80 | target: plasmoid | 81 | target: plasmoid | ||
81 | onExpandedChanged: { | 82 | onExpandedChanged: { | ||
Show All 12 Lines |