Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Plasma Nano
Commits
23decf7c
Commit
23decf7c
authored
Feb 15, 2021
by
Marco Martin
Browse files
use plasma components for the widget explorer
this makes the theme and colors be respected
parent
29557458
Changes
1
Hide whitespace changes
Inline
Side-by-side
shell/contents/explorer/WidgetExplorer.qml
View file @
23decf7c
...
...
@@ -19,11 +19,11 @@
import
QtQuick
2.2
import
QtQuick
.
Layouts
1.4
import
QtQuick
.
Controls
2.3
as
Controls
import
org
.
kde
.
plasma
.
core
2.0
as
PlasmaCore
import
org
.
kde
.
plasma
.
components
3.0
as
PC3
import
org
.
kde
.
plasma
.
extras
2.0
as
PlasmaExtras
import
org
.
kde
.
kquickcontrolsaddons
2.0
as
KQuick
Controls
Addons
import
org
.
kde
.
kquickcontrolsaddons
2.0
as
KQuick
PC3
Addons
David Redondo
🏎
@davidre
·
Feb 15, 2021
Developer
/s/Controls/PC3 ?
/s/Controls/PC3 ?
Please
register
or
sign in
to reply
import
org
.
kde
.
kirigami
2.6
as
Kirigami
import
QtQuick
.
Window
2.1
...
...
@@ -31,7 +31,7 @@ import QtQuick.Window 2.1
import
org
.
kde
.
plasma
.
private
.
shell
2.0
Controls
.Drawer
{
PC3
.Drawer
{
id
:
root
property
QtObject
containment
...
...
@@ -75,7 +75,7 @@ Controls.Drawer {
implicitHeight
:
layout
.
implicitHeight
clip
:
false
Controls
.RoundButton
{
PC3
.RoundButton
{
z
:
1
anchors.bottom
:
parent
.
bottom
x
:
root
.
horizontal
?
parent
.
width
-
width
:
0
...
...
@@ -153,7 +153,7 @@ Controls.Drawer {
id
:
appletsList
clip
:
false
topMargin
:
root
.
horizontal
?
0
:
root
.
topPanelHeight
header
:
Kirigami
.Heading
{
header
:
PlasmaExtras
.Heading
{
text
:
i18n
(
"
Widgets
"
)
visible
:
!
root
.
horizontal
width
:
visible
?
implicitWidth
:
0
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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