Add some icons

This commit is contained in:
Sebastian Kügler 2013-02-14 04:09:35 +01:00
parent cd162effba
commit cdc45bc7ca

View File

@ -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")
} }