document_action¶
ModelContext, GuiContext and Actions that are used in the context of editing a document.
- class camelot.admin.action.document_action.DocumentActionGuiContext[source]¶
The GUI context for an camelot.admin.action.ApplicationActionGuiContext. On top of the attributes of the camelot.admin.action.base.ApplicationActionGuiContext, this context contains :
- document¶
the QtGui.QTextDocument upon which this action is acting
- view¶
the view that displays the document