comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Easiest way to build Qt/Gtk interfaces for Ada programs
Date: Fri, 28 Dec 2012 16:32:09 +0100
Date: 2012-12-28T16:32:09+01:00	[thread overview]
Message-ID: <1gda5kzj50h3l.jzmq13s0hw74.dlg@40tude.net> (raw)
In-Reply-To: d97561e7-d327-4fe8-b75b-e74e385a0603@googlegroups.com

On Fri, 28 Dec 2012 06:51:01 -0800 (PST), alb348@gmail.com wrote:

> I am a interested in creating GUI applications with Ada, using either Qt
> or Gtk (it must be one of these two, because these are the only toolkits
> that provide full BiDi support).

One important thing, which implies the obvious consequences. There is no
easy way of building GUI as well as no way of adding GUI to an existing
application.

Ignoring casual applications, it is unfortunately so, that whatever
framework you use, and what the application is supposed to do functionally,
you have to build it around the GUI.

> I was happy to find that the Ada bindings are available for both Qt and
> Gtk, but I was disheartened when I saw the code of the example programs.
> Lots of code! Lines and lines of dense code, barely comprehensible.
> Honestly, I don't know if I would be able to write a GUI by manually
> writing so much code.

It is only the tip of the iceberg. When you start writing a real-life GUI
the amount of code explodes. In order to maintain the complexity you need
to refactor and reuse, start building customized widgets on top of the
existing ones etc. Much of software design, not easy, not very rewarding,
because the code still looks ugly, but at least becomes a bit maintainable.

> My question is: is there any GUI builder, either for Qt or for Qt, which
> will allow me to graphically design the widgets, and which will then
> generate Ada code?

Wasting time, but you won't believe me anyway. So take any, it is actually
no matter. Once you have it behind you, you can make a fresh start and
begin working productively.

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  reply	other threads:[~2012-12-28 15:32 UTC|newest]

Thread overview: 38+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-28 14:51 Easiest way to build Qt/Gtk interfaces for Ada programs alb348
2012-12-28 15:32 ` Dmitry A. Kazakov [this message]
2012-12-28 17:30   ` alb348
2012-12-28 17:57     ` Dmitry A. Kazakov
2012-12-29  0:18   ` Yannick Duchêne (Hibou57)
2012-12-29  9:26     ` Dmitry A. Kazakov
2012-12-29 10:39       ` Yannick Duchêne (Hibou57)
2012-12-29 12:27         ` Dmitry A. Kazakov
2012-12-29 13:07           ` Georg Bauhaus
2012-12-29 13:26             ` Yannick Duchêne (Hibou57)
2012-12-29 13:09           ` Yannick Duchêne (Hibou57)
2012-12-29  0:27   ` Randy Brukardt
2012-12-29  1:02     ` Georg Bauhaus
2012-12-29  2:10       ` Yannick Duchêne (Hibou57)
2012-12-29  8:55       ` Dmitry A. Kazakov
2012-12-28 16:20 ` Vadim Godunko
2012-12-28 19:56   ` alb348
2012-12-28 20:38     ` Justin Time
2012-12-28 20:52       ` alb348
2012-12-29  0:48         ` Randy Brukardt
2012-12-29 10:23           ` Blady
2012-12-29 10:51             ` Yannick Duchêne (Hibou57)
2012-12-29 15:24           ` Justin Time
2012-12-31 21:49             ` Randy Brukardt
2013-01-01 10:46               ` Justin Time
2013-01-01 12:24                 ` Dmitry A. Kazakov
2013-01-01 16:55                   ` Justin Time
2013-01-02 10:00                     ` Dmitry A. Kazakov
2012-12-28 17:58 ` Justin Time
2012-12-31  8:07   ` ldries46
2012-12-31 20:58     ` John B. Matthews
2013-01-04 23:39     ` Brian Drummond
2012-12-29 16:40 ` leonid.dulman
2012-12-29 18:12   ` alb348
2012-12-30 17:27 ` leonid.dulman
2013-01-04 13:53   ` Patrick
2013-01-04 23:31     ` Brian Drummond
2013-01-05  8:57       ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox