Changeset View
Changeset View
Standalone View
Standalone View
src/kcm/package/contents/ui/Applications.qml
Show All 34 Lines | 33 | Component.onCompleted: { | |||
---|---|---|---|---|---|
35 | width = Qt.binding(function() { | 35 | width = Qt.binding(function() { | ||
36 | return scrollView.viewport.width; | 36 | return scrollView.viewport.width; | ||
37 | }); | 37 | }); | ||
38 | } | 38 | } | ||
39 | 39 | | |||
40 | Header { | 40 | Header { | ||
41 | Layout.fillWidth: true | 41 | Layout.fillWidth: true | ||
42 | enabled: eventStreamView.count || sinkInputView.count | 42 | enabled: eventStreamView.count || sinkInputView.count | ||
43 | text: i18n("Playback") | 43 | text: i18nd("kcm_pulseaudio", "Playback") | ||
44 | disabledText: i18nc("@label", "No Applications Playing Audio") | 44 | disabledText: i18ndc("kcm_pulseaudio", "@label", "No Applications Playing Audio") | ||
45 | } | 45 | } | ||
46 | 46 | | |||
47 | ListView { | 47 | ListView { | ||
48 | id: eventStreamView | 48 | id: eventStreamView | ||
49 | Layout.fillWidth: true | 49 | Layout.fillWidth: true | ||
50 | Layout.preferredHeight: contentHeight | 50 | Layout.preferredHeight: contentHeight | ||
51 | Layout.margins: units.gridUnit / 2 | 51 | Layout.margins: units.gridUnit / 2 | ||
52 | interactive: false | 52 | interactive: false | ||
Show All 21 Lines | 63 | ListView { | |||
74 | delegate: StreamListItem { | 74 | delegate: StreamListItem { | ||
75 | deviceModel: sinkModel | 75 | deviceModel: sinkModel | ||
76 | } | 76 | } | ||
77 | } | 77 | } | ||
78 | 78 | | |||
79 | Header { | 79 | Header { | ||
80 | Layout.fillWidth: true | 80 | Layout.fillWidth: true | ||
81 | enabled: sourceOutputView.count > 0 | 81 | enabled: sourceOutputView.count > 0 | ||
82 | text: i18n("Capture") | 82 | text: i18nd("kcm_pulseaudio", "Capture") | ||
83 | disabledText: i18nc("@label", "No Applications Recording Audio") | 83 | disabledText: i18ndc("kcm_pulseaudio", "@label", "No Applications Recording Audio") | ||
84 | } | 84 | } | ||
85 | 85 | | |||
86 | ListView { | 86 | ListView { | ||
87 | id: sourceOutputView | 87 | id: sourceOutputView | ||
88 | Layout.fillWidth: true | 88 | Layout.fillWidth: true | ||
89 | Layout.preferredHeight: contentHeight | 89 | Layout.preferredHeight: contentHeight | ||
90 | Layout.margins: units.gridUnit / 2 | 90 | Layout.margins: units.gridUnit / 2 | ||
91 | interactive: false | 91 | interactive: false | ||
Show All 12 Lines |