Window represents one Krita mainwindow. A window can have any number of views open on any number of documents.
Methods
Signals
Member documentation
Open a new view on the given document in this window
Parameters
document | (no description provided) |
Return
(no description provided) |
the active window and all its Views. If there are no Views left for a given Document, that Document will also be closed.
creates a QAction object and adds it to the action manager for this Window.
Parameters
id | The unique id for the action. This will be used to propertize the action if any .action file is present |
text | The user-visible text of the action. If empty, the text from the .action file is used. |
menuLocation | a /-separated string that describes which menu the action should be places in. Default is "tools/scripts" |
Return
the new action. |
Return
a list of all the dockers belonging to this window |
Return a handle to the QMainWindow widget. This is useful to e.g. parent dialog boxes and message box.
Return
(no description provided) |
Make the given view active in this window. If the view does not belong to this window, nothing happens.
Parameters
view | (no description provided) |