Results 1 to 3 of 3

Thread: Organize the components in window (Qt-Designer)

  1. #1
    Join Date
    Oct 2009
    Location
    Rio de Janeiro - Brazil
    Posts
    19
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Organize the components in window (Qt-Designer)

    Hi
    I'm creating a Mame Front-end in PyQt4 and using Qt-Designer to build my windows.
    This (Qt-Designer) is a little bit new to me and I have a problem to manage the layout components in the window.
    As you can see in a video below, I can't organize the components into the window.
    - my video -
    I don't know how to do, because the vertical/horizontal layout there are not some property as max. size, for example.
    I'm not sure if by the video I came to my goal to show you the exactly that I need.
    Thanks for advance.

    Junix

  2. #2
    Join Date
    Jan 2012
    Posts
    66
    Thanks
    20
    Thanked 2 Times in 2 Posts
    Platforms
    Windows

    Default Re: Organize the components in window (Qt-Designer)

    It looks like you should be using sub-layouts. Try this:

    1. Select the line edit and the label and click the horizontal layout button. Let's call this layout the "top left layout".
    2. Select the movie, the libraries, and the new "top left layout", and click the vertical layout button. This will be your "left layout".
    3. Select the QGraphicsView and the left layout and click the horizontal layout button.

    If that isn't exactly what you want, it should help you figure out what to do anyways.

  3. The following user says thank you to wayfaerer for this useful post:

    junix (3rd April 2012)

  4. #3
    Join Date
    Oct 2009
    Location
    Rio de Janeiro - Brazil
    Posts
    19
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Organize the components in window (Qt-Designer)

    Now it works, thank you.

Similar Threads

  1. Adding New Components to QML Designer
    By SamFredericks in forum Qt Quick
    Replies: 5
    Last Post: 2nd July 2012, 13:36
  2. Replies: 0
    Last Post: 9th February 2012, 03:05
  3. Replies: 2
    Last Post: 8th February 2011, 11:49
  4. Replies: 2
    Last Post: 16th May 2010, 16:15
  5. StyleSheet components using Qt designer
    By Kostanev in forum Qt Tools
    Replies: 1
    Last Post: 21st April 2008, 08:28

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.