You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1333 lines
64 KiB
1333 lines
64 KiB
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
|
|
<class>AStyleConfig</class>
|
|
<widget class="TQWidget">
|
|
<property name="name">
|
|
<cstring>AStyleConfig</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>711</width>
|
|
<height>722</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>7</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="caption">
|
|
<string>Artistic Style Configuration</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQTabWidget" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>ConfigTabs</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>5</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<widget class="TQWidget">
|
|
<property name="name">
|
|
<cstring>tab</cstring>
|
|
</property>
|
|
<attribute name="title">
|
|
<string>&General</string>
|
|
</attribute>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQButtonGroup">
|
|
<property name="name">
|
|
<cstring>StyleGroup</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>0</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="minimumSize">
|
|
<size>
|
|
<width>350</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>400</width>
|
|
<height>32767</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>&Style</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQRadioButton">
|
|
<property name="name">
|
|
<cstring>Style_UserDefined</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&User defined</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="buttonGroupId">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Select options from other tabs.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQRadioButton">
|
|
<property name="name">
|
|
<cstring>Style_ANSI</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&ANSI</string>
|
|
</property>
|
|
<property name="buttonGroupId">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>ANSI style formatting/indenting.
|
|
Brackets Break
|
|
Use 4 spaces
|
|
Indent Bracket=false
|
|
Indent Class=false
|
|
Indent Switch=false
|
|
Indent NameSpace=false</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQRadioButton">
|
|
<property name="name">
|
|
<cstring>Style_KR</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Kernighan && Ritchie</string>
|
|
</property>
|
|
<property name="buttonGroupId">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Kernighan & Ritchie style formatting/indenting.
|
|
Brackets Attach
|
|
Use 4 spaces
|
|
Indent Class=false
|
|
Indent Switch=false
|
|
Indent Namespaces=false
|
|
</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQRadioButton">
|
|
<property name="name">
|
|
<cstring>Style_Linux</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Linu&x</string>
|
|
</property>
|
|
<property name="buttonGroupId">
|
|
<number>3</number>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Linux mode (8 spaces per indent, break definition-block brackets but attach command-block brackets).
|
|
Brackets Linux
|
|
Use 8 spaces
|
|
Indent Bracket=false
|
|
Indent Class=false
|
|
Indent Switch=false
|
|
Indent NameSpace=false</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQRadioButton">
|
|
<property name="name">
|
|
<cstring>Style_GNU</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>G&NU</string>
|
|
</property>
|
|
<property name="buttonGroupId">
|
|
<number>4</number>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>GNU style formatting/indenting.
|
|
Brackets Break
|
|
Use 2 spaces
|
|
Indent Block=true
|
|
Indent Bracket=false
|
|
Indent Class=false
|
|
Indent Switch=false
|
|
Indent NameSpace=false</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQRadioButton">
|
|
<property name="name">
|
|
<cstring>Style_JAVA</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&JAVA</string>
|
|
</property>
|
|
<property name="buttonGroupId">
|
|
<number>5</number>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Java mode, with standard java style formatting/indenting.
|
|
Java Style
|
|
Use 4 spaces
|
|
Brackets Attach
|
|
Indent Bracket=false
|
|
Indent Switch=false</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQRadioButton">
|
|
<property name="name">
|
|
<cstring>Style_Global</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use Global &Options</string>
|
|
</property>
|
|
<property name="buttonGroupId">
|
|
<number>6</number>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Use the global defaults. See the menu:
|
|
Settings/Configure TDevelop/Formatting.</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="TQButtonGroup">
|
|
<property name="name">
|
|
<cstring>FrameFilesFormat</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>5</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>Files to format</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQTextEdit">
|
|
<property name="name">
|
|
<cstring>GeneralExtension</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>5</hsizetype>
|
|
<vsizetype>7</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="text">
|
|
<string>*.c *.h
|
|
*.cpp *.hpp
|
|
*.C *.H
|
|
*.cxx *.hxx
|
|
*.cc *.hh
|
|
*.c++ *.h++
|
|
*.inl *.tlh
|
|
*.moc *.xpm
|
|
*.diff *.patch
|
|
*.java</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<enum>WidgetWidth</enum>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Set the extensions of files that the
|
|
formatter will try to reformat. Use a
|
|
space separated list, e.g. *.cpp *.hpp.
|
|
Can use * on its own for any file.</string>
|
|
</property>
|
|
<property name="whatsThis" stdset="0">
|
|
<string>Set the extensions of files that the
|
|
formatter will try to reformat. Use a
|
|
space separated list, e.g. *.cpp *.hpp.
|
|
Can use * on its own for any file.</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="TQWidget">
|
|
<property name="name">
|
|
<cstring>tab</cstring>
|
|
</property>
|
|
<attribute name="title">
|
|
<string>Tab && Bra&ckets</string>
|
|
</attribute>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQButtonGroup" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>FillingGroup</cstring>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>400</width>
|
|
<height>32767</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>&Filling</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>20</number>
|
|
</property>
|
|
<widget class="TQCheckBox" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>Fill_EmptyLines</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Fill empt&y lines</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Fill empty lines with the white space of their previous lines.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLayoutWidget" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>layout2</cstring>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQRadioButton" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>Fill_Tabs</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>U&se tabs</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQSpinBox" row="1" column="2">
|
|
<property name="name">
|
|
<cstring>Fill_SpaceCount</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="minValue">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>2</number>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Number of spaces to use per indent.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="1" column="4">
|
|
<property name="name">
|
|
<cstring>Fill_ConvertTabs</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Con&vert tabs</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Convert tabs to spaces.</string>
|
|
</property>
|
|
</widget>
|
|
<spacer row="0" column="1" rowspan="2" colspan="1">
|
|
<property name="name">
|
|
<cstring>spacer13</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>34</width>
|
|
<height>21</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="TQRadioButton" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>Fill_Spaces</cstring>
|
|
</property>
|
|
<property name="focusPolicy">
|
|
<enum>NoFocus</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Use spaces:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQSpinBox" row="0" column="2">
|
|
<property name="name">
|
|
<cstring>Fill_TabCount</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="minValue">
|
|
<number>1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>4</number>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Number of spaces that will be converted to a tab.
|
|
The number of spaces per tab is controled by the editor.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="0" column="4">
|
|
<property name="name">
|
|
<cstring>Fill_ForceTabs</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>F&orce tabs</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Force tabs to be used in areas Astyle would prefer to use spaces.</string>
|
|
</property>
|
|
</widget>
|
|
<spacer row="0" column="3" rowspan="2" colspan="1">
|
|
<property name="name">
|
|
<cstring>spacer13_2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>21</width>
|
|
<height>21</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
</grid>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQButtonGroup" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>BracketGroup</cstring>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>400</width>
|
|
<height>32767</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>Brackets</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>20</number>
|
|
</property>
|
|
<widget class="TQLayoutWidget">
|
|
<property name="name">
|
|
<cstring>layout2</cstring>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQRadioButton">
|
|
<property name="name">
|
|
<cstring>Brackets_None</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&No Change</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>The brackets will not be changed.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQRadioButton">
|
|
<property name="name">
|
|
<cstring>Brackets_Break</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Break</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Break brackets from pre-block code (i.e. ANSI C/C++ style).</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQRadioButton">
|
|
<property name="name">
|
|
<cstring>Brackets_Attach</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Attach</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Attach brackets to pre-block code (i.e. Java/K&R style).
|
|
See also Formatting/Blocks/Break if-else</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQRadioButton">
|
|
<property name="name">
|
|
<cstring>Brackets_Linux</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Linu&x style</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Break brackets from class/function declarations,
|
|
but attach brackets to pre-block command statements.</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Brackets_CloseHeaders</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Brea&k closing headers</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Break brackets before closing headers (e.g. 'else', 'catch', ...)
|
|
from their immediately preceding closing brackets.</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQWidget">
|
|
<property name="name">
|
|
<cstring>tab</cstring>
|
|
</property>
|
|
<attribute name="title">
|
|
<string>&Indentation</string>
|
|
</attribute>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQGroupBox" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>ContinueationGroup</cstring>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>400</width>
|
|
<height>32767</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>Contin&uation</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQSpinBox" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>Continue_MaxStatement</cstring>
|
|
</property>
|
|
<property name="value">
|
|
<number>40</number>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Indent a maximal # spaces in a continuous statement,
|
|
relative to the previous line.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Maximum in statement:</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Indent a maximal # spaces in a continuous statement,
|
|
relative to the previous line.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel3</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Minimum in conditional:</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Indent a minimal # spaces in a continuous conditional
|
|
belonging to a conditional header.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQSpinBox" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>Continue_MinConditional</cstring>
|
|
</property>
|
|
<property name="specialValueText">
|
|
<string>Twice current</string>
|
|
</property>
|
|
<property name="minValue">
|
|
<number>-1</number>
|
|
</property>
|
|
<property name="value">
|
|
<number>-1</number>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Indent a minimal # spaces in a continuous conditional
|
|
belonging to a conditional header.</string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQGroupBox" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>IndentGroup</cstring>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>400</width>
|
|
<height>32767</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>Indented &Entities</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Indent_Switches</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Switches</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Indent 'switch' blocks, so that the inner 'case XXX:'
|
|
headers are indented in relation to the switch block.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Indent_Cases</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Case statements</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Indent case blocks from the 'case XXX:' headers.
|
|
Case statements not enclosed in blocks are NOT indented.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Indent_Classes</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Cla&sses</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Indent 'class' blocks, so that the inner 'public:',
|
|
'protected:' and 'private: headers are indented in
|
|
relation to the class block.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Indent_Brackets</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Brackets</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Add extra indentation to '{' and '}' block brackets.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Indent_Namespaces</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Namespaces</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Indent the contents of namespace blocks.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Indent_Labels</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>L&abels</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Indent labels so that they appear one indent less than
|
|
the current indentation level, rather than being
|
|
flushed completely to the left (which is the default).</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Indent_Blocks</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Bloc&ks</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Add extra indentation entire blocks (including brackets).</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Indent_Preprocessors</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>#Prepr&ocessors</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Indent multi-line #define statements.</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQWidget">
|
|
<property name="name">
|
|
<cstring>tab</cstring>
|
|
</property>
|
|
<attribute name="title">
|
|
<string>For&matting</string>
|
|
</attribute>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQButtonGroup" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>BlockGroup</cstring>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>400</width>
|
|
<height>32767</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>Blocks</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQCheckBox" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>Block_Break</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Break blocks</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Insert empty lines around unrelated blocks, labels, classes,...
|
|
Known problems:
|
|
|
|
1. If a statement is NOT part of a block,
|
|
the following statements are all double spaced.
|
|
Statements enclosed in a block are formatted
|
|
correctly.
|
|
|
|
2. Comments are broken from the block.
|
|
</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>Block_BreakAll</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Break bl&ocks all</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Like --break-blocks, except also insert empty lines
|
|
around closing headers (e.g. 'else', 'catch', ...).
|
|
|
|
Known problems:
|
|
|
|
1. If a statement is NOT part of a block,
|
|
the following statements are all double spaced.
|
|
Statements enclosed in a block are formatted
|
|
correctly.
|
|
|
|
2. Comments are broken from the block.
|
|
</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>Block_IfElse</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Break i&f-else</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Break 'else if()' statements into two different lines.</string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="TQButtonGroup" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>PaddingGroup</cstring>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>400</width>
|
|
<height>32767</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>Padding</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Pad_ParenthesesIn</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Add spa&ces inside parentheses</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Insert space padding around parenthesis on the inside only.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Pad_ParenthesesOut</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>A&dd spaces outside parentheses</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Insert space padding around parenthesis on the outside only.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Pad_ParenthesesUn</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Remove &unnecessary spaces around parentheses</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Remove unnecessary space padding around parenthesis.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Pad_Operators</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Add spaces around operators</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Insert space padding around operators.
|
|
Once padded, operators stay padded.
|
|
There is no unpad operator option.</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
<widget class="TQGroupBox" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>OneLinersGroup</cstring>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>400</width>
|
|
<height>32767</height>
|
|
</size>
|
|
</property>
|
|
<property name="title">
|
|
<string>One Liners</string>
|
|
</property>
|
|
<vbox>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Keep_Statements</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Keep one-line statements</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Do not break lines containing multiple statements into
|
|
multiple single-statement lines.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="TQCheckBox">
|
|
<property name="name">
|
|
<cstring>Keep_Blocks</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Keep o&ne-line blocks</string>
|
|
</property>
|
|
<property name="toolTip" stdset="0">
|
|
<string>Do not break blocks residing completely on one line.</string>
|
|
</property>
|
|
</widget>
|
|
</vbox>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
</widget>
|
|
<widget class="TQGroupBox" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>GroupBox4</cstring>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy>
|
|
<hsizetype>7</hsizetype>
|
|
<vsizetype>7</vsizetype>
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="title">
|
|
<string>Example</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<widget class="TQMultiLineEdit" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>StyleExample</cstring>
|
|
</property>
|
|
<property name="palette">
|
|
<palette>
|
|
<active>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
<color>
|
|
<red>220</red>
|
|
<green>220</green>
|
|
<blue>220</blue>
|
|
</color>
|
|
<color>
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
<color>
|
|
<red>237</red>
|
|
<green>237</green>
|
|
<blue>237</blue>
|
|
</color>
|
|
<color>
|
|
<red>110</red>
|
|
<green>110</green>
|
|
<blue>110</blue>
|
|
</color>
|
|
<color>
|
|
<red>146</red>
|
|
<green>146</green>
|
|
<blue>146</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
<color>
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
<color>
|
|
<red>217</red>
|
|
<green>220</green>
|
|
<blue>194</blue>
|
|
</color>
|
|
<color>
|
|
<red>220</red>
|
|
<green>220</green>
|
|
<blue>220</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
<color>
|
|
<red>84</red>
|
|
<green>112</green>
|
|
<blue>152</blue>
|
|
</color>
|
|
<color>
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</active>
|
|
<disabled>
|
|
<color>
|
|
<red>128</red>
|
|
<green>128</green>
|
|
<blue>128</blue>
|
|
</color>
|
|
<color>
|
|
<red>220</red>
|
|
<green>220</green>
|
|
<blue>220</blue>
|
|
</color>
|
|
<color>
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
<color>
|
|
<red>253</red>
|
|
<green>253</green>
|
|
<blue>253</blue>
|
|
</color>
|
|
<color>
|
|
<red>110</red>
|
|
<green>110</green>
|
|
<blue>110</blue>
|
|
</color>
|
|
<color>
|
|
<red>146</red>
|
|
<green>146</green>
|
|
<blue>146</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
<color>
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
<color>
|
|
<red>128</red>
|
|
<green>128</green>
|
|
<blue>128</blue>
|
|
</color>
|
|
<color>
|
|
<red>217</red>
|
|
<green>220</green>
|
|
<blue>194</blue>
|
|
</color>
|
|
<color>
|
|
<red>220</red>
|
|
<green>220</green>
|
|
<blue>220</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
<color>
|
|
<red>84</red>
|
|
<green>112</green>
|
|
<blue>152</blue>
|
|
</color>
|
|
<color>
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</disabled>
|
|
<inactive>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
<color>
|
|
<red>220</red>
|
|
<green>220</green>
|
|
<blue>220</blue>
|
|
</color>
|
|
<color>
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
<color>
|
|
<red>253</red>
|
|
<green>253</green>
|
|
<blue>253</blue>
|
|
</color>
|
|
<color>
|
|
<red>110</red>
|
|
<green>110</green>
|
|
<blue>110</blue>
|
|
</color>
|
|
<color>
|
|
<red>146</red>
|
|
<green>146</green>
|
|
<blue>146</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
<color>
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
<color>
|
|
<red>217</red>
|
|
<green>220</green>
|
|
<blue>194</blue>
|
|
</color>
|
|
<color>
|
|
<red>220</red>
|
|
<green>220</green>
|
|
<blue>220</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
<color>
|
|
<red>84</red>
|
|
<green>112</green>
|
|
<blue>152</blue>
|
|
</color>
|
|
<color>
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
<color>
|
|
<red>0</red>
|
|
<green>0</green>
|
|
<blue>0</blue>
|
|
</color>
|
|
</inactive>
|
|
</palette>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<family>misc-fixed</family>
|
|
</font>
|
|
</property>
|
|
<property name="frameShape">
|
|
<enum>Box</enum>
|
|
</property>
|
|
<property name="frameShadow">
|
|
<enum>Plain</enum>
|
|
</property>
|
|
<property name="lineWidth">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="text">
|
|
<string></string>
|
|
</property>
|
|
<property name="undoDepth">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>Fill_Tabs</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>Fill_TabCount</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>Fill_Tabs</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>Fill_ForceTabs</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>Fill_Spaces</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>Fill_SpaceCount</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>Fill_Spaces</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>Fill_ConvertTabs</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>Brackets_Attach</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>Brackets_CloseHeaders</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>Brackets_Linux</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>Brackets_CloseHeaders</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
</connections>
|
|
<tabstops>
|
|
<tabstop>ConfigTabs</tabstop>
|
|
<tabstop>Style_UserDefined</tabstop>
|
|
<tabstop>Fill_Tabs</tabstop>
|
|
<tabstop>Fill_TabCount</tabstop>
|
|
<tabstop>Fill_ForceTabs</tabstop>
|
|
<tabstop>Fill_SpaceCount</tabstop>
|
|
<tabstop>Fill_ConvertTabs</tabstop>
|
|
<tabstop>Fill_EmptyLines</tabstop>
|
|
<tabstop>Brackets_None</tabstop>
|
|
<tabstop>Brackets_CloseHeaders</tabstop>
|
|
<tabstop>Indent_Switches</tabstop>
|
|
<tabstop>Indent_Cases</tabstop>
|
|
<tabstop>Indent_Classes</tabstop>
|
|
<tabstop>Indent_Brackets</tabstop>
|
|
<tabstop>Indent_Namespaces</tabstop>
|
|
<tabstop>Indent_Labels</tabstop>
|
|
<tabstop>Indent_Blocks</tabstop>
|
|
<tabstop>Indent_Preprocessors</tabstop>
|
|
<tabstop>Continue_MaxStatement</tabstop>
|
|
<tabstop>Continue_MinConditional</tabstop>
|
|
<tabstop>Block_Break</tabstop>
|
|
<tabstop>Block_BreakAll</tabstop>
|
|
<tabstop>Block_IfElse</tabstop>
|
|
<tabstop>Pad_ParenthesesIn</tabstop>
|
|
<tabstop>Pad_ParenthesesOut</tabstop>
|
|
<tabstop>Pad_ParenthesesUn</tabstop>
|
|
<tabstop>Pad_Operators</tabstop>
|
|
<tabstop>Keep_Statements</tabstop>
|
|
<tabstop>Keep_Blocks</tabstop>
|
|
<tabstop>StyleExample</tabstop>
|
|
</tabstops>
|
|
<includes>
|
|
<include location="global" impldecl="in implementation">kdialog.h</include>
|
|
</includes>
|
|
<slots>
|
|
<slot>allFiles()</slot>
|
|
</slots>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
<layoutfunctions spacing="KDialog::spacingHint" margin="KDialog::marginHint"/>
|
|
</UI>
|