Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Design popup using qml

    QML and Qt Quick
    popupwidget qml text
    2
    7
    2188
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Anas A. Ismail 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.

      1 Reply Last reply Reply Quote 0
      • D
        danielfranca last edited by

        Do you've any code to start?

        A 1 Reply Last reply Reply Quote 0
        • A
          Anas A. Ismail @danielfranca last edited by

          @danielfranca No, I searched for templates but I didn't find any.

          1 Reply Last reply Reply Quote 0
          • D
            danielfranca 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.qml

            Let me know

            1 Reply Last reply Reply Quote 0
            • A
              Anas A. Ismail 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.

              1 Reply Last reply Reply Quote 0
              • A
                Anas A. Ismail last edited by

                @danielfranca
                Can you help me to integrate this library with qt, I'm getting error QML Module not found.

                1 Reply Last reply Reply Quote 0
                • D
                  danielfranca 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/");

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post