Bases: QWidget
Document is a opened file representation.
It contains file management methods and uses Qutepart as an editor widget. Qutepart is available as qutepart attribute.
documentDataChanged()
Signal emitted, when document icon or toolTip has changed (i.e. document has been modified externally)
Explicytly called destructor
Check if document’s file has been modified externally.
This method does not do any file system access, but only returns cached info
Check if document’s file has been deleted externally.
This method does not do any file system access, but only returns cached info
Check if document has been created, but never has been saved on disk
Return the document file absolute path.
None if not set (new document)
Document file name without a path.
None if not set (new document)
Change document file path.
Used when saving first time, or on Save As action
Save the file to file system.
Show QFileDialog if file name is not known. Return False, if user cancelled QFileDialog, True otherwise
Ask for new file name with dialog. Save file
Reload the file from the disk
If child class reimplemented this method, it MUST call method of the parent class for update internal bookkeeping
Tool tip for the opened files model
Icon for the opened files model
Show GUI dialog, go to line, if user accepted it
Print file