Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Implement a master form window along with controls as you can see in the screen shot
Qt 6.12 LTS is out! See what's new in the release blog

Implement a master form window along with controls as you can see in the screen shot

Scheduled Pinned Locked Moved Unsolved General and Desktop
17 Posts 2 Posters 4.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.
  • mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Hi
    Well you can have as many widgets in same forms as you like.
    You can add them in Designer or at runtime.

    Yes you can a new tabs at runtime.

    1 Reply Last reply
    0
    • V Offline
      V Offline
      veera
      wrote on last edited by
      #5

      Hi,
      Can you please share me some examples so that i will try it now ....I am a beginner in qt programming...

      mrjjM 1 Reply Last reply
      0
      • V veera

        Hi,
        Can you please share me some examples so that i will try it now ....I am a beginner in qt programming...

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

        @veera

        HI
        Creator comes with lots of samples
        http://doc.qt.io/qt-5/qtexamplesandtutorials.html

        If you mean something else, please try to be as clear and
        concrete in what you are asking to see samples of. :)

        1 Reply Last reply
        2
        • V Offline
          V Offline
          veera
          wrote on last edited by
          #7

          Hi ,
          Which controls i need to use in order to implement above concepts...I have developed using menus and context menu but adding designer class form into qt project its opening in separate window.....i could not understand so.....

          mrjjM 1 Reply Last reply
          0
          • V veera

            Hi ,
            Which controls i need to use in order to implement above concepts...I have developed using menus and context menu but adding designer class form into qt project its opening in separate window.....i could not understand so.....

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

            @veera

            Do you mean a ribbon like seen in Microsoft products?

            -Adding designer class form into qt project its opening in separate window.
            Its a bit hard to understand you.
            Do you mean your class/widget became a window when you run the app ?
            That is often due to not having a parent assigned
            like

            MyWidget * ptr = new MyWidget( PARENT_POINTER );

            1 Reply Last reply
            1
            • V Offline
              V Offline
              veera
              wrote on last edited by
              #9

              Yes absolutely qt ribbon cotrol like give me some examples please

              1 Reply Last reply
              0
              • V Offline
                V Offline
                veera
                wrote on last edited by
                #10

                same thing i need to implement which control i need to use?

                mrjjM 1 Reply Last reply
                0
                • V veera

                  same thing i need to implement which control i need to use?

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

                  @veera

                  Hi
                  there is no ribbon control in Qt
                  you could use a tabwidget
                  like here
                  http://developers-club.com/posts/48963/
                  (python code but concept is same for c++)

                  Or you can try something premade
                  https://github.com/hdijkema/QRibbon

                  There are many samples / ideas/ talk about this on google.
                  Seems to be something people want from time to time.

                  1 Reply Last reply
                  1
                  • V Offline
                    V Offline
                    veera
                    wrote on last edited by
                    #12

                    Thanks for valuable information...

                    1 Reply Last reply
                    0
                    • V Offline
                      V Offline
                      veera
                      wrote on last edited by
                      #13

                      Hi ,
                      I am using Ubuntu 16.10 LTS system qribbon you have sent ,it will support in Windows .

                      mrjjM 1 Reply Last reply
                      0
                      • V veera

                        Hi ,
                        I am using Ubuntu 16.10 LTS system qribbon you have sent ,it will support in Windows .

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

                        @veera

                        yes it will run in linux and windows.
                        at least the python example.

                        i have not tested
                        /hdijkema/QRibbon

                        1 Reply Last reply
                        0
                        • V Offline
                          V Offline
                          veera
                          wrote on last edited by
                          #15

                          no just now i am checking in ubuntu giving errors and checking some python examples.....

                          mrjjM 1 Reply Last reply
                          0
                          • V veera

                            no just now i am checking in ubuntu giving errors and checking some python examples.....

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

                            @veera

                            You dont have to use python.
                            you can reuse the stylesheets and just do as shown to build it
                            using Designer and C++

                            1 Reply Last reply
                            0
                            • V Offline
                              V Offline
                              veera
                              wrote on last edited by
                              #17

                              @mrjj said in Implement a master form window along with controls as you can see in the screen shot:

                              stylesheets

                              sure ....thanks for valuable response Mr.Mrjj

                              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
                              • Unsolved