Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80893 > unrolled thread

Re: PySide 1.2.2 setMaxWidth and AeroSnap

Started byVincent Vande Vyvre <vincent.vande.vyvre@telenet.be>
First post2014-11-16 19:18 +0100
Last post2014-11-16 19:18 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: PySide 1.2.2 setMaxWidth and AeroSnap Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be> - 2014-11-16 19:18 +0100

#80893 — Re: PySide 1.2.2 setMaxWidth and AeroSnap

FromVincent Vande Vyvre <vincent.vande.vyvre@telenet.be>
Date2014-11-16 19:18 +0100
SubjectRe: PySide 1.2.2 setMaxWidth and AeroSnap
Message-ID<mailman.15892.1416162632.18130.python-list@python.org>
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@telenet.be 
> <mailto:vincent.vande.vyvre@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web