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. QT Design Studio with QT Widgets App

QT Design Studio with QT Widgets App

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 2 Posters 1.2k 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.
  • H Offline
    H Offline
    harish__rajora
    wrote on last edited by
    #1

    Hi, I have a QT widget app that I have been making for some time. I want to make GUI for it that looks rich and good. QT Design studio seems a good choice but I cant find resources to be sure that QT design studio GUI can be implemented to QT Widgets app.

    I found a few links but they are not very clear. Can you help me answer this question please.

    Pl45m4P 1 Reply Last reply
    0
    • H harish__rajora

      Hi, I have a QT widget app that I have been making for some time. I want to make GUI for it that looks rich and good. QT Design studio seems a good choice but I cant find resources to be sure that QT design studio GUI can be implemented to QT Widgets app.

      I found a few links but they are not very clear. Can you help me answer this question please.

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by
      #2

      @harish__rajora

      • https://doc.qt.io/qtdesignstudio/studio-designer-developer-workflow.html

      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      0
      • H Offline
        H Offline
        harish__rajora
        wrote on last edited by
        #3

        I use QMake

        Pl45m4P 1 Reply Last reply
        0
        • H harish__rajora

          I use QMake

          Pl45m4P Offline
          Pl45m4P Offline
          Pl45m4
          wrote on last edited by Pl45m4
          #4

          @harish__rajora

          It's the same thing as using regular QML stuff in your Qt Widgets project

          • https://doc.qt.io/qtdesignstudio/quick-converting-ui-projects.html#converting-into-qmake-projects

          just check the manual, it's well documented, I would say:

          • https://doc.qt.io/qtdesignstudio/index.html
          • https://doc.qt.io/qt-6/qtqml-cppintegration-overview.html

          If debugging is the process of removing software bugs, then programming must be the process of putting them in.

          ~E. W. Dijkstra

          1 Reply Last reply
          0
          • H Offline
            H Offline
            harish__rajora
            wrote on last edited by harish__rajora
            #5

            One small ques. Do you know how to connect those things to my cpp code?
            Like if I have a QPushButton right now that do some stuff. Now I am changing the UI with QT Design Studio, so how will things connect now? Do I need to name the UI element the same as what I named the QPushButton?

            Sorry if this ques is basic or silly.

            Pl45m4P 1 Reply Last reply
            0
            • H harish__rajora

              One small ques. Do you know how to connect those things to my cpp code?
              Like if I have a QPushButton right now that do some stuff. Now I am changing the UI with QT Design Studio, so how will things connect now? Do I need to name the UI element the same as what I named the QPushButton?

              Sorry if this ques is basic or silly.

              Pl45m4P Offline
              Pl45m4P Offline
              Pl45m4
              wrote on last edited by
              #6

              @harish__rajora said in QT Design Studio with QT Widgets App:

              QT Design Studio, so how will things connect now?

              Qt Design Studio produces QML based UIs which you can integrate into your Qt Widget app. So in Qt Design Studio there is no QPushButton... or are you talking about the "basic" Qt Designer?


              If debugging is the process of removing software bugs, then programming must be the process of putting them in.

              ~E. W. Dijkstra

              1 Reply Last reply
              0
              • H Offline
                H Offline
                harish__rajora
                wrote on last edited by
                #7

                @Pl45m4 said in QT Design Studio with QT Widgets App:

                Designer?

                Yes like I have a QPushButton say "Push1" and on pressing it some slots etc are called. Now in QT designer file, I have UI in which there is a button. I want it to act similar to Push1, how can I do that?

                Pl45m4P 1 Reply Last reply
                0
                • H harish__rajora

                  @Pl45m4 said in QT Design Studio with QT Widgets App:

                  Designer?

                  Yes like I have a QPushButton say "Push1" and on pressing it some slots etc are called. Now in QT designer file, I have UI in which there is a button. I want it to act similar to Push1, how can I do that?

                  Pl45m4P Offline
                  Pl45m4P Offline
                  Pl45m4
                  wrote on last edited by Pl45m4
                  #8

                  @harish__rajora

                  Why did you say "Qt Design Studio" at the beginning? QtDesigner and Qt Design Studio are two different tools.

                  If you have an ui - file, you can access your button using the pointer to your moc'ed ui-header... By default ui->OBJECTNAME...
                  So probably ui->push1 in your case...


                  If debugging is the process of removing software bugs, then programming must be the process of putting them in.

                  ~E. W. Dijkstra

                  1 Reply Last reply
                  1
                  • H Offline
                    H Offline
                    harish__rajora
                    wrote on last edited by
                    #9

                    Yes I am sorry in the previous statement I meant Now in QT Design Studio. Sorry for that.

                    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