mirror of
https://invent.kde.org/graphics/okular
synced 2024-10-13 11:22:24 +00:00
Port of revision 470668
This simplifies the recently introduced toolsystem, and allows to easily add new tools. The active tool is now also stored between sessions. This also adds a measuring tool, which allows to measure position, distance and angle in screen coordinates, as well as a variety of physical units like cm, inch, TeXPoints, ... svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=470681
This commit is contained in:
parent
61450e7ab8
commit
0bfec5173d
|
@ -442,7 +442,7 @@ DocumentWidget* KDVIMultiPage::createDocumentWidget()
|
||||||
|
|
||||||
// Lets not forget the connections we make in the KMultiPage
|
// Lets not forget the connections we make in the KMultiPage
|
||||||
connect(documentWidget, SIGNAL(clearSelection()), this, SLOT(clearSelection()));
|
connect(documentWidget, SIGNAL(clearSelection()), this, SLOT(clearSelection()));
|
||||||
connect(this, SIGNAL(enableMoveTool(bool)), documentWidget, SLOT(slotEnableMoveTool(bool)));
|
connect(this, SIGNAL(switchTool()), documentWidget, SLOT(slotSwitchTool()));
|
||||||
|
|
||||||
// Handle source links
|
// Handle source links
|
||||||
connect(documentWidget, SIGNAL(SRCLink(const QString&, QMouseEvent*, DocumentWidget*)), getRenderer(),
|
connect(documentWidget, SIGNAL(SRCLink(const QString&, QMouseEvent*, DocumentWidget*)), getRenderer(),
|
||||||
|
|
Loading…
Reference in a new issue