Add hint to text editor settings pointing to coding style

The tab and indentation settings in Text Editor > Behavior are only used
for non-code files. Add a hint with links to the respective coding style
settings.

Change-Id: I1d7c1154269c4914d511ef6ef3308a2b1f933d52
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
Eike Ziller
2013-04-04 11:17:13 +02:00
parent 43969c4e56
commit 52575f1c62
9 changed files with 103 additions and 21 deletions

View File

@@ -30,6 +30,8 @@
#include "behaviorsettingswidget.h"
#include "ui_behaviorsettingswidget.h"
#include "tabsettingswidget.h"
#include <texteditor/typingsettings.h>
#include <texteditor/storagesettings.h>
#include <texteditor/behaviorsettings.h>
@@ -243,6 +245,11 @@ QString BehaviorSettingsWidget::collectUiKeywords() const
return keywords;
}
TabSettingsWidget *BehaviorSettingsWidget::tabSettingsWidget() const
{
return d->m_ui.tabPreferencesWidget->tabSettingsWidget();
}
void BehaviorSettingsWidget::slotTypingSettingsChanged()
{
TypingSettings settings;