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


Groups > comp.lang.python > #39347

Re: Is there a graphical GUI builder?

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!cs.uu.nl!news.stack.nl!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <phil@riverbankcomputing.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.041
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; '(at': 0.03; 'pixel': 0.07; 'specifying': 0.09; 'cc:addr:python-list': 0.10; 'buttons,': 0.16; 'gave.': 0.16; 'layout,': 0.16; 'qt,': 0.16; 'subject:GUI': 0.16; 'widgets.': 0.16; 'wed,': 0.16; 'wrote:': 0.17; 'feb': 0.19; 'define': 0.20; 'sort': 0.21; 'explicit': 0.22; 'modifying': 0.22; 'precise': 0.22; 'cc:2**0': 0.23; 'cc:no real name:2**0': 0.24; 'least': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'select': 0.26; 'skip:" 20': 0.26; '(e.g.': 0.27; 'designer': 0.27; 'fixed': 0.28; '+0100,': 0.29; 'parent': 0.29; 'received:207.126': 0.29; 'selecting': 0.29; "i'm": 0.29; 'button': 0.30; 'etc.)': 0.32; 'could': 0.32; 'hi,': 0.33; 'text': 0.34; 'apply.': 0.35; 'subject:?': 0.35; 'but': 0.36; 'wanted': 0.36; 'possible': 0.37; 'bad': 0.37; 'itself': 0.37; 'does': 0.37; 'being': 0.37; 'subject:: ': 0.38; 'supports': 0.38; 'where': 0.40; 'header:Received:5': 0.40; 'skip:u 10': 0.60; 'remove': 0.61; 'therefore': 0.65; 'to,': 0.65; 'total': 0.65; 'subject:there': 0.65; 'positions': 0.68; 'obvious': 0.71; 'subjectcharset:utf-8': 0.72; 'click': 0.76; '2013': 0.84; 'interesting,': 0.84; 'laid': 0.84; 'layout.': 0.84; 'phil': 0.91; 'notebook': 0.96
X-Virus-Scanned Debian amavisd-new at rvrbank1.user.openhosting.com
MIME-Version 1.0
Date Wed, 20 Feb 2013 11:19:09 +0000
From Phil Thompson <phil@riverbankcomputing.com>
To Roland Koebler <r.koebler@yahoo.de>
Subject Re: Is there a graphical GUI builder?
Organization Riverbank Computing Limited
In-Reply-To <20130220104248.GA21390@localhost>
References <c8492c84-c14f-4c91-aa6a-ed2443fb7987@googlegroups.com> <CAPTjJmrdgcTymCbtJic1S9Dqscdwk0kn2hNqwZv4d9H9PnAVEw@mail.gmail.com> <20130220093450.GB22457@localhost> <fc0440a6acb59e6d0781cd34dd41bdb4@localhost> <20130220104248.GA21390@localhost>
X-Sender phil@riverbankcomputing.com
User-Agent RoundCube Webmail/0.3.1
Content-Transfer-Encoding 8bit
Content-Type text/plain; charset=UTF-8
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2106.1361359156.2939.python-list@python.org> (permalink)
Lines 35
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1361359156 news.xs4all.nl 6902 [2001:888:2000:d::a6]:59357
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:39347

Show key headers only | View raw


On Wed, 20 Feb 2013 11:42:48 +0100, Roland Koebler <r.koebler@yahoo.de>
wrote:
> Hi,
> 
>> > [q] In Qt, it's also possible to generate such flexible layouts. But
>> > it's unfortunately not the default way in Qt, and the Qt designer
only
>> > supports it rudimentarily, and in a much less obvious way. And Qt
does
>> > not have such a "container"-concept, where many widgets (e.g.
buttons,
>> > notebook registers etc.) contain other widgets.
>> 
>> ...
>> 
>> I'm sorry but all of that is completely wrong. Using layouts that
>> automatically adapt to fonts, the size of widgets being laid out etc.
is
>> the default way. You could use explicit sizes and positions if you
wanted
>> to, but that would be bad for the reasons you gave.
> hmm, interesting, but then Qt Designer is a total mess.
> 
> In Qt Designer (at least in 4.x), the default is a fixed layout, where
> I have to position the widgets at precise pixel-positions and have to
> define the size in pixels. And I cannot remove the default fixed layout
> without modifying the .ui-file in a text editor!

I'm sorry but that is just wrong. You position the widgets roughly, select
them, then click on the button corresponding to the layout you want to
apply. By selecting a sub-set of the widgets you can create a sub-layout
which itself can be part of a parent layout. You therefore create any sort
of layout you want without specifying a single pixel position or size.

Phil

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


Thread

Is there a graphical GUI builder? Rex Macey <xer0925@gmail.com> - 2013-02-19 14:19 -0800
  Re: Is there a graphical GUI builder? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2013-02-19 22:30 +0000
  Re: Is there a graphical GUI builder? Ian Kelly <ian.g.kelly@gmail.com> - 2013-02-19 15:39 -0700
  Re: Is there a graphical GUI builder? Chris Angelico <rosuav@gmail.com> - 2013-02-20 09:43 +1100
  Re: Is there a graphical GUI builder? Phil <phil_lor@bigpond.com> - 2013-02-20 08:59 +1000
  Re: Is there a graphical GUI builder? Miki Tebeka <miki.tebeka@gmail.com> - 2013-02-19 15:44 -0800
  Re: Is there a graphical GUI builder? duncan smith <buzzard@invalid.invalid> - 2013-02-20 02:03 +0000
  Re: Is there a graphical GUI builder? Roland Koebler <r.koebler@yahoo.de> - 2013-02-20 03:53 +0100
  Re: Is there a graphical GUI builder? Michael Torrie <torriem@gmail.com> - 2013-02-19 20:49 -0700
  Re: Is there a graphical GUI builder? Steve Simmons <square.steve@gmail.com> - 2013-02-20 08:44 +0100
  Re: Is there a graphical GUI builder? Roland Koebler <r.koebler@yahoo.de> - 2013-02-20 10:34 +0100
  Re: Is there a graphical GUI builder? Phil Thompson <phil@riverbankcomputing.com> - 2013-02-20 09:51 +0000
  Re: Is there a graphical GUI builder? Chris Angelico <rosuav@gmail.com> - 2013-02-20 20:52 +1100
  Re: Is there a graphical GUI builder? Roland Koebler <r.koebler@yahoo.de> - 2013-02-20 11:05 +0100
  Re: Is there a graphical GUI builder? Roland Koebler <r.koebler@yahoo.de> - 2013-02-20 11:42 +0100
  Re: Is there a graphical GUI builder? Phil Thompson <phil@riverbankcomputing.com> - 2013-02-20 11:19 +0000
  Re: Is there a graphical GUI builder? Roland Koebler <r.koebler@yahoo.de> - 2013-02-20 12:52 +0100
  Re: Is there a graphical GUI builder? Chris Angelico <rosuav@gmail.com> - 2013-02-20 23:14 +1100
  Re: Is there a graphical GUI builder? Laszlo Nagy <gandalf@shopzeus.com> - 2013-02-20 13:09 +0100
  Re: Is there a graphical GUI builder? Kevin Walzer <kw@codebykevin.com> - 2013-02-20 08:57 -0500
  Re: Is there a graphical GUI builder? Dietmar Schwertberger <maillist@schwertberger.de> - 2013-02-20 21:05 +0100
  Re: Is there a graphical GUI builder? Michael Torrie <torriem@gmail.com> - 2013-02-20 20:45 -0700
  Re: Is there a graphical GUI builder? PythonAB <python@rgbaz.eu> - 2013-02-21 10:20 +0100
  Re: Is there a graphical GUI builder? Chris Angelico <rosuav@gmail.com> - 2013-02-21 21:08 +1100
  Re: Is there a graphical GUI builder? Steve Simmons <square.steve@gmail.com> - 2013-02-21 11:18 +0100
  Re: Is there a graphical GUI builder? Roland Koebler <r.koebler@yahoo.de> - 2013-02-21 11:37 +0100
  Re: Is there a graphical GUI builder? Robert Kern <robert.kern@gmail.com> - 2013-02-21 11:25 +0000
  Re: Is there a graphical GUI builder? Roland Koebler <r.koebler@yahoo.de> - 2013-02-21 18:05 +0100
  Re: Is there a graphical GUI builder? Robert Kern <robert.kern@gmail.com> - 2013-02-21 21:16 +0000

csiph-web