Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt designer source code customization
Forum Updated to NodeBB v4.3 + New Features

Qt designer source code customization

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 2 Posters 2.3k 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
    Amry
    wrote on 7 Jan 2014, 14:33 last edited by
    #1

    Hi All,

    I am new here.
    I would like to customize Qt Designer to my own preferences. To do so, I would like to change the source code of Qt Designer.
    Or is there any other way to add some code into Qt Designer so that it will do additional tasks like creating GUI dynamically or change elements?

    Thanks in advance.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 7 Jan 2014, 21:22 last edited by
      #2

      Hi and welcome to devnet,

      What do you mean by creating GUI dynamically and change elements ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Amry
        wrote on 7 Jan 2014, 21:39 last edited by
        #3

        Hi,

        So, what I want is to change Qt designer in a way, that it could behave like in this scenario:
        I have 5 widgets on a window. And let say there is a button on the same window or in Qt designer somewhere.
        When I push this button, Qt designer deletes or adds depending on what I want to the window.

        I am not sure if it is possible, but I was told to add some code to Qt designer source code so it behaves. In other way of saying, customize a bit Qt designer, it might not have all functionality, but just add and delete widgets.

        Is it possible?

        If it is, where can I start looking?

        Thanks in advance.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 7 Jan 2014, 23:13 last edited by
          #4

          So by clicking a button you would add the same button to each widget ?

          The best place to is Designer's sources

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Amry
            wrote on 8 Jan 2014, 10:16 last edited by
            #5

            Hi,

            Can you please link me the source code file to which I have to add my code?

            Thanks.

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 8 Jan 2014, 10:39 last edited by
              #6

              I can only point you to qttools/src/designer/src

              There you have the code of the application, for the rest you'll need to search in it

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Amry
                wrote on 8 Jan 2014, 10:47 last edited by
                #7

                Ok,

                Thanks. I will look into the src.

                1 Reply Last reply
                0

                1/7

                7 Jan 2014, 14:33

                • Login

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