Signature plugin: text edit box

This commit is contained in:
Jakub Melka
2022-03-26 19:26:32 +01:00
parent 5a8b1ca670
commit 22e8fd4522
13 changed files with 1679 additions and 1060 deletions

View File

@ -122,6 +122,7 @@ void SignaturePlugin::setWidget(pdf::PDFWidget* widget)
rejectMarkFile.close();
}
m_tools[TextTool] = new pdf::PDFCreatePCElementTextTool(widget->getDrawWidgetProxy(), &m_scene, createTextAction, this);
m_tools[FreehandCurveTool] = new pdf::PDFCreatePCElementFreehandCurveTool(widget->getDrawWidgetProxy(), &m_scene, createFreehandCurveAction, this);
m_tools[AcceptMarkTool] = new pdf::PDFCreatePCElementSvgTool(widget->getDrawWidgetProxy(), &m_scene, createAcceptMarkAction, acceptMarkContent, this);
m_tools[RejectMarkTool] = new pdf::PDFCreatePCElementSvgTool(widget->getDrawWidgetProxy(), &m_scene, createRejectMarkAction, rejectMarkContent, this);