PlasmaCore.Svg counterpart
This commit is contained in:
parent
26755c8d86
commit
eabc0e99ad
@ -17,6 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import org.kde.plasma.core as PlasmaCore
|
import org.kde.plasma.core as PlasmaCore
|
||||||
|
import org.kde.ksvg as KSvg
|
||||||
import org.kde.kirigami as Kirigami
|
import org.kde.kirigami as Kirigami
|
||||||
import org.kde.plasma.components as PlasmaComponents
|
import org.kde.plasma.components as PlasmaComponents
|
||||||
|
|
||||||
@ -58,7 +59,7 @@ Item {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
PlasmaCore.SvgItem {
|
KSvg.SvgItem {
|
||||||
id: arrowSvg
|
id: arrowSvg
|
||||||
|
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
@ -66,7 +67,7 @@ Item {
|
|||||||
height: crumbRoot.height / 2
|
height: crumbRoot.height / 2
|
||||||
width: visible ? height : 0
|
width: visible ? height : 0
|
||||||
|
|
||||||
svg: PlasmaCore.Svg {
|
svg: KSvg.Svg {
|
||||||
imagePath: "icons/go"
|
imagePath: "icons/go"
|
||||||
}
|
}
|
||||||
elementId: LayoutMirroring.enabled ? "go-previous" : "go-next"
|
elementId: LayoutMirroring.enabled ? "go-previous" : "go-next"
|
||||||
|
@ -23,6 +23,7 @@ import QtQuick 2.3
|
|||||||
import org.kde.plasma.plasmoid 2.0
|
import org.kde.plasma.plasmoid 2.0
|
||||||
import QtQuick.Layouts 1.1
|
import QtQuick.Layouts 1.1
|
||||||
import org.kde.plasma.core as PlasmaCore
|
import org.kde.plasma.core as PlasmaCore
|
||||||
|
import org.kde.ksvg as KSvg
|
||||||
import org.kde.plasma.plasma5support as Plasma5Support
|
import org.kde.plasma.plasma5support as Plasma5Support
|
||||||
import org.kde.kirigami as Kirigami
|
import org.kde.kirigami as Kirigami
|
||||||
import org.kde.plasma.components as PlasmaComponents
|
import org.kde.plasma.components as PlasmaComponents
|
||||||
@ -109,7 +110,7 @@ Item {
|
|||||||
connectedSources: ["PowerDevil"]
|
connectedSources: ["PowerDevil"]
|
||||||
}
|
}
|
||||||
|
|
||||||
PlasmaCore.Svg {
|
KSvg.Svg {
|
||||||
id: arrowsSvg
|
id: arrowsSvg
|
||||||
|
|
||||||
imagePath: "widgets/arrows"
|
imagePath: "widgets/arrows"
|
||||||
@ -436,9 +437,9 @@ Item {
|
|||||||
}
|
}
|
||||||
} // tabBar
|
} // tabBar
|
||||||
|
|
||||||
PlasmaCore.SvgItem {
|
KSvg.SvgItem {
|
||||||
id: tabBarSeparator
|
id: tabBarSeparator
|
||||||
svg: PlasmaCore.Svg {
|
svg: KSvg.Svg {
|
||||||
id: tabBarSeparatorLine
|
id: tabBarSeparatorLine
|
||||||
imagePath: "widgets/line"
|
imagePath: "widgets/line"
|
||||||
}
|
}
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import org.kde.plasma.core as PlasmaCore
|
import org.kde.plasma.core as PlasmaCore
|
||||||
|
import org.kde.ksvg as KSvg
|
||||||
import org.kde.kirigami as Kirigami
|
import org.kde.kirigami as Kirigami
|
||||||
import org.kde.plasma.components as PlasmaComponents
|
import org.kde.plasma.components as PlasmaComponents
|
||||||
import org.kde.draganddrop 2.0
|
import org.kde.draganddrop 2.0
|
||||||
@ -150,7 +151,7 @@ Item {
|
|||||||
horizontalAlignment: Text.AlignLeft
|
horizontalAlignment: Text.AlignLeft
|
||||||
}
|
}
|
||||||
|
|
||||||
PlasmaCore.SvgItem {
|
KSvg.SvgItem {
|
||||||
id: arrow
|
id: arrow
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
|
@ -43,7 +43,7 @@ PlasmoidItem {
|
|||||||
Plasmoid.switchWidth: Kirigami.Units.gridUnit * 20
|
Plasmoid.switchWidth: Kirigami.Units.gridUnit * 20
|
||||||
Plasmoid.switchHeight: Kirigami.Units.gridUnit * 30
|
Plasmoid.switchHeight: Kirigami.Units.gridUnit * 30
|
||||||
|
|
||||||
Plasmoid.fullRepresentation: FullRepresentation {}
|
|
||||||
|
|
||||||
Plasmoid.icon: plasmoid.configuration.icon
|
Plasmoid.icon: plasmoid.configuration.icon
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user