Results 1 to 2 of 2

Thread: How to set Widgets sizes with in QSplitter

  1. #1
    Join Date
    Jun 2007
    Location
    India/Bangalore
    Posts
    156
    Thanks
    26
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to set Widgets sizes with in QSplitter

    Hello sir,

    I got many ideas from your previous reply about Itemdelegate,Thank you.

    I am using QSplitter, within QSplitter i am using 5 QListWidgets I need different width for each QListWidgets, How can i set width for each QListWidgets as my requirements with in splitters?

    now i am using the following code to set backgroundrole color for splitter,

    splitter->setBackgroundRole(QPalette::WindowText)

    is there any possibility to reduce width of background role of QSplitter?

    Thanks
    Rajesh.S

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: How to set Widgets sizes with in QSplitter


Similar Threads

  1. Performance in hiding/showing widgets
    By Paalrammer in forum Newbie
    Replies: 12
    Last Post: 14th February 2007, 18:57
  2. QSplitter - Remove Widgets?
    By durbrak in forum Qt Programming
    Replies: 1
    Last Post: 10th December 2006, 12:17
  3. Remove widgets from a QSplitter
    By blukske in forum Qt Programming
    Replies: 1
    Last Post: 14th July 2006, 10:38
  4. Replies: 11
    Last Post: 7th July 2006, 13:09
  5. Creating Widgets
    By hylke in forum Qt Programming
    Replies: 2
    Last Post: 5th February 2006, 08:37

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.