Add testing code for tooltips in testcomponentsapplet

This commit is contained in:
Sebastian Kügler 2013-04-03 02:25:59 +02:00
parent a6526d7bbe
commit 25a031efbe
2 changed files with 20 additions and 4 deletions

View File

@ -84,6 +84,22 @@ PlasmaComponents.Page {
}
}
PlasmaExtras.Heading {
level: 2
text: "ToolTip"
}
PlasmaCore.IconItem {
source: "akonadi"
width: parent.width
height: _h*2
anchors.horizontalCenter: parent.horizontalCenter
PlasmaCore.ToolTip {
anchors.fill: parent
}
}
}
}

View File

@ -46,10 +46,10 @@ Item {
}
height: _h
PlasmaComponents.TabButton { tab: iconsPage; iconSource: "preferences-desktop-icons"}
PlasmaComponents.TabButton { tab: dragPage; iconSource: "preferences-desktop-mouse"}
PlasmaComponents.TabButton { tab: dialogsPage; iconSource: "preferences-system-windows"}
PlasmaComponents.TabButton { tab: buttonsPage; iconSource: "preferences-desktop-theme"}
PlasmaComponents.TabButton { tab: iconsPage; iconSource: "preferences-desktop-icons"}
PlasmaComponents.TabButton { tab: plasmoidPage; iconSource: "plasma"}
PlasmaComponents.TabButton { tab: mousePage; iconSource: "preferences-desktop-mouse"}
}
@ -65,6 +65,9 @@ Item {
//currentTab: tabBar.currentTab
IconsPage {
id: iconsPage
}
DragPage {
id: dragPage
}
@ -76,9 +79,6 @@ Item {
id: buttonsPage
}
IconsPage {
id: iconsPage
}
PlasmoidPage {
id: plasmoidPage