PySide 1.2.2 setMaxWidth and AeroSnap

Vincent Vande Vyvre vincent.vande.vyvre at telenet.be
Sun Nov 16 13:18:41 EST 2014


Le 16/11/2014 19:09, Juan Christian a écrit :
> On Sun Nov 16 2014 at 3:46:40 PM Vincent Vande Vyvre 
> <vincent.vande.vyvre at telenet.be 
> <mailto:vincent.vande.vyvre at telenet.be>> wrote:
>
>     No probleme with PyQt but I think this is a window manager question.
>     Window, gnome, KDE, Mate, ...
>
>
>     If your widget is a QMainWindow or a QDialog add a size grip:
>
>              self.setSizeGripEnabled(True)
>
>     The QWidget don't have this method, so, in this case, you must
>     reimplement his resizeEvent()
>
>
> I changed to QMainWindow, but I don't have a function called 
> setSizeGripEnabled here.
>
>
... missed in PySide ?

Reimplement the resizeEvent().

Vincent



More information about the Python-list mailing list