Changeset View
Changeset View
Standalone View
Standalone View
sddm-theme/KeyboardButton.qml
1 | import QtQuick 2.6 | 1 | import QtQuick 2.6 | ||
---|---|---|---|---|---|
2 | 2 | | |||
3 | import org.kde.plasma.core 2.0 as PlasmaCore | 3 | import org.kde.plasma.core 2.0 as PlasmaCore | ||
4 | import org.kde.plasma.components 3.0 as PlasmaComponents | 4 | import org.kde.plasma.components 3.0 as PlasmaComponents | ||
5 | 5 | | |||
6 | import QtQuick.Controls 2.5 as QQC2 | 6 | import QtQuick.Controls 2.5 as QQC2 | ||
7 | import QtGraphicalEffects 1.0 | 7 | import QtGraphicalEffects 1.0 | ||
ngraham: `import QtQuick.Controls 2.5 as QQC2` | |||||
8 | 8 | | |||
9 | PlasmaComponents.ToolButton { | 9 | PlasmaComponents.ToolButton { | ||
10 | id: keyboardButton | 10 | id: keyboardButton | ||
11 | 11 | | |||
12 | property int currentIndex: -1 | 12 | property int currentIndex: -1 | ||
13 | 13 | | |||
14 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Keyboard Layout: %1", instantiator.objectAt(currentIndex).shortName) | 14 | text: i18nd("plasma_lookandfeel_org.kde.lookandfeel", "Keyboard Layout: %1", instantiator.objectAt(currentIndex).shortName) | ||
15 | 15 | | |||
▲ Show 20 Lines • Show All 99 Lines • Show Last 20 Lines |
import QtQuick.Controls 2.5 as QQC2