Changeset View
Changeset View
Standalone View
Standalone View
plugins/python/documenttools/documenttools.py
Context not available. | |||||
10 | https://creativecommons.org/publicdomain/zero/1.0/legalcode | 10 | https://creativecommons.org/publicdomain/zero/1.0/legalcode | ||
---|---|---|---|---|---|
11 | ''' | 11 | ''' | ||
12 | import krita | 12 | import krita | ||
13 | from documenttools import uidocumenttools | 13 | from . import uidocumenttools | ||
14 | 14 | | |||
15 | 15 | | |||
16 | class DocumentToolsExtension(krita.Extension): | 16 | class DocumentToolsExtension(krita.Extension): | ||
Context not available. | |||||
20 | 20 | | |||
21 | def setup(self): | 21 | def setup(self): | ||
22 | pass | 22 | pass | ||
23 | 23 | | |||
24 | def createActions(self, window): | 24 | def createActions(self, window): | ||
25 | action = window.createAction("document_tools", "Document Tools") | 25 | action = window.createAction("document_tools", "Document Tools") | ||
26 | action.setToolTip("Plugin to manipulate properties of selected documents") | 26 | action.setToolTip("Plugin to manipulate properties of selected documents") | ||
Context not available. |