Changeset View
Changeset View
Standalone View
Standalone View
applets/notifications/package/contents/ui/NotificationItem.qml
Show First 20 Lines • Show All 105 Lines • ▼ Show 20 Line(s) | 33 | ColumnLayout { | |||
---|---|---|---|---|---|
106 | signal fileActionInvoked | 106 | signal fileActionInvoked | ||
107 | 107 | | |||
108 | signal suspendJobClicked | 108 | signal suspendJobClicked | ||
109 | signal resumeJobClicked | 109 | signal resumeJobClicked | ||
110 | signal killJobClicked | 110 | signal killJobClicked | ||
111 | 111 | | |||
112 | spacing: units.smallSpacing | 112 | spacing: units.smallSpacing | ||
113 | 113 | | |||
114 | NotificationHeader { | 114 | PlasmaComponents.TopArea{ | ||
ngraham: needs to be `PlasmaExtras.PlasmoidHeading` now, since it was renamed and moved to `PlasmaExtras` | |||||
115 | id: notificationHeading | 115 | bottomInset: Math.round(thumbnailTopPadding / 2) | ||
116 | Layout.fillWidth: true | 116 | Layout.bottomMargin: Math.round(thumbnailTopPadding / 2) | ||
117 | Layout.leftMargin: notificationItem.headingLeftPadding | 117 | Layout.leftMargin: notificationItem.headingLeftPadding | ||
118 | Layout.rightMargin: notificationItem.headingRightPadding | 118 | Layout.rightMargin: notificationItem.headingRightPadding | ||
119 | 119 | | |||
120 | NotificationHeader { | ||||
121 | id: notificationHeading | ||||
122 | anchors.fill: parent | ||||
broulik: Plasma*Contents*? | |||||
123 | | ||||
120 | inGroup: notificationItem.inGroup | 124 | inGroup: notificationItem.inGroup | ||
121 | 125 | | |||
122 | notificationType: notificationItem.notificationType | 126 | notificationType: notificationItem.notificationType | ||
123 | jobState: notificationItem.jobState | 127 | jobState: notificationItem.jobState | ||
124 | jobDetails: notificationItem.jobDetails | 128 | jobDetails: notificationItem.jobDetails | ||
125 | 129 | | |||
126 | onConfigureClicked: notificationItem.configureClicked() | 130 | onConfigureClicked: notificationItem.configureClicked() | ||
127 | onDismissClicked: notificationItem.dismissClicked() | 131 | onDismissClicked: notificationItem.dismissClicked() | ||
128 | onCloseClicked: notificationItem.closeClicked() | 132 | onCloseClicked: notificationItem.closeClicked() | ||
129 | } | 133 | } | ||
134 | } | ||||
130 | 135 | | |||
131 | RowLayout { | 136 | RowLayout { | ||
132 | id: defaultHeaderContainer | 137 | id: defaultHeaderContainer | ||
133 | Layout.fillWidth: true | 138 | Layout.fillWidth: true | ||
134 | } | 139 | } | ||
135 | 140 | | |||
136 | // Notification body | 141 | // Notification body | ||
137 | RowLayout { | 142 | RowLayout { | ||
▲ Show 20 Lines • Show All 313 Lines • Show Last 20 Lines |
needs to be PlasmaExtras.PlasmoidHeading now, since it was renamed and moved to PlasmaExtras