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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <vincent.vande.vyvre@telenet.be>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.058
X-Spam-Evidence '*H*': 0.88; '*S*': 0.00; 'method,': 0.09; 'missed': 0.12; 'question.': 0.14; 'from:name:vincent vande vyvre': 0.16; 'received:195.130': 0.16; 'received:telenet-ops.be': 0.16; '\xe9crit': 0.16; 'wrote:': 0.18; 'widget': 0.19; 'header:User- Agent:1': 0.23; 'header:In-Reply-To:1': 0.27; 'function': 0.29; 'case,': 0.35; 'but': 0.35; 'add': 0.35; 'so,': 0.37; 'christian': 0.38; 'manager': 0.38; 'nov': 0.38; 'window': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'changed': 0.39; 'called': 0.40; 'charset:windows-1252': 0.65; 'header:Reply-To:1': 0.67; 'reply-to:no real name:2**0': 0.71; 'mate,': 0.84
Date Sun, 16 Nov 2014 19:18:41 +0100
From Vincent Vande Vyvre <vincent.vande.vyvre@telenet.be>
User-Agent Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.2.0
MIME-Version 1.0
To python-list@python.org
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>
In-Reply-To <CAAp0bGsv-XPNrFen_-K-8WW2ss9jYsA9jjAB22ph=Mn6AG8r1g@mail.gmail.com>
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 8bit
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To vincent.vandevyvre@oqapy.eu
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15892.1416162632.18130.python-list@python.org> (permalink)
Lines 26
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1416162632 news.xs4all.nl 2940 [2001:888:2000:d::a6]:45610
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:80893

Show key headers only | 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