Boost logo

Boost :

From: Philippe A. Bouchard (philippe_at_[hidden])
Date: 2003-07-30 02:09:14


It seems really great & simple to use, but one thing I would like is default
settings. When I insert a string, I would like a lineedit to appear by
itself. If I insert a list<string>, a listbox should appear immediately.
Why? Often you want to create an internal application a fast as you can and
you don't want to spend time learning too much new function names. Think of
<iostream>; if you want to have special formattings then you include
<iomanip> and you start playing around with floating point precision, right
alignments, etc. But you don't really need <iomanip>.

What if I want 3, 4 or 11 columns?

Associating data type with widget type at run-time means you need to
traverse the entire tree of data & widgets and this can never be done
automatically? I would really like having the option of flushing out my
list to some uiout stream... Boost would then be way out ;)

I would like to get more involved and start writing down my ideas but I am
not working on a project like this actually, professionnally speaking. Good
luck!

Philippe A. Bouchard

Brock Peabody wrote:
> I've got a GUI library that seems (to me :) )to be a pretty good start
> on an easy to use, platform independend GUI library. It allows
> constructs along the lines of:
>
> gui_application<employee> app = column(
>
> row("First: ", &employee::first_name, "last: ",
> &employee::last_name),
>
> row("Job type: ", combo_box(make_job_type_map(),
> &employee::job_type));
>
>
> employee e
>
> app.set(e);
>
> app.get(e);
>
> There is a lot more to it than just this. It is being used in the
> real world, for an employee maintenance/human resources system that
> will be
> in 800 restaurants.
>
> Is there any interest in seeing this code and an example as a
> proof-of-concept for a possible future boost library? I would
> recommend starting the implementation from scratch rather than
> building on much of
> my code, but I think I've got the right idea on the interface. It
> might
> take me a couple of days (of free time) to get an example together and
> remove dependencies on company code.
>
> Brock Peabody
> Software Development Manager
> NPC International
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk