Design popup using qml
-
Hello,
I want to design a pop up like this one ..
by drawing a bounding box using mouse then the popup appeared with text area for writing comments and buttons for save and cancel.Anybody can help in this urgently ?
Thanks in advance. -
Do you've any code to start?
-
@danielfranca No, I searched for templates but I didn't find any.
-
Maybe those popup/overlay items can point you to the right direction:
https://github.com/papyros/qml-material/blob/develop/modules/Material/PopupBase.qml
https://github.com/papyros/qml-material/blob/develop/modules/Material/OverlayLayer.qmlLet me know
-
Thanks @danielfranca I do appreciate your help. that's really was helpful for me.
I'll try it now and post my output soon. -
@danielfranca
Can you help me to integrate this library with qt, I'm getting error QML Module not found. -
You need to add the module path to QML import path.
You can do that in 2 different ways:
Add "<path-to-qml-material>/modules" to your QML2_IMPORT_PATH env var.
Or add it in your main.cpp using
engine.addImportPath("<path-to-qml-material>/modules/"); -
This post is deleted!