Optional ReadonlyautoWhether to automatically start the preferred kernel
Optional ReadonlycanWhether the widgets can start a kernel when opened.
Optional ExperimentalcontentIdentifier of the content provider required for the widget (if any).
Optional ReadonlydefaultThe file types for which the factory should be the default.
Optional ReadonlydefaultThe file types for which the factory should be the default for rendering, if that is different than the default factory (which may be for editing) If undefined, then it will fall back on the default file type.
ReadonlyfileThe file types the widget can view.
ReadonlyisOptional ReadonlylabelThe label of the widget to display in dialogs. If not given, name is used instead.
Optional ReadonlymodelThe name of the document model type.
ReadonlynameThe name of the widget to display in dialogs.
Optional ReadonlypreferWhether the widgets prefer having a kernel started.
Optional ReadonlyreadWhether the widget factory is read only.
Optional ReadonlyshutdownWhether the kernel should be shutdown when the widget is closed.
Optional ReadonlytoolbarA function producing toolbar widgets, overriding the default toolbar widgets.
Optional ReadonlytranslatorThe application language translator.
A signal emitted when a new widget is created.
Create a new widget given a context.
Optionalsource: IDocumentWidget<FileEditor, DocumentRegistry.IModel>Dispose of the resources held by the object.
If the object's dispose method is called more than once, all
calls made after the first will be a no-op.
It is undefined behavior to use any functionality of the object after it has been disposed unless otherwise explicitly noted.
The interface for a file editor widget factory.