Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Desktop
Commits
d87e7055
Commit
d87e7055
authored
Jan 14, 2022
by
Nate Graham
Browse files
AppletConfiguration: use standard QQC2 import name
GIT_SILENT
parent
72ec923a
Changes
1
Hide whitespace changes
Inline
Side-by-side
desktoppackage/contents/configuration/AppletConfiguration.qml
View file @
d87e7055
...
...
@@ -8,7 +8,7 @@
import
QtQuick
2.15
import
QtQuick
.
Dialogs
1.1
import
QtQuick
.
Controls
2.3
as
Q
tControls
import
QtQuick
.
Controls
2.3
as
Q
QC2
import
QtQuick
.
Layouts
1.1
import
QtQuick
.
Window
2.2
...
...
@@ -110,7 +110,7 @@ Rectangle {
}
Q
tControls
.ScrollView
{
Q
QC2
.ScrollView
{
id
:
categoriesScroll
anchors
{
left
:
parent
.
left
...
...
@@ -285,7 +285,7 @@ Rectangle {
}
}
footer
:
Q
tControls
.Pane
{
footer
:
Q
QC2
.Pane
{
padding
:
Kirigami
.
Units
.
largeSpacing
...
...
@@ -297,13 +297,13 @@ Rectangle {
Layout.fillWidth
:
true
}
Q
tControls
.Button
{
Q
QC2
.Button
{
icon.name
:
"
dialog-ok
"
text
:
i18nd
(
"
plasma_shell_org.kde.plasma.desktop
"
,
"
OK
"
)
onClicked
:
acceptAction
.
trigger
()
KeyNavigation.tab
:
categories
}
Q
tControls
.Button
{
Q
QC2
.Button
{
id
:
applyButton
enabled
:
false
icon.name
:
"
dialog-ok-apply
"
...
...
@@ -311,7 +311,7 @@ Rectangle {
visible
:
!
app
.
isAboutPage
&&
app
.
pageStack
.
currentItem
&&
(
!
app
.
pageStack
.
currentItem
.
kcm
||
app
.
pageStack
.
currentItem
.
kcm
.
buttons
&
4
)
// 4 = Apply button
onClicked
:
applyAction
.
trigger
()
}
Q
tControls
.Button
{
Q
QC2
.Button
{
icon.name
:
"
dialog-cancel
"
text
:
i18nd
(
"
plasma_shell_org.kde.plasma.desktop
"
,
"
Cancel
"
)
onClicked
:
cancelAction
.
trigger
()
...
...
@@ -334,7 +334,7 @@ Rectangle {
}
}
Q
tControls
.Action
{
Q
QC2
.Action
{
id
:
acceptAction
onTriggered
:
{
applyAction
.
trigger
();
...
...
@@ -343,7 +343,7 @@ Rectangle {
shortcut
:
"
Return
"
}
Q
tControls
.Action
{
Q
QC2
.Action
{
id
:
applyAction
onTriggered
:
{
app
.
pageStack
.
get
(
0
).
saveConfig
()
...
...
@@ -352,7 +352,7 @@ Rectangle {
}
}
Q
tControls
.Action
{
Q
QC2
.Action
{
id
:
cancelAction
onTriggered
:
configDialog
.
close
();
shortcut
:
"
Escape
"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment