Changeset View
Changeset View
Standalone View
Standalone View
applets/notifications/package/contents/ui/global/Globals.qml
Show First 20 Lines • Show All 385 Lines • ▼ Show 20 Line(s) | 378 | delegate: NotificationPopup { | |||
---|---|---|---|---|---|
386 | notificationType: model.type | 386 | notificationType: model.type | ||
387 | 387 | | |||
388 | applicationName: model.applicationName | 388 | applicationName: model.applicationName | ||
389 | applicationIconSource: model.applicationIconName | 389 | applicationIconSource: model.applicationIconName | ||
390 | originName: model.originName || "" | 390 | originName: model.originName || "" | ||
391 | 391 | | |||
392 | time: model.updated || model.created | 392 | time: model.updated || model.created | ||
393 | 393 | | |||
394 | configurable: model.configurable | 394 | configurable: !Kirigami.Settings.isMobile && model.configurable | ||
395 | // For running jobs instead of offering a "close" button that might lead the user to | 395 | // For running jobs instead of offering a "close" button that might lead the user to | ||
396 | // think that will cancel the job, we offer a "dismiss" button that hides it in the history | 396 | // think that will cancel the job, we offer a "dismiss" button that hides it in the history | ||
397 | dismissable: model.type === NotificationManager.Notifications.JobType | 397 | dismissable: model.type === NotificationManager.Notifications.JobType | ||
398 | && model.jobState !== NotificationManager.Notifications.JobStateStopped | 398 | && model.jobState !== NotificationManager.Notifications.JobStateStopped | ||
399 | // TODO would be nice to be able to "pin" jobs when they autohide | 399 | // TODO would be nice to be able to "pin" jobs when they autohide | ||
400 | && notificationSettings.permanentJobPopups | 400 | && notificationSettings.permanentJobPopups | ||
401 | closable: model.closable | 401 | closable: !Kirigami.Settings.isMobile && model.closable | ||
402 | 402 | | |||
403 | summary: model.summary | 403 | summary: model.summary | ||
404 | body: model.body || "" | 404 | body: model.body || "" | ||
405 | icon: model.image || model.iconName | 405 | icon: model.image || model.iconName | ||
406 | hasDefaultAction: model.hasDefaultAction || false | 406 | hasDefaultAction: model.hasDefaultAction || false | ||
407 | timeout: model.timeout | 407 | timeout: model.timeout | ||
408 | // Increase default timeout for notifications with a URL so you have enough time | 408 | // Increase default timeout for notifications with a URL so you have enough time | ||
409 | // to interact with the thumbnail or bring the window to the front where you want to drag it into | 409 | // to interact with the thumbnail or bring the window to the front where you want to drag it into | ||
▲ Show 20 Lines • Show All 180 Lines • Show Last 20 Lines |