Le 19/04/2015 16:02, John Donoghue a écrit :
On 04/16/2015 01:30 PM, John W. Eaton wrote:
On 04/16/2015 12:41 PM, JohnD wrote:
Easiest way (at least for the design of the dialog) is to use the Qt
designer tool to make a ui file for a QDialog similar to what was
done for
the preferences dialog.
I can create a skeleton set of files for doing that if you still need a
volunteer
Yeah, that would be helpful because I have approximately zero
experience using the Qt designer tool.
Thanks,
jwe
Added initial annotations dialog. Not all properties can be changed yet.
http://hg.savannah.gnu.org/hgweb/octave/rev/c164cfc24bdd
Hi,
I had mistakingly answered privately to this email without ccing the
mailing list. So in the mean time I have prepared a changeset (see
attched) that adds context menus to annotation objects in order to be
able to tune the annotations after creation. It works when the
annotation has been created from the interpreter. When created from the
figure/dialog, changes lag behind and must be forced using e.g. mouse
click out of the canvas: try "demo annotation 1" to see the expected
behavior.
I also can provide a changeset (nearly ready) to let the user draw a
rectangular box when creating an annotation textbox instead of just
clicking on the canvas.
@JohnD: currently, using the textbox annotation dialog in "--no-gui"
mode crashes Octave. Also it would be great if this dialog could be
called from the interpreter using a DLD function (and a "More ..." item
in the context menus).