Switched from QtHelp to using straight HTML files for help.

This is because AppImage (for linux) is readonly and QtHelp requires
write access. But, HTML files shouldn't.
This commit is contained in:
Collin Kidder
2019-08-18 18:52:15 -04:00
parent b6a15a28cd
commit ca9b83ddc9
80 changed files with 16502 additions and 214 deletions
+3 -3
View File
@@ -353,7 +353,7 @@ UDSScriptHelper::UDSScriptHelper(QJSEngine *engine)
handler = new UDS_HANDLER;
connect(handler, SIGNAL(newUDSMessage(UDS_MESSAGE)), this, SLOT(newUDSMessage(UDS_MESSAGE)));
handler->setReception(true);
handler->setFlowCtrl(true);
handler->setFlowCtrl(true); //uds potentially requires flow control so turn it on
}
void UDSScriptHelper::clearFilters()
@@ -408,9 +408,9 @@ void UDSScriptHelper::setRxCallback(QJSValue cb)
void UDSScriptHelper::newUDSMessage(UDS_MESSAGE msg)
{
//qDebug() << "udsScriptHelper got a UDS message";
qDebug() << "UDS script helper. Meg data len: " << msg.len;
qDebug() << "UDS script helper. Msg data len: " << msg.len;
if (!gotFrameFunction.isCallable()) return; //nothing to do if we can't even call the function
//qDebug() << "Got frame in script interface";
qDebug() << "Got frame in script interface";
QJSValueList args;
args << msg.bus << msg.ID << msg.service << msg.subFunc << msg.len;