src/eric7/Project/PropertiesDialog.ui

Mon, 07 Nov 2022 17:19:58 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 07 Nov 2022 17:19:58 +0100
branch
eric7
changeset 9482
a2bc06a54d9d
parent 9413
80c06d472826
child 9442
906485dcd210
child 9610
b45bccbdf331
permissions
-rw-r--r--

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>&lt;b&gt;Project Properties Dialog&lt;/b&gt;
&lt;p&gt;This dialog is used to show and edit the projects properties.&lt;/p&gt;
&lt;p&gt;If the project is controlled by a version control system, the &quot;Show Repository Info&quot; button displays information about the repository.&lt;/p&gt;</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 &amp;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>&lt;b&gt;Project Name&lt;/b&gt;
&lt;p&gt;Enter the project name&lt;/p&gt;</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>&amp;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&amp;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 &amp;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 &amp;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>&lt;b&gt;Project Directory&lt;/b&gt;
&lt;p&gt;Enter the project directory. You may select it
 with a dialog by pressing the button to the right.&lt;/p&gt;</string>
       </property>
      </widget>
     </item>
     <item row="5" column="0">
      <widget class="QLabel" name="versionLabel">
       <property name="text">
        <string>&amp;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>&lt;b&gt;Version No.&lt;/b&gt;
&lt;p&gt;Enter the version no.&lt;/p&gt;</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>&amp;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>&lt;b&gt;Main Script&lt;/b&gt;
&lt;p&gt;Enter the main script of the project. You may select it
 with a dialog by pressing the button to the right.&lt;/p&gt;</string>
       </property>
      </widget>
     </item>
     <item row="7" column="0">
      <widget class="QLabel" name="eolLabel">
       <property name="text">
        <string>End of &amp;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>&amp;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>&lt;b&gt;Author&lt;/b&gt;
&lt;p&gt;Enter the name of the author.&lt;/p&gt;</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>&amp;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>&lt;b&gt;Email&lt;/b&gt;
&lt;p&gt;Enter the email address of the author&lt;/p&gt;</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>&amp;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>&lt;b&gt;Description&lt;/b&gt;
&lt;p&gt;Enter a short description for the project.&lt;/p&gt;</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 &amp;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>

eric ide

mercurial