Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Design popup using qml
Forum Updated to NodeBB v4.3 + New Features

Design popup using qml

Scheduled Pinned Locked Moved QML and Qt Quick
popupwidgetqmltext
8 Posts 3 Posters 2.8k Views 1 Watching
  • 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 Offline
    A Offline
    Anas A. Ismail
    wrote on 14 Sept 2015, 15:08 last edited by
    #1

    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
    0
    • D Offline
      D Offline
      danielfranca
      wrote on 14 Sept 2015, 15:16 last edited by
      #2

      Do you've any code to start?

      A 1 Reply Last reply 14 Sept 2015, 15:33
      0
      • D danielfranca
        14 Sept 2015, 15:16

        Do you've any code to start?

        A Offline
        A Offline
        Anas A. Ismail
        wrote on 14 Sept 2015, 15:33 last edited by
        #3

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

        1 Reply Last reply
        0
        • D Offline
          D Offline
          danielfranca
          wrote on 14 Sept 2015, 16:20 last edited by
          #4

          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
          0
          • A Offline
            A Offline
            Anas A. Ismail
            wrote on 14 Sept 2015, 19:16 last edited by
            #5

            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
            0
            • A Offline
              A Offline
              Anas A. Ismail
              wrote on 15 Sept 2015, 10:36 last edited by
              #6

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

              1 Reply Last reply
              0
              • D Offline
                D Offline
                danielfranca
                wrote on 15 Sept 2015, 12:55 last edited by
                #7

                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
                0
                • A Offline
                  A Offline
                  Alan Johnson
                  wrote on 26 Sept 2024, 05:53 last edited by
                  #8
                  This post is deleted!
                  1 Reply Last reply
                  0

                  • Login

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Users
                  • Groups
                  • Search
                  • Get Qt Extensions
                  • Unsolved