--- a/Project/PropertiesDialog.ui Sat May 15 10:19:07 2010 +0200 +++ b/Project/PropertiesDialog.ui Sat May 15 15:29:39 2010 +0200 @@ -1,283 +1,321 @@ -<ui version="4.0" > +<?xml version="1.0" encoding="UTF-8"?> +<ui version="4.0"> <class>PropertiesDialog</class> - <widget class="QDialog" name="PropertiesDialog" > - <property name="geometry" > + <widget class="QDialog" name="PropertiesDialog"> + <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>600</width> - <height>529</height> + <height>559</height> </rect> </property> - <property name="maximumSize" > + <property name="maximumSize"> <size> <width>16777215</width> <height>16777215</height> </size> </property> - <property name="windowTitle" > + <property name="windowTitle"> <string>Project Properties</string> </property> - <property name="whatsThis" > - <string><b>Project Properties Dialog</b> -<p>This dialog is used to show and edit the projects properties.</p> -<p>If the project is controlled by a version control system, the "Show Repository Info" button displays information about the repository.</p></string> + <property name="whatsThis"> + <string><b>Project Properties Dialog</b> +<p>This dialog is used to show and edit the projects properties.</p> +<p>If the project is controlled by a version control system, the "Show Repository Info" button displays information about the repository.</p></string> </property> - <property name="sizeGripEnabled" > + <property name="sizeGripEnabled"> <bool>true</bool> </property> - <layout class="QVBoxLayout" name="verticalLayout" > + <layout class="QVBoxLayout" name="verticalLayout"> <item> - <layout class="QGridLayout" name="gridLayout" > - <item row="0" column="0" > - <widget class="QLabel" name="nameLabel" > - <property name="text" > + <layout class="QGridLayout" name="gridLayout"> + <item row="0" column="0"> + <widget class="QLabel" name="nameLabel"> + <property name="text"> <string>Project &Name:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>nameEdit</cstring> </property> </widget> </item> - <item row="0" column="1" > - <widget class="QLineEdit" name="nameEdit" > - <property name="toolTip" > + <item row="0" column="1"> + <widget class="QLineEdit" name="nameEdit"> + <property name="toolTip"> <string>Enter the project name</string> </property> - <property name="whatsThis" > - <string><b>Project Name</b> -<p>Enter the project name</p></string> + <property name="whatsThis"> + <string><b>Project Name</b> +<p>Enter the project name</p></string> </property> </widget> </item> - <item row="1" column="1" > - <widget class="QPushButton" name="spellPropertiesButton" > - <property name="toolTip" > + <item row="1" column="1"> + <widget class="QPushButton" name="spellPropertiesButton"> + <property name="toolTip"> <string>Press to edit the spell checking properties</string> </property> - <property name="text" > + <property name="text"> <string>Spell Checking Properties...</string> </property> </widget> </item> - <item row="2" column="0" > - <widget class="QLabel" name="textLabel1" > - <property name="text" > + <item row="2" column="0"> + <widget class="QLabel" name="textLabel1"> + <property name="text"> <string>&Progr. Language:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>languageComboBox</cstring> </property> </widget> </item> - <item row="2" column="1" > - <widget class="QComboBox" name="languageComboBox" > - <property name="toolTip" > + <item row="2" column="1"> + <widget class="QComboBox" name="languageComboBox"> + <property name="toolTip"> <string>Select the project's programming language</string> </property> </widget> </item> - <item row="3" column="1" > - <widget class="QCheckBox" name="mixedLanguageCheckBox" > - <property name="toolTip" > + <item row="3" column="1"> + <widget class="QCheckBox" name="mixedLanguageCheckBox"> + <property name="toolTip"> <string>Select, if the project uses other programming languages as well</string> </property> - <property name="text" > + <property name="text"> <string>Mi&xed programming languages</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Alt+X</string> </property> </widget> </item> - <item row="4" column="0" > - <widget class="QLabel" name="textLabel1_2" > - <property name="text" > + <item row="4" column="0"> + <widget class="QLabel" name="textLabel1_2"> + <property name="text"> <string>Project &Type:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>projectTypeComboBox</cstring> </property> </widget> </item> - <item row="4" column="1" > - <widget class="QComboBox" name="projectTypeComboBox" > - <property name="toolTip" > + <item row="4" column="1"> + <widget class="QComboBox" name="projectTypeComboBox"> + <property name="toolTip"> <string>Select the type of the project</string> </property> </widget> </item> - <item row="5" column="0" > - <widget class="QLabel" name="dirLabel" > - <property name="text" > + <item row="5" column="0"> + <widget class="QLabel" name="dirLabel"> + <property name="text"> <string>Project &Directory:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>dirEdit</cstring> </property> </widget> </item> - <item row="5" column="1" > - <widget class="QLineEdit" name="dirEdit" > - <property name="toolTip" > + <item row="5" column="1"> + <widget class="QLineEdit" name="dirEdit"> + <property name="toolTip"> <string>Enter the project directory</string> </property> - <property name="whatsThis" > - <string><b>Project Directory</b> -<p>Enter the project directory. You may select it - with a dialog by pressing the button to the right.</p></string> + <property name="whatsThis"> + <string><b>Project Directory</b> +<p>Enter the project directory. You may select it + with a dialog by pressing the button to the right.</p></string> </property> </widget> </item> - <item row="5" column="2" > - <widget class="QPushButton" name="dirButton" > - <property name="toolTip" > + <item row="5" column="2"> + <widget class="QPushButton" name="dirButton"> + <property name="toolTip"> <string>Show directory selection dialog</string> </property> - <property name="whatsThis" > - <string><b>Project Directory</b> -<p>Select a project directory via a directory selection dialog.</p></string> + <property name="whatsThis"> + <string><b>Project Directory</b> +<p>Select a project directory via a directory selection dialog.</p></string> </property> - <property name="text" > + <property name="text"> <string>...</string> </property> </widget> </item> - <item row="6" column="0" > - <widget class="QLabel" name="versionLabel" > - <property name="text" > + <item row="6" column="0"> + <widget class="QLabel" name="versionLabel"> + <property name="text"> <string>&Version No.:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>versionEdit</cstring> </property> </widget> </item> - <item row="6" column="1" > - <widget class="QLineEdit" name="versionEdit" > - <property name="toolTip" > + <item row="6" column="1"> + <widget class="QLineEdit" name="versionEdit"> + <property name="toolTip"> <string>Enter the version number</string> </property> - <property name="whatsThis" > - <string><b>Version No.</b> -<p>Enter the version no.</p></string> + <property name="whatsThis"> + <string><b>Version No.</b> +<p>Enter the version no.</p></string> </property> </widget> </item> - <item row="7" column="0" > - <widget class="QLabel" name="mainscriptLabel" > - <property name="text" > + <item row="7" column="0"> + <widget class="QLabel" name="mainscriptLabel"> + <property name="text"> <string>&Main Script:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>mainscriptEdit</cstring> </property> </widget> </item> - <item row="7" column="1" > - <widget class="QLineEdit" name="mainscriptEdit" > - <property name="toolTip" > + <item row="7" column="1"> + <widget class="QLineEdit" name="mainscriptEdit"> + <property name="toolTip"> <string>Enter the main script</string> </property> - <property name="whatsThis" > - <string><b>Main Script</b> -<p>Enter the main script of the project. You may select it - with a dialog by pressing the button to the right.</p></string> + <property name="whatsThis"> + <string><b>Main Script</b> +<p>Enter the main script of the project. You may select it + with a dialog by pressing the button to the right.</p></string> </property> </widget> </item> - <item row="7" column="2" > - <widget class="QPushButton" name="mainscriptButton" > - <property name="toolTip" > + <item row="7" column="2"> + <widget class="QPushButton" name="mainscriptButton"> + <property name="toolTip"> <string>Show file selection dialog</string> </property> - <property name="whatsThis" > - <string><b>Main Script</b> -<p>Select the projects main script via a file selection dialog.</p></string> + <property name="whatsThis"> + <string><b>Main Script</b> +<p>Select the projects main script via a file selection dialog.</p></string> </property> - <property name="text" > + <property name="text"> <string>...</string> </property> </widget> </item> - <item row="8" column="1" > - <widget class="QPushButton" name="transPropertiesButton" > - <property name="toolTip" > + <item row="8" column="1"> + <widget class="QPushButton" name="transPropertiesButton"> + <property name="toolTip"> <string>Press to edit the translations properties</string> </property> - <property name="text" > + <property name="text"> <string>Translations Properties...</string> </property> </widget> </item> - <item row="9" column="0" > - <widget class="QLabel" name="authorLabel" > - <property name="text" > + <item row="9" column="0"> + <widget class="QLabel" name="eolLabel"> + <property name="text"> + <string>End of &Line Character:</string> + </property> + <property name="buddy"> + <cstring>eolComboBox</cstring> + </property> + </widget> + </item> + <item row="9" column="1"> + <widget class="QComboBox" name="eolComboBox"> + <property name="toolTip"> + <string>Select the end of line character to be used by the project</string> + </property> + <item> + <property name="text"> + <string>System</string> + </property> + </item> + <item> + <property name="text"> + <string>Unix</string> + </property> + </item> + <item> + <property name="text"> + <string>Macintosh</string> + </property> + </item> + <item> + <property name="text"> + <string>Windows/DOS</string> + </property> + </item> + </widget> + </item> + <item row="10" column="0"> + <widget class="QLabel" name="authorLabel"> + <property name="text"> <string>&Author:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>authorEdit</cstring> </property> </widget> </item> - <item row="9" column="1" > - <widget class="QLineEdit" name="authorEdit" > - <property name="toolTip" > + <item row="10" column="1"> + <widget class="QLineEdit" name="authorEdit"> + <property name="toolTip"> <string>Enter authors name</string> </property> - <property name="whatsThis" > - <string><b>Author</b> -<p>Enter the name of the author.</p></string> + <property name="whatsThis"> + <string><b>Author</b> +<p>Enter the name of the author.</p></string> </property> </widget> </item> - <item row="10" column="0" > - <widget class="QLabel" name="emailLabel" > - <property name="text" > + <item row="11" column="0"> + <widget class="QLabel" name="emailLabel"> + <property name="text"> <string>&Email:</string> </property> - <property name="buddy" > + <property name="buddy"> <cstring>emailEdit</cstring> </property> </widget> </item> - <item row="10" column="1" > - <widget class="QLineEdit" name="emailEdit" > - <property name="toolTip" > + <item row="11" column="1"> + <widget class="QLineEdit" name="emailEdit"> + <property name="toolTip"> <string>Enter authors email</string> </property> - <property name="whatsThis" > - <string><b>Email</b> -<p>Enter the email address of the author</p></string> + <property name="whatsThis"> + <string><b>Email</b> +<p>Enter the email address of the author</p></string> </property> </widget> </item> - <item row="11" column="0" > - <widget class="QLabel" name="descriptionLabel" > - <property name="text" > + <item row="12" column="0"> + <widget class="QLabel" name="descriptionLabel"> + <property name="text"> <string>&Description:</string> </property> - <property name="alignment" > + <property name="alignment"> <set>Qt::AlignTop</set> </property> - <property name="buddy" > + <property name="buddy"> <cstring>descriptionEdit</cstring> </property> </widget> </item> - <item row="11" column="1" > - <widget class="QTextEdit" name="descriptionEdit" > - <property name="toolTip" > + <item row="12" column="1"> + <widget class="QTextEdit" name="descriptionEdit"> + <property name="toolTip"> <string>Enter description</string> </property> - <property name="whatsThis" > - <string><b>Description</b> -<p>Enter a short description for the project.</p></string> + <property name="whatsThis"> + <string><b>Description</b> +<p>Enter a short description for the project.</p></string> </property> - <property name="tabChangesFocus" > + <property name="tabChangesFocus"> <bool>true</bool> </property> - <property name="acceptRichText" > + <property name="acceptRichText"> <bool>false</bool> </property> </widget> @@ -285,29 +323,29 @@ </layout> </item> <item> - <layout class="QHBoxLayout" name="_2" > + <layout class="QHBoxLayout" name="_2"> <item> - <widget class="QLabel" name="vcsLabel" > - <property name="sizePolicy" > - <sizepolicy vsizetype="Preferred" hsizetype="MinimumExpanding" > + <widget class="QLabel" name="vcsLabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> - <property name="text" > + <property name="text"> <string/> </property> </widget> </item> <item> - <widget class="QPushButton" name="vcsInfoButton" > - <property name="toolTip" > + <widget class="QPushButton" name="vcsInfoButton"> + <property name="toolTip"> <string>Press to show information about the repository</string> </property> - <property name="text" > + <property name="text"> <string>Show &Repository Info</string> </property> - <property name="shortcut" > + <property name="shortcut"> <string>Alt+R</string> </property> </widget> @@ -315,18 +353,18 @@ </layout> </item> <item> - <widget class="QDialogButtonBox" name="buttonBox" > - <property name="orientation" > + <widget class="QDialogButtonBox" name="buttonBox"> + <property name="orientation"> <enum>Qt::Horizontal</enum> </property> - <property name="standardButtons" > + <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> - <layoutdefault spacing="6" margin="6" /> + <layoutdefault spacing="6" margin="6"/> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <tabstops> <tabstop>nameEdit</tabstop> @@ -340,6 +378,7 @@ <tabstop>mainscriptEdit</tabstop> <tabstop>mainscriptButton</tabstop> <tabstop>transPropertiesButton</tabstop> + <tabstop>eolComboBox</tabstop> <tabstop>authorEdit</tabstop> <tabstop>emailEdit</tabstop> <tabstop>descriptionEdit</tabstop> @@ -354,11 +393,11 @@ <receiver>PropertiesDialog</receiver> <slot>accept()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>57</x> <y>511</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>57</x> <y>529</y> </hint> @@ -370,11 +409,11 @@ <receiver>PropertiesDialog</receiver> <slot>reject()</slot> <hints> - <hint type="sourcelabel" > + <hint type="sourcelabel"> <x>143</x> <y>516</y> </hint> - <hint type="destinationlabel" > + <hint type="destinationlabel"> <x>145</x> <y>531</y> </hint>