comp.lang.ada
 help / color / mirror / Atom feed
From: "Yannick Duchêne (Hibou57)" <yannick_duchene@yahoo.fr>
Subject: Re: Easiest way to build Qt/Gtk interfaces for Ada programs
Date: Sat, 29 Dec 2012 14:09:50 +0100
Date: 2012-12-29T14:09:50+01:00	[thread overview]
Message-ID: <op.wp2xiovuule2fv@cardamome> (raw)
In-Reply-To: ljhc58ruzw09$.uvd2m7b8g9hv$.dlg@40tude.net

Le Sat, 29 Dec 2012 13:27:56 +0100, Dmitry A. Kazakov  
<mailbox@dmitry-kazakov.de> a écrit:
>>> You have to design all
>>> vital data structures as models compatible to the GUI framework at
>>> hand.
>> You may do this way, while you are as much free to adapt the UI to an UI
>> specification, a specification which specify a human interface to a
>> computation or service interface.
>
> No way. If you have, say, a DB and want to show its contents in a list
> control, the DB client must be a list store (the model deployed by the  
> list
> control). If the DB client was designed in a way that does not support
> delivery of the result set incrementally, in portions, the UI will block
> when rendering large result sets. If the DB client delivers each row
> separately, that will choke the UI with a flood of events etc. You can do
> nothing about it. You have to change the client [or write new list  
> widget].
The presenter can handle this. Or else, a specific widget is an option  
too, indeed.

>>> You have to place inspection/rollback/abort check points in all
>>> lengthy operations to be able to add progress bars, cancel buttons etc.
>> You may, if you designed the application. But you may as much have to  
>> add
>> an interface to an already existing application which does not provide
>> these facilities.
>
> It is very simple to [dis]prove your theory. Take (RM G.3.1)
>
> function Solve (A : Real_Matrix; X : Real_Vector) return Real_Vector;
>
> The objective is to start it on a button click, show a modeless dialog  
> with
> a progress bar and a cancel button inside.
That is going too far.

>> Also, may be there's some confusions between application interface and
>> user interface in this topic (some comments make me feel that; see  
>> above).
>
> Oh, yes. Fancy papers about GUI design consider UI the problem space.  
> They
> already took for granted that applications are built around the GUI. And
> all GUI frameworks I know require no less.
These are two problem spaces, and none of both is at the centre (that's  
why it may suggest mediation).


Have an happy day


-- 
“Syntactic sugar causes cancer of the semi-colons.” [1]
“Structured Programming supports the law of the excluded muddle.” [1]
[1]: Epigrams on Programming — Alan J. — P. Yale University



  parent reply	other threads:[~2012-12-29 13:09 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
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) [this message]
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