Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    Drag Drop Qt controls.

    General and Desktop
    2
    7
    1296
    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
      arafkhashand last edited by

      I am trying to implement an app. which provide a tool box having a number of widgets like buttons, labels and text boxs and user can drag them to a frame to create a GUI form. Any ideas how i should tackle this requirment?
      Thanks in advance!

      1 Reply Last reply Reply Quote 0
      • A
        andre last edited by

        Why not embed Qt Designer? That's what QtCreator does...

        1 Reply Last reply Reply Quote 0
        • A
          arafkhashand last edited by

          This is a very good idea! Please guide me how i can do that.... I would be really thankful!

          1 Reply Last reply Reply Quote 0
          • A
            andre last edited by

            Did you try looking into how Qt Creator does it? All the sources are there...

            Obviously, a task like this is not trivial. But building a form designer from scratch also isn't trivial.

            1 Reply Last reply Reply Quote 0
            • A
              arafkhashand last edited by

              Thank you Sir! You are right it is not trivial. could you please refer me to any link to start with. I would really appreicated your help in this regard.

              1 Reply Last reply Reply Quote 0
              • A
                andre last edited by

                The "source code":https://qt.gitorious.org/qt-creator/qt-creator/source/0a5186700c036a541f5fa0baebb5e9ce0d506fed:src/plugins/designer for the creator plugin would be the place to start, I think.

                1 Reply Last reply Reply Quote 0
                • A
                  arafkhashand last edited by

                  Hi Sir, I have got the GUI portion covered. The issue i am having is to writing the xml file as WDDX packet xml format and reading it back in Qt Designer. Could you please suggest something?

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