Commit 87892fce authored by Jens Bache-Wiig's avatar Jens Bache-Wiig
Browse files

Refactor source tree a bit

parent da8d9116
No related merge requests found
Showing with 3 additions and 0 deletions
...@@ -7,11 +7,14 @@ Components.Button { ...@@ -7,11 +7,14 @@ Components.Button {
width: Math.max(80, sizehint.width) width: Math.max(80, sizehint.width)
height: Math.max(22, sizehint.height) height: Math.max(22, sizehint.height)
property alias containsMouse: tooltip.containsMouse
property variant sizehint: backgroundItem.sizeFromContents(80, 6) property variant sizehint: backgroundItem.sizeFromContents(80, 6)
property bool defaultbutton property bool defaultbutton
property string hint property string hint
TooltipArea { TooltipArea {
// Note this will eat hover events
id: tooltip
anchors.fill: parent anchors.fill: parent
text: button.tooltip text: button.tooltip
} }
......
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
File moved
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment