gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnumed-devel] Re: GNUmed user interface toolkit considerations


From: Karsten Hilbert
Subject: Re: [Gnumed-devel] Re: GNUmed user interface toolkit considerations
Date: Mon, 25 Jan 2010 23:01:17 +0100

> Karsten> I'll have a look at wxFormBuilder but I like my tools to be
> Karsten> released (that is "Python support in SVN" is nice but not
> Karsten> helpful).
> 
> Well, it will be included in upcoming 3.1 which is now in beta.

It looks rather good indeed. What a pity there's no Debian package.
It uses the exact same strategy GNUmed employs: generated GUI classes
with derived classes for functionality.

> Karsten> 3) I do not know the benefit of xrc over generated Python.
>
> There are several advantages to using XRC resources:

Let's see:

>     * Recompiling and linking an application is not necessary if the
>       resources change.

Since Python is neither compiled nor linked this does not matter.

>     * If you use a dialog designer that generates C++ code, it can be
>       hard to reintegrate this into existing C++ code. Separation of
>       resources and code is a more elegant solution.

So far it hasn't been at all hard to integrate the generated Python
exactly because GNUmed maintains a clean separation between GUI code
(resources) and other code.

>     * You can choose between different alternative resource files at
>       run time, if necessary.

That is easily possible in Python anyway.

>     * The XRC format uses sizers for flexibility, allowing dialogs to
>       be resizable and highly portable.

So do both wxGlade and GNUmed, too, of course.

>     * The XRC format is a wxWidgets standard, and can be generated or
>       postprocessed by any program that understands it.

Now, there's a point. The wxGlade xml format is only understood
by wxGlade.

>       As it is based
>       on the XML standard, existing XML editors can be used for simple
>       editing purposes.

Same with wxGlade.

All in all wxFormBuilder seems a better wxGlade. I really wish a
.deb came into existence.

Karsten


-- 
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser




reply via email to

[Prev in Thread] Current Thread [Next in Thread]