1<?xml version="1.0" encoding="UTF-8"?> 2<ui version="4.0"> 3 <author>Petr Vanek <petr@scribus.info></author> 4 <comment>This is base class for Scribus Barcode Generator. Always use designer for this file!</comment> 5 <class>BarcodeGeneratorBase</class> 6 <widget class="QDialog" name="BarcodeGeneratorBase"> 7 <property name="geometry"> 8 <rect> 9 <x>0</x> 10 <y>0</y> 11 <width>504</width> 12 <height>541</height> 13 </rect> 14 </property> 15 <property name="windowTitle"> 16 <string>Insert Barcode</string> 17 </property> 18 <property name="toolTip"> 19 <string/> 20 </property> 21 <layout class="QGridLayout" name="gridLayout"> 22 <property name="leftMargin"> 23 <number>9</number> 24 </property> 25 <property name="topMargin"> 26 <number>9</number> 27 </property> 28 <property name="rightMargin"> 29 <number>9</number> 30 </property> 31 <property name="bottomMargin"> 32 <number>9</number> 33 </property> 34 <item row="4" column="1" colspan="2"> 35 <widget class="QGroupBox" name="colorBox"> 36 <property name="title"> 37 <string>Colors</string> 38 </property> 39 <layout class="QGridLayout" name="gridLayout_4"> 40 <item row="2" column="1"> 41 <widget class="QLabel" name="txtLabel"> 42 <property name="minimumSize"> 43 <size> 44 <width>25</width> 45 <height>25</height> 46 </size> 47 </property> 48 <property name="frameShape"> 49 <enum>QFrame::Box</enum> 50 </property> 51 <property name="scaledContents"> 52 <bool>true</bool> 53 </property> 54 <property name="wordWrap"> 55 <bool>false</bool> 56 </property> 57 </widget> 58 </item> 59 <item row="1" column="1"> 60 <widget class="QLabel" name="linesLabel"> 61 <property name="minimumSize"> 62 <size> 63 <width>25</width> 64 <height>25</height> 65 </size> 66 </property> 67 <property name="frameShape"> 68 <enum>QFrame::Box</enum> 69 </property> 70 <property name="scaledContents"> 71 <bool>true</bool> 72 </property> 73 <property name="wordWrap"> 74 <bool>false</bool> 75 </property> 76 </widget> 77 </item> 78 <item row="2" column="0"> 79 <widget class="QPushButton" name="txtColorButton"> 80 <property name="toolTip"> 81 <string>Color of the text and numbers</string> 82 </property> 83 <property name="text"> 84 <string>&Text</string> 85 </property> 86 <property name="shortcut"> 87 <string>Alt+T</string> 88 </property> 89 </widget> 90 </item> 91 <item row="0" column="1"> 92 <widget class="QLabel" name="bgLabel"> 93 <property name="minimumSize"> 94 <size> 95 <width>25</width> 96 <height>25</height> 97 </size> 98 </property> 99 <property name="frameShape"> 100 <enum>QFrame::Box</enum> 101 </property> 102 <property name="scaledContents"> 103 <bool>true</bool> 104 </property> 105 <property name="wordWrap"> 106 <bool>false</bool> 107 </property> 108 </widget> 109 </item> 110 <item row="0" column="0"> 111 <widget class="QPushButton" name="bgColorButton"> 112 <property name="toolTip"> 113 <string>Background color - under the code lines</string> 114 </property> 115 <property name="text"> 116 <string>&Background</string> 117 </property> 118 <property name="shortcut"> 119 <string>Alt+B</string> 120 </property> 121 </widget> 122 </item> 123 <item row="1" column="0"> 124 <widget class="QPushButton" name="lnColorButton"> 125 <property name="toolTip"> 126 <string>Color of the lines in barcode</string> 127 </property> 128 <property name="text"> 129 <string>&Lines</string> 130 </property> 131 <property name="shortcut"> 132 <string>Alt+L</string> 133 </property> 134 </widget> 135 </item> 136 <item row="3" column="0"> 137 <spacer name="verticalSpacer"> 138 <property name="orientation"> 139 <enum>Qt::Vertical</enum> 140 </property> 141 <property name="sizeHint" stdset="0"> 142 <size> 143 <width>20</width> 144 <height>40</height> 145 </size> 146 </property> 147 </spacer> 148 </item> 149 </layout> 150 </widget> 151 </item> 152 <item row="7" column="0" colspan="3"> 153 <layout class="QHBoxLayout" name="horizontalLayout"> 154 <item> 155 <spacer name="horizontalSpacer"> 156 <property name="orientation"> 157 <enum>Qt::Horizontal</enum> 158 </property> 159 <property name="sizeHint" stdset="0"> 160 <size> 161 <width>40</width> 162 <height>20</height> 163 </size> 164 </property> 165 </spacer> 166 </item> 167 <item> 168 <widget class="QPushButton" name="okButton"> 169 <property name="text"> 170 <string/> 171 </property> 172 </widget> 173 </item> 174 <item> 175 <widget class="QPushButton" name="cancelButton"> 176 <property name="text"> 177 <string/> 178 </property> 179 </widget> 180 </item> 181 </layout> 182 </item> 183 <item row="4" column="0"> 184 <widget class="QGroupBox" name="bcodeBox"> 185 <property name="title"> 186 <string>Options</string> 187 </property> 188 <layout class="QGridLayout" name="gridLayout_3"> 189 <item row="1" column="0"> 190 <widget class="QCheckBox" name="includecheckCheck"> 191 <property name="toolTip"> 192 <string>Generate and include a checksum in barcode</string> 193 </property> 194 <property name="text"> 195 <string>Add checksum</string> 196 </property> 197 <property name="shortcut"> 198 <string>Alt+N</string> 199 </property> 200 </widget> 201 </item> 202 <item row="3" column="0"> 203 <widget class="QLabel" name="formatLabel"> 204 <property name="text"> 205 <string>Version:</string> 206 </property> 207 <property name="wordWrap"> 208 <bool>false</bool> 209 </property> 210 <property name="buddy"> 211 <cstring>formatCombo</cstring> 212 </property> 213 </widget> 214 </item> 215 <item row="1" column="1"> 216 <widget class="QCheckBox" name="includecheckintextCheck"> 217 <property name="toolTip"> 218 <string>Include the checksum digit in the barcode text</string> 219 </property> 220 <property name="text"> 221 <string>Display checksum</string> 222 </property> 223 <property name="shortcut"> 224 <string>Alt+U</string> 225 </property> 226 </widget> 227 </item> 228 <item row="0" column="1"> 229 <widget class="QCheckBox" name="guardwhitespaceCheck"> 230 <property name="toolTip"> 231 <string>Draw arrows to be sure of space next the code</string> 232 </property> 233 <property name="text"> 234 <string>Guard whitespace</string> 235 </property> 236 <property name="shortcut"> 237 <string>Alt+G</string> 238 </property> 239 </widget> 240 </item> 241 <item row="2" column="0"> 242 <widget class="QCheckBox" name="parseCheck"> 243 <property name="text"> 244 <string>^NNN as ASCII</string> 245 </property> 246 </widget> 247 </item> 248 <item row="4" column="0"> 249 <widget class="QLabel" name="eccLabel"> 250 <property name="text"> 251 <string>Error correction level:</string> 252 </property> 253 <property name="wordWrap"> 254 <bool>false</bool> 255 </property> 256 <property name="buddy"> 257 <cstring>eccCombo</cstring> 258 </property> 259 </widget> 260 </item> 261 <item row="2" column="1"> 262 <widget class="QCheckBox" name="parsefncCheck"> 263 <property name="text"> 264 <string>Parse specials</string> 265 </property> 266 </widget> 267 </item> 268 <item row="0" column="0"> 269 <widget class="QCheckBox" name="includetextCheck"> 270 <property name="toolTip"> 271 <string>If checked, there will be numbers in the barcode too</string> 272 </property> 273 <property name="text"> 274 <string>Show readable text</string> 275 </property> 276 <property name="shortcut"> 277 <string>Alt+I</string> 278 </property> 279 <property name="checked"> 280 <bool>false</bool> 281 </property> 282 </widget> 283 </item> 284 <item row="3" column="1"> 285 <widget class="QComboBox" name="formatCombo"> 286 <property name="minimumSize"> 287 <size> 288 <width>125</width> 289 <height>0</height> 290 </size> 291 </property> 292 <property name="toolTip"> 293 <string>Version of the symbol</string> 294 </property> 295 </widget> 296 </item> 297 <item row="4" column="1"> 298 <widget class="QComboBox" name="eccCombo"> 299 <property name="minimumSize"> 300 <size> 301 <width>125</width> 302 <height>0</height> 303 </size> 304 </property> 305 <property name="toolTip"> 306 <string>Error correction level</string> 307 </property> 308 </widget> 309 </item> 310 </layout> 311 </widget> 312 </item> 313 <item row="2" column="0" rowspan="2" colspan="3"> 314 <widget class="QGroupBox" name="groupBox"> 315 <property name="minimumSize"> 316 <size> 317 <width>0</width> 318 <height>142</height> 319 </size> 320 </property> 321 <property name="title"> 322 <string>Type</string> 323 </property> 324 <layout class="QGridLayout" name="gridLayout_2"> 325 <item row="0" column="0"> 326 <widget class="QLabel" name="bcFamilyLabel"> 327 <property name="text"> 328 <string>Barcode Family:</string> 329 </property> 330 </widget> 331 </item> 332 <item row="0" column="1"> 333 <widget class="QComboBox" name="bcFamilyCombo"/> 334 </item> 335 <item row="1" column="0"> 336 <widget class="QLabel" name="bcLabel"> 337 <property name="text"> 338 <string>&Barcode:</string> 339 </property> 340 <property name="wordWrap"> 341 <bool>false</bool> 342 </property> 343 <property name="buddy"> 344 <cstring>bcCombo</cstring> 345 </property> 346 </widget> 347 </item> 348 <item row="1" column="1"> 349 <widget class="QComboBox" name="bcCombo"> 350 <property name="toolTip"> 351 <string>Select one of the available barcode types here</string> 352 </property> 353 </widget> 354 </item> 355 <item row="2" column="0"> 356 <widget class="QLabel" name="codeLabel"> 357 <property name="text"> 358 <string>&Contents:</string> 359 </property> 360 <property name="wordWrap"> 361 <bool>false</bool> 362 </property> 363 <property name="buddy"> 364 <cstring>codeEdit</cstring> 365 </property> 366 </widget> 367 </item> 368 <item row="2" column="1"> 369 <widget class="QLineEdit" name="codeEdit"> 370 <property name="sizePolicy"> 371 <sizepolicy hsizetype="Expanding" vsizetype="Fixed"> 372 <horstretch>0</horstretch> 373 <verstretch>0</verstretch> 374 </sizepolicy> 375 </property> 376 <property name="minimumSize"> 377 <size> 378 <width>0</width> 379 <height>21</height> 380 </size> 381 </property> 382 <property name="toolTip"> 383 <string>The contents encoded in the barcode</string> 384 </property> 385 </widget> 386 </item> 387 <item row="2" column="2"> 388 <widget class="QPushButton" name="resetButton"> 389 <property name="sizePolicy"> 390 <sizepolicy hsizetype="Fixed" vsizetype="Fixed"> 391 <horstretch>0</horstretch> 392 <verstretch>0</verstretch> 393 </sizepolicy> 394 </property> 395 <property name="maximumSize"> 396 <size> 397 <width>24</width> 398 <height>24</height> 399 </size> 400 </property> 401 <property name="toolTip"> 402 <string>Reset the barcode samples</string> 403 </property> 404 <property name="text"> 405 <string/> 406 </property> 407 </widget> 408 </item> 409 <item row="3" column="0"> 410 <widget class="QLabel" name="optionsLabel"> 411 <property name="text"> 412 <string>Options:</string> 413 </property> 414 <property name="textInteractionFlags"> 415 <set>Qt::LinksAccessibleByMouse</set> 416 </property> 417 </widget> 418 </item> 419 <item row="3" column="1"> 420 <widget class="QLineEdit" name="optionsEdit"> 421 <property name="minimumSize"> 422 <size> 423 <width>0</width> 424 <height>21</height> 425 </size> 426 </property> 427 <property name="toolTip"> 428 <string>Advanced options for the barcode</string> 429 </property> 430 </widget> 431 </item> 432 </layout> 433 </widget> 434 </item> 435 <item row="5" column="0" colspan="3"> 436 <widget class="QLabel" name="sampleLabel"> 437 <property name="minimumSize"> 438 <size> 439 <width>450</width> 440 <height>190</height> 441 </size> 442 </property> 443 <property name="styleSheet"> 444 <string notr="true">background-color : #FFF</string> 445 </property> 446 <property name="frameShape"> 447 <enum>QFrame::Box</enum> 448 </property> 449 <property name="alignment"> 450 <set>Qt::AlignCenter</set> 451 </property> 452 <property name="wordWrap"> 453 <bool>true</bool> 454 </property> 455 </widget> 456 </item> 457 </layout> 458 </widget> 459 <layoutdefault spacing="6" margin="11"/> 460 <tabstops> 461 <tabstop>bgColorButton</tabstop> 462 <tabstop>lnColorButton</tabstop> 463 <tabstop>txtColorButton</tabstop> 464 <tabstop>okButton</tabstop> 465 <tabstop>cancelButton</tabstop> 466 </tabstops> 467 <resources/> 468 <connections/> 469</ui> 470