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.
1079 lines
52 KiB
1079 lines
52 KiB
<!DOCTYPE UI><UI version="3.0" stdsetdef="1">
|
|
<class>Tidy</class>
|
|
<widget class="Dialog">
|
|
<property name="name">
|
|
<cstring>Tidy</cstring>
|
|
</property>
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>578</width>
|
|
<height>573</height>
|
|
</rect>
|
|
</property>
|
|
<property name="caption">
|
|
<string>Tidy by Kommander</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="TabWidget" row="0" column="0" rowspan="1" colspan="5">
|
|
<property name="name">
|
|
<cstring>TabWidget1</cstring>
|
|
</property>
|
|
<widget class="QWidget">
|
|
<property name="name">
|
|
<cstring>tab</cstring>
|
|
</property>
|
|
<attribute name="title">
|
|
<string>General Options</string>
|
|
</attribute>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="GroupBox" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>GroupBox1</cstring>
|
|
</property>
|
|
<property name="title">
|
|
<string>Non Tidy Option</string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="QLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel4</cstring>
|
|
</property>
|
|
<property name="font">
|
|
<font>
|
|
<bold>1</bold>
|
|
<italic>1</italic>
|
|
</font>
|
|
</property>
|
|
<property name="text">
|
|
<string>Note: This will not work well if you have multiple
|
|
instances of Quanta running.</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>GUseDCOP</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use DCOP to send active page from Quanta+ to tidy</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="FileSelector" row="8" column="0">
|
|
<property name="name">
|
|
<cstring>GconfigF</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>@widgetText</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Path to tidy (required):</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="FileSelector" row="6" column="0">
|
|
<property name="name">
|
|
<cstring>GoutF</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>@widgetText</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="3" column="0">
|
|
<property name="name">
|
|
<cstring>GinputEN</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Input from file instead of stdin:</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="9" column="0">
|
|
<property name="name">
|
|
<cstring>GerrorEN</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Write errors to file instead of stderr:</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="7" column="0">
|
|
<property name="name">
|
|
<cstring>GconfigEN</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Use configuration from file:</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="5" column="0">
|
|
<property name="name">
|
|
<cstring>GoutputEN</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Output to file instead of stdout:</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="FileSelector" row="4" column="0">
|
|
<property name="name">
|
|
<cstring>GinF</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>@widgetText</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="FileSelector" row="10" column="0">
|
|
<property name="name">
|
|
<cstring>GerrorF</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>@widgetText</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="11" column="0">
|
|
<property name="name">
|
|
<cstring>GmodF</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="text">
|
|
<string>Modify original input files</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="FileSelector" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>GtidyPath</cstring>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>@widgetText</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="ExecButton" row="2" column="1">
|
|
<property name="name">
|
|
<cstring>ExecButton2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>/usr/bin</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>echo "/usr/bin/tidy"</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="QWidget">
|
|
<property name="name">
|
|
<cstring>tab</cstring>
|
|
</property>
|
|
<attribute name="title">
|
|
<string>Processing Directives</string>
|
|
</attribute>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="QLayoutWidget" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>Layout1</cstring>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>0</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="CheckBox" row="13" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>ParseAsHTML</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Force XHTML to well-formed HTML</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="12" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>ParseAsXHTML</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Convert HTML to well-formed XHTML</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="4" column="0">
|
|
<property name="name">
|
|
<cstring>ParseClean</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Replace FONT, NOBR and CENTER tags by CSS</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="3" column="0">
|
|
<property name="name">
|
|
<cstring>ParseUpper</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Force tags to upper case</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="10" column="0">
|
|
<property name="name">
|
|
<cstring>ParseXML</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Specify the input is well-formed XML</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="9" column="0">
|
|
<property name="name">
|
|
<cstring>ParseOmit</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Omit optional end tags</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel1_2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Do extra accessibility checks <level>:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="SpinBoxInt" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>ParseWrap</cstring>
|
|
</property>
|
|
<property name="maxValue">
|
|
<number>500</number>
|
|
</property>
|
|
<property name="minValue">
|
|
<number>68</number>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>@widgetText</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="6" column="0">
|
|
<property name="name">
|
|
<cstring>ParseNumeric</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Output numeric rather than named entities</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="7" column="0">
|
|
<property name="name">
|
|
<cstring>ParseErrors</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Only show errors</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="SpinBoxInt" row="0" column="1">
|
|
<property name="name">
|
|
<cstring>ParseAccess</cstring>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>@widgetText</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>TextLabel2</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Wrap text at column:</string>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="11" column="0">
|
|
<property name="name">
|
|
<cstring>ParseAsXML</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Convert HTML to well-formed XML</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>ParseIndent</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Indent element content</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="5" column="0">
|
|
<property name="name">
|
|
<cstring>ParseBare</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Strip out smart quotes and em dashes, etc.</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="CheckBox" row="8" column="0">
|
|
<property name="name">
|
|
<cstring>ParseQuiet</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Suppress nonessential output</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>0</string>
|
|
<string></string>
|
|
<string>1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="QWidget">
|
|
<property name="name">
|
|
<cstring>tab</cstring>
|
|
</property>
|
|
<attribute name="title">
|
|
<string>Character Encodings</string>
|
|
</attribute>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="ButtonGroup" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>CharEncoding</cstring>
|
|
</property>
|
|
<property name="title">
|
|
<string></string>
|
|
</property>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="RadioButton" row="9" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>CEibm858</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(ibm858) use IBM-858 (CP850+Euro) for input, US-ASCII for output</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -ibm858</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="1" column="0">
|
|
<property name="name">
|
|
<cstring>CEraw</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(raw) output values above 127 without conversion to entities</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -raw</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="10" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>CEutf16Le</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(utf16le) use UTF-16LE for both input and output</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -utf16le</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="4" column="0">
|
|
<property name="name">
|
|
<cstring>CElatin1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(latin1) use ISO-8859-1 for both input and output</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -latin1</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="8" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>CEwin1252</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(win1252) use Windows-1252 for input, US-ASCII for output</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -win1252</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="LineEdit" row="15" column="1">
|
|
<property name="name">
|
|
<cstring>CE</cstring>
|
|
</property>
|
|
<property name="maxLength">
|
|
<number>2</number>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="14" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>CEshiftjis</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(shiftjis) use Shift_JIS for both input and output</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -shiftjis</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="11" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>CEutf16be</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(utf16be) use UTF-16BE for both input and output</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -utf16be</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="2" column="0">
|
|
<property name="name">
|
|
<cstring>CEascii</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(ascii) use US-ASCII for output, ISO-8859-1 for input</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -ascii</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="15" column="0">
|
|
<property name="name">
|
|
<cstring>CElangcode</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>set the two-letter language code <lang> (for future use)</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -language @CE</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="12" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>CEutf16</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(utf16) use UTF-16 for both input and output</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -utf16</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="13" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>CEbig5</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(big5) use Big5 for both input and output</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -big5</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="6" column="0">
|
|
<property name="name">
|
|
<cstring>CEutf8</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(utf8) use UTF-8 for both input and output</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -utf8</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="3" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>CElatin0</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(latin0) use US-ASCII for output, ISO-8859-1 for input</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -latin0</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="7" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>CEmac</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(mac) use MacRoman for input, US-ASCII for output</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -mac</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="5" column="0" rowspan="1" colspan="2">
|
|
<property name="name">
|
|
<cstring>CEiso2022</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>(iso2022) use ISO-2022 for both input and output</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string> -iso2022</string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
<widget class="RadioButton" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>RadioButton16</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>Do not specify an encoding</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string></string>
|
|
<string></string>
|
|
</stringlist>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<widget class="QWidget">
|
|
<property name="name">
|
|
<cstring>tab</cstring>
|
|
</property>
|
|
<attribute name="title">
|
|
<string>About Tidy</string>
|
|
</attribute>
|
|
<grid>
|
|
<property name="name">
|
|
<cstring>unnamed</cstring>
|
|
</property>
|
|
<property name="margin">
|
|
<number>11</number>
|
|
</property>
|
|
<property name="spacing">
|
|
<number>6</number>
|
|
</property>
|
|
<widget class="TextEdit" row="0" column="0">
|
|
<property name="name">
|
|
<cstring>TextEdit1</cstring>
|
|
</property>
|
|
<property name="enabled">
|
|
<bool>true</bool>
|
|
</property>
|
|
<property name="paletteBackgroundColor">
|
|
<color>
|
|
<red>255</red>
|
|
<green>255</green>
|
|
<blue>255</blue>
|
|
</color>
|
|
</property>
|
|
<property name="text">
|
|
<string>HTML Tidy Configuration Settings
|
|
|
|
Within a file, use the form:
|
|
|
|
wrap: 72
|
|
split: no
|
|
|
|
When specified on the command line, use the form:
|
|
|
|
--wrap 72 --split no
|
|
|
|
Name Type Allowable values
|
|
==================== ========= ==============================
|
|
indent-spaces Integer 0, 1, 2, ...
|
|
wrap Integer 0 (no wrapping), 1, 2, ...
|
|
tab-size Integer 0, 1, 2, ...
|
|
char-encoding Encoding ascii, latin0, latin1, raw, utf8, iso202
|
|
utf16le, utf16be, utf16,
|
|
mac, win1252, ibm858, big5, shiftjis
|
|
input-encoding Encoding ascii, latin0, latin1, raw, utf8, iso202
|
|
utf16le, utf16be, utf16,
|
|
mac, win1252, ibm858, big5, shiftjis
|
|
output-encoding Encoding ascii, latin0, latin1, raw, utf8, iso202
|
|
utf16le, utf16be, utf16,
|
|
mac, win1252, ibm858, big5, shiftjis
|
|
newline enum LF, CRLF, CR
|
|
doctype DocType auto, omit, strict, loose, transitional,
|
|
user specified fpi (string)
|
|
repeated-attributes enum keep-first, keep-last
|
|
alt-text String -
|
|
slide-style String -
|
|
error-file String -
|
|
output-file String -
|
|
write-back Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
markup Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
show-warnings Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
quiet Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
indent AutoBool auto, y/n, yes/no, t/f, true/false, 1/0
|
|
hide-endtags Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
input-xml Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
output-xml Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
output-xhtml Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
output-html Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
add-xml-decl Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
uppercase-tags Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
uppercase-attributes Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
bare Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
clean Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
logical-emphasis Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
drop-proprietary-attributes Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
drop-font-tags Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
drop-empty-paras Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
fix-bad-comments Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
break-before-br Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
split Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
numeric-entities Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
quote-marks Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
quote-nbsp Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
quote-ampersand Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
wrap-attributes Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
wrap-script-literals Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
wrap-sections Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
wrap-asp Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
wrap-jste Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
wrap-php Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
fix-backslash Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
indent-attributes Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
assume-xml-procins Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
add-xml-space Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
enclose-text Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
enclose-block-text Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
keep-time Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
word-2000 Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
tidy-mark Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
gnu-emacs Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
gnu-emacs-file String -
|
|
literal-attributes Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
show-body-only Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
fix-uri Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
lower-literals Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
hide-comments Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
indent-cdata Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
force-output Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
show-errors Integer 0, 1, 2, ...
|
|
ascii-chars Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
join-classes Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
join-styles Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
escape-cdata Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
language String -
|
|
ncr Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
output-bom AutoBool auto, y/n, yes/no, t/f, true/false, 1/0
|
|
replace-color Boolean y/n, yes/no, t/f, true/false, 1/0
|
|
css-prefix Name CSS1 selector
|
|
new-inline-tags Tag names tagX, tagY, ...
|
|
new-blocklevel-tags Tag names tagX, tagY, ...
|
|
new-empty-tags Tag names tagX, tagY, ...
|
|
new-pre-tags Tag names tagX, tagY, ...
|
|
accessibility-check Integer 0, 1, 2, ...
|
|
</string>
|
|
</property>
|
|
<property name="readOnly">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
</widget>
|
|
<widget class="ExecButton" row="1" column="1">
|
|
<property name="name">
|
|
<cstring>ExecButton1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Process</string>
|
|
</property>
|
|
<property name="associations" stdset="0">
|
|
<stringlist>
|
|
<string>tidyargs="@GtidyPath @CharEncoding"
|
|
|
|
[ 1 -eq @GmodF ] && tidyargs="$tidyargs -m"
|
|
[ 1 -eq @GoutputEN ] && tidyargs="$tidyargs -o @GoutF"
|
|
[ 1 -eq @GerrorEN ] && tidyargs="$tidyargs -f @GerrorF"
|
|
[ 1 -eq @GconfigEN ] && tidyargs="$tidyargs -config @GconfigF"
|
|
[ 1 -eq @GinputEN ] && tidyargs="$tidyargs @GinF"
|
|
[ 1 -eq @ParseIndent ] && tidyargs="$tidyargs -i"
|
|
[ 68 -lt @ParseWrap ] && tidyargs="$tidyargs -wrap @ParseWrap"
|
|
[ 1 -eq @ParseUpper ] && tidyargs="$tidyargs -u"
|
|
[ 1 -eq @ParseClean ] && tidyargs="$tidyargs -c"
|
|
[ 1 -eq @ParseBare ] && tidyargs="$tidyargs -b"
|
|
[ 1 -eq @ParseNumeric ] && tidyargs="$tidyargs -n"
|
|
[ 1 -eq @ParseErrors ] && tidyargs="$tidyargs -e"
|
|
[ 1 -eq @ParseQuiet ] && tidyargs="$tidyargs -q"
|
|
[ 1 -eq @ParseOmit ] && tidyargs="$tidyargs -omit"
|
|
[ 1 -eq @ParseXML ] && tidyargs="$tidyargs -xml"
|
|
[ 1 -eq @ParseAsHTML ] && tidyargs="$tidyargs -asxml"
|
|
[ 1 -eq @ParseAsXHTML ] && tidyargs="$tidyargs -asxhtml"
|
|
[ 1 -eq @ParseAsHTML ] && tidyargs="$tidyargs -ashtml"
|
|
[ 0 -lt @ParseAccess ] && tidyargs="$tidyargs -access @ParseAccess"
|
|
|
|
if [ @GUseDCOP -eq 1 ]; then
|
|
dcopid=`dcop quanta*`
|
|
ifstr="EditInterface#"`dcop $dcopid WindowManagerIf currentEditorIfNum`
|
|
dcop $dcopid $ifstr text | $tidyargs
|
|
else
|
|
$tidyargs
|
|
fi
|
|
</string>
|
|
</stringlist>
|
|
</property>
|
|
<property name="writeStdout">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<spacer row="1" column="0">
|
|
<property name="name">
|
|
<cstring>Spacer1</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>100</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<spacer row="1" column="2">
|
|
<property name="name">
|
|
<cstring>Spacer1_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>0</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<spacer row="1" column="4">
|
|
<property name="name">
|
|
<cstring>Spacer1_2</cstring>
|
|
</property>
|
|
<property name="orientation">
|
|
<enum>Horizontal</enum>
|
|
</property>
|
|
<property name="sizeType">
|
|
<enum>Expanding</enum>
|
|
</property>
|
|
<property name="sizeHint">
|
|
<size>
|
|
<width>125</width>
|
|
<height>0</height>
|
|
</size>
|
|
</property>
|
|
</spacer>
|
|
<widget class="CloseButton" row="1" column="3">
|
|
<property name="name">
|
|
<cstring>CloseButton1</cstring>
|
|
</property>
|
|
<property name="text">
|
|
<string>&Cancel</string>
|
|
</property>
|
|
</widget>
|
|
</grid>
|
|
</widget>
|
|
<connections>
|
|
<connection>
|
|
<sender>GoutputEN</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>GoutF</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>GconfigEN</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>GconfigF</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>GerrorEN</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>GerrorF</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>GinputEN</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>GinF</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>GinputEN</sender>
|
|
<signal>toggled(bool)</signal>
|
|
<receiver>GmodF</receiver>
|
|
<slot>setEnabled(bool)</slot>
|
|
</connection>
|
|
<connection>
|
|
<sender>ExecButton2</sender>
|
|
<signal>widgetTextChanged(const QString&)</signal>
|
|
<receiver>GtidyPath</receiver>
|
|
<slot>setWidgetText(const QString&)</slot>
|
|
</connection>
|
|
</connections>
|
|
<layoutdefaults spacing="6" margin="11"/>
|
|
</UI>
|