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. resizing....

resizing....

Scheduled Pinned Locked Moved Solved General and Desktop
17 Posts 2 Posters 3.4k 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.
  • S Offline
    S Offline
    stephane78
    wrote on last edited by stephane78
    #7

    OK,the only difference with my mainwindow is that mine doesn't contain a centralwidget but contains layouts.does the central widget do the resizing ? is there any mean to send you my test project ?

    mrjjM 1 Reply Last reply
    0
    • S Offline
      S Offline
      stephane78
      wrote on last edited by
      #8

      and I don't use frames too in my mainwindow...

      1 Reply Last reply
      0
      • S stephane78

        OK,the only difference with my mainwindow is that mine doesn't contain a centralwidget but contains layouts.does the central widget do the resizing ? is there any mean to send you my test project ?

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

        @stephane78
        Well the layout is on the central widget.
        So in that sense yes.

        Do you have dropbox ? very easy to share that way.
        just paste link here.

        mrjjM 1 Reply Last reply
        0
        • mrjjM mrjj

          @stephane78
          Well the layout is on the central widget.
          So in that sense yes.

          Do you have dropbox ? very easy to share that way.
          just paste link here.

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

          the frames are just to have areas to have different layouts in.
          in right and left side. Could also just been a widget

          1 Reply Last reply
          0
          • S Offline
            S Offline
            stephane78
            wrote on last edited by
            #11

            https://www1.wesend.com/download/?dl=e4c5f4cc6c1f1c775365e748a2f7b47728662dcc1cadbb90af61026e2b797786&uid=c68e22ee338184f6ef7f2b509906472f63681d8790ba4fbcb7f0acf1d1c91611&send=a8724f601ab6e962aa4607d1e42e05e5bedf38aa00c51484242c684c9120c4ea

            1 Reply Last reply
            0
            • S Offline
              S Offline
              stephane78
              wrote on last edited by
              #12

              you can try to download my project?
              I haven't put any central widget and that is probably my problem.did you put a vertical or horizontal layout in the central widget ?

              mrjjM 1 Reply Last reply
              0
              • S stephane78

                you can try to download my project?
                I haven't put any central widget and that is probably my problem.did you put a vertical or horizontal layout in the central widget ?

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

                @stephane78
                Already on it.
                Yes it seems you dont put a layout on toplevel
                widget so that is why its not working for you.

                I will return project shortly.
                I changed main and "form"

                mrjjM 1 Reply Last reply
                0
                • mrjjM mrjj

                  @stephane78
                  Already on it.
                  Yes it seems you dont put a layout on toplevel
                  widget so that is why its not working for you.

                  I will return project shortly.
                  I changed main and "form"

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

                  https://www.dropbox.com/s/8bjluxxvvw8kdxf/essai_redimensionnement-2.zip?dl=0

                  mrjjM 1 Reply Last reply
                  0
                  • mrjjM mrjj

                    https://www.dropbox.com/s/8bjluxxvvw8kdxf/essai_redimensionnement-2.zip?dl=0

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

                    hi
                    picture of where u needed to add layout.
                    It dont matter if horz or vert. that just want u need.

                    http://postimg.org/image/bl5pgxhhb/

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      stephane78
                      wrote on last edited by
                      #16

                      Ok thank you mrjj,

                      so even the qwidget and qmainwindow can be resized , I had this problem because I havent' put a layout in central widget.
                      ok my problem is solved.

                      mrjjM 1 Reply Last reply
                      1
                      • S stephane78

                        Ok thank you mrjj,

                        so even the qwidget and qmainwindow can be resized , I had this problem because I havent' put a layout in central widget.
                        ok my problem is solved.

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

                        @stephane78
                        Ok super to hear.

                        Yes all can be re-sized. All Widgets.

                        If you need special / complex layout. you can use a qwidget as placeholder for a
                        layout so you can easy have layouts in layouts if needed.

                        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