diff options
author | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-07-18 13:36:03 +0200 |
---|---|---|
committer | Michael Bohlender <michael.bohlender@kdemail.net> | 2017-07-18 13:36:03 +0200 |
commit | 234dada3a01c178fc9b1fa1641acbddd38644477 (patch) | |
tree | 4da7ee3d562d1e839babd81636b151fc4cff1c0f /components | |
parent | 39a2a9dab5244bc9114eb006a71d04c43ca4be53 (diff) | |
download | kube-234dada3a01c178fc9b1fa1641acbddd38644477.tar.gz kube-234dada3a01c178fc9b1fa1641acbddd38644477.zip |
initial Kube.ToolTip
Diffstat (limited to 'components')
-rw-r--r-- | components/kube/contents/ui/Kube.qml | 36 |
1 files changed, 36 insertions, 0 deletions
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 { | |||
118 | Kube.IconButton { | 118 | Kube.IconButton { |
119 | iconName: Kube.Icons.search_inverted | 119 | iconName: Kube.Icons.search_inverted |
120 | onClicked: search.open() | 120 | onClicked: search.open() |
121 | |||
122 | |||
123 | Kube.ToolTip { | ||
124 | text: "hjfhd" | ||
125 | visible: parent.hovered | ||
126 | } | ||
121 | } | 127 | } |
122 | 128 | ||
123 | Kube.IconButton { | 129 | Kube.IconButton { |
124 | iconName: Kube.Icons.edit_inverted | 130 | iconName: Kube.Icons.edit_inverted |
125 | onClicked: kubeViews.openComposer(false) | 131 | onClicked: kubeViews.openComposer(false) |
132 | |||
133 | Kube.ToolTip { | ||
134 | text: "composer" | ||
135 | visible: parent.hovered | ||
136 | } | ||
126 | } | 137 | } |
127 | 138 | ||
128 | Kube.IconButton { | 139 | Kube.IconButton { |
129 | iconName: Kube.Icons.mail_inverted | 140 | iconName: Kube.Icons.mail_inverted |
130 | onClicked: kubeViews.setMailView() | 141 | onClicked: kubeViews.setMailView() |
142 | |||
143 | Kube.ToolTip { | ||
144 | text: "mails" | ||
145 | visible: parent.hovered | ||
146 | } | ||
131 | } | 147 | } |
132 | 148 | ||
133 | Kube.IconButton { | 149 | Kube.IconButton { |
134 | iconName: Kube.Icons.user_inverted | 150 | iconName: Kube.Icons.user_inverted |
135 | onClicked: kubeViews.setPeopleView() | 151 | onClicked: kubeViews.setPeopleView() |
152 | |||
153 | Kube.ToolTip { | ||
154 | text: "people" | ||
155 | visible: parent.hovered | ||
156 | } | ||
136 | } | 157 | } |
137 | } | 158 | } |
138 | Column { | 159 | Column { |
@@ -146,16 +167,31 @@ Controls2.ApplicationWindow { | |||
146 | Kube.Outbox { | 167 | Kube.Outbox { |
147 | height: Kube.Units.gridUnit * 1.5 | 168 | height: Kube.Units.gridUnit * 1.5 |
148 | width: height | 169 | width: height |
170 | |||
171 | Kube.ToolTip { | ||
172 | text: "outbox" | ||
173 | visible: parent.hovered | ||
174 | } | ||
149 | } | 175 | } |
150 | 176 | ||
151 | Kube.IconButton { | 177 | Kube.IconButton { |
152 | iconName: Kube.Icons.error_inverted | 178 | iconName: Kube.Icons.error_inverted |
153 | onClicked: kubeViews.setLogView() | 179 | onClicked: kubeViews.setLogView() |
180 | |||
181 | Kube.ToolTip { | ||
182 | text: "logview" | ||
183 | visible: parent.hovered | ||
184 | } | ||
154 | } | 185 | } |
155 | 186 | ||
156 | Kube.IconButton { | 187 | Kube.IconButton { |
157 | iconName: Kube.Icons.menu_inverted | 188 | iconName: Kube.Icons.menu_inverted |
158 | onClicked: kubeViews.setAccountsView() | 189 | onClicked: kubeViews.setAccountsView() |
190 | |||
191 | Kube.ToolTip { | ||
192 | text: "settings" | ||
193 | visible: parent.hovered | ||
194 | } | ||
159 | } | 195 | } |
160 | } | 196 | } |
161 | } | 197 | } |