Design popup using qml
-
wrote on 14 Sept 2015, 15:08 last edited by
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. -
wrote on 14 Sept 2015, 15:16 last edited by
Do you've any code to start?
-
Do you've any code to start?
wrote on 14 Sept 2015, 15:33 last edited by@danielfranca No, I searched for templates but I didn't find any.
-
wrote on 14 Sept 2015, 16:20 last edited by
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
-
wrote on 14 Sept 2015, 19:16 last edited by
Thanks @danielfranca I do appreciate your help. that's really was helpful for me.
I'll try it now and post my output soon. -
wrote on 15 Sept 2015, 10:36 last edited by
@danielfranca
Can you help me to integrate this library with qt, I'm getting error QML Module not found. -
wrote on 15 Sept 2015, 12:55 last edited by
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/"); -
wrote on 26 Sept 2024, 05:53 last edited byThis post is deleted!