Mon, 07 Nov 2022 17:19:58 +0100
Corrected/acknowledged some bad import style and removed some obsolete code.
<?xml version="1.0" encoding="UTF-8"?> <ui version="4.0"> <class>PropertiesDialog</class> <widget class="QDialog" name="PropertiesDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>600</width> <height>700</height> </rect> </property> <property name="maximumSize"> <size> <width>16777215</width> <height>16777215</height> </size> </property> <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> <property name="sizeGripEnabled"> <bool>true</bool> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> <layout class="QFormLayout" name="formLayout"> <item row="0" column="0"> <widget class="QLabel" name="nameLabel"> <property name="text"> <string>Project &Name:</string> </property> <property name="buddy"> <cstring>nameEdit</cstring> </property> </widget> </item> <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> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="textLabel1"> <property name="text"> <string>&Programming Language:</string> </property> <property name="buddy"> <cstring>languageComboBox</cstring> </property> </widget> </item> <item row="1" column="1"> <widget class="QComboBox" name="languageComboBox"> <property name="toolTip"> <string>Select the project's programming language</string> </property> </widget> </item> <item row="2" 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"> <string>Mi&xed programming languages</string> </property> <property name="shortcut"> <string>Alt+X</string> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="textLabel1_2"> <property name="text"> <string>Project &Type:</string> </property> <property name="buddy"> <cstring>projectTypeComboBox</cstring> </property> </widget> </item> <item row="3" column="1"> <widget class="QComboBox" name="projectTypeComboBox"> <property name="toolTip"> <string>Select the type of the project</string> </property> </widget> </item> <item row="4" column="0"> <widget class="QLabel" name="dirLabel"> <property name="text"> <string>Project &Directory:</string> </property> <property name="buddy"> <cstring>dirPicker</cstring> </property> </widget> </item> <item row="4" column="1"> <widget class="EricPathPicker" name="dirPicker" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="focusPolicy"> <enum>Qt::StrongFocus</enum> </property> <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> </widget> </item> <item row="5" column="0"> <widget class="QLabel" name="versionLabel"> <property name="text"> <string>&Version No.:</string> </property> <property name="buddy"> <cstring>versionEdit</cstring> </property> </widget> </item> <item row="5" 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> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="6" column="0"> <widget class="QLabel" name="mainscriptLabel"> <property name="text"> <string>&Main Script:</string> </property> <property name="buddy"> <cstring>mainscriptPicker</cstring> </property> </widget> </item> <item row="6" column="1"> <widget class="EricPathPicker" name="mainscriptPicker" native="true"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="focusPolicy"> <enum>Qt::StrongFocus</enum> </property> <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> </widget> </item> <item row="7" 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="7" 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="8" column="0"> <widget class="QLabel" name="label"> <property name="text"> <string>Docstring Style:</string> </property> </widget> </item> <item row="8" column="1"> <widget class="QComboBox" name="docstringStyleComboBox"> <property name="toolTip"> <string>Select the docstring style for the project</string> </property> </widget> </item> <item row="9" column="0"> <widget class="QLabel" name="authorLabel"> <property name="text"> <string>&Author:</string> </property> <property name="buddy"> <cstring>authorEdit</cstring> </property> </widget> </item> <item row="9" column="1"> <widget class="QLineEdit" name="authorEdit"> <property name="toolTip"> <string>Enter author's name</string> </property> <property name="whatsThis"> <string><b>Author</b> <p>Enter the name of the author.</p></string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="10" column="0"> <widget class="QLabel" name="emailLabel"> <property name="text"> <string>&Email:</string> </property> <property name="buddy"> <cstring>emailEdit</cstring> </property> </widget> </item> <item row="10" column="1"> <widget class="QLineEdit" name="emailEdit"> <property name="toolTip"> <string>Enter author's email</string> </property> <property name="whatsThis"> <string><b>Email</b> <p>Enter the email address of the author</p></string> </property> <property name="clearButtonEnabled"> <bool>true</bool> </property> </widget> </item> <item row="11" column="0"> <widget class="QLabel" name="descriptionLabel"> <property name="text"> <string>&Description:</string> </property> <property name="alignment"> <set>Qt::AlignTop</set> </property> <property name="buddy"> <cstring>descriptionEdit</cstring> </property> </widget> </item> <item row="11" column="1"> <widget class="EricSpellCheckedTextEdit" 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> <property name="tabChangesFocus"> <bool>true</bool> </property> <property name="acceptRichText"> <bool>false</bool> </property> </widget> </item> <item row="12" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>Testing Framework:</string> </property> </widget> </item> <item row="12" column="1"> <widget class="QComboBox" name="testingFrameworkComboBox"> <property name="toolTip"> <string>Select the testing framework used by the project</string> </property> </widget> </item> <item row="13" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>License:</string> </property> </widget> </item> <item row="13" column="1"> <widget class="QComboBox" name="licenseComboBox"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Enter or select the project license</string> </property> <property name="editable"> <bool>true</bool> </property> </widget> </item> </layout> </item> <item> <widget class="QCheckBox" name="embeddedVenvCheckBox"> <property name="toolTip"> <string>Select this to create and use a project embedded virtual environment</string> </property> <property name="text"> <string>Use embedded virtual environment</string> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> <spacer name="horizontalSpacer_3"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> <item> <widget class="QPushButton" name="spellPropertiesButton"> <property name="toolTip"> <string>Press to edit the spell checking properties</string> </property> <property name="text"> <string>Spell Checking Properties...</string> </property> </widget> </item> <item> <widget class="QPushButton" name="transPropertiesButton"> <property name="toolTip"> <string>Press to edit the translations properties</string> </property> <property name="text"> <string>Translations Properties...</string> </property> </widget> </item> <item> <spacer name="horizontalSpacer_4"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <layout class="QHBoxLayout" name="horizontalLayout"> <item> <widget class="QCheckBox" name="makeCheckBox"> <property name="toolTip"> <string>Select to activate the 'make' support</string> </property> <property name="text"> <string>Enable 'make' Support</string> </property> </widget> </item> <item> <widget class="QToolButton" name="makeButton"> <property name="enabled"> <bool>false</bool> </property> <property name="toolTip"> <string>Press to open a dialog to enter the 'make' parameters</string> </property> <property name="text"> <string/> </property> </widget> </item> <item> <spacer name="horizontalSpacer_6"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="sizeHint" stdset="0"> <size> <width>40</width> <height>20</height> </size> </property> </spacer> </item> </layout> </item> <item> <widget class="QCheckBox" name="vcsCheckBox"> <property name="toolTip"> <string>Select to create a version controlled project</string> </property> <property name="text"> <string>Version Controlled Project</string> </property> </widget> </item> <item> <layout class="QHBoxLayout" name="_2"> <item> <widget class="QLabel" name="vcsLabel"> <property name="sizePolicy"> <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="text"> <string/> </property> </widget> </item> <item> <widget class="QPushButton" name="vcsInfoButton"> <property name="toolTip"> <string>Press to show information about the repository</string> </property> <property name="text"> <string>Show &Repository Info</string> </property> <property name="shortcut"> <string>Alt+R</string> </property> </widget> </item> </layout> </item> <item> <widget class="QDialogButtonBox" name="buttonBox"> <property name="orientation"> <enum>Qt::Horizontal</enum> </property> <property name="standardButtons"> <set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> </property> </widget> </item> </layout> </widget> <pixmapfunction>qPixmapFromMimeSource</pixmapfunction> <customwidgets> <customwidget> <class>EricPathPicker</class> <extends>QWidget</extends> <header>eric7/EricWidgets/EricPathPicker.h</header> <container>1</container> </customwidget> <customwidget> <class>EricSpellCheckedTextEdit</class> <extends>QTextEdit</extends> <header>eric7/EricWidgets/EricSpellCheckedTextEdit.h</header> </customwidget> </customwidgets> <tabstops> <tabstop>nameEdit</tabstop> <tabstop>languageComboBox</tabstop> <tabstop>mixedLanguageCheckBox</tabstop> <tabstop>projectTypeComboBox</tabstop> <tabstop>dirPicker</tabstop> <tabstop>versionEdit</tabstop> <tabstop>mainscriptPicker</tabstop> <tabstop>eolComboBox</tabstop> <tabstop>docstringStyleComboBox</tabstop> <tabstop>authorEdit</tabstop> <tabstop>emailEdit</tabstop> <tabstop>descriptionEdit</tabstop> <tabstop>testingFrameworkComboBox</tabstop> <tabstop>licenseComboBox</tabstop> <tabstop>embeddedVenvCheckBox</tabstop> <tabstop>spellPropertiesButton</tabstop> <tabstop>transPropertiesButton</tabstop> <tabstop>makeCheckBox</tabstop> <tabstop>makeButton</tabstop> <tabstop>vcsCheckBox</tabstop> <tabstop>vcsInfoButton</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>PropertiesDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>66</x> <y>545</y> </hint> <hint type="destinationlabel"> <x>57</x> <y>529</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>PropertiesDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>152</x> <y>545</y> </hint> <hint type="destinationlabel"> <x>145</x> <y>531</y> </hint> </hints> </connection> <connection> <sender>makeCheckBox</sender> <signal>toggled(bool)</signal> <receiver>makeButton</receiver> <slot>setEnabled(bool)</slot> <hints> <hint type="sourcelabel"> <x>479</x> <y>99</y> </hint> <hint type="destinationlabel"> <x>579</x> <y>101</y> </hint> </hints> </connection> </connections> </ui>