add objectnames for easier debugging

This commit is contained in:
Sebastian Kügler 2013-04-09 00:09:01 +02:00
parent 9eda3882ca
commit 4c21d54980

View File

@ -93,11 +93,12 @@ PlasmaComponents.Page {
spacing: _s spacing: _s
PlasmaCore.IconItem { PlasmaCore.IconItem {
id: akonadiIcon id: akonadiIcon
objectName: "akonadiIcon"
source: "akonadi" source: "akonadi"
width: height width: height
height: _h*2 height: _h*2
//anchors.horizontalCenter: parent.horizontalCenter //anchors.horizontalCenter: parent.horizontalCenter
// Rectangle { color: "orange"; opacity: 0.3; anchors.fill: parent; } Rectangle { color: "orange"; opacity: 0.3; anchors.fill: parent; }
PlasmaCore.ToolTip { PlasmaCore.ToolTip {
anchors.fill: parent anchors.fill: parent
target: akonadiIcon target: akonadiIcon
@ -107,13 +108,13 @@ PlasmaComponents.Page {
} }
} }
Image { Image {
objectName: "surfboardimage"
height: _h*2 height: _h*2
width: height width: height
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
source: "../images/surfboard.jpg" source: "../images/surfboard.jpg"
PlasmaCore.ToolTip { PlasmaCore.ToolTip {
anchors.fill: parent anchors.fill: parent
// visualParent: akonadiIcon
image: parent.source image: parent.source
mainText: "Surfboard" mainText: "Surfboard"
subText: "A surfboard on the beach. <br />The photo shows the Waal river's north beach, \ subText: "A surfboard on the beach. <br />The photo shows the Waal river's north beach, \
@ -121,13 +122,13 @@ PlasmaComponents.Page {
} }
} }
Image { Image {
objectName: "bridgeimage"
height: _h*2 height: _h*2
width: height width: height
fillMode: Image.PreserveAspectFit fillMode: Image.PreserveAspectFit
source: "../images/bridge.jpg" source: "../images/bridge.jpg"
PlasmaCore.ToolTip { PlasmaCore.ToolTip {
anchors.fill: parent anchors.fill: parent
// visualParent: akonadiIcon
image: parent.source image: parent.source
mainText: "Bridge" mainText: "Bridge"
subText: "Waalbrug." subText: "Waalbrug."