qDebug()<<value();
void MyDial::sliderChange(SliderChange change){ if( change == SliderValueChange ) { int newvalue = value(); if( newvalue < 0 ) rotateMe( ((float)abs(newvalue) / (float)abs(minimum())) ); else if( newvalue > 0 ) { qDebug()<<newvalue; rotateMe( (float)abs(newvalue) / (float)abs(maximum()) ); } }}
542: sliderChange(SliderValueChange);543: emit valueChanged(value);
connect(this, SIGNAL(valueChanged(int)), this, SLOT(getvalue(int)));
void MyDial::getvalue(int v){ qDebug()<<v;}