Results 1 to 2 of 2

Thread: Use of splitter in QTcreator

  1. #1
    Join Date
    Apr 2017
    Posts
    55
    Thanks
    8
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Use of splitter in QTcreator

    I have a menu page with 17 qcustom plots. I want to be able to click on one and stretch it in the height and width dimension. Is there no way to have this widget be able to have the characteristics of both the horizontal and vertical splitter?

    Thanks for any help or suggestions.

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Use of splitter in QTcreator

    The standard QSplitter works in only one direction (horizontal or vertical). If I understand your question correctly, what you are asking for is a grid splitter that works in both directions at the same time - that is, the splitter divides the space into 4 rectangles, and you can resize the rectangles by grabbing either the vertical bar, horizontal bar, or intersection of the two to resize all 4 windows at the same time.

    There is an old thread here which discusses this, and maybe you can use the idea there to implement what you want.

    There is also a post on linux-apps.com that might help. Also check the inqlude web site.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Splitter snapping
    By qtoptus in forum Qt Programming
    Replies: 5
    Last Post: 17th November 2014, 06:40
  2. Automatic Splitter
    By Katuakina in forum Qt Tools
    Replies: 1
    Last Post: 5th October 2007, 09:29
  3. Splitter?
    By Katuakina in forum Qt Programming
    Replies: 1
    Last Post: 5th October 2007, 09:21
  4. splitter
    By gambr in forum Qt Tools
    Replies: 2
    Last Post: 21st November 2006, 17:06
  5. Image on Splitter
    By moizahamedv in forum Qt Programming
    Replies: 4
    Last Post: 3rd March 2006, 14:40

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.