Results 1 to 2 of 2

Thread: thin splitter

  1. #1
    Join Date
    Jul 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default thin splitter

    Is there a way to have a 1 pixel Graphical splitter and keeping a 5 pixels draggable area?
    Help please..

  2. #2
    Join Date
    May 2011
    Posts
    23
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: thin splitter

    Hi nikkymen,

    You need to subclass from QSplitterHandle and set it as the splitter handle for your splitter. I can't remember the exact source from the top of my head (as I'm writing this).
    Download Qt Creator source code and look for "MiniSplitterHandle.h" and see where it is used.

    Jean

Similar Threads

  1. How to add splitter in a dialog.
    By kaushal_gaurav in forum Qt Programming
    Replies: 2
    Last Post: 5th August 2008, 08:40
  2. setResizeMode for Splitter
    By ropel in forum Qt Programming
    Replies: 3
    Last Post: 1st July 2008, 08:56
  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.