Changeset View
Changeset View
Standalone View
Standalone View
lookandfeel/contents/logout/Logout.qml
Show First 20 Lines • Show All 149 Lines • ▼ Show 20 Line(s) | 143 | PlasmaComponents.Label { | |||
---|---|---|---|---|---|
150 | font.italic: true | 150 | font.italic: true | ||
151 | text: i18ndp("plasma_lookandfeel_org.kde.lookandfeel", | 151 | text: i18ndp("plasma_lookandfeel_org.kde.lookandfeel", | ||
152 | "One other user is currently logged in. If the computer is shut down or restarted, that user may lose work.", | 152 | "One other user is currently logged in. If the computer is shut down or restarted, that user may lose work.", | ||
153 | "%1 other users are currently logged in. If the computer is shut down or restarted, those users may lose work.", | 153 | "%1 other users are currently logged in. If the computer is shut down or restarted, those users may lose work.", | ||
154 | sessionsModel.count) | 154 | sessionsModel.count) | ||
155 | visible: sessionsModel.count > 1 | 155 | visible: sessionsModel.count > 1 | ||
156 | } | 156 | } | ||
157 | 157 | | |||
158 | PlasmaComponents.Label { | ||||
159 | font.pointSize: theme.defaultFont.pointSize + 1 | ||||
160 | Layout.maximumWidth: units.gridUnit * 16 | ||||
161 | Layout.alignment: Qt.AlignHCenter | ||||
162 | Layout.fillWidth: true | ||||
163 | horizontalAlignment: Text.AlignHCenter | ||||
164 | wrapMode: Text.WordWrap | ||||
165 | font.italic: true | ||||
166 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "When rebooted, the system will enter the firmware setup screen.") | ||||
167 | visible: rebootToFirmwareSetup | ||||
168 | } | ||||
169 | | ||||
158 | RowLayout { | 170 | RowLayout { | ||
159 | spacing: units.largeSpacing * 2 | 171 | spacing: units.largeSpacing * 2 | ||
160 | Layout.alignment: Qt.AlignHCenter | 172 | Layout.alignment: Qt.AlignHCenter | ||
161 | LogoutButton { | 173 | LogoutButton { | ||
162 | id: suspendButton | 174 | id: suspendButton | ||
163 | iconSource: "system-suspend" | 175 | iconSource: "system-suspend" | ||
164 | text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "Suspend to RAM", "Sleep") | 176 | text: i18ndc("plasma_lookandfeel_org.kde.lookandfeel", "Suspend to RAM", "Sleep") | ||
165 | action: root.sleepRequested | 177 | action: root.sleepRequested | ||
▲ Show 20 Lines • Show All 84 Lines • Show Last 20 Lines |