Of course it has to look like this.
Qt Code:
{ ... int radius, double direction, { ... } };To copy to clipboard, switch view to plain text mode
If this doesn't help start the debugger, set a breakpoint in QwtDial::drawNeedle and check if it is called from myCompass::drawNeedle.
Uwe
Bookmarks