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.
tdesdk/umbrello/umbrello/dialogs/codegenerationoptionsbase.ui

533 lines
28 KiB

<!DOCTYPE UI><UI version="3.1" stdsetdef="1">
<class>CodeGenerationOptionsBase</class>
<widget class="TQWidget">
<property name="name">
<cstring>CodeGenerationOptionsBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>581</width>
<height>525</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>3</hsizetype>
<vsizetype>3</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="caption">
<string>Code Generation Options</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQTabWidget" row="0" column="0">
<property name="name">
<cstring>tabWidget</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</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="TQLayoutWidget">
<property name="name">
<cstring>layout1</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>m_SelectLanguageGroup</cstring>
</property>
<property name="title">
<string>Language</string>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQComboBox">
<property name="name">
<cstring>m_SelectLanguageBox</cstring>
</property>
</widget>
</hbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>GroupBox1</cstring>
</property>
<property name="title">
<string>Folders</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>TextLabel2</cstring>
</property>
<property name="text">
<string>Write all generated files to folder:</string>
</property>
</widget>
<widget class="TQPushButton" row="1" column="2">
<property name="name">
<cstring>m_browseOutput</cstring>
</property>
<property name="text">
<string>Bro&amp;wse...</string>
</property>
</widget>
<widget class="TQPushButton" row="3" column="2">
<property name="name">
<cstring>m_browseHeadings</cstring>
</property>
<property name="text">
<string>B&amp;rowse...</string>
</property>
</widget>
<widget class="TQCheckBox" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>m_includeHeadings</cstring>
</property>
<property name="text">
<string>&amp;Include heading files from folder:</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="TQLineEdit" row="1" column="1">
<property name="name">
<cstring>m_outputDir</cstring>
</property>
<property name="whatsThis" stdset="0">
<string>Files generated by Code Generator will be written to this folder</string>
</property>
</widget>
<widget class="TQLineEdit" row="3" column="1">
<property name="name">
<cstring>m_headingsDir</cstring>
</property>
<property name="whatsThis" stdset="0">
<string>Files in this folder will be used as heading files in the generated code</string>
</property>
</widget>
<spacer row="1" column="0">
<property name="name">
<cstring>Spacer1</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>30</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer row="3" column="0">
<property name="name">
<cstring>Spacer2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Fixed</enum>
</property>
<property name="sizeHint">
<size>
<width>30</width>
<height>20</height>
</size>
</property>
</spacer>
</grid>
</widget>
<widget class="TQButtonGroup">
<property name="name">
<cstring>m_overwriteGroup</cstring>
</property>
<property name="title">
<string>Overwrite Policy</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>TextLabel1</cstring>
</property>
<property name="text">
<string>If a file with the same name as the name code
generator wants to use as output file already exists:</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_overwrite</cstring>
</property>
<property name="text">
<string>O&amp;verwrite</string>
</property>
<property name="whatsThis" stdset="0">
<string>Overwrite existing files if they exist in the destination folder</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_ask</cstring>
</property>
<property name="text">
<string>As&amp;k</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="whatsThis" stdset="0">
<string>If a file with the same name already exists, ask what to do</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_changeName</cstring>
</property>
<property name="text">
<string>&amp;Use a different name</string>
</property>
<property name="whatsThis" stdset="0">
<string>If a file already exists in the destination folder, select a different name to use by adding a suffix to the file name</string>
</property>
</widget>
</vbox>
</widget>
</vbox>
</widget>
</vbox>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>Formatting</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout8</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox" row="1" column="0">
<property name="name">
<cstring>groupBox5</cstring>
</property>
<property name="title">
<string>Lines</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer row="0" column="0">
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>16</width>
<height>30</height>
</size>
</property>
</spacer>
<spacer row="2" column="0">
<property name="name">
<cstring>spacer3_2_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>16</width>
<height>30</height>
</size>
</property>
</spacer>
<spacer row="1" column="0">
<property name="name">
<cstring>spacer3_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>16</width>
<height>30</height>
</size>
</property>
</spacer>
<widget class="TQLabel" row="2" column="1">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>Line ending style:</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Indentation type:</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="1" rowspan="1" colspan="3">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Indentation amount:</string>
</property>
</widget>
<widget class="TQComboBox" row="2" column="2" rowspan="1" colspan="3">
<item>
<property name="text">
<string>*NIX ("\n")</string>
</property>
</item>
<item>
<property name="text">
<string>Windows ("\r\n")</string>
</property>
</item>
<item>
<property name="text">
<string>Mac ("\r")</string>
</property>
</item>
<property name="name">
<cstring>m_SelectEndLineCharsBox</cstring>
</property>
</widget>
<widget class="TQComboBox" row="0" column="3" rowspan="1" colspan="2">
<item>
<property name="text">
<string>No Indentation</string>
</property>
</item>
<item>
<property name="text">
<string>Tab</string>
</property>
</item>
<item>
<property name="text">
<string>Space</string>
</property>
</item>
<property name="name">
<cstring>m_SelectIndentationTypeBox</cstring>
</property>
</widget>
<widget class="KIntNumInput" row="1" column="4">
<property name="name">
<cstring>m_SelectIndentationNumber</cstring>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>GroupBox3</cstring>
</property>
<property name="title">
<string>Comment Verbosity</string>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>m_forceSections</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>446</width>
<height>52</height>
</rect>
</property>
<property name="text">
<string>Write comments &amp;for sections even if section
is empty</string>
</property>
<property name="whatsThis" stdset="0">
<string>Writes comments to indicate the different sections (public, private etc) in a class, even if the sections are empty</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>m_forceDoc</cstring>
</property>
<property name="geometry">
<rect>
<x>11</x>
<y>29</y>
<width>446</width>
<height>28</height>
</rect>
</property>
<property name="text">
<string>&amp;Write documentation comments even if empty</string>
</property>
<property name="whatsThis" stdset="0">
<string>Write comments &amp;for class and method documentation even if empty</string>
</property>
</widget>
</widget>
</grid>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>Language Options</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQFrame" row="0" column="0">
<property name="name">
<cstring>languageOptionsFrame</cstring>
</property>
<property name="frameShape">
<enum>StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>Raised</enum>
</property>
</widget>
</grid>
</widget>
</widget>
</grid>
</widget>
<customwidgets>
</customwidgets>
<connections>
<connection>
<sender>m_includeHeadings</sender>
<signal>toggled(bool)</signal>
<receiver>m_browseHeadings</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>m_includeHeadings</sender>
<signal>toggled(bool)</signal>
<receiver>m_headingsDir</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>m_browseOutput</sender>
<signal>clicked()</signal>
<receiver>CodeGenerationOptionsBase</receiver>
<slot>browseClicked()</slot>
</connection>
<connection>
<sender>m_browseHeadings</sender>
<signal>clicked()</signal>
<receiver>CodeGenerationOptionsBase</receiver>
<slot>browseClicked()</slot>
</connection>
<connection>
<sender>m_SelectLanguageBox</sender>
<signal>activated(int)</signal>
<receiver>CodeGenerationOptionsBase</receiver>
<slot>activeLanguageChanged(int)</slot>
</connection>
</connections>
<slots>
<slot access="protected">browseClicked()</slot>
<slot access="protected">activeLanguageChanged(int id)</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">knuminput.h</include>
</includes>
</UI>