Add testing code for tooltips in testcomponentsapplet
This commit is contained in:
parent
a6526d7bbe
commit
25a031efbe
@ -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…
Reference in New Issue
Block a user