Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Button Click Signal to make a pop- up window

$
0
0
Hi, You could use Dialog [qt-project.org] component as a Popup Window. Use open() [qt-project.org] to show it. I want when the button is clicked to make a window pop- up. What should I write after onClicked: You can access the Dialog component by it’s id. So for eg. onClicked: mydialog.open() I read that I have to make a class that inherits with QWidget but I need a bit more information. If using QML it’s better to stick to QML components to avoid unnecessary complexity.

Viewing all articles
Browse latest Browse all 4972

Trending Articles