Changeset View
Changeset View
Standalone View
Standalone View
kcms/notifications/package/contents/ui/main.qml
Show All 23 Lines | |||||
24 | import org.kde.kirigami 2.4 as Kirigami | 24 | import org.kde.kirigami 2.4 as Kirigami | ||
25 | import org.kde.kcm 1.2 as KCM | 25 | import org.kde.kcm 1.2 as KCM | ||
26 | 26 | | |||
27 | import org.kde.notificationmanager 1.0 as NotificationManager | 27 | import org.kde.notificationmanager 1.0 as NotificationManager | ||
28 | 28 | | |||
29 | KCM.SimpleKCM { | 29 | KCM.SimpleKCM { | ||
30 | id: root | 30 | id: root | ||
31 | KCM.ConfigModule.quickHelp: i18n("This module lets you manage application and system notifications.") | 31 | KCM.ConfigModule.quickHelp: i18n("This module lets you manage application and system notifications.") | ||
32 | KCM.ConfigModule.buttons: KCM.ConfigModule.Help | KCM.ConfigModule.Apply | 32 | | ||
33 | // Sidebar on SourcesPage is 1/3 of the width at a minimum of 12, so assume 3 * 12 = 36 as preferred | 33 | // Sidebar on SourcesPage is 1/3 of the width at a minimum of 12, so assume 3 * 12 = 36 as preferred | ||
34 | implicitWidth: Kirigami.Units.gridUnit * 36 | 34 | implicitWidth: Kirigami.Units.gridUnit * 36 | ||
35 | 35 | | |||
36 | readonly property string ourServerVendor: "KDE" | 36 | readonly property string ourServerVendor: "KDE" | ||
37 | readonly property string ourServerName: "Plasma" | 37 | readonly property string ourServerName: "Plasma" | ||
38 | 38 | | |||
39 | readonly property NotificationManager.ServerInfo currentOwnerInfo: NotificationManager.Server.currentOwner | 39 | readonly property NotificationManager.ServerInfo currentOwnerInfo: NotificationManager.Server.currentOwner | ||
40 | 40 | | |||
▲ Show 20 Lines • Show All 196 Lines • Show Last 20 Lines |