Finishing editation of text field - also 'Comb' functionality

This commit is contained in:
Jakub Melka
2020-05-10 16:41:06 +02:00
parent 691eaff6db
commit 713a7079f8
9 changed files with 405 additions and 59 deletions

View File

@@ -384,6 +384,17 @@ void PDFDrawWidgetBase<BaseWidget>::mousePressEvent(QMouseEvent* event)
event->accept();
}
template<typename BaseWidget>
void PDFDrawWidgetBase<BaseWidget>::mouseDoubleClickEvent(QMouseEvent* event)
{
event->ignore();
if (processEvent<QMouseEvent, &IDrawWidgetInputInterface::mouseDoubleClickEvent>(event))
{
return;
}
}
template<typename BaseWidget>
void PDFDrawWidgetBase<BaseWidget>::mouseReleaseEvent(QMouseEvent* event)
{