Eventfilter on axis scales
Brought to you by:
rathmann
From: Uffe N. <uf...@op...> - 2004-03-20 15:53:13
|
I have subclassed QwtPlot (4.2.0rc1) and want to install an eventfilter to handle muse click and moves on the axis scales. My first hunch was to try const QwtScale *pScale = axis(i); if ( pScale ) pScale->installEventFilter( this ); but then I dicovered that axis() retutns const QwtScale*. Another option might be to reimplement virtual bool event(QEvent *) in myQwtPlot() but I am not so sure it would be the best option. Any views on this matter? -- _____________________________________________________________ Web-based SMS services available at http://www.operamail.com. From your mailbox to local or overseas cell phones. Powered by Outblaze |