PDA

View Full Version : set QwtPlotCurve invisible



gyre
19th December 2007, 01:26
Hi!
Is there a way how I can set a plotcurve invisible ? I thought it has dettach method as it has attach but it doesnt...
Does anyone know how to lets say hide and redisplaying of a curve upon some event ?
Thanks

gyre
19th December 2007, 01:28
Hi!
Is there a way how I can set a plotcurve invisible ? I thought it has dettach method as it has attach but it doesnt...

damn it!...my english will kill me :D
it has deTach() method with only 1 "t" in it :)

Weilor
19th December 2007, 08:53
what about QwtPlotCurve::setVisible(bool) ?? If you detach it, the curve will be deleted and you have to attach it again later.

HTH