1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222
|
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>SaveBlocksDialogBase</class>
<widget class="QDialog" name="SaveBlocksDialogBase">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>429</width>
<height>252</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QFormLayout" name="formLayout">
<item row="0" column="1">
<widget class="KComboBox" name="cbPattern">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string><p>Select the pattern that is used to create the filename of each saved block. It currently understands the following placeholders:</p>
<ul>
<li><tt><b>[%filename]</b></tt>name of the file, without the path</li>
<li><tt><b>[</b>%<i>0</i></tt><i>N</i><tt><b>nr]</b></tt>the index of the file, optionally with leading zeroes (if <tt>'0</tt>' prepended) and optionally a fixed number of digits (<tt>N</tt>)</li>
<li><tt><b>[%</b><i>0</i><i>N</i><b>count]</b></tt>the number of files that will be saved</li>
<li><tt><b>[%</b><i>0</i><i>N</i><b>total]</b></tt>the highest index within the files that will be saved</li>
</ul></string>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="duplicatesEnabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="lblPattern">
<property name="text">
<string>Filename pattern:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="lblNumbering">
<property name="text">
<string>Numbering:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="KComboBox" name="cbNumbering">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>Determines how the <b>numbering of the files</b> should happen:<ul>
<li>Continue after the <b>highest index</b> that can be found, avoiding collisions with existing files</li>
<li>Always start numbering from <b>one</b>, possibly colliding with already existing files</li>
</ul></string>
</property>
<property name="editable">
<bool>false</bool>
</property>
<property name="duplicatesEnabled">
<bool>false</bool>
</property>
<item>
<property name="text">
<string>Continue after highest index</string>
</property>
</item>
<item>
<property name="text">
<string>Always start with 1, overwrite if necessary</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="lblExtension">
<property name="text">
<string>Extension:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="KComboBox" name="cbExtension">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>Choose what encoding to save the blocks with.</string>
</property>
<property name="editable">
<bool>false</bool>
</property>
<property name="duplicatesEnabled">
<bool>false</bool>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="KUrlRequester" name="urlRequester">
<property name="whatsThis">
<string>Location to save the files</string>
</property>
<property name="mode">
<set>KFile::Mode::Directory|KFile::Mode::LocalOnly</set>
</property>
<property name="acceptMode">
<enum>QFileDialog::AcceptMode::AcceptSave</enum>
</property>
<property name="placeholderText">
<string>Choose where to save the files</string>
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="lblLocation">
<property name="text">
<string>Export Location:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QLabel" name="txtExample">
<property name="whatsThis">
<string>Example of the first file name that will be saved, using the file name pattern, extension, and numbering</string>
</property>
<property name="text">
<string>TextLabel</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="lblExample">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Example file name:</string>
</property>
<property name="wordWrap">
<bool>false</bool>
</property>
</widget>
</item>
<item row="5" column="1">
<widget class="QCheckBox" name="chkSelectionOnly">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="whatsThis">
<string>If checked, <b>save only the blocks that overlap with the current selection</b>, otherwise the whole file. <br><i>Please note that this option is disabled if nothing is selected or the selection already covers the whole file.</i></string>
</property>
<property name="text">
<string>Save selection only</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
</layout>
</item>
<item>
<widget class="QDialogButtonBox" name="buttonBox">
<property name="standardButtons">
<set>QDialogButtonBox::StandardButton::Cancel|QDialogButtonBox::StandardButton::Ok</set>
</property>
</widget>
</item>
</layout>
</widget>
<layoutdefault spacing="10" margin="10"/>
<customwidgets>
<customwidget>
<class>KComboBox</class>
<extends>QComboBox</extends>
<header>kcombobox.h</header>
</customwidget>
<customwidget>
<class>KUrlRequester</class>
<extends>QWidget</extends>
<header>kurlrequester.h</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
|