diff options
author | Christian Kamm <christian.d.kamm@nokia.com> | 2010-09-15 15:27:24 +0200 |
---|---|---|
committer | Christian Kamm <christian.d.kamm@nokia.com> | 2010-09-15 15:27:24 +0200 |
commit | 0f0d6cf8a4c436f00e7cf157654a3494decb5b70 (patch) | |
tree | 4b7c290603ff786b3dc230a57a205abf63c9166b /src/plugins/texteditor/behaviorsettingspage.ui | |
parent | 8df6dd6d7d04791ae0d014b50ceeff5d2212d31f (diff) |
Add tooltip for 'Block indentation style' in editor behavior config.
Reviewed-by: hjk
Diffstat (limited to 'src/plugins/texteditor/behaviorsettingspage.ui')
-rw-r--r-- | src/plugins/texteditor/behaviorsettingspage.ui | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/plugins/texteditor/behaviorsettingspage.ui b/src/plugins/texteditor/behaviorsettingspage.ui index 1f4a5c1838..0a9e92ae08 100644 --- a/src/plugins/texteditor/behaviorsettingspage.ui +++ b/src/plugins/texteditor/behaviorsettingspage.ui @@ -162,6 +162,48 @@ </item> <item row="0" column="1"> <widget class="QComboBox" name="indentBlocksBehavior"> + <property name="toolTip"> + <string><html><head/><body> +Controls the indentation style of curly brace blocks. + +<ul> +<li>Exclude Braces: The braces are not indented. +<pre> +void foo() +{ + if (a) + { + bar(); + } +} +</pre> +</li> + +<li>Include Braces: The braces are indented. The contents of the block are on the same level as the braces. +<pre> +void foo() + { + if (a) + { + bar(); + } + } +</pre> +</li> + +<li>GNU Style: Indent the braces for blocks in statements. The contents are indented twice. +<pre> +void foo() +{ + if (a) + { + bar(); + } +} +</pre> +</li> +</ul></body></html></string> + </property> <item> <property name="text"> <string>Exclude Braces</string> |