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. Making multiple windows on browser

Making multiple windows on browser

Scheduled Pinned Locked Moved General and Desktop
13 Posts 2 Posters 2.8k 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.
  • Q Offline
    Q Offline
    qxoz
    wrote on last edited by
    #2

    Hi!
    Of course you can make multiple windows for your single application, there are many ways to do that.
    For browser kind app i think QTabWidget is convenient or you can use MDI or simple parent child dialogs. It depends of your goals.

    1 Reply Last reply
    0
    • N Offline
      N Offline
      nicky j
      wrote on last edited by
      #3

      qxoz, thanks for the quick response!
      what are the differences between QTabWidget, MDI, or simple parent child dialogs? My goal is to make the browser display a new window when I press a button.

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qxoz
        wrote on last edited by
        #4

        Well
        "QTabWidget":http://qt-project.org/doc/qt-5.0/qtwidgets/qtabwidget.html
        "MDI":http://qt-project.org/doc/qt-5.0/qtwidgets/mainwindows-mdi.html
        "Dialog":http://qt-project.org/doc/qt-5.0/qtwidgets/examples-dialogs.html

        How do you imagine your app, how it will look like?

        1 Reply Last reply
        0
        • N Offline
          N Offline
          nicky j
          wrote on last edited by
          #5

          here it is thus far:
          my design philosophy is to be sleek yet functional. kinda a hybrid between chrome and firefox. I would like to possibly make a tab row underneath the search bar row.

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            qxoz
            wrote on last edited by
            #6

            Ok, use QTabWidget then.

            1 Reply Last reply
            0
            • N Offline
              N Offline
              nicky j
              wrote on last edited by
              #7

              ok, thanks. is there a way to undo size constraints?

              1 Reply Last reply
              0
              • N Offline
                N Offline
                nicky j
                wrote on last edited by
                #8

                ok, so i am still really confused on how to use QTabWidget.

                1 Reply Last reply
                0
                • Q Offline
                  Q Offline
                  qxoz
                  wrote on last edited by
                  #9

                  What is the problem?

                  1 Reply Last reply
                  0
                  • N Offline
                    N Offline
                    nicky j
                    wrote on last edited by
                    #10

                    @qxoz,
                    So I have read the documentation, but im not sure how to make it switch tabs. Do I have to make separate windows for each tab? I know im being vague, but I just don't really understand how to get started with the tabs.

                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      nicky j
                      wrote on last edited by
                      #11

                      help anyone?

                      1 Reply Last reply
                      0
                      • Q Offline
                        Q Offline
                        qxoz
                        wrote on last edited by
                        #12

                        Maybe this "link":http://www.codeprogress.com/cpp/libraries/qt/qtClasses.php?item=QTabwidget can be helpful.

                        1 Reply Last reply
                        0
                        • N Offline
                          N Offline
                          nicky j
                          wrote on last edited by
                          #13

                          Aha thankyou!

                          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