Extending Qt Creator Manual | EditorConfiguration

Extending Qt Creator Manual 4.5.2

# EditorConfiguration Class

(ProjectExplorer::EditorConfiguration)

- List of all members, including inherited members

## Public Functions

| EditorConfiguration()
| ~EditorConfiguration() override
const TextEditor::BehaviorSettings & | behaviorSettings() const
void | cloneGlobalSettings()
TextEditor::ICodeStylePreferences * | codeStyle() const
TextEditor::ICodeStylePreferences * | codeStyle(Core::Id languageId) const
QMap<Core::Id, TextEditor::ICodeStylePreferences *> | codeStyles() const
void | configureEditor(TextEditor::BaseTextEditor *textEditor) const
void | deconfigureEditor(TextEditor::BaseTextEditor *textEditor) const
const TextEditor::ExtraEncodingSettings & | extraEncodingSettings() const
void | fromMap(const QVariantMap &map)
const TextEditor::MarginSettings & | marginSettings() const
void | setBehaviorSettings(const TextEditor::BehaviorSettings &settings)
void | setExtraEncodingSettings(const TextEditor::ExtraEncodingSettings &settings)
void | setMarginSettings(const TextEditor::MarginSettings &settings)
void | setShowWrapColumn(bool onoff)
void | setStorageSettings(const TextEditor::StorageSettings &settings)
void | setTextCodec(QTextCodec *textCodec)
void | setTypingSettings(const TextEditor::TypingSettings &settings)
void | setUseGlobalSettings(bool use)
void | setWrapColumn(int column)
void | slotAboutToRemoveProject(ProjectExplorer::Project *project)
const TextEditor::StorageSettings & | storageSettings() const
QTextCodec * | textCodec() const
QVariantMap | toMap() const
const TextEditor::TypingSettings & | typingSettings() const
bool | useGlobalSettings() const

## Signals

void | behaviorSettingsChanged(const TextEditor::BehaviorSettings &)
void | extraEncodingSettingsChanged(const TextEditor::ExtraEncodingSettings &)
void | marginSettingsChanged(const TextEditor::MarginSettings &)
void | storageSettingsChanged(const TextEditor::StorageSettings &)
void | typingSettingsChanged(const TextEditor::TypingSettings &)

## Member Function Documentation

### EditorConfiguration::EditorConfiguration()

Default constructs an instance of EditorConfiguration.

### EditorConfiguration::~EditorConfiguration()

Destroys the instance of EditorConfiguration.

### const TextEditor::BehaviorSettings &EditorConfiguration::behaviorSettings() const

See also setBehaviorSettings().

### `[signal]` void EditorConfiguration::behaviorSettingsChanged(const TextEditor::BehaviorSettings &)

### void EditorConfiguration::cloneGlobalSettings()

### TextEditor::ICodeStylePreferences *EditorConfiguration::codeStyle() const

### TextEditor::ICodeStylePreferences *EditorConfiguration::codeStyle(Core::Id languageId) const

### QMap<Core::Id, TextEditor::ICodeStylePreferences *> EditorConfiguration::codeStyles() const

### void EditorConfiguration::configureEditor(TextEditor::BaseTextEditor *textEditor) const

### void EditorConfiguration::deconfigureEditor(TextEditor::BaseTextEditor *textEditor) const

### const TextEditor::ExtraEncodingSettings &EditorConfiguration::extraEncodingSettings() const

See also setExtraEncodingSettings().

### `[signal]` void EditorConfiguration::extraEncodingSettingsChanged(const TextEditor::ExtraEncodingSettings &)

### void EditorConfiguration::fromMap(const QVariantMap &map)

### const TextEditor::MarginSettings &EditorConfiguration::marginSettings() const

See also setMarginSettings().

### `[signal]` void EditorConfiguration::marginSettingsChanged(const TextEditor::MarginSettings &)

### void EditorConfiguration::setBehaviorSettings(const TextEditor::BehaviorSettings &settings)

See also behaviorSettings().

### void EditorConfiguration::setExtraEncodingSettings(const TextEditor::ExtraEncodingSettings &settings)

See also extraEncodingSettings().

### void EditorConfiguration::setMarginSettings(const TextEditor::MarginSettings &settings)

See also marginSettings().

### void EditorConfiguration::setShowWrapColumn(bool onoff)

### void EditorConfiguration::setStorageSettings(const TextEditor::StorageSettings &settings)

See also storageSettings().

### void EditorConfiguration::setTextCodec(QTextCodec *textCodec)

See also textCodec().

### void EditorConfiguration::setTypingSettings(const TextEditor::TypingSettings &settings)

See also typingSettings().

### void EditorConfiguration::setUseGlobalSettings(bool use)

See also useGlobalSettings().

### void EditorConfiguration::setWrapColumn(int column)

### void EditorConfiguration::slotAboutToRemoveProject(ProjectExplorer::Project *project)

### const TextEditor::StorageSettings &EditorConfiguration::storageSettings() const

See also setStorageSettings().

### `[signal]` void EditorConfiguration::storageSettingsChanged(const TextEditor::StorageSettings &)

### QTextCodec *EditorConfiguration::textCodec() const

See also setTextCodec().

### QVariantMap EditorConfiguration::toMap() const

### const TextEditor::TypingSettings &EditorConfiguration::typingSettings() const

See also setTypingSettings().

### `[signal]` void EditorConfiguration::typingSettingsChanged(const TextEditor::TypingSettings &)

### bool EditorConfiguration::useGlobalSettings() const

See also setUseGlobalSettings().