octave-maintainers
[Top][All Lists]
Advanced

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

RE: interactively adding text annotations to Qt plots


From: JohnD
Subject: RE: interactively adding text annotations to Qt plots
Date: Mon, 20 Apr 2015 15:54:15 -0400


> -----Original Message-----
> From: John W. Eaton [mailto:address@hidden
> Sent: Monday, April 20, 2015 2:11 PM
> To: Pantxo Diribarne; John Donoghue
> Cc: address@hidden
> Subject: Re: interactively adding text annotations to Qt plots
> 
> On 04/20/2015 02:38 AM, Pantxo Diribarne wrote:
> > 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).
> 
> Thanks to both of you for working on this feature.
> 
> Is it possible to disable the box around the textbox?  I know, it's a
textBOX, but it
> would be nice to just be able to add labels without the box.
> 
> jwe
> 

Should be just able to add as one of the properties returned back from the
dialog.
Line style = none ?
I'll change it to that until the point where the box fields are enabled 




reply via email to

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