diff options
author | Marco Martin <mart@kde.org> | 2015-04-27 17:04:30 +0200 |
---|---|---|
committer | Marco Martin <mart@kde.org> | 2015-08-03 08:51:16 +0000 |
commit | c717082c098bbfc96848457436ca83db7b83e4c8 (patch) | |
tree | 828e661036453bbcaf1015078bf1e83a9ce1e938 /src/controls/StackView.qml | |
parent | 560fa0b9ec9ac0af53baf717ff83a51f1cd0762b (diff) | |
download | qtquickcontrols-c717082c098bbfc96848457436ca83db7b83e4c8.tar.gz |
Adjust popup position by offset of the view in the toplevel window
In the case a view is embedded in a QWidget, such widget may be
embedded anywhere in parent widgets. if it's not at a 0,0 position
compared to the toplevel widget, the position needs to be adjusted by
the relative position of the QQuickWindow in regards to the toplevel
one, in which in this case is given by transientParent()
Change-Id: Iafb7a42bdb641850fe77932d14bac9a715059b37
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com>
Diffstat (limited to 'src/controls/StackView.qml')
0 files changed, 0 insertions, 0 deletions