Custom structures
struct UT372Data { UT372Model model; UT372RPMModel rpmModel; double currentValue; UT372TimeFormat currentTime; double MMAValue; bool isSend = false; };
Add the following function before a signal connection and a groove can handle
qRegisterMetaType <UT372Data> ( "UT372Data"); // need to add this code when the custom data type used to transmit data signals and slots
connect(m_USBThread,&USBThread::sendData,this,&Widget::receiveUT372Data);