From 234dada3a01c178fc9b1fa1641acbddd38644477 Mon Sep 17 00:00:00 2001 From: Michael Bohlender Date: Tue, 18 Jul 2017 13:36:03 +0200 Subject: initial Kube.ToolTip --- components/kube/contents/ui/Kube.qml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) (limited to 'components') diff --git a/components/kube/contents/ui/Kube.qml b/components/kube/contents/ui/Kube.qml index 095e51e1..504d45da 100644 --- a/components/kube/contents/ui/Kube.qml +++ b/components/kube/contents/ui/Kube.qml @@ -118,21 +118,42 @@ Controls2.ApplicationWindow { Kube.IconButton { iconName: Kube.Icons.search_inverted onClicked: search.open() + + + Kube.ToolTip { + text: "hjfhd" + visible: parent.hovered + } } Kube.IconButton { iconName: Kube.Icons.edit_inverted onClicked: kubeViews.openComposer(false) + + Kube.ToolTip { + text: "composer" + visible: parent.hovered + } } Kube.IconButton { iconName: Kube.Icons.mail_inverted onClicked: kubeViews.setMailView() + + Kube.ToolTip { + text: "mails" + visible: parent.hovered + } } Kube.IconButton { iconName: Kube.Icons.user_inverted onClicked: kubeViews.setPeopleView() + + Kube.ToolTip { + text: "people" + visible: parent.hovered + } } } Column { @@ -146,16 +167,31 @@ Controls2.ApplicationWindow { Kube.Outbox { height: Kube.Units.gridUnit * 1.5 width: height + + Kube.ToolTip { + text: "outbox" + visible: parent.hovered + } } Kube.IconButton { iconName: Kube.Icons.error_inverted onClicked: kubeViews.setLogView() + + Kube.ToolTip { + text: "logview" + visible: parent.hovered + } } Kube.IconButton { iconName: Kube.Icons.menu_inverted onClicked: kubeViews.setAccountsView() + + Kube.ToolTip { + text: "settings" + visible: parent.hovered + } } } } -- cgit v1.2.3