Path: csiph.com!au2pb.net!feeder.erje.net!1.eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.037 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'creator': 0.09; 'url:github': 0.09; 'subject:not': 0.11; 'output': 0.13; '.ui': 0.16; '10/05/2015': 0.16; 'files).': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'subject:screen': 0.16; 'url:qt-4': 0.16; 'wrote:': 0.16; 'gui': 0.18; 'load': 0.20; '(the': 0.22; 'am,': 0.23; 'interfaces': 0.23; 'xml': 0.24; 'header:In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; 'use?': 0.29; 'url:wiki': 0.30; 'another': 0.32; 'screen': 0.32; 'adjust': 0.33; 'wrap': 0.33; 'message-id:@gmail.com': 0.34; 'designer': 0.35; 'newer': 0.35; 'should': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'method': 0.37; 'received:org': 0.37; 'files': 0.38; 'does': 0.39; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; "you'll": 0.61; 'programs': 0.62; 'yes': 0.62; 'charset:windows-1252': 0.62; 'managers': 0.63; 'license': 0.65; 'brain': 0.66; 'course.': 0.67; 'commercial': 0.73; 'construct': 0.84 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Mon, 05 Oct 2015 10:28:36 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: PySide window does not resize to fit screen References: <24851466-7de1-408f-a0a0-548d42d21ab4@googlegroups.com> <0536254e-4101-4b7c-a848-61a5c3e1a064@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 23 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1444062528 news.xs4all.nl 23789 [2001:888:2000:d::a6]:48208 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:97419 On 10/05/2015 05:20 AM, Hedieh Ebrahimi wrote: > is this free to use for commercial use? Yes of course. There's also the newer Qt Creator program if you want to use Qt 5. The license of the Designer and Creator programs does not apply to the output of these programs (the .ui XML files). You'll want to read up on the documentation. Here's a couple of links for starters: http://doc.qt.io/qt-4.8/designer-layouts.html https://wiki.qt.io/QtCreator_and_PySide (works with .ui files from Designer also) Even if you don't use a GUI designer, you should construct your GUI with layout managers so that your interfaces can adjust and look good on a variety of screen sizes and DPI. It's pretty simple once you wrap your brain around the idea. Another method of working with .ui files it to load them at runtime: https://srinikom.github.io/pyside-docs/PySide/QtUiTools/QUiLoader.html