octave-maintainers
[Top][All Lists]
Advanced

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

Re: Yet another GUI Builder for Octave


From: Patrick Noffke
Subject: Re: Yet another GUI Builder for Octave
Date: Fri, 15 Jul 2016 13:40:06 -0500



On Fri, Jul 15, 2016 at 5:28 AM, Andreas Weber <address@hidden> wrote:
Am 13.07.2016 um 16:54 schrieb marcalexandre:
> The idea is, in a first approach, to use a generic GUI Builder, Glade, and
> parse the glade file to generate the equivalent m-file, in the same way like
> GUIDE.

Nice. Interesting approach. I also thought about creating a GUI builder
and was playing with the ui* function the last days
(http://www.zimagez.com/zimage/bildschirmfoto-10072016-222917.php).

My idea was to build the GUI-builder directly in Octave with ui*
functions so I'm able to move objects, change color, font and so on and
immediately see the change. And there wouldn't be a need for another
parser/converter.


It's possible the entire Qt Designer (the UI "builder" tool embedded in Qt Creator) is a plugin that you could embed within the Octave GUI.  I see in my Qt install there is a libDesigner shared library under the plugins directory:
~/Qt/Tools/QtCreator/lib/qtcreator/plugins/

The Designer would produce the .ui (XML) files.  Qt Creator has the ability to navigate to source code from the designer (i.e. go to a slot (and add one if it doesn't exist)).  Might be worth looking at how that is done for round-trip-editing .m files associated with a GUI file.

FWIW you can run the Qt Designer in stand-alone mode to strictly edit the .ui files.  I suspect in that case the Designer application is a very thin wrapper around the plugin.

Pat

reply via email to

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