Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1a.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.116 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.77; '*S*': 0.00; 'method,': 0.09; 'question.': 0.14; 'wrote:': 0.18; 'widget': 0.19; 'function': 0.29; 'message-id:@mail.gmail.com': 0.30; 'case,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'so,': 0.37; '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; '8bit%:6': 0.40; 'mate,': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:from:date:message-id:subject:to :content-type; bh=S71GDjQ+7pGxlNGUZrKHUqeM9B2jm/QbXVI0ESPkSkc=; b=B4GkuMV8TCXfgbtNyMfLjBoQUxiCQ4fa9iJIMA+5p2k8IAVfJjb6Jndv6i48wZ1PB3 GEmIF7ATl7kw/lEYi/oXU8C3ainpFsHmb7dAkpIecg7vfBNMaOreQPw8za/dHAc4K68i e0P3dyfo/Zp9lj4o8gnlecYxbROjO2kuooIi+0yM6tSRXBsmqx6qh/77RoylYAGCEkH6 KciqXOQ4vR6f/+LZC9X5FKxqfWmJEfpXKYXO/2YyR7H8QTcpUGACrQ4SFW9ZXQkj3/q/ 9qAzMpG/lZBcirVEQTKV5geRQpwxQ9l7bMKlG5PU1ukx0bYBx10mGXaWbm6HRqvkWE9o FLtQ== X-Received: by 10.140.43.196 with SMTP id e62mr27802594qga.10.1416161387379; Sun, 16 Nov 2014 10:09:47 -0800 (PST) MIME-Version: 1.0 References: <5468E02B.2040308@telenet.be> From: Juan Christian Date: Sun, 16 Nov 2014 18:09:46 +0000 Subject: Re: PySide 1.2.2 setMaxWidth and AeroSnap To: python-list@python.org Content-Type: multipart/alternative; boundary=001a113a741670944b0507fdc4a9 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list 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: 43 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1416161395 news.xs4all.nl 2887 [2001:888:2000:d::a6]:42700 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:80892 --001a113a741670944b0507fdc4a9 Content-Type: text/plain; charset=UTF-8 On Sun Nov 16 2014 at 3:46:40 PM Vincent Vande Vyvre < 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. --001a113a741670944b0507fdc4a9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sun Nov 16 2014 at 3:46:40 PM Vincent Vande V= yvre <vincent.vande.vy= vre@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:

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0self.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.
--001a113a741670944b0507fdc4a9--