Tomilov Anatoliy
Tomilov Anatoliy

Reputation: 16731

Moving Dialog with click and hold in title

Is there possibility by default to drag Dialog windows (not native ones) by click and hold them in title?

I use Dialog from import QtQuick.Controls 2.2. Header contains title by default.

Upvotes: 2

Views: 1102

Answers (1)

Alexander V
Alexander V

Reputation: 8698

You can use QML Window type instead of Dialog and specify its flags property as Qt.Dialog.

Upvotes: 2

Related Questions