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.
kchmviewer/src/kchmsetupdialog.ui

718 lines
36 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KCHMSetupDialog</class>
<widget class="TQDialog">
<property name="name">
<cstring>MyDialog1</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>654</width>
<height>343</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>1</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="caption">
<string>KchmViewer settings</string>
</property>
<property name="sizeGripEnabled">
<bool>false</bool>
</property>
<property name="modal">
<bool>true</bool>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>11</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<property name="resizeMode">
<enum>Minimum</enum>
</property>
<widget class="TQTabWidget">
<property name="name">
<cstring>tabWidget</cstring>
</property>
<widget class="TQWidget">
<property name="name">
<cstring>Widget8</cstring>
</property>
<attribute name="title">
<string>General behavior</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup1</cstring>
</property>
<property name="title">
<string>If no arguments given on load</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_radioOnBeginOpenDialog</cstring>
</property>
<property name="text">
<string>Open the 'open CHM file' dialog</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_radioOnBeginOpenLast</cstring>
</property>
<property name="text">
<string>Open the &amp;last used CHM file, if exist</string>
</property>
<property name="accel">
<string>Alt+L</string>
</property>
</widget>
</vbox>
</widget>
<widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup2</cstring>
</property>
<property name="title">
<string>History</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>Store history information for</string>
</property>
</widget>
<widget class="TQSpinBox">
<property name="name">
<cstring>m_historySize</cstring>
</property>
<property name="prefix">
<string></string>
</property>
<property name="value">
<number>10</number>
</property>
</widget>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel2</cstring>
</property>
<property name="text">
<string>latest files</string>
</property>
</widget>
</hbox>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>m_rememberHistoryInfo</cstring>
</property>
<property name="text">
<string>R&amp;emember extra information for history files</string>
</property>
<property name="accel">
<string>Alt+E</string>
</property>
<property name="toolTip" stdset="0">
<string>Remembers the information about the files, which were opened. Remembers last opened page, search history, font size, bookmarks and so on.</string>
</property>
</widget>
</vbox>
</widget>
</hbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox1</cstring>
</property>
<property name="title">
<string>CHM security settings</string>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup4</cstring>
</property>
<property name="title">
<string>When external link clicked</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_radioExtLinkOpenAlways</cstring>
</property>
<property name="text">
<string>Alwa&amp;ys open it in external browser</string>
</property>
<property name="accel">
<string>Alt+Y</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_radioExtLinkAsk</cstring>
</property>
<property name="text">
<string>Ask for confirmation</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_radioExtLinkOpenNever</cstring>
</property>
<property name="text">
<string>Do not open the link</string>
</property>
<property name="accel">
<string></string>
</property>
</widget>
</vbox>
</widget>
<widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup5</cstring>
</property>
<property name="title">
<string>When link pointed to a new CHM file clicked</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_radioNewChmOpenAlways</cstring>
</property>
<property name="text">
<string>Always open a new CHM file</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_radioNewChmAsk</cstring>
</property>
<property name="text">
<string>Ask for confirmation</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_radioNewChmOpenNever</cstring>
</property>
<property name="text">
<string>Do not open a new CHM file</string>
</property>
</widget>
</vbox>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>Widget9</cstring>
</property>
<attribute name="title">
<string>Version-specific settings</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>m_groupQtsettings</cstring>
</property>
<property name="title">
<string>Qt version settings</string>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>7</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="lineWidth">
<number>1</number>
</property>
<property name="text">
<string>Enter the path to the program, which will be used as a browser for external links. A &lt;i&gt;%s&lt;/i&gt; symbol will be replaced by the URL clicked.</string>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
<widget class="TQLineEdit">
<property name="name">
<cstring>m_qtBrowserPath</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</hbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>m_groupKDEsettings</cstring>
</property>
<property name="title">
<string>TDE version settings</string>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup5_2</cstring>
</property>
<property name="title">
<string>To show HTML content, use</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_radioUseQtextBrowser</cstring>
</property>
<property name="text">
<string>&amp;QTextBrowser-based widget</string>
</property>
<property name="accel">
<string>Alt+Q</string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_radioUseTDEHTMLPart</cstring>
</property>
<property name="text">
<string>&amp;TDEHTMLPart-based widget</string>
</property>
<property name="accel">
<string>Alt+K</string>
</property>
</widget>
</vbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupKhtmlSecurity</cstring>
</property>
<property name="title">
<string>TDEHTMLPart security</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox" row="0" column="0">
<property name="name">
<cstring>m_enableJS</cstring>
</property>
<property name="text">
<string>Enable Java&amp;Script</string>
</property>
<property name="accel">
<string>Alt+S</string>
</property>
</widget>
<widget class="TQCheckBox" row="0" column="1">
<property name="name">
<cstring>m_enablePlugins</cstring>
</property>
<property name="text">
<string>Enable &amp;plugins</string>
</property>
<property name="accel">
<string>Alt+P</string>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="0">
<property name="name">
<cstring>m_enableJava</cstring>
</property>
<property name="text">
<string>Enable &amp;Java</string>
</property>
<property name="accel">
<string>Alt+J</string>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="1">
<property name="name">
<cstring>m_enableRefresh</cstring>
</property>
<property name="text">
<string>Enable &amp;refresh</string>
</property>
<property name="accel">
<string>Alt+R</string>
</property>
</widget>
</grid>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<widget class="TQWidget">
<property name="name">
<cstring>TabPage</cstring>
</property>
<attribute name="title">
<string>Advanced</string>
</attribute>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQButtonGroup">
<property name="name">
<cstring>buttonGroup7</cstring>
</property>
<property name="title">
<string>View HTML source command uses</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_advViewSourceInternal</cstring>
</property>
<property name="text">
<string>Built-in HTML source viewer</string>
</property>
<property name="accel">
<string></string>
</property>
</widget>
<widget class="TQRadioButton">
<property name="name">
<cstring>m_advViewSourceExternal</cstring>
</property>
<property name="text">
<string>E&amp;xternal program, specified below</string>
</property>
<property name="accel">
<string>Alt+X</string>
</property>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>layout4</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>textLabel1_3</cstring>
</property>
<property name="text">
<string>External program:</string>
</property>
</widget>
<widget class="TQLineEdit">
<property name="name">
<cstring>m_advExternalProgramName</cstring>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<widget class="TQButtonGroup">
<property name="name">
<cstring>groupBox6</cstring>
</property>
<property name="title">
<string>Search engine to use</string>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQRadioButton" row="1" column="0">
<property name="name">
<cstring>m_useSearchEngineInternal</cstring>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="TQLabel" row="1" column="1">
<property name="name">
<cstring>m_labelUseSearchEngineInternal</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>10</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Use the search based on internal CHM index. This engine cannot search for any symbols except underscode, does not support multibyte languages, and is not always available.</string>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
<widget class="TQRadioButton" row="0" column="0">
<property name="name">
<cstring>m_useSearchEngineNew</cstring>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="TQLabel" row="0" column="1">
<property name="name">
<cstring>m_labelUseSearchEngineNew</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>5</vsizetype>
<horstretch>10</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Use new kchmviewer internal search engine (recommended). This engine indexes symbols, so it is possible to search for special symbols (like "C++"). All languages are supported. The index will be generated before the first search.</string>
</property>
<property name="alignment">
<set>WordBreak|AlignVCenter</set>
</property>
</widget>
</grid>
</widget>
</vbox>
</widget>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>Layout1</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonHelp</cstring>
</property>
<property name="text">
<string>&amp;Help</string>
</property>
<property name="accel">
<string>F1</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Horizontal Spacing2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonOk</cstring>
</property>
<property name="text">
<string>&amp;OK</string>
</property>
<property name="accel">
<string></string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
<widget class="TQPushButton">
<property name="name">
<cstring>buttonCancel</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
<property name="accel">
<string></string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
</hbox>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>buttonOk</sender>
<signal>clicked()</signal>
<receiver>MyDialog1</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>buttonCancel</sender>
<signal>clicked()</signal>
<receiver>MyDialog1</receiver>
<slot>reject()</slot>
</connection>
<connection>
<sender>buttonHelp</sender>
<signal>clicked()</signal>
<receiver>MyDialog1</receiver>
<slot>slotShowHelp()</slot>
</connection>
<connection>
<sender>m_radioUseTDEHTMLPart</sender>
<signal>toggled(bool)</signal>
<receiver>groupKhtmlSecurity</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>m_advViewSourceExternal</sender>
<signal>toggled(bool)</signal>
<receiver>m_advExternalProgramName</receiver>
<slot>setEnabled(bool)</slot>
</connection>
<connection>
<sender>m_radioUseQtextBrowser</sender>
<signal>toggled(bool)</signal>
<receiver>groupKhtmlSecurity</receiver>
<slot>setDisabled(bool)</slot>
</connection>
</connections>
<tabstops>
<tabstop>m_advViewSourceInternal</tabstop>
<tabstop>m_advViewSourceExternal</tabstop>
<tabstop>m_useSearchEngineNew</tabstop>
<tabstop>m_useSearchEngineInternal</tabstop>
<tabstop>tabWidget</tabstop>
<tabstop>m_radioOnBeginOpenDialog</tabstop>
<tabstop>m_radioOnBeginOpenLast</tabstop>
<tabstop>m_historySize</tabstop>
<tabstop>m_rememberHistoryInfo</tabstop>
<tabstop>m_radioExtLinkOpenAlways</tabstop>
<tabstop>m_radioExtLinkAsk</tabstop>
<tabstop>m_radioExtLinkOpenNever</tabstop>
<tabstop>m_radioNewChmOpenAlways</tabstop>
<tabstop>m_radioNewChmAsk</tabstop>
<tabstop>m_radioNewChmOpenNever</tabstop>
<tabstop>m_qtBrowserPath</tabstop>
<tabstop>m_radioUseQtextBrowser</tabstop>
<tabstop>m_radioUseTDEHTMLPart</tabstop>
<tabstop>m_enableJS</tabstop>
<tabstop>m_enablePlugins</tabstop>
<tabstop>m_enableJava</tabstop>
<tabstop>m_enableRefresh</tabstop>
<tabstop>m_advExternalProgramName</tabstop>
<tabstop>buttonHelp</tabstop>
<tabstop>buttonOk</tabstop>
<tabstop>buttonCancel</tabstop>
</tabstops>
<Q_SLOTS>
<slot>m_radioUseTDEHTMLPart_toggled( bool )</slot>
<slot>slotShowHelp()</slot>
</Q_SLOTS>
<layoutdefaults spacing="6" margin="11"/>
</UI>