- Extending Qt Creator Manual
- QtCreator
- IEditor
- Extending Qt Creator Manual 12.0.1

# IEditor Class

class Core::IEditor

The IEditor class provides an interface for editing an open document in Qt Creator. More...

Header: | #include <coreplugin/editormanager/ieditor.h>
Inherits: | Core::IContext

## Detailed Description

IEditor instances are usually created by a corresponding IEditorFactory.

An IEditor instance provides an editor widget for a single IDocument via the IContext::widget() method. If the the editor type supports it, multiple editors can be opened for the same document. Multiple IEditor instances share ownership of the same IDocument instance in that case.

The IEditor::toolBar() is integrated into the toolbar above the editor widget, next to the document drop down.

See also Core::IEditorFactory and Core::EditorManager.