From cdc45bc7ca6888e63624a33d0e0762dbb2b88a0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Thu, 14 Feb 2013 04:09:35 +0100 Subject: [PATCH] Add some icons --- .../contents/ui/testcomponents.qml | 38 +++++++++++++++++-- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/shell/testcomponentsapplet/contents/ui/testcomponents.qml b/shell/testcomponentsapplet/contents/ui/testcomponents.qml index e9638bfda..c40dd0e56 100644 --- a/shell/testcomponentsapplet/contents/ui/testcomponents.qml +++ b/shell/testcomponentsapplet/contents/ui/testcomponents.qml @@ -1,5 +1,5 @@ /* - * Copyright 2013 Marco Martin + * Copyright 2013 Sebastian Kügler * * 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 @@ -27,11 +27,41 @@ Item { width: 100 height: 100 - PlasmaComponents.Label { - anchors.centerIn: parent - text: "This is a PlasmaComponent" + Item { + id: pageOne + anchors { + fill: parent + } + Column { + anchors.fill: parent + PlasmaComponents.Label { + width: parent.width + text: "This is a PlasmaComponent" + } +// 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: { print("Components Test Applet loaded") }