Text information about tool processing

This commit is contained in:
Jakub Melka
2020-02-29 14:40:29 +01:00
parent 475103f5d5
commit 7db167eea3
3 changed files with 21 additions and 0 deletions

View File

@ -260,6 +260,7 @@ PDFViewerMainWindow::PDFViewerMainWindow(QWidget* parent) :
m_toolManager = new pdf::PDFToolManager(m_pdfWidget->getDrawWidgetProxy(), actions, this, this);
m_pdfWidget->setToolManager(m_toolManager);
updateMagnifierToolSettings();
connect(m_toolManager, &pdf::PDFToolManager::messageDisplayRequest, statusBar(), &QStatusBar::showMessage);
connect(m_pdfWidget->getDrawWidgetProxy(), &pdf::PDFDrawWidgetProxy::drawSpaceChanged, this, &PDFViewerMainWindow::onDrawSpaceChanged);
connect(m_pdfWidget->getDrawWidgetProxy(), &pdf::PDFDrawWidgetProxy::pageLayoutChanged, this, &PDFViewerMainWindow::onPageLayoutChanged);