use PlasmaComponents3.ComboBox at settings window

pull/2/head
Michail Vourlakos 7 years ago
parent 00032f9198
commit 1d6c4f6b2c

@ -26,6 +26,7 @@ import QtQuick.Dialogs 1.2
import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.plasmoid 2.0 import org.kde.plasma.plasmoid 2.0
import org.kde.latte 0.1 as Latte import org.kde.latte 0.1 as Latte
@ -67,7 +68,7 @@ PlasmaComponents.Page {
Layout.rightMargin: units.smallSpacing * 2 Layout.rightMargin: units.smallSpacing * 2
spacing: units.smallSpacing spacing: units.smallSpacing
PlasmaComponents.ComboBox { PlasmaComponents3.ComboBox {
id: layoutCmb id: layoutCmb
Layout.fillWidth: true Layout.fillWidth: true

@ -25,6 +25,7 @@ import QtGraphicalEffects 1.0
import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.plasmoid 2.0 import org.kde.plasma.plasmoid 2.0
import org.kde.latte 0.1 as Latte import org.kde.latte 0.1 as Latte
@ -188,7 +189,7 @@ PlasmaComponents.Page {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
} }
PlasmaComponents.ComboBox { PlasmaComponents3.ComboBox {
id: screenCmb id: screenCmb
Layout.fillWidth: true Layout.fillWidth: true
Component.onCompleted: screenRow.updateScreens(); Component.onCompleted: screenRow.updateScreens();

@ -26,6 +26,7 @@ import QtQuick.Window 2.2
import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.extras 2.0 as PlasmaExtras import org.kde.plasma.extras 2.0 as PlasmaExtras
import QtQuick.Controls.Styles.Plasma 2.0 as Styles import QtQuick.Controls.Styles.Plasma 2.0 as Styles
@ -366,7 +367,7 @@ FocusScope {
Layout.fillWidth: true Layout.fillWidth: true
text:" " text:" "
PlasmaComponents.ComboBox { PlasmaComponents3.ComboBox {
id: actionsCmb id: actionsCmb
anchors.fill: parent anchors.fill: parent
enabled: addDock.enabled enabled: addDock.enabled

@ -24,6 +24,7 @@ import QtGraphicalEffects 1.0
import org.kde.plasma.core 2.0 as PlasmaCore import org.kde.plasma.core 2.0 as PlasmaCore
import org.kde.plasma.components 2.0 as PlasmaComponents import org.kde.plasma.components 2.0 as PlasmaComponents
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.plasmoid 2.0 import org.kde.plasma.plasmoid 2.0
import org.kde.latte 0.1 as Latte import org.kde.latte 0.1 as Latte
@ -169,7 +170,7 @@ PlasmaComponents.Page {
Layout.alignment: Qt.AlignRight Layout.alignment: Qt.AlignRight
} }
PlasmaComponents.ComboBox { PlasmaComponents3.ComboBox {
id: middleClickAction id: middleClickAction
Layout.fillWidth: true Layout.fillWidth: true
model: [i18nc("The click action", "None"), i18n("Close Window or Group"), model: [i18nc("The click action", "None"), i18n("Close Window or Group"),
@ -185,7 +186,7 @@ PlasmaComponents.Page {
spacing: units.smallSpacing spacing: units.smallSpacing
visible: plasmoid.configuration.advanced visible: plasmoid.configuration.advanced
PlasmaComponents.ComboBox { PlasmaComponents3.ComboBox {
id: modifier id: modifier
Layout.maximumWidth: theme.mSize(theme.defaultFont).width * 5 Layout.maximumWidth: theme.mSize(theme.defaultFont).width * 5
model: ["Shift", "Ctrl", "Alt", "Meta"] model: ["Shift", "Ctrl", "Alt", "Meta"]
@ -198,7 +199,7 @@ PlasmaComponents.Page {
text: "+" text: "+"
} }
PlasmaComponents.ComboBox { PlasmaComponents3.ComboBox {
id: modifierClick id: modifierClick
Layout.maximumWidth: theme.mSize(theme.defaultFont).width * 10 Layout.maximumWidth: theme.mSize(theme.defaultFont).width * 10
model: [i18n("Left Click"), i18n("Middle Click"), i18n("Right Click")] model: [i18n("Left Click"), i18n("Middle Click"), i18n("Right Click")]
@ -211,7 +212,7 @@ PlasmaComponents.Page {
text: "=" text: "="
} }
PlasmaComponents.ComboBox { PlasmaComponents3.ComboBox {
id: modifierClickAction id: modifierClickAction
Layout.fillWidth: true Layout.fillWidth: true
model: [i18nc("The click action", "None"), i18n("Close Window or Group"), model: [i18nc("The click action", "None"), i18n("Close Window or Group"),

Loading…
Cancel
Save