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
Forum Updated to NodeBB v4.3 + New Features

GUI help

Scheduled Pinned Locked Moved Solved General and Desktop
87 Posts 5 Posters 33.6k Views 3 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.
  • C Offline
    C Offline
    caca0o
    wrote on 28 Apr 2018, 21:19 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 28 Apr 2018, 21:38 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 28 Apr 2018, 21:47 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 28 Apr 2018, 21:58 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 28 Apr 2018, 22:03 last edited by
            #5

            yes in Qt Creator. Qt Widget Application

            1 Reply Last reply
            0
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 28 Apr 2018, 22:11 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 28 Apr 2018, 22:22 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 28 Apr 2018, 22:49 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.

                  M 1 Reply Last reply 29 Apr 2018, 08:45
                  0
                  • C caca0o
                    28 Apr 2018, 22:49

                    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.

                    M Offline
                    M Offline
                    mrjj
                    Lifetime Qt Champion
                    wrote on 29 Apr 2018, 08:45 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 29 Apr 2018, 09:34 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
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 29 Apr 2018, 11:13 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 29 Apr 2018, 11:56 last edited by
                          #12

                          I would still have one question

                          alt text

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

                          M 1 Reply Last reply 29 Apr 2018, 18:30
                          0
                          • C caca0o
                            29 Apr 2018, 11:56

                            I would still have one question

                            alt text

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

                            M Offline
                            M Offline
                            mrjj
                            Lifetime Qt Champion
                            wrote on 29 Apr 2018, 18:30 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 29 Apr 2018, 19:08 last edited by
                              #14

                              hi ... do you mean this link?

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

                              M 1 Reply Last reply 29 Apr 2018, 19:50
                              0
                              • C caca0o
                                29 Apr 2018, 19:08

                                hi ... do you mean this link?

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

                                M Offline
                                M Offline
                                mrjj
                                Lifetime Qt Champion
                                wrote on 29 Apr 2018, 19:50 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 29 Apr 2018, 21:22 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

                                  M 1 Reply Last reply 29 Apr 2018, 21:50
                                  0
                                  • C caca0o
                                    29 Apr 2018, 21:22

                                    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

                                    M Offline
                                    M Offline
                                    mrjj
                                    Lifetime Qt Champion
                                    wrote on 29 Apr 2018, 21:50 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 29 Apr 2018, 22:10 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

                                      M 1 Reply Last reply 30 Apr 2018, 06:17
                                      0
                                      • C caca0o
                                        29 Apr 2018, 22:10

                                        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

                                        M Offline
                                        M Offline
                                        mrjj
                                        Lifetime Qt Champion
                                        wrote on 30 Apr 2018, 06:17 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 30 Apr 2018, 09:38 last edited by
                                          #20

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

                                          alt text

                                          I really do not think it could be?

                                          M 1 Reply Last reply 30 Apr 2018, 09:45
                                          0

                                          3/87

                                          28 Apr 2018, 21:47

                                          topic:navigator.unread, 84
                                          • Login

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