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

List:       pykde
Subject:    [PyQt] How to precisely control position/size of QDockWidgets
From:       R Johnson <ps16thypresenceisfullnessofjoy () gmail ! com>
Date:       2014-04-23 20:36:38
Message-ID: 53582456.2040608 () gmail ! com
[Download RAW message or body]

Thank you very much.

I tried:

     self.treewidget.sizeHint = lambda: QSize(150, -1)

and it works now.

-- Timothy
_______________________________________________
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