void ToolController::setActiveTool(Tool::Type tool) { if(activeTool() != tool) { m_activeTool = getTool(tool); emit activeToolChanged(tool); emit toolCursorChanged(activeToolCursor()); } }
VideoConnection::VideoConnection(VideoServiceBackendPtr backend) { mBackend = backend; mUnusedProbeDefinitionVector.clear(); connect(mBackend->tracking().get(), &TrackingService::stateChanged, this, &VideoConnection::connectVideoToProbe); connect(mBackend->tracking().get(), SIGNAL(activeToolChanged(QString)), this, SLOT(connectVideoToProbe())); }