From 114a878c64ce6f8223cfd22d76a20eb16d177e5e Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- parts/astyle/astyleconfig.ui | 1332 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1332 insertions(+) create mode 100644 parts/astyle/astyleconfig.ui (limited to 'parts/astyle/astyleconfig.ui') diff --git a/parts/astyle/astyleconfig.ui b/parts/astyle/astyleconfig.ui new file mode 100644 index 00000000..38063bb6 --- /dev/null +++ b/parts/astyle/astyleconfig.ui @@ -0,0 +1,1332 @@ + +AStyleConfig + + + AStyleConfig + + + + 0 + 0 + 711 + 722 + + + + + 7 + 7 + 0 + 0 + + + + Artistic Style Configuration + + + + unnamed + + + + ConfigTabs + + + + 5 + 5 + 0 + 0 + + + + + tab + + + &General + + + + unnamed + + + + StyleGroup + + + + 5 + 0 + 0 + 0 + + + + + 350 + 0 + + + + + 400 + 32767 + + + + &Style + + + + unnamed + + + + Style_UserDefined + + + &User defined + + + true + + + 0 + + + Select options from other tabs. + + + + + Style_ANSI + + + &ANSI + + + 1 + + + ANSI style formatting/indenting. +Brackets Break +Use 4 spaces +Indent Bracket=false +Indent Class=false +Indent Switch=false +Indent NameSpace=false + + + + + Style_KR + + + &Kernighan && Ritchie + + + 2 + + + Kernighan & Ritchie style formatting/indenting. +Brackets Attach +Use 4 spaces +Indent Class=false +Indent Switch=false +Indent Namespaces=false + + + + + + Style_Linux + + + Linu&x + + + 3 + + + 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 + + + + + Style_GNU + + + G&NU + + + 4 + + + GNU style formatting/indenting. +Brackets Break +Use 2 spaces +Indent Block=true +Indent Bracket=false +Indent Class=false +Indent Switch=false +Indent NameSpace=false + + + + + Style_JAVA + + + &JAVA + + + 5 + + + Java mode, with standard java style formatting/indenting. +Java Style +Use 4 spaces +Brackets Attach +Indent Bracket=false +Indent Switch=false + + + + + Style_Global + + + Use Global &Options + + + 6 + + + Use the global defaults. See the menu: +Settings/Configure Kdevelop/Formatting. + + + + + + + FrameFilesFormat + + + + 5 + 5 + 0 + 0 + + + + Files to format + + + + unnamed + + + + GeneralExtension + + + + 5 + 7 + 0 + 0 + + + + *.c *.h +*.cpp *.hpp +*.C *.H +*.cxx *.hxx +*.cc *.hh +*.c++ *.h++ +*.inl *.tlh +*.moc *.xpm +*.diff *.patch +*.java + + + WidgetWidth + + + 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. + + + 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. + + + + + + + + + tab + + + Tab && Bra&ckets + + + + unnamed + + + + FillingGroup + + + + 400 + 32767 + + + + &Filling + + + + unnamed + + + 20 + + + + Fill_EmptyLines + + + Fill empt&y lines + + + Fill empty lines with the white space of their previous lines. + + + + + layout2 + + + + unnamed + + + + Fill_Tabs + + + U&se tabs + + + true + + + + + Fill_SpaceCount + + + false + + + 1 + + + 2 + + + Number of spaces to use per indent. + + + + + Fill_ConvertTabs + + + false + + + Con&vert tabs + + + Convert tabs to spaces. + + + + + spacer13 + + + Horizontal + + + Expanding + + + + 34 + 21 + + + + + + Fill_Spaces + + + NoFocus + + + &Use spaces: + + + + + Fill_TabCount + + + false + + + 1 + + + 4 + + + Number of spaces that will be converted to a tab. +The number of spaces per tab is controled by the editor. + + + + + Fill_ForceTabs + + + false + + + F&orce tabs + + + Force tabs to be used in areas Astyle would prefer to use spaces. + + + + + spacer13_2 + + + Horizontal + + + Expanding + + + + 21 + 21 + + + + + + + + + + BracketGroup + + + + 400 + 32767 + + + + Brackets + + + + unnamed + + + 20 + + + + layout2 + + + + unnamed + + + + Brackets_None + + + &No Change + + + true + + + The brackets will not be changed. + + + + + Brackets_Break + + + &Break + + + false + + + Break brackets from pre-block code (i.e. ANSI C/C++ style). + + + + + Brackets_Attach + + + &Attach + + + Attach brackets to pre-block code (i.e. Java/K&R style). +See also Formatting/Blocks/Break if-else + + + + + Brackets_Linux + + + Linu&x style + + + Break brackets from class/function declarations, +but attach brackets to pre-block command statements. + + + + + + + Brackets_CloseHeaders + + + false + + + Brea&k closing headers + + + Break brackets before closing headers (e.g. 'else', 'catch', ...) +from their immediately preceding closing brackets. + + + + + + + + + tab + + + &Indentation + + + + unnamed + + + + ContinueationGroup + + + + 400 + 32767 + + + + Contin&uation + + + + unnamed + + + + Continue_MaxStatement + + + 40 + + + Indent a maximal # spaces in a continuous statement, +relative to the previous line. + + + + + TextLabel2 + + + Maximum in statement: + + + Indent a maximal # spaces in a continuous statement, +relative to the previous line. + + + + + TextLabel3 + + + Minimum in conditional: + + + Indent a minimal # spaces in a continuous conditional +belonging to a conditional header. + + + + + Continue_MinConditional + + + Twice current + + + -1 + + + -1 + + + Indent a minimal # spaces in a continuous conditional +belonging to a conditional header. + + + + + + + IndentGroup + + + + 400 + 32767 + + + + Indented &Entities + + + + unnamed + + + + Indent_Switches + + + &Switches + + + Indent 'switch' blocks, so that the inner 'case XXX:' +headers are indented in relation to the switch block. + + + + + Indent_Cases + + + &Case statements + + + Indent case blocks from the 'case XXX:' headers. +Case statements not enclosed in blocks are NOT indented. + + + + + Indent_Classes + + + Cla&sses + + + Indent 'class' blocks, so that the inner 'public:', +'protected:' and 'private: headers are indented in +relation to the class block. + + + + + Indent_Brackets + + + &Brackets + + + Add extra indentation to '{' and '}' block brackets. + + + + + Indent_Namespaces + + + &Namespaces + + + Indent the contents of namespace blocks. + + + + + Indent_Labels + + + L&abels + + + false + + + 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). + + + + + Indent_Blocks + + + Bloc&ks + + + Add extra indentation entire blocks (including brackets). + + + + + Indent_Preprocessors + + + true + + + #Prepr&ocessors + + + Indent multi-line #define statements. + + + + + + + + + tab + + + For&matting + + + + unnamed + + + + BlockGroup + + + + 400 + 32767 + + + + Blocks + + + + unnamed + + + + Block_Break + + + &Break blocks + + + 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. + + + + + + Block_BreakAll + + + Break bl&ocks all + + + 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. + + + + + + Block_IfElse + + + Break i&f-else + + + Break 'else if()' statements into two different lines. + + + + + + + PaddingGroup + + + + 400 + 32767 + + + + Padding + + + + unnamed + + + + Pad_ParenthesesIn + + + Add spa&ces inside parentheses + + + Insert space padding around parenthesis on the inside only. + + + + + Pad_ParenthesesOut + + + A&dd spaces outside parentheses + + + Insert space padding around parenthesis on the outside only. + + + + + Pad_ParenthesesUn + + + Remove &unnecessary spaces around parentheses + + + Remove unnecessary space padding around parenthesis. + + + + + Pad_Operators + + + &Add spaces around operators + + + Insert space padding around operators. +Once padded, operators stay padded. +There is no unpad operator option. + + + + + + + OneLinersGroup + + + + 400 + 32767 + + + + One Liners + + + + unnamed + + + + Keep_Statements + + + &Keep one-line statements + + + Do not break lines containing multiple statements into +multiple single-statement lines. + + + + + Keep_Blocks + + + Keep o&ne-line blocks + + + Do not break blocks residing completely on one line. + + + + + + + + + + GroupBox4 + + + + 7 + 7 + 0 + 0 + + + + Example + + + + unnamed + + + + StyleExample + + + + + + 0 + 0 + 0 + + + 220 + 220 + 220 + + + 255 + 255 + 255 + + + 237 + 237 + 237 + + + 110 + 110 + 110 + + + 146 + 146 + 146 + + + 0 + 0 + 0 + + + 255 + 255 + 255 + + + 0 + 0 + 0 + + + 217 + 220 + 194 + + + 220 + 220 + 220 + + + 0 + 0 + 0 + + + 84 + 112 + 152 + + + 255 + 255 + 255 + + + 0 + 0 + 0 + + + 0 + 0 + 0 + + + + + 128 + 128 + 128 + + + 220 + 220 + 220 + + + 255 + 255 + 255 + + + 253 + 253 + 253 + + + 110 + 110 + 110 + + + 146 + 146 + 146 + + + 0 + 0 + 0 + + + 255 + 255 + 255 + + + 128 + 128 + 128 + + + 217 + 220 + 194 + + + 220 + 220 + 220 + + + 0 + 0 + 0 + + + 84 + 112 + 152 + + + 255 + 255 + 255 + + + 0 + 0 + 0 + + + 0 + 0 + 0 + + + + + 0 + 0 + 0 + + + 220 + 220 + 220 + + + 255 + 255 + 255 + + + 253 + 253 + 253 + + + 110 + 110 + 110 + + + 146 + 146 + 146 + + + 0 + 0 + 0 + + + 255 + 255 + 255 + + + 0 + 0 + 0 + + + 217 + 220 + 194 + + + 220 + 220 + 220 + + + 0 + 0 + 0 + + + 84 + 112 + 152 + + + 255 + 255 + 255 + + + 0 + 0 + 0 + + + 0 + 0 + 0 + + + + + + + misc-fixed + + + + Box + + + Plain + + + 0 + + + + + + 0 + + + true + + + + + + + + + Fill_Tabs + toggled(bool) + Fill_TabCount + setEnabled(bool) + + + Fill_Tabs + toggled(bool) + Fill_ForceTabs + setEnabled(bool) + + + Fill_Spaces + toggled(bool) + Fill_SpaceCount + setEnabled(bool) + + + Fill_Spaces + toggled(bool) + Fill_ConvertTabs + setEnabled(bool) + + + Brackets_Attach + toggled(bool) + Brackets_CloseHeaders + setEnabled(bool) + + + Brackets_Linux + toggled(bool) + Brackets_CloseHeaders + setEnabled(bool) + + + + ConfigTabs + Style_UserDefined + Fill_Tabs + Fill_TabCount + Fill_ForceTabs + Fill_SpaceCount + Fill_ConvertTabs + Fill_EmptyLines + Brackets_None + Brackets_CloseHeaders + Indent_Switches + Indent_Cases + Indent_Classes + Indent_Brackets + Indent_Namespaces + Indent_Labels + Indent_Blocks + Indent_Preprocessors + Continue_MaxStatement + Continue_MinConditional + Block_Break + Block_BreakAll + Block_IfElse + Pad_ParenthesesIn + Pad_ParenthesesOut + Pad_ParenthesesUn + Pad_Operators + Keep_Statements + Keep_Blocks + StyleExample + + + kdialog.h + + + allFiles() + + + + -- cgit v1.2.1