[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/plasma/widgets/components/test
From: Marco Martin <notmart () gmail ! com>
Date: 2011-01-12 18:24:56
Message-ID: 20110112182456.BE08BAC8B3 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1214050 by mart:
test the pixmapitem
M +10 -1 gallery.qml
--- trunk/playground/base/plasma/widgets/components/test/gallery.qml #1214049:1214050
@@ -19,6 +19,8 @@
import Qt 4.7
import org.kde.plasma.components 0.1 as PlasmaComponents
+import org.kde.plasma.core 0.1 as PlasmaCore
+import org.kde.qtextracomponents 0.1 as QtExtraComponents
Rectangle {
id: test
@@ -59,10 +61,17 @@
id: scrollBarV
orientation: Qt.Vertical
}
+ QtExtraComponents.QPixmapItem {
+ id: pixmapTest
+ }
+ }
+ PlasmaCore.Svg {
+ id: svgTest
+ imagePath: "widgets/clock"
}
-
Component.onCompleted: {
label.flash("I am a FlashingLabel!!!");
+ pixmapTest.pixmap = svgTest.pixmap();
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic