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


Groups > comp.lang.python > #80893

Re: PySide 1.2.2 setMaxWidth and AeroSnap

Date 2014-11-16 19:18 +0100
From Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be>
Subject Re: PySide 1.2.2 setMaxWidth and AeroSnap
References <CAAp0bGsG4hreikzPEY1gB6mKFfKAx9z5zkCQjzL5rYN8psMBoA@mail.gmail.com> <5468E02B.2040308@telenet.be> <CAAp0bGsv-XPNrFen_-K-8WW2ss9jYsA9jjAB22ph=Mn6AG8r1g@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.15892.1416162632.18130.python-list@python.org> (permalink)

Show all headers | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web