Re: Clicking on an item
Brought to you by:
rathmann
From: Luka N. <luk...@gm...> - 2009-05-29 13:19:52
|
I solved the problem but it's messy. It would be very handy to have a "clicked" signal for plot items. Greets, Luka 2009/5/29 Gianluca Sforna <gi...@gm...>: > On Fri, May 29, 2009 at 11:16 AM, Uwe Rathmann <Uwe...@ti...> wrote: >> On Friday 29 May 2009 10:41, Luka Napotnik wrote: >> >>> I'm trying to implement a plot with click support so if the user >>> clicks on a bar, some additional information will be displayed. The >>> problem is that the QwtPlotItem class doesn't have any "clicked" or >>> similar signal. Is there another way to execute an event if a certain >>> item is clicked on the plot? >> >> You could use a QwtPlotPicker, but you have to do the translatation of the >> click position on the canvas into a selected item yourself. > > I'm here since few days, but I'm already seeing a trend... > > Do you think it would make sense to plan and implement specialized > pickers for the different kind of plot items, emitting signals like > the one proposed? > > -- > Gianluca Sforna > > http://morefedora.blogspot.com > http://www.linkedin.com/in/gianlucasforna > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > qwt-interest mailing list > qwt...@li... > https://lists.sourceforge.net/lists/listinfo/qwt-interest > |