Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Active resizing of widgets inside mainwindow

    General and Desktop
    4
    5
    3393
    Loading More Posts
    • 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.
    • P
      petergeng last edited by

      I have a few widgets in a main window. i want the user to be able to resize the widgets inside the window as they please, just like how one would resize the main window. Do I have to make a layout container to enable this? or ....layout? Buh the layout contains are static once the window is rendered.

      1 Reply Last reply Reply Quote 0
      • BilbonSacquet
        BilbonSacquet last edited by

        You mean that you want to resize with mouse inside widgets of the mainwindow, like for QToolBox ? Or you want only to make bigger the mainwindow when a separation is moved ?

        1 Reply Last reply Reply Quote 0
        • A
          amban last edited by

          I am not very sure about your question, but you are correct in using layout and can add QSplitter to offer resizing the widgets horizontally or vertically.

          1 Reply Last reply Reply Quote 0
          • G
            giesbert last edited by

            Manual resizing of widgets by the user are possible, if you use splitters as containers, or if you use dock widgets. Otherwise you must implement it by hand.

            Nokia Certified Qt Specialist.
            Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

            1 Reply Last reply Reply Quote 0
            • P
              petergeng last edited by

              ya i want to resize with mouse insides widgets of mainwindow

              1 Reply Last reply Reply Quote 0
              • First post
                Last post