Add some icons
This commit is contained in:
parent
cd162effba
commit
cdc45bc7ca
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2013 Marco Martin <mart@kde.org>
|
* Copyright 2013 Sebastian Kügler <sebas@kde.org>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -27,11 +27,41 @@ Item {
|
|||||||
width: 100
|
width: 100
|
||||||
height: 100
|
height: 100
|
||||||
|
|
||||||
PlasmaComponents.Label {
|
Item {
|
||||||
anchors.centerIn: parent
|
id: pageOne
|
||||||
text: "This is a PlasmaComponent"
|
anchors {
|
||||||
|
fill: parent
|
||||||
|
}
|
||||||
|
Column {
|
||||||
|
anchors.fill: parent
|
||||||
|
PlasmaComponents.Label {
|
||||||
|
width: parent.width
|
||||||
|
text: "This is a <i>PlasmaComponent</i>"
|
||||||
|
}
|
||||||
|
// PlasmaComponents.TabBar {
|
||||||
|
// height: 32
|
||||||
|
// width: parent.width
|
||||||
|
// }
|
||||||
|
Row {
|
||||||
|
height: 96
|
||||||
|
|
||||||
|
QtExtras.QIconItem {
|
||||||
|
icon: "preferences-desktop-icons"
|
||||||
|
width: parent.height
|
||||||
|
height: width
|
||||||
|
}
|
||||||
|
|
||||||
|
PlasmaCore.IconItem {
|
||||||
|
source: "configure"
|
||||||
|
width: parent.height
|
||||||
|
height: width
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
print("Components Test Applet loaded")
|
print("Components Test Applet loaded")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user