added circle counter and fixed issue with latest qt

This commit is contained in:
Jeremy Borgman
2020-03-18 10:29:29 -05:00
parent 91ba28c3de
commit 9bb556acff
23 changed files with 716 additions and 5 deletions

View File

@@ -18,6 +18,7 @@
#include "toolfactory.h"
#include "arrow/arrowtool.h"
#include "circle/circletool.h"
#include "circlecount/circlecounttool.h"
#include "copy/copytool.h"
#include "exit/exittool.h"
#include "imgur/imguruploadertool.h"
@@ -103,6 +104,10 @@ CaptureTool* ToolFactory::CreateTool(
case CaptureButton::TYPE_TEXT:
tool = new TextTool(parent);
break;
case CaptureButton::TYPE_CIRCLECOUNT:
tool = new CircleCountTool(parent);
break;
default:
tool = nullptr;
break;