You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
potracegui/src/MainWidgetBase.ui

2829 lines
195 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>MainWidgetBase</class>
<widget class="TQWidget">
<property name="name">
<cstring>MainWidgetBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>555</width>
<height>642</height>
</rect>
</property>
<property name="cursor">
<cursor>0</cursor>
</property>
<property name="caption">
<string>MainWidgetBase</string>
</property>
<property name="acceptDrops">
<bool>true</bool>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQTabWidget">
<property name="name">
<cstring>imagesTabs</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="maximumSize">
<size>
<width>800</width>
<height>600</height>
</size>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>&amp;Original image</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
</grid>
</widget>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout7</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQWidgetStack">
<property name="name">
<cstring>backendStack</cstring>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>potracePage</cstring>
</property>
<attribute name="id">
<number>0</number>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQTabWidget" row="0" column="0">
<property name="name">
<cstring>tabWidget3</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>&amp;Input-Output</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>groupBox2</cstring>
</property>
<property name="title">
<string>Input</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel2_3</cstring>
</property>
<property name="text">
<string>Black level:</string>
</property>
<property name="toolTip" stdset="0">
<string>Pixel threshold for B&amp;W conversion of the image</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="0" column="1">
<property name="name">
<cstring>blackLevel</cstring>
</property>
<property name="value">
<number>0.5</number>
</property>
<property name="maxValue">
<number>1</number>
</property>
<property name="toolTip" stdset="0">
<string>Pixel threshold for B&amp;W conversion of the image</string>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>invertInput</cstring>
</property>
<property name="text">
<string>In&amp;vert</string>
</property>
<property name="toolTip" stdset="0">
<string>Inverts the image before processing</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox" row="0" column="1">
<property name="name">
<cstring>groupBox8</cstring>
</property>
<property name="title">
<string>Color</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KColorButton" row="0" column="1">
<property name="name">
<cstring>foregroundBtn</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Output foreground color</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel4_2_2_3</cstring>
</property>
<property name="text">
<string>Foreground color:</string>
</property>
<property name="toolTip" stdset="0">
<string>Output foreground color</string>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>opaque</cstring>
</property>
<property name="text">
<string>Opa&amp;que:</string>
</property>
<property name="toolTip" stdset="0">
<string>Fill in the white parts of the image opaquely</string>
</property>
</widget>
<widget class="KColorButton" row="1" column="1">
<property name="name">
<cstring>backgroundBtn</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string></string>
</property>
<property name="toolTip" stdset="0">
<string>Fill color</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>groupBox1</cstring>
</property>
<property name="title">
<string>Output</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KSqueezedTextLabel" row="1" column="0">
<property name="name">
<cstring>kSqueezedTextLabel2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>0</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Format:</string>
</property>
</widget>
<widget class="KComboBox" row="1" column="1" rowspan="1" colspan="2">
<item>
<property name="text">
<string>eps</string>
</property>
</item>
<item>
<property name="text">
<string>postscript</string>
</property>
</item>
<item>
<property name="text">
<string>SVG</string>
</property>
</item>
<item>
<property name="text">
<string>pgm</string>
</property>
</item>
<item>
<property name="text">
<string>Gimp path</string>
</property>
</item>
<item>
<property name="text">
<string>Xfig</string>
</property>
</item>
<property name="name">
<cstring>outputFormat</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" stdset="0">
<string>Output format</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQWidgetStack" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>optionsStack</cstring>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>psPage</cstring>
</property>
<attribute name="id">
<number>0</number>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>psFrame</cstring>
</property>
<property name="title">
<string>PS-EPS output</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel3_3</cstring>
</property>
<property name="text">
<string>Page size:</string>
</property>
<property name="toolTip" stdset="0">
<string>Output page size</string>
</property>
</widget>
<widget class="KComboBox" row="0" column="1">
<item>
<property name="text">
<string>a4</string>
</property>
</item>
<item>
<property name="text">
<string>a3</string>
</property>
</item>
<item>
<property name="text">
<string>a5</string>
</property>
</item>
<item>
<property name="text">
<string>b5</string>
</property>
</item>
<item>
<property name="text">
<string>letter</string>
</property>
</item>
<item>
<property name="text">
<string>legal</string>
</property>
</item>
<item>
<property name="text">
<string>tabloid</string>
</property>
</item>
<item>
<property name="text">
<string>statement</string>
</property>
</item>
<item>
<property name="text">
<string>executive</string>
</property>
</item>
<item>
<property name="text">
<string>folio</string>
</property>
</item>
<item>
<property name="text">
<string>quarto</string>
</property>
</item>
<item>
<property name="text">
<string>10x14</string>
</property>
</item>
<property name="name">
<cstring>pageSize</cstring>
</property>
<property name="editable">
<bool>true</bool>
</property>
<property name="currentItem">
<number>4</number>
</property>
<property name="toolTip" stdset="0">
<string>Output page size</string>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>optimizedNumericalCode</cstring>
</property>
<property name="text">
<string>Optimized numerical code</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Use a compact numerical format to represent Bezier curves in
PostScript</string>
</property>
</widget>
<widget class="TQButtonGroup" row="0" column="2" rowspan="2" colspan="1">
<property name="name">
<cstring>compressionLevel</cstring>
</property>
<property name="title">
<string>Compression level</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>level1</cstring>
</property>
<property name="text">
<string>None</string>
</property>
<property name="buttonGroupId">
<number>3</number>
</property>
<property name="toolTip" stdset="0">
<string>No compression</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>level2</cstring>
</property>
<property name="text">
<string>Level 2</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="buttonGroupId">
<number>3</number>
</property>
<property name="toolTip" stdset="0">
<string>Standard compression (needs LZW-enabled compress)</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>level3</cstring>
</property>
<property name="text">
<string>Level 3</string>
</property>
<property name="buttonGroupId">
<number>3</number>
</property>
<property name="toolTip" stdset="0">
<string>Maximum compression</string>
</property>
</widget>
</vbox>
</widget>
</grid>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>svgPage</cstring>
</property>
<attribute name="id">
<number>1</number>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>svgFrame</cstring>
</property>
<property name="title">
<string>SVG</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>SVGGroup</cstring>
</property>
<property name="text">
<string>Group</string>
</property>
<property name="toolTip" stdset="0">
<string>Try to group related paths together in the SVG output</string>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>pgmPage</cstring>
</property>
<attribute name="id">
<number>2</number>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>pgmFrame</cstring>
</property>
<property name="title">
<string>PGM</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel5_2</cstring>
</property>
<property name="text">
<string>Antialias gamma:</string>
</property>
<property name="toolTip" stdset="0">
<string>Gamma value for anti-aliasing</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="0" column="1">
<property name="name">
<cstring>antialiasGamma</cstring>
</property>
<property name="value">
<number>2.2</number>
</property>
<property name="toolTip" stdset="0">
<string>Gamma value for anti-aliasing</string>
</property>
</widget>
<widget class="TQButtonGroup" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>buttonGroup1</cstring>
</property>
<property name="title">
<string>Scale</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>layout3</cstring>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>scaleAllBTN</cstring>
</property>
<property name="text">
<string>All</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>All dimesions at once</string>
</property>
</widget>
<widget class="KDoubleNumInput">
<property name="name">
<cstring>scaleAll</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Scale factor (&gt;1 enlarges, &lt;1 shrinks)</string>
</property>
</widget>
</vbox>
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>layout4</cstring>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel10_3</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Y</string>
</property>
<property name="toolTip" stdset="0">
<string>Scale factor (&gt;1 enlarges, &lt;1 shrinks)</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="2" column="1">
<property name="name">
<cstring>scaleY</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip" stdset="0">
<string>Scale factor (&gt;1 enlarges, &lt;1 shrinks)</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel9_3</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>X</string>
</property>
<property name="toolTip" stdset="0">
<string>Scale factor (&gt;1 enlarges, &lt;1 shrinks)</string>
</property>
</widget>
<widget class="TQRadioButton" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>scaleXYBTN</cstring>
</property>
<property name="text">
<string>Each</string>
</property>
<property name="buttonGroupId">
<number>-1</number>
</property>
<property name="toolTip" stdset="0">
<string>Each dimension separately</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="1" column="1">
<property name="name">
<cstring>scaleX</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip" stdset="0">
<string>Scale factor (&gt;1 enlarges, &lt;1 shrinks)</string>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
</grid>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>undefinedPage</cstring>
</property>
<attribute name="id">
<number>3</number>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KActiveLabel" row="1" column="1" rowspan="1" colspan="2">
<property name="name">
<cstring>kActiveLabel1</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Sorry, no options for this format.</string>
</property>
</widget>
<spacer row="0" column="1">
<property name="name">
<cstring>spacer8</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
<spacer row="2" column="2">
<property name="name">
<cstring>spacer9</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
<spacer row="1" column="0">
<property name="name">
<cstring>spacer10</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
<spacer row="1" column="3">
<property name="name">
<cstring>spacer11</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</grid>
</widget>
</widget>
<spacer row="3" column="0">
<property name="name">
<cstring>spacer6</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>A&amp;lgorithm</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer row="6" column="0">
<property name="name">
<cstring>spacer5_2</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>297</height>
</size>
</property>
</spacer>
<widget class="TQCheckBox" row="5" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>curveOptimization</cstring>
</property>
<property name="text">
<string>Cur&amp;ve optimization</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Join adiacent bezier curves (off=larger file)</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="3" column="1">
<property name="name">
<cstring>optimizationTolerance</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="value">
<number>0.2</number>
</property>
<property name="toolTip" stdset="0">
<string>Curve optimization tolerance (default = 0.2)</string>
</property>
<property name="whatsThis" stdset="0">
<string>Set the curve optimization tolerance. The default value is 0.2. Larger values allow more consecutive Bezier curve segments to be joined together in a single segment, at the expense of accuracy.</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="2" column="1">
<property name="name">
<cstring>cornerThreshold</cstring>
</property>
<property name="value">
<number>1</number>
</property>
<property name="minValue">
<number>-1</number>
</property>
<property name="maxValue">
<number>1.34</number>
</property>
<property name="precision">
<number>2</number>
</property>
<property name="toolTip" stdset="0">
<string>Corner Threshold parameter (&lt;1 hard corners, &gt;1 soft corners)</string>
</property>
<property name="whatsThis" stdset="0">
<string>Set the corner threshold parameter. The default value is 1. The smaller this value, the more sharp corners will be produced. If this parameter is negative, then no smoothing will be performed and the output is a polygon. The largest useful value is 4/3 or 1.334, which suppresses all corners and leads to completely smooth output.</string>
</property>
</widget>
<widget class="KIntNumInput" row="1" column="1">
<property name="name">
<cstring>despeckle</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minValue">
<number>0</number>
</property>
<property name="toolTip" stdset="0">
<string>Suppress speckles of up to this many pixels</string>
</property>
</widget>
<widget class="KComboBox" row="0" column="1">
<item>
<property name="text">
<string>black</string>
</property>
</item>
<item>
<property name="text">
<string>white</string>
</property>
</item>
<item>
<property name="text">
<string>right</string>
</property>
</item>
<item>
<property name="text">
<string>left</string>
</property>
</item>
<item>
<property name="text">
<string>minority</string>
</property>
</item>
<item>
<property name="text">
<string>majority</string>
</property>
</item>
<item>
<property name="text">
<string>random</string>
</property>
</item>
<property name="name">
<cstring>policy</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="currentItem">
<number>4</number>
</property>
<property name="toolTip" stdset="0">
<string>How to resolve ambiguities in path
decomposition</string>
</property>
</widget>
<widget class="KIntNumInput" row="4" column="1">
<property name="name">
<cstring>outputQuantization</cstring>
</property>
<property name="value">
<number>10</number>
</property>
<property name="minValue">
<number>0</number>
</property>
<property name="toolTip" stdset="0">
<string>To how many points/pixel the output is rounded</string>
</property>
<property name="whatsThis" stdset="0">
<string>Set output quantization. Coordinates in the output are rounded to 1/value pixels. The default value of 10 usually gives good results. In the case of the gimppath backend, this option is used to set the desired magnification. This option has no effect for the XFig backend, which always rasterizes to 1/1200 inch.</string>
</property>
</widget>
<widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>textLabel1_4</cstring>
</property>
<property name="text">
<string>Output quantization:</string>
</property>
<property name="toolTip" stdset="0">
<string>How exactly the output is rounded</string>
</property>
<property name="whatsThis" stdset="0">
<string>Set output quantization. Coordinates in the output are rounded to 1/value pixels. The default value of 10 usually gives good results. In the case of the gimppath backend, this option is used to set the desired magnification. This option has no effect for the XFig backend, which always rasterizes to 1/1200 inch.</string>
</property>
</widget>
<widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel4</cstring>
</property>
<property name="text">
<string>Optimization tolerance:</string>
</property>
<property name="toolTip" stdset="0">
<string>Curve optimization tolerance (default = 0.2)</string>
</property>
<property name="whatsThis" stdset="0">
<string>Set the curve optimization tolerance. The default value is 0.2. Larger values allow more consecutive Bezier curve segments to be joined together in a single segment, at the expense of accuracy.</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel3</cstring>
</property>
<property name="text">
<string>Corner Threshold:</string>
</property>
<property name="toolTip" stdset="0">
<string>Corner Threshold parameter (&lt;1 hard corners, &gt;1 soft corners)</string>
</property>
<property name="whatsThis" stdset="0">
<string>Set the corner threshold parameter. The default value is 1. The smaller this value, the more sharp corners will be produced. If this parameter is negative, then no smoothing will be performed and the output is a polygon. The largest useful value is 4/3 or 1.334, which suppresses all corners and leads to completely smooth output.</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>Despeckle:</string>
</property>
<property name="toolTip" stdset="0">
<string>Suppress speckles of up to this many pixels</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Policy:</string>
</property>
<property name="toolTip" stdset="0">
<string>How to resolve ambiguities in path
decomposition</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
<attribute name="title">
<string>&amp;Scaling and transformations</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>groupBox7</cstring>
</property>
<property name="title">
<string>Transformation</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer row="2" column="1">
<property name="name">
<cstring>spacer17</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>80</width>
<height>31</height>
</size>
</property>
</spacer>
<spacer row="3" column="1">
<property name="name">
<cstring>spacer17_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>80</width>
<height>31</height>
</size>
</property>
</spacer>
<widget class="KDoubleNumInput" row="3" column="2">
<property name="name">
<cstring>rotation</cstring>
</property>
<property name="minValue">
<number>-360</number>
</property>
<property name="maxValue">
<number>360</number>
</property>
<property name="toolTip" stdset="0">
<string>Rotate output by x degrees</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="2" column="2">
<property name="name">
<cstring>stretch</cstring>
</property>
<property name="value">
<number>1</number>
</property>
<property name="maxValue">
<number>2</number>
</property>
<property name="toolTip" stdset="0">
<string>Aspect ratio (&lt;1 stretched in the x direction, &gt;1 stretched in the y direction)</string>
</property>
</widget>
<spacer row="1" column="1">
<property name="name">
<cstring>spacer17_3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>80</width>
<height>31</height>
</size>
</property>
</spacer>
<widget class="KDoubleNumInput" row="1" column="2">
<property name="name">
<cstring>height</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Output image height</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="0" column="2">
<property name="name">
<cstring>width</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" stdset="0">
<string>Output image width</string>
</property>
</widget>
<spacer row="0" column="1">
<property name="name">
<cstring>spacer17_4</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>80</width>
<height>31</height>
</size>
</property>
</spacer>
<widget class="TQLabel" row="0" column="3">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>cm</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="3">
<property name="name">
<cstring>textLabel1_3_2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>cm</string>
</property>
</widget>
<widget class="TQLabel" row="3" column="3">
<property name="name">
<cstring>textLabel1_3_4</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>degree</string>
</property>
</widget>
<widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel3_2</cstring>
</property>
<property name="text">
<string>Rotation:</string>
</property>
<property name="toolTip" stdset="0">
<string>Rotate output by x degrees</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel8</cstring>
</property>
<property name="text">
<string>Stretch:</string>
</property>
<property name="toolTip" stdset="0">
<string>Aspect ratio (&lt;1 stretched in the x direction, &gt;1 stretched in the y direction)</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel6</cstring>
</property>
<property name="text">
<string>Height:</string>
</property>
<property name="toolTip" stdset="0">
<string>Output image height</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel5</cstring>
</property>
<property name="text">
<string>Width:</string>
</property>
<property name="toolTip" stdset="0">
<string>Output image width</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQButtonGroup" row="1" column="0">
<property name="name">
<cstring>buttonGroup3</cstring>
</property>
<property name="title">
<string>Resolution (dpi)</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>resolutionAllBTN</cstring>
</property>
<property name="text">
<string>All</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="buttonGroupId">
<number>2</number>
</property>
<property name="toolTip" stdset="0">
<string>All dimensions</string>
</property>
</widget>
<widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>X</string>
</property>
</widget>
<widget class="TQLabel" row="4" column="0">
<property name="name">
<cstring>textLabel2_2</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Y</string>
</property>
</widget>
<widget class="TQRadioButton" row="2" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>resolutionXYBTN</cstring>
</property>
<property name="text">
<string>Each</string>
</property>
<property name="buttonGroupId">
<number>2</number>
</property>
<property name="toolTip" stdset="0">
<string>Each dimension separately</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="3" column="1">
<property name="name">
<cstring>resolutionX</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip" stdset="0">
<string>set the resolution (in dpi). One inch in the output image corresponds to this many
pixels in the input</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="4" column="1">
<property name="name">
<cstring>resolutionY</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip" stdset="0">
<string>set the resolution (in dpi). One inch in the output image corresponds to this many
pixels in the input</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>resolutionAll</cstring>
</property>
<property name="toolTip" stdset="0">
<string>set the resolution (in dpi). One inch in the output image corresponds to this many
pixels in the input</string>
</property>
</widget>
</grid>
</widget>
<spacer row="2" column="0">
<property name="name">
<cstring>spacer7</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
</size>
</property>
</spacer>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
<attribute name="title">
<string>&amp;Margins</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer row="1" column="0">
<property name="name">
<cstring>spacer5</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>270</height>
</size>
</property>
</spacer>
<widget class="TQButtonGroup" row="0" column="0">
<property name="name">
<cstring>buttonGroup2</cstring>
</property>
<property name="title">
<string>Margins</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="3" column="5">
<property name="name">
<cstring>textLabel1_3_7</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>cm</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="3" column="4">
<property name="name">
<cstring>marginsB</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Set output margins</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="2" column="4">
<property name="name">
<cstring>marginsT</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Set output margins</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="1" column="4">
<property name="name">
<cstring>marginsR</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>Set output margins</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="5">
<property name="name">
<cstring>textLabel1_3_3</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>cm</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="5">
<property name="name">
<cstring>textLabel1_3_5</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>cm</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="5">
<property name="name">
<cstring>textLabel1_3_6</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>cm</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="0" column="4">
<property name="name">
<cstring>marginsL</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip" stdset="0">
<string>Set output margins</string>
</property>
</widget>
<spacer row="0" column="1" rowspan="1" colspan="3">
<property name="name">
<cstring>spacer22</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>71</width>
<height>21</height>
</size>
</property>
</spacer>
<spacer row="1" column="2" rowspan="1" colspan="2">
<property name="name">
<cstring>spacer22_2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>71</width>
<height>21</height>
</size>
</property>
</spacer>
<spacer row="2" column="2" rowspan="1" colspan="2">
<property name="name">
<cstring>spacer22_3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>71</width>
<height>21</height>
</size>
</property>
</spacer>
<spacer row="3" column="3">
<property name="name">
<cstring>spacer22_4</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>71</width>
<height>21</height>
</size>
</property>
</spacer>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel13</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Top:</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>textLabel12</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Right:</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel11</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Left:</string>
</property>
</widget>
<widget class="TQLabel" row="3" column="0" rowspan="1" colspan="3">
<property name="name">
<cstring>textLabel14</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Bottom:</string>
</property>
</widget>
<widget class="TQCheckBox" row="4" column="0" rowspan="1" colspan="6">
<property name="name">
<cstring>checkBoxSyncronizeMargins</cstring>
</property>
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>syncronize</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>autotracePage</cstring>
</property>
<attribute name="id">
<number>1</number>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQTabWidget" row="0" column="0">
<property name="name">
<cstring>autotraceTabs</cstring>
</property>
<property name="toolTip" stdset="0">
<string></string>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>&amp;Input - output</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox11</cstring>
</property>
<property name="title">
<string>&amp;Output format</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KComboBox" row="0" column="0">
<property name="name">
<cstring>autotraceOutputFormat</cstring>
</property>
<property name="toolTip" stdset="0">
<string>Select wanted output format</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox9</cstring>
</property>
<property name="title">
<string>Input image</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>autotraceDpiCheckbox</cstring>
</property>
<property name="text">
<string>&amp;DPI:</string>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Dot per inch of input image&lt;/p&gt;&lt;p&gt;(affects scaling in mif output)&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>autotraceCheckBoxReduceColors</cstring>
</property>
<property name="text">
<string>&amp;reduce color count to:</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Reduce input image to this number of colors (range: 2 - 256)&lt;/p&gt;</string>
</property>
</widget>
<widget class="KIntNumInput" row="0" column="1">
<property name="name">
<cstring>autotraceDpiInput</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="minValue">
<number>0</number>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Dot per inch of input image&lt;/p&gt;&lt;p&gt;(affects scaling in mif output)&lt;/p&gt;</string>
</property>
</widget>
<widget class="KIntNumInput" row="1" column="1">
<property name="name">
<cstring>autotraceColorCount</cstring>
</property>
<property name="value">
<number>2</number>
</property>
<property name="minValue">
<number>2</number>
</property>
<property name="maxValue">
<number>256</number>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Reduce input image to this number of colors (range: 2 - 256)&lt;/p&gt;</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox8_2</cstring>
</property>
<property name="title">
<string>Transparent color</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>autotraceUseBackground</cstring>
</property>
<property name="text">
<string>&amp;Use:</string>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Toggle transparent color&lt;/p&gt;</string>
</property>
</widget>
<widget class="KColorButton" row="0" column="1">
<property name="name">
<cstring>autotraceBackground</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string></string>
</property>
<property name="color">
<color>
<red>255</red>
<green>255</green>
<blue>255</blue>
</color>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Ignore this color in input file&lt;/p&gt;&lt;p&gt;(The color will be rendered as transparent in the output image)&lt;/p&gt;</string>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox10</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="title">
<string>Log</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>autotraceLog</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Create &amp;logfile</string>
</property>
<property name="toolTip" stdset="0">
<string>Not working at the moment</string>
</property>
</widget>
</grid>
</widget>
<spacer>
<property name="name">
<cstring>spacer14</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>30</height>
</size>
</property>
</spacer>
</vbox>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>tab</cstring>
</property>
<attribute name="title">
<string>&amp;Corners and curves</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox" row="0" column="0">
<property name="name">
<cstring>groupBox12</cstring>
</property>
<property name="title">
<string>Corners</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel3_4</cstring>
</property>
<property name="text">
<string>Thre&amp;shold:</string>
</property>
<property name="buddy" stdset="0">
<cstring>autotraceThreshold</cstring>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Consider any pixel which forms an angle with its predecessor(s) and successor(s) that is smaller than the specified angle (in degrees) as a corner.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel4_2</cstring>
</property>
<property name="text">
<string>Alwa&amp;ys threshold:</string>
</property>
<property name="buddy" stdset="0">
<cstring>autotraceAlwaysThreshold</cstring>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Consider any angle at a pixel which falls below the specified angle (in degrees) as a corner, even if it is bordered by other corner pixels.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel5_3</cstring>
</property>
<property name="focusPolicy">
<enum>NoFocus</enum>
</property>
<property name="text">
<string>&amp;Surround:</string>
</property>
<property name="buddy" stdset="0">
<cstring>autotraceSurround</cstring>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Consider the specified number of pixels on either side of a point when determining if that point is a corner.&lt;/p&gt;</string>
</property>
</widget>
<widget class="KIntNumInput" row="2" column="1">
<property name="name">
<cstring>autotraceSurround</cstring>
</property>
<property name="value">
<number>4</number>
</property>
<property name="minValue">
<number>0</number>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Consider the specified number of pixels on either side of a point when determining if that point is a corner.&lt;/p&gt;</string>
</property>
</widget>
<widget class="KIntNumInput" row="1" column="1">
<property name="name">
<cstring>autotraceAlwaysThreshold</cstring>
</property>
<property name="value">
<number>60</number>
</property>
<property name="minValue">
<number>0</number>
</property>
<property name="maxValue">
<number>360</number>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Consider any angle at a pixel which falls below the specified angle (in degrees) as a corner, even if it is bordered by other corner pixels.&lt;/p&gt;</string>
</property>
</widget>
<widget class="KIntNumInput" row="0" column="1">
<property name="name">
<cstring>autotraceThreshold</cstring>
</property>
<property name="value">
<number>100</number>
</property>
<property name="minValue">
<number>0</number>
</property>
<property name="maxValue">
<number>360</number>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Consider any pixel which forms an angle with its predecessor(s) and successor(s) that is smaller than the specified angle (in degrees) as a corner.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQCheckBox" row="3" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>autotraceAdjacentCorners</cstring>
</property>
<property name="text">
<string>&amp;Remove adjacent corners</string>
</property>
<property name="toolTip" stdset="0">
<string></string>
</property>
</widget>
</grid>
</widget>
<spacer row="2" column="0">
<property name="name">
<cstring>spacer15</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQGroupBox" row="1" column="0">
<property name="name">
<cstring>groupBox13</cstring>
</property>
<property name="title">
<string>Curves</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KDoubleNumInput" row="2" column="1">
<property name="name">
<cstring>autotraceReversionThreshold</cstring>
</property>
<property name="value">
<number>0.01</number>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;When a spline is closer to a straight line than the specified real number weighted by the square of the curve length, maintain it as a straight line, even if it is a list with curves.&lt;/p&gt;</string>
</property>
</widget>
<widget class="KIntNumInput" row="3" column="1">
<property name="name">
<cstring>autotraceIterations</cstring>
</property>
<property name="value">
<number>4</number>
</property>
<property name="minValue">
<number>0</number>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Smooth the curve the specified number of times prior to fitting&lt;/p&gt;</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="1" column="1">
<property name="name">
<cstring>autotraceLineThreshold</cstring>
</property>
<property name="value">
<number>1</number>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;If a spline does not deviate from the straight line defined by its endpoints by more than the specified number of pixels, then treat it as a straight line.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel7</cstring>
</property>
<property name="text">
<string>Re&amp;version threshold:</string>
</property>
<property name="buddy" stdset="0">
<cstring>autotraceReversionThreshold</cstring>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;When a spline is closer to a straight line than the specified real number weighted by the square of the curve length, maintain it as a straight line, even if it is a list with curves.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQLabel" row="3" column="0">
<property name="name">
<cstring>textLabel8_2</cstring>
</property>
<property name="text">
<string>&amp;Filter iterations:</string>
</property>
<property name="buddy" stdset="0">
<cstring>autotraceIterations</cstring>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Smooth the curve the specified number of times prior to fitting&lt;/p&gt;</string>
</property>
</widget>
<widget class="KDoubleNumInput" row="0" column="1">
<property name="name">
<cstring>autotraceErrorThreshold</cstring>
</property>
<property name="value">
<number>2</number>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Subdivide fitted curves that are offset by a number of pixels exceeding the specified real number&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQLabel" row="0" column="0">
<property name="name">
<cstring>textLabel6_2</cstring>
</property>
<property name="text">
<string>&amp;Error threshold:</string>
</property>
<property name="buddy" stdset="0">
<cstring>autotraceErrorThreshold</cstring>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Subdivide fitted curves that are offset by a number of pixels exceeding the specified real number&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel1_5</cstring>
</property>
<property name="text">
<string>&amp;Line threshold:</string>
</property>
<property name="buddy" stdset="0">
<cstring>autotraceLineThreshold</cstring>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;If a spline does not deviate from the straight line defined by its endpoints by more than the specified number of pixels, then treat it as a straight line.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQCheckBox" row="4" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>autotracePreserveWidth</cstring>
</property>
<property name="text">
<string>&amp;Preserve width</string>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Preserve line width prior to thinning&lt;/p&gt;</string>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
<attribute name="title">
<string>&amp;Various</string>
</attribute>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQButtonGroup" row="0" column="0">
<property name="name">
<cstring>buttonGroup5</cstring>
</property>
<property name="title">
<string>Object recognition</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>autotraceNoCenterline</cstring>
</property>
<property name="text">
<string>&amp;Outline</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="TQRadioButton" row="0" column="1">
<property name="name">
<cstring>autotraceCenterline</cstring>
</property>
<property name="text">
<string>C&amp;enterline</string>
</property>
<property name="checked">
<bool>false</bool>
</property>
</widget>
</grid>
</widget>
<widget class="TQGroupBox" row="1" column="0">
<property name="name">
<cstring>groupBox15</cstring>
</property>
<property name="title">
<string>Tangent</string>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel9</cstring>
</property>
<property name="text">
<string>&amp;Surround:</string>
</property>
<property name="buddy" stdset="0">
<cstring>autotraceTangentSurround</cstring>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Consider the specified number of points to either side of a point when computing the tangent at that point&lt;/p&gt;</string>
</property>
</widget>
<widget class="KIntNumInput">
<property name="name">
<cstring>autotraceTangentSurround</cstring>
</property>
<property name="value">
<number>3</number>
</property>
<property name="minValue">
<number>0</number>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Consider the specified number of points to either side of a point when computing the tangent at that point&lt;/p&gt;</string>
</property>
</widget>
</hbox>
</widget>
<spacer row="3" column="0">
<property name="name">
<cstring>spacer16</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>110</height>
</size>
</property>
</spacer>
<widget class="TQGroupBox" row="2" column="0">
<property name="name">
<cstring>groupBox16</cstring>
</property>
<property name="title">
<string>Despeckle</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="KDoubleNumInput" row="2" column="1">
<property name="name">
<cstring>autotraceDespeckleTightness</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="value">
<number>2</number>
</property>
<property name="maxValue">
<number>8</number>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Employ the specified real number as the value for despeckle tightness (range: 0-8)&lt;/p&gt;</string>
</property>
</widget>
<widget class="KIntNumInput" row="1" column="1">
<property name="name">
<cstring>autotraceDespeckleLevel</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="minValue">
<number>1</number>
</property>
<property name="maxValue">
<number>20</number>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Employ the specified integer as the value for despeckling(range: 1-20)&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQLabel" row="1" column="0">
<property name="name">
<cstring>textLabel10</cstring>
</property>
<property name="text">
<string>&amp;Level:</string>
</property>
<property name="buddy" stdset="0">
<cstring>autotraceDespeckleLevel</cstring>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Employ the specified integer as the value for despeckling(range: 1-20)&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQLabel" row="2" column="0">
<property name="name">
<cstring>textLabel11_2</cstring>
</property>
<property name="text">
<string>T&amp;ightness:</string>
</property>
<property name="buddy" stdset="0">
<cstring>autotraceDespeckleTightness</cstring>
</property>
<property name="toolTip" stdset="0">
<string>&lt;p&gt;Employ the specified real number as the value for despeckle tightness (range: 0-8)&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQCheckBox" row="0" column="0" rowspan="1" colspan="2">
<property name="name">
<cstring>autotraceDoDespeckle</cstring>
</property>
<property name="text">
<string>despec&amp;kle</string>
</property>
<property name="toolTip" stdset="0">
<string></string>
</property>
</widget>
</grid>
</widget>
</grid>
</widget>
</widget>
</grid>
</widget>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer12</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="KActiveLabel">
<property name="name">
<cstring>kActiveLabel2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="focusPolicy">
<enum>NoFocus</enum>
</property>
<property name="text">
<string>Backend:</string>
</property>
</widget>
<widget class="KComboBox">
<item>
<property name="text">
<string>potrace</string>
</property>
</item>
<item>
<property name="text">
<string>autotrace</string>
</property>
</item>
<property name="name">
<cstring>backendCombo</cstring>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer13</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<spacer>
<property name="name">
<cstring>spacer7_2</cstring>
</property>
<property name="orientation">
<enum>Vertical</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
</size>
</property>
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>113</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="KPushButton">
<property name="name">
<cstring>traceBtn</cstring>
</property>
<property name="text">
<string>&amp;Trace</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer4</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>60</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="KPushButton">
<property name="name">
<cstring>defaultBtn</cstring>
</property>
<property name="text">
<string>D&amp;efault options</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>autoTraceCheck</cstring>
</property>
<property name="text">
<string>Automatic Preview</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>preserveCheck</cstring>
</property>
<property name="text">
<string>Preserve options</string>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
</hbox>
</widget>
<connections>
<connection>
<sender>opaque</sender>
<signal>toggled(bool)</signal>
<receiver>backgroundBtn</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>scaleAllBTN</sender>
<signal>toggled(bool)</signal>
<receiver>scaleAll</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>scaleXYBTN</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel9_3</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>scaleXYBTN</sender>
<signal>toggled(bool)</signal>
<receiver>scaleX</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>scaleXYBTN</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel10_3</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>scaleXYBTN</sender>
<signal>toggled(bool)</signal>
<receiver>scaleY</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>resolutionAllBTN</sender>
<signal>toggled(bool)</signal>
<receiver>resolutionAll</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>resolutionXYBTN</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel1_2</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>resolutionXYBTN</sender>
<signal>toggled(bool)</signal>
<receiver>resolutionX</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>resolutionXYBTN</sender>
<signal>toggled(bool)</signal>
<receiver>textLabel2_2</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>resolutionXYBTN</sender>
<signal>toggled(bool)</signal>
<receiver>resolutionY</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>outputFormat</sender>
<signal>activated(const TQString&amp;)</signal>
<receiver>MainWidgetBase</receiver>
<slot>showOptions(const TQString&amp;)</slot>
</connection>
<connection>
<sender>backendCombo</sender>
<signal>activated(const TQString&amp;)</signal>
<receiver>MainWidgetBase</receiver>
<slot>backendChoosen(const TQString&amp;)</slot>
</connection>
<connection>
<sender>autotraceDpiCheckbox</sender>
<signal>toggled(bool)</signal>
<receiver>autotraceDpiInput</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>autotraceUseBackground</sender>
<signal>toggled(bool)</signal>
<receiver>autotraceBackground</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>autotraceCheckBoxReduceColors</sender>
<signal>toggled(bool)</signal>
<receiver>autotraceColorCount</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>marginsL</sender>
<signal>valueChanged(double)</signal>
<receiver>MainWidgetBase</receiver>
<slot>marginValueChanged(double)</slot>
</connection>
<connection>
<sender>marginsR</sender>
<signal>valueChanged(double)</signal>
<receiver>MainWidgetBase</receiver>
<slot>marginValueChanged(double)</slot>
</connection>
<connection>
<sender>marginsB</sender>
<signal>valueChanged(double)</signal>
<receiver>MainWidgetBase</receiver>
<slot>marginValueChanged(double)</slot>
</connection>
<connection>
<sender>marginsT</sender>
<signal>valueChanged(double)</signal>
<receiver>MainWidgetBase</receiver>
<slot>marginValueChanged(double)</slot>
</connection>
<connection>
<sender>checkBoxSyncronizeMargins</sender>
<signal>toggled(bool)</signal>
<receiver>MainWidgetBase</receiver>
<slot>syncronizeMarginsChanged(bool)</slot>
</connection>
<connection>
<sender>autotraceDoDespeckle</sender>
<signal>toggled(bool)</signal>
<receiver>autotraceDespeckleLevel</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>autotraceDoDespeckle</sender>
<signal>toggled(bool)</signal>
<receiver>autotraceDespeckleTightness</receiver>
<slot>setEnabled(bool)</slot>
</connection>
</connections>
<tabstops>
<tabstop>tabWidget3</tabstop>
<tabstop>blackLevel</tabstop>
<tabstop>invertInput</tabstop>
<tabstop>foregroundBtn</tabstop>
<tabstop>opaque</tabstop>
<tabstop>backgroundBtn</tabstop>
<tabstop>outputFormat</tabstop>
<tabstop>kActiveLabel1</tabstop>
<tabstop>pageSize</tabstop>
<tabstop>optimizedNumericalCode</tabstop>
<tabstop>level2</tabstop>
<tabstop>SVGGroup</tabstop>
<tabstop>antialiasGamma</tabstop>
<tabstop>scaleAllBTN</tabstop>
<tabstop>scaleAll</tabstop>
<tabstop>scaleXYBTN</tabstop>
<tabstop>scaleX</tabstop>
<tabstop>scaleY</tabstop>
<tabstop>policy</tabstop>
<tabstop>despeckle</tabstop>
<tabstop>cornerThreshold</tabstop>
<tabstop>optimizationTolerance</tabstop>
<tabstop>outputQuantization</tabstop>
<tabstop>curveOptimization</tabstop>
<tabstop>width</tabstop>
<tabstop>height</tabstop>
<tabstop>stretch</tabstop>
<tabstop>rotation</tabstop>
<tabstop>resolutionAllBTN</tabstop>
<tabstop>resolutionAll</tabstop>
<tabstop>resolutionX</tabstop>
<tabstop>resolutionY</tabstop>
<tabstop>marginsL</tabstop>
<tabstop>marginsR</tabstop>
<tabstop>marginsT</tabstop>
<tabstop>marginsB</tabstop>
<tabstop>checkBoxSyncronizeMargins</tabstop>
<tabstop>autotraceTabs</tabstop>
<tabstop>autotraceOutputFormat</tabstop>
<tabstop>autotraceDpiCheckbox</tabstop>
<tabstop>autotraceDpiInput</tabstop>
<tabstop>autotraceCheckBoxReduceColors</tabstop>
<tabstop>autotraceColorCount</tabstop>
<tabstop>autotraceUseBackground</tabstop>
<tabstop>autotraceBackground</tabstop>
<tabstop>autotraceLog</tabstop>
<tabstop>autotraceThreshold</tabstop>
<tabstop>autotraceAlwaysThreshold</tabstop>
<tabstop>autotraceSurround</tabstop>
<tabstop>autotraceAdjacentCorners</tabstop>
<tabstop>autotraceErrorThreshold</tabstop>
<tabstop>autotraceReversionThreshold</tabstop>
<tabstop>autotraceIterations</tabstop>
<tabstop>autotracePreserveWidth</tabstop>
<tabstop>autotraceNoCenterline</tabstop>
<tabstop>autotraceTangentSurround</tabstop>
<tabstop>autotraceDespeckleLevel</tabstop>
<tabstop>autotraceDespeckleTightness</tabstop>
<tabstop>kActiveLabel2</tabstop>
<tabstop>backendCombo</tabstop>
<tabstop>traceBtn</tabstop>
<tabstop>defaultBtn</tabstop>
<tabstop>autoTraceCheck</tabstop>
<tabstop>preserveCheck</tabstop>
<tabstop>imagesTabs</tabstop>
</tabstops>
<slots>
<slot access="protected">showOptions( const TQString &amp; )</slot>
<slot access="protected">backendChoosen( const TQString &amp; )</slot>
<slot>valueChanged()</slot>
<slot>marginValueChanged( double )</slot>
<slot>syncronizeMarginsChanged( bool isChecked )</slot>
</slots>
<layoutdefaults spacing="6" margin="11"/>
<includes>
<include location="global" impldecl="in implementation">kactivelabel.h</include>
<include location="global" impldecl="in implementation">kcolorbutton.h</include>
<include location="global" impldecl="in implementation">kcombobox.h</include>
<include location="global" impldecl="in implementation">knuminput.h</include>
<include location="global" impldecl="in implementation">kpushbutton.h</include>
<include location="global" impldecl="in implementation">ksqueezedtextlabel.h</include>
</includes>
</UI>