Results 1 to 3 of 3

Thread: Missing tileVertically()

  1. #1
    Join Date
    Jan 2009
    Posts
    34
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Missing tileVertically()

    QWorkspace provides tile() and cascade(). Both are nice, but I need a function to layout the windows in a workspace horizontally.

    This is typically useful in settings where you have 3 textfiles visible and you want to place them underneath each other for easy comparison.

    A tile() would typically place one on the left and two tiled on the right.

    Am I missing something obvious here?

  2. #2
    Join Date
    Jul 2008
    Location
    Germany
    Posts
    509
    Thanks
    11
    Thanked 76 Times in 74 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Missing tileVertically()

    Hi, first of all, if it's a new project, try using QMdiArea. It works much better than QWorkspace, especially if you need access to the positions of the subwindows.

    To get a horizontal or vertical tile, you have to subclass QMdiArea and move/resize the subwindows yourself.

    Ginsengelf

  3. #3
    Join Date
    Jan 2009
    Posts
    34
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Missing tileVertically()

    Ah! Thanks. I think I'll wait. I've come pretty far in the project and thought of adding it as an extra feature.

    But if manually positioning is the way to go, maybe I'll fix something for the next version.

Similar Threads

  1. StandardPixmap is missing important icons
    By claudio in forum Qt Programming
    Replies: 3
    Last Post: 19th February 2014, 19:47
  2. Static application missing pcap functionality
    By remy06 in forum Installation and Deployment
    Replies: 3
    Last Post: 21st May 2012, 18:33
  3. makefile missing separator problem
    By terrywb in forum Installation and Deployment
    Replies: 4
    Last Post: 14th May 2009, 13:49
  4. What am I missing? Unresolved externals
    By derick in forum Qt Programming
    Replies: 49
    Last Post: 21st July 2006, 12:41
  5. Icons missing => segmentation fault
    By antonio.r.tome in forum Qt Programming
    Replies: 4
    Last Post: 8th March 2006, 16:30

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.