diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-01-23 14:34:11 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-01-23 13:37:47 +0000 |
commit | 4f1fb09ed70c69e73f2e19f28f4299f4cfbc90dc (patch) | |
tree | 7bd7f803092c83b591ecab807a5ce59d6f2223eb /src/imports/controls/universal/universal.pri | |
parent | 98e30d25dbdfbfb11f5cce1d74ef009ebecdfaf8 (diff) |
Add Popup::setVisible()
This allows nice bindings such as:
Slider {
id: slider
Popup {
y: -height - 1
x: -width / 2 + slider.handle.width / 2
parent: slider.handle
visible: slider.pressed // <---
Label {
text: slider.position.toFixed(2)
}
}
}
Change-Id: Iebde004205636de31d0f0dd0f6404f0755aaf0df
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/imports/controls/universal/universal.pri')
0 files changed, 0 insertions, 0 deletions