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. [SOLVED]Want to expand QTextEdit ..
QtWS25 Last Chance

[SOLVED]Want to expand QTextEdit ..

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 5.2k 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.
  • M Offline
    M Offline
    M_31
    wrote on last edited by
    #1

    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
    0
    • G Offline
      G Offline
      giesbert
      wrote on last edited by
      #2

      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
      0
      • M Offline
        M Offline
        M_31
        wrote on last edited by
        #3

        Thanks Gerolf ...its working now..

        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