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.components 2.0 as PlasmaComponents
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.plasmoid 2.0
import org.kde.latte 0.1 as Latte
@ -67,7 +68,7 @@ PlasmaComponents.Page {
Layout.rightMargin: units.smallSpacing * 2
spacing: units.smallSpacing
PlasmaComponents.ComboBox {
PlasmaComponents3.ComboBox {
id: layoutCmb
Layout.fillWidth: true

@ -25,6 +25,7 @@ import QtGraphicalEffects 1.0
import org.kde.plasma.core 2.0 as PlasmaCore
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.latte 0.1 as Latte
@ -188,7 +189,7 @@ PlasmaComponents.Page {
Layout.alignment: Qt.AlignRight
}
PlasmaComponents.ComboBox {
PlasmaComponents3.ComboBox {
id: screenCmb
Layout.fillWidth: true
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.components 2.0 as PlasmaComponents
import org.kde.plasma.components 3.0 as PlasmaComponents3
import org.kde.plasma.extras 2.0 as PlasmaExtras
import QtQuick.Controls.Styles.Plasma 2.0 as Styles
@ -366,7 +367,7 @@ FocusScope {
Layout.fillWidth: true
text:" "
PlasmaComponents.ComboBox {
PlasmaComponents3.ComboBox {
id: actionsCmb
anchors.fill: parent
enabled: addDock.enabled

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

Loading…
Cancel
Save