-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add code style template for QtCreator
- Loading branch information
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE QtCreatorCodeStyle> | ||
<!-- Written by QtCreator 3.5.1, 2015-12-03T12:12:11. --> | ||
<qtcreator> | ||
<data> | ||
<variable>CodeStyleData</variable> | ||
<valuemap type="QVariantMap"> | ||
<value type="bool" key="AlignAssignments">false</value> | ||
<value type="bool" key="AutoSpacesForTabs">false</value> | ||
<value type="bool" key="BindStarToIdentifier">false</value> | ||
<value type="bool" key="BindStarToLeftSpecifier">true</value> | ||
<value type="bool" key="BindStarToRightSpecifier">false</value> | ||
<value type="bool" key="BindStarToTypeName">true</value> | ||
<value type="bool" key="ExtraPaddingForConditionsIfConfusingAlign">true</value> | ||
<value type="bool" key="IndentAccessSpecifiers">true</value> | ||
<value type="bool" key="IndentBlockBody">true</value> | ||
<value type="bool" key="IndentBlockBraces">false</value> | ||
<value type="bool" key="IndentBlocksRelativeToSwitchLabels">false</value> | ||
<value type="bool" key="IndentClassBraces">false</value> | ||
<value type="bool" key="IndentControlFlowRelativeToSwitchLabels">true</value> | ||
<value type="bool" key="IndentDeclarationsRelativeToAccessSpecifiers">true</value> | ||
<value type="bool" key="IndentEnumBraces">false</value> | ||
<value type="bool" key="IndentFunctionBody">true</value> | ||
<value type="bool" key="IndentFunctionBraces">false</value> | ||
<value type="bool" key="IndentNamespaceBody">false</value> | ||
<value type="bool" key="IndentNamespaceBraces">false</value> | ||
<value type="int" key="IndentSize">2</value> | ||
<value type="bool" key="IndentStatementsRelativeToSwitchLabels">true</value> | ||
<value type="bool" key="IndentSwitchLabels">true</value> | ||
<value type="int" key="PaddingMode">2</value> | ||
<value type="bool" key="SpacesForTabs">true</value> | ||
<value type="int" key="TabSize">2</value> | ||
</valuemap> | ||
</data> | ||
<data> | ||
<variable>DisplayName</variable> | ||
<value type="QString">QGIS</value> | ||
</data> | ||
</qtcreator> |
229d7ec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Thanks a lot. I was working on something like this today too but you beat me to it.
229d7ec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want you can review this one:
qgis/QGIS-Website#297