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


Groups > comp.lang.python > #39347

Re: Is there a graphical GUI builder?

Date 2013-02-20 11:19 +0000
From Phil Thompson <phil@riverbankcomputing.com>
Subject Re: Is there a graphical GUI builder?
Organization Riverbank Computing Limited
References <c8492c84-c14f-4c91-aa6a-ed2443fb7987@googlegroups.com> <CAPTjJmrdgcTymCbtJic1S9Dqscdwk0kn2hNqwZv4d9H9PnAVEw@mail.gmail.com> <20130220093450.GB22457@localhost> <fc0440a6acb59e6d0781cd34dd41bdb4@localhost> <20130220104248.GA21390@localhost>
Newsgroups comp.lang.python
Message-ID <mailman.2106.1361359156.2939.python-list@python.org> (permalink)

Show all headers | 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