How to drag QML interface when hide default titlebar?
I use qt4 and QtQuick1.0, if i hide the default titlebar of QML, i can make it to drag. But if i want to use qt5 an QtQuick2.0,
I can not achieve to drag QML interface when I hide the default titlebar which has closebutton,
I read the code of friends-app, and i found you don't hide the default titlebar. I want to know that if hide it , how to achieve to drag QML interface?
Thank you.
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- 2013-11-18
- Last reply:
- 2013-11-18
Hold ALT and you can drag an application window from any point on the window.
kobe (kobe24-lixiang) said : | #2 |
Yes, I can drag the window when hold ALT. But I want to drag the window without hold ALT, just like drag the window when the mouse pointer in the default titlebar.
Can you help with this problem?
Provide an answer of your own, or ask kobe for more information if necessary.