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. GUI help
QtWS25 Last Chance

GUI help

Scheduled Pinned Locked Moved Solved General and Desktop
87 Posts 5 Posters 33.3k 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.
  • C Offline
    C Offline
    caca0o
    wrote on last edited by
    #1

    At first, excuse my English. I would like to make a GUI for the beginning. It should look like this

    alt text

    I needed to advise on how best to do it in qt creator. The question is: How to do for each button in the panel, next window.
    I should create Multiple QMainWindow or otherwise. I want the panel to be in every link.
    I hope you can advise me. Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Do you mean something like a QTabWidget ?

      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
      • C Offline
        C Offline
        caca0o
        wrote on last edited by
        #3

        Hi, no. I think the GUI file for the game. both panels should have all the necessary links in it to open another window (on image 'window'). I need to link to a window from the panel.but I do not know how to split the window for each link.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          So a bit like Qt Creator then ?

          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
          • C Offline
            C Offline
            caca0o
            wrote on last edited by
            #5

            yes in Qt Creator. Qt Widget Application

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              I meant, like the GUI of Qt Creator, with the bar on the left with all the buttons and the central widget that changes depending on what you clicked on the bar ?

              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
              1
              • C Offline
                C Offline
                caca0o
                wrote on last edited by
                #7

                Yes, now I'm looking at it. And something like that

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  caca0o
                  wrote on last edited by
                  #8

                  Finally, I do not know if it will look like this in the GUI final. But it's about learning how to have a central widget in more variants. If it works.

                  mrjjM 1 Reply Last reply
                  0
                  • C caca0o

                    Finally, I do not know if it will look like this in the GUI final. But it's about learning how to have a central widget in more variants. If it works.

                    mrjjM Offline
                    mrjjM Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on last edited by mrjj
                    #9

                    @caca0o
                    Hi
                    You should also have a look at
                    http://doc.qt.io/qt-5/qstackedwidget.html

                    It makes it easy to have a design where on part of the window can be turned
                    back and forth like pages in a book.
                    Each "page" is a normal widget and can contain other widgets.
                    So in effect it would be like many central widgets.

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      caca0o
                      wrote on last edited by
                      #10

                      StackedWidget is a good idea. But I was wondering how to make more central widgets. I still thought how to make a panel. Do you have any instructions?

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by SGaist
                        #11

                        QStackedWidget is used as a "container widget" where you put all the other widgets you are going to use.

                        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
                        1
                        • C Offline
                          C Offline
                          caca0o
                          wrote on last edited by
                          #12

                          I would still have one question

                          alt text

                          it does not work with debug. how can I fix it?

                          mrjjM 1 Reply Last reply
                          0
                          • C caca0o

                            I would still have one question

                            alt text

                            it does not work with debug. how can I fix it?

                            mrjjM Offline
                            mrjjM Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on last edited by mrjj
                            #13

                            @caca0o
                            hi
                            Seems you have chosen Qt for visual studio.
                            Did you also install the compiler from microsoft site ?
                            (or had it already installed)
                            Unlike the mingw version, the compiler is not included with Qt
                            and must be installed separately by user.

                            If yes, did you also install the debug tools?
                            for getting a debugger.
                            http://doc.qt.io/qtcreator/creator-debugger-engines.html

                            1 Reply Last reply
                            1
                            • C Offline
                              C Offline
                              caca0o
                              wrote on last edited by
                              #14

                              hi ... do you mean this link?

                              https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk

                              mrjjM 1 Reply Last reply
                              0
                              • C caca0o

                                hi ... do you mean this link?

                                https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk

                                mrjjM Offline
                                mrjjM Offline
                                mrjj
                                Lifetime Qt Champion
                                wrote on last edited by mrjj
                                #15

                                @caca0o
                                Hi
                                Nope, the actual compiler
                                https://www.visualstudio.com/downloads/
                                If you dont want the whole IDE, you can use
                                http://landinghub.visualstudio.com/visual-cpp-build-tools

                                If you dont need to use visual studio , you might consider removing the VS qt
                                and install the mingw Qt instead. It comes with compiler and debugger and is ready to go.
                                alt text
                                Tool is located in
                                "C:\Qt\MaintenanceTool.exe"

                                1 Reply Last reply
                                1
                                • C Offline
                                  C Offline
                                  caca0o
                                  wrote on last edited by
                                  #16

                                  now I install. I hope that it's correct. Build Tools for Visual Studio 2017

                                  alt text

                                  if not. you can inform me of the wrong procedure

                                  mrjjM 1 Reply Last reply
                                  0
                                  • C caca0o

                                    now I install. I hope that it's correct. Build Tools for Visual Studio 2017

                                    alt text

                                    if not. you can inform me of the wrong procedure

                                    mrjjM Offline
                                    mrjjM Offline
                                    mrjj
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #17

                                    @caca0o
                                    Hi
                                    Hopefully. it looks right but im not sure due to the language.

                                    1 Reply Last reply
                                    0
                                    • C Offline
                                      C Offline
                                      caca0o
                                      wrote on last edited by
                                      #18

                                      it did not help. when I click to run. do I have anything to set up?

                                      alt text

                                      or sketch something else on the offer. if you had an offer in English .. I would prove it

                                      mrjjM 1 Reply Last reply
                                      0
                                      • C caca0o

                                        it did not help. when I click to run. do I have anything to set up?

                                        alt text

                                        or sketch something else on the offer. if you had an offer in English .. I would prove it

                                        mrjjM Offline
                                        mrjjM Offline
                                        mrjj
                                        Lifetime Qt Champion
                                        wrote on last edited by mrjj
                                        #19

                                        @caca0o
                                        What about just going with mingw then ?
                                        It has all included and works out of the box.

                                        1 Reply Last reply
                                        0
                                        • C Offline
                                          C Offline
                                          caca0o
                                          wrote on last edited by
                                          #20

                                          with qt-opensource-windows-x86-mingw530-5.8.0.exe

                                          alt text

                                          I really do not think it could be?

                                          mrjjM 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