Add testing code for tooltips in testcomponentsapplet

wilder-5.14
Sebastian Kügler 13 years ago
parent ddbbaea7c8
commit 0ea6247d0f
  1. 16
      applets/testcomponentsapplet/contents/ui/IconsPage.qml
  2. 8
      applets/testcomponentsapplet/contents/ui/testcomponents.qml

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

@ -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

Loading…
Cancel
Save