PDA

View Full Version : How to set Widgets sizes with in QSplitter



rajeshs
29th June 2007, 05:14
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

wysota
29th June 2007, 07:38
QSplitter::setSizes()