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: 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 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: <5468E02B.2040308@telenet.be> In-Reply-To: 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: 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 Le 16/11/2014 19:09, Juan Christian a écrit : > On Sun Nov 16 2014 at 3:46:40 PM Vincent Vande Vyvre > > 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