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 18:57:03 +0100
Date: 2012-12-28T18:57:03+01:00	[thread overview]
Message-ID: <1wfzxwagl94s7$.qrv4b94ezjqf.dlg@40tude.net> (raw)
In-Reply-To: f99b3c5c-2e69-446b-b3b8-ea0f1ebafdbc@googlegroups.com

On Fri, 28 Dec 2012 09:30:04 -0800 (PST), alb348@gmail.com wrote:

>>> 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.
> 
> Could you please elaborate a little as to why, in your opinion, GUI
> builders are a waste of time? Is it because the quality of the generated
> code is unsatisfactory? Or because they are too complex to use?

Because it is impossible to separate GUI from functional code, especially
when the GUI uses low-level libraries not written in Ada. Even if the
library were written in Ada, I doubt that a decent GUI builder would be
possible to make. You should ask Randy, who is an author of Claw.

The only purpose a builder might have (apart from casual applications) is
for creating a prototype for the customer, and for later, as a kind of
specification for the production GUI.

> Also, in case I decide to write all the GUI code manually, which path do
> you advise me to take: Gtk or Qt? (I only need basic edit windows, dialogs
> and forms). And are there good tutorials that explain how to do it in an
> easy way?

AFIAK, both frameworks are more or less equivalent in their capacities [and
ugliness]. You should probably toss a coin.

I don't advocate for Gtk, I took Gtk simply because AdaCore did and because
there always has been some shadow of suspicion regarding Qt licensing.

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



  reply	other threads:[~2012-12-28 17:57 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
2012-12-28 17:30   ` alb348
2012-12-28 17:57     ` Dmitry A. Kazakov [this message]
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