Results 1 to 8 of 8

Thread: Layout problem

  1. #1
    Join Date
    Jun 2010
    Posts
    137
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Layout problem

    Hi,

    Here I am again with layout problem. I have a big trouble in getting the exact layout I wanted to make. I wante to divide the main window into 3 parts of those two parts are vertically divided by horizontal line and these two parts are horizontally aligned with third part with vertical line between them. And these two lines should be intersected. I tried in many ways but Couldn't get the desired one. I would be grateful for any suggestions. I hope you will get the picture in your mind.

    Thank You,
    Baluk
    Last edited by baluk; 22nd October 2010 at 10:09.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Layout problem

    What image and moved to newbie.

  3. #3
    Join Date
    Jun 2010
    Posts
    137
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Layout problem

    I am sorry it was a mistake . And I now changed my post explained my problem in text. Please go through it again.

  4. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Layout problem

    Quote Originally Posted by baluk View Post
    I hope you will get the picture in your mind.
    I am afraid, but no, I didn't get a picture in mind. Please make a short mocup in paint or other and attach the image.

  5. #5
    Join Date
    Jun 2010
    Posts
    137
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Layout problem

    Hi,

    Here I am attaching my real layout image which I now have to make it in Qt.

    Thank You,

    Baluk
    Attached Images Attached Images

  6. #6
    Join Date
    Oct 2010
    Posts
    37
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Layout problem

    make one VBoxLayout holding the 2 panels in the left. Use setStretchFactor to set the relevant weights. Attach this to a blank widget X

    then make another HBoxLayout, add the widget X on the left, and your third widget on the right. easy.

  7. #7
    Join Date
    Jun 2010
    Posts
    137
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Layout problem

    I used QFrame, But I had trouble with intersecting the lines.
    Last edited by baluk; 22nd October 2010 at 16:53.

  8. #8
    Join Date
    Jun 2010
    Posts
    137
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Layout problem

    I Want to close this post because a different layout has been taken. Thanks to all.

Similar Threads

  1. Layout problem
    By MorrisLiang in forum Qt Programming
    Replies: 8
    Last Post: 14th September 2010, 15:53
  2. Problem with layout!
    By sang in forum Qt Programming
    Replies: 2
    Last Post: 24th August 2010, 21:01
  3. Problem with layout
    By franco.amato in forum Qt Programming
    Replies: 3
    Last Post: 18th December 2009, 19:32
  4. Layout Problem
    By sabonis in forum Qt Tools
    Replies: 4
    Last Post: 3rd March 2008, 20:57
  5. Layout problem
    By vijay anandh in forum Qt Programming
    Replies: 1
    Last Post: 12th July 2006, 23:05

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.