[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] QTableWidget in QSplitter
From:       Aaron Digulla <digulla () hepe ! com>
Date:       2008-03-24 8:08:22
Message-ID: 47E76176.1080902 () hepe ! com
[Download RAW message or body]

Gregor Kling schrieb:

> I have a MainWindow of which the Centralwidget consist of a Splitter
> with more Splitters in it.
>[...]
> Now what I want is, that each QTableWidget expands its QTableWidgetItems
> to the actual size
> of its respective Splitter.
> Does anyone have a clue how to do this ?

Attach to the resize signal of the splitters and then manually set the
width of the table items to the size of the splitters.

Regards,

-- 
Aaron "Optimizer" Digulla a.k.a. Philmann Dark
"It's not the universe that's limited, it's our imagination.
Follow me and I'll show you something beyond the limits."
http://darkviews.blogspot.com/          http://www.pdark.de/
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic