PDA

View Full Version : QwtSamplingThread



David812
25th May 2011, 15:59
Hello everybody,

I've just a qusestion regarding Qthread in particular QwtSamplingThread :confused:

Is it possible to instantiate a class ihnerited from QwtSamplingThread and to start it (the created object) in unother class (let's say mainwindow)??
or is possible to do this only to the program's main file?


I've tried to implement the first solution but the compiler says me i've re-defined the Samplingthread class, the second solution instead works properly.

Thanks in advance for any suggestion
Andrea

high_flyer
26th May 2011, 10:16
I've tried to implement the first solution but the compiler says me i've re-defined the Samplingthread class
Show your code.