Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Drag Drop Qt controls.

Drag Drop Qt controls.

Scheduled Pinned Locked Moved General and Desktop
7 Posts 2 Posters 1.4k Views
  • 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
    arafkhashand
    wrote on last edited by
    #1

    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
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • A Offline
        A Offline
        arafkhashand
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          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
          0
          • A Offline
            A Offline
            arafkhashand
            wrote on last edited by
            #5

            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
            0
            • A Offline
              A Offline
              andre
              wrote on last edited by
              #6

              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
              0
              • A Offline
                A Offline
                arafkhashand
                wrote on last edited by
                #7

                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
                0

                • Login

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