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>HgExportDialog</class> <widget class="QDialog" name="HgExportDialog"> <property name="geometry"> <rect> <x>0</x> <y>0</y> <width>450</width> <height>400</height> </rect> </property> <property name="windowTitle"> <string>Export Patches</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="label"> <property name="text"> <string>Export Directory:</string> </property> </widget> </item> <item row="0" column="1"> <widget class="EricPathPicker" name="directoryPicker" 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 name</string> </property> <property name="whatsThis"> <string><b>Target name</b> <p>Enter the new name in this field. The target must be the new name or an absolute path.</p></string> </property> </widget> </item> <item row="1" column="0"> <widget class="QLabel" name="label_2"> <property name="text"> <string>File Name Pattern:</string> </property> </widget> </item> <item row="1" column="1"> <widget class="QLineEdit" name="patternEdit"> <property name="toolTip"> <string>Enter the file name pattern for the export files</string> </property> <property name="whatsThis"> <string><b>File Name Pattern</b> <p>Enter the file name pattern to be used to generate the export files here. Valid recognized patterns are:</p> <table> <tr><td>%%</td><td>literal "%" character</td></tr> <tr><td>%H</td><td>changeset hash (40 hexadecimal digits)</td></tr> <tr><td>%N</td><td>number of patches being generated</td></tr> <tr><td>%R</td><td>changeset revision number</td></tr> <tr><td>%b</td><td>basename of the exporting repository</td></tr> <tr><td>%h</td><td>short-form changeset hash (12 hexadecimal digits)</td></tr> <tr><td>%n</td><td>zero-padded sequence number, starting at 1</td></tr> <tr><td>%r</td><td>zero-padded changeset revision number</td></tr> </table> </string> </property> </widget> </item> <item row="2" column="0"> <widget class="QLabel" name="label_3"> <property name="text"> <string>Changesets:</string> </property> <property name="alignment"> <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set> </property> </widget> </item> <item row="2" column="1"> <widget class="QPlainTextEdit" name="changesetsEdit"> <property name="toolTip"> <string>Enter changesets by number, id, range or revset expression one per line</string> </property> <property name="tabChangesFocus"> <bool>true</bool> </property> <property name="lineWrapMode"> <enum>QPlainTextEdit::NoWrap</enum> </property> </widget> </item> <item row="3" column="0"> <widget class="QLabel" name="label_4"> <property name="text"> <string>Bookmark:</string> </property> </widget> </item> <item row="3" column="1"> <widget class="QComboBox" name="bookmarkCombo"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> <horstretch>0</horstretch> <verstretch>0</verstretch> </sizepolicy> </property> <property name="toolTip"> <string>Select a bookmark name</string> </property> </widget> </item> </layout> </item> <item> <widget class="QCheckBox" name="switchParentCheckBox"> <property name="toolTip"> <string/> </property> <property name="text"> <string>Compare Against Second Parent</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="textCheckBox"> <property name="toolTip"> <string/> </property> <property name="text"> <string>Treat all Files as Text</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="datesCheckBox"> <property name="text"> <string>Omit Dates</string> </property> </widget> </item> <item> <widget class="QCheckBox" name="gitCheckBox"> <property name="text"> <string>Use Git extended Diff-Format</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> <customwidgets> <customwidget> <class>EricPathPicker</class> <extends>QWidget</extends> <header>eric7/EricWidgets/EricPathPicker.h</header> <container>1</container> </customwidget> </customwidgets> <tabstops> <tabstop>directoryPicker</tabstop> <tabstop>patternEdit</tabstop> <tabstop>changesetsEdit</tabstop> <tabstop>bookmarkCombo</tabstop> <tabstop>switchParentCheckBox</tabstop> <tabstop>textCheckBox</tabstop> <tabstop>datesCheckBox</tabstop> <tabstop>gitCheckBox</tabstop> </tabstops> <resources/> <connections> <connection> <sender>buttonBox</sender> <signal>accepted()</signal> <receiver>HgExportDialog</receiver> <slot>accept()</slot> <hints> <hint type="sourcelabel"> <x>248</x> <y>254</y> </hint> <hint type="destinationlabel"> <x>157</x> <y>274</y> </hint> </hints> </connection> <connection> <sender>buttonBox</sender> <signal>rejected()</signal> <receiver>HgExportDialog</receiver> <slot>reject()</slot> <hints> <hint type="sourcelabel"> <x>316</x> <y>260</y> </hint> <hint type="destinationlabel"> <x>286</x> <y>274</y> </hint> </hints> </connection> </connections> </ui>