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.
↧