Qt Forum

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

    Forum Updated on Feb 6th

    [SOLVED]Want to expand QTextEdit ..

    General and Desktop
    2
    3
    4998
    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.
    • M
      M_31 last edited by

      Hi ,
      I would like to expand QTextEdit which is in QGroupBox and again the QGroupBox in QStacked Widget.
      Please refer the below picture
      I tried all the H-Spacer & V-Spacer with H-Layout & V-layout Control..
      But i am not able to expand my TextEdit control , when the main dialog window get expand by mouse
      I can see only the stacked Widget alone getting expanded nothing else..
      Please let me know ,whether i am doing anything wrong.

      I want to have the same setup like in Qt-Creator , under project->manage ( we will be getting popup dialog window)
      @


      | QStackedWidget |
      | _______________________ |
      | | QGroupBox | |
      | | ___________ | |
      | | |QTextEdit | | |
      | | || | |
      | |
      | |
      | |
      |
      _____________________|
      @

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

        Each widget with child widgets must have layouts, so the group box needs one, the parent of the group box and the main window.

        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
        • M
          M_31 last edited by

          Thanks Gerolf ...its working now..

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