eric6/Project/AddFileDialog.ui

Sat, 27 Feb 2021 12:08:23 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 27 Feb 2021 12:08:23 +0100
changeset 8138
169e65a6787c
parent 6942
2602857055c5
permissions
-rw-r--r--

Shell: added functionality to show a prompt when the main client process has exited (e.g. a script ended).

<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>AddFileDialog</class>
 <widget class="QDialog" name="AddFileDialog">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>391</width>
    <height>114</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Add Files</string>
  </property>
  <property name="whatsThis">
   <string>&lt;b&gt;Add Files Dialog&lt;/b&gt;
&lt;p&gt;This dialog is used to add files to the current project.&lt;/p&gt;</string>
  </property>
  <property name="sizeGripEnabled">
   <bool>true</bool>
  </property>
  <layout class="QVBoxLayout" name="verticalLayout">
   <item>
    <layout class="QGridLayout" name="gridLayout">
     <item row="0" column="0">
      <widget class="QLabel" name="sourceFileLabel">
       <property name="text">
        <string>&amp;Source Files:</string>
       </property>
       <property name="buddy">
        <cstring>sourceFilesPicker</cstring>
       </property>
      </widget>
     </item>
     <item row="0" column="1">
      <widget class="E5PathPicker" name="sourceFilesPicker" 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 name of files to add separated by &quot;;&quot;</string>
       </property>
       <property name="whatsThis">
        <string>&lt;b&gt;Source Files&lt;/b&gt;
&lt;p&gt;Enter the name of files to add to the current project separated
by &quot;;&quot;. You may select them with a dialog by pressing 
the button to the right.&lt;/p&gt;</string>
       </property>
      </widget>
     </item>
     <item row="1" column="0">
      <widget class="QLabel" name="targetDirLabel">
       <property name="text">
        <string>&amp;Target Directory:</string>
       </property>
       <property name="buddy">
        <cstring>targetDirPicker</cstring>
       </property>
      </widget>
     </item>
     <item row="1" column="1">
      <widget class="E5PathPicker" name="targetDirPicker" 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 target directory for the file</string>
       </property>
       <property name="whatsThis">
        <string>&lt;b&gt;Target Directory&lt;/b&gt;
&lt;p&gt;Enter the target directory. You may select it
 with a dialog by pressing the button to the right.&lt;/p&gt;</string>
       </property>
      </widget>
     </item>
    </layout>
   </item>
   <item>
    <widget class="QCheckBox" name="sourcecodeCheckBox">
     <property name="toolTip">
      <string>Select, if the files should be added as sourcecode (overriding automatic detection)</string>
     </property>
     <property name="text">
      <string>Is source&amp;code files</string>
     </property>
     <property name="shortcut">
      <string>Alt+C</string>
     </property>
    </widget>
   </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>E5PathPicker</class>
   <extends>QWidget</extends>
   <header>E5Gui/E5PathPicker.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>sourceFilesPicker</tabstop>
  <tabstop>targetDirPicker</tabstop>
  <tabstop>sourcecodeCheckBox</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>buttonBox</sender>
   <signal>accepted()</signal>
   <receiver>AddFileDialog</receiver>
   <slot>accept()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>43</x>
     <y>112</y>
    </hint>
    <hint type="destinationlabel">
     <x>43</x>
     <y>128</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>buttonBox</sender>
   <signal>rejected()</signal>
   <receiver>AddFileDialog</receiver>
   <slot>reject()</slot>
   <hints>
    <hint type="sourcelabel">
     <x>124</x>
     <y>120</y>
    </hint>
    <hint type="destinationlabel">
     <x>124</x>
     <y>128</y>
    </hint>
   </hints>
  </connection>
 </connections>
</ui>

eric ide

mercurial