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.
klamav/src/klamonacc_config.ui

242 lines
9.2 KiB

<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>KlamOnAccConfig</class>
<widget class="TQWidget">
<property name="name">
<cstring>KlamOnAccConfig</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>712</width>
<height>647</height>
</rect>
</property>
<property name="caption">
<string>Form1</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQGroupBox">
<property name="name">
<cstring>GroupScannerOpts</cstring>
</property>
<property name="title">
<string>Scanner Settings</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_EnableOnAccess</cstring>
</property>
<property name="text">
<string>Enable &amp;On-Access Scanner</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_ExtraScanning</cstring>
</property>
<property name="text">
<string>Scan Files/Directories When They Are &amp;Created or Moved</string>
</property>
</widget>
<widget class="TQCheckBox">
<property name="name">
<cstring>kcfg_ExcludeConfDir</cstring>
</property>
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>E&amp;xclude TDE Configuration Directory</string>
</property>
</widget>
</vbox>
</widget>
<widget class="TQGroupBox">
<property name="name">
<cstring>groupBox2</cstring>
</property>
<property name="title">
<string>Limits</string>
</property>
<vbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>MaxFileHBox</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="TQLabel">
<property name="name">
<cstring>MaxFileLabel</cstring>
</property>
<property name="text">
<string>Max File Size:</string>
</property>
</widget>
<widget class="TQSpinBox">
<property name="name">
<cstring>kcfg_OnAccessMaxFile</cstring>
</property>
<property name="suffix">
<string> M</string>
</property>
<property name="value">
<number>5</number>
</property>
</widget>
<spacer>
<property name="name">
<cstring>MaxFileSpacer</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>
</vbox>
</widget>
<widget class="TQFrame">
<property name="name">
<cstring>GroupWatchDirs</cstring>
</property>
<property name="frameShape">
<enum>StyledPanel</enum>
</property>
<property name="frameShadow">
<enum>Raised</enum>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<spacer>
<property name="name">
<cstring>WatchDirsSpacerLeft</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="TQPushButton">
<property name="name">
<cstring>SetUpWatchDirs</cstring>
</property>
<property name="text">
<string>Set up &amp;Directories to Watch</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>WatchDirsSpacerRight</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>
<widget class="TQTextEdit">
<property name="name">
<cstring>textEdit1</cstring>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head&gt;&lt;meta name="qrichtext" content="1" /&gt;&lt;/head&gt;&lt;body style="font-size:12pt;font-family:Arial"&gt;
&lt;p align="center"&gt;&lt;span style="font-weight:600;text-decoration:underline;color:#ff0000"&gt;Warning!&lt;/span&gt; This function is experimental. Use with caution.&lt;/p&gt;
&lt;p&gt;The &lt;span style="font-weight:600"&gt;On-Access Scanner&lt;/span&gt; can scan files and directories as you open them, or even as you create them.&lt;/p&gt;
&lt;p&gt;This function requires the &lt;span style="font-style:italic"&gt;ClamAV Daemon&lt;/span&gt; to be already running in the background and requires root permissions to start.&lt;/p&gt;
&lt;/body&gt;&lt;/html&gt;
</string>
</property>
<property name="wordWrap">
<enum>WidgetWidth</enum>
</property>
</widget>
</vbox>
</widget>
<connections>
<connection>
<sender>SetUpWatchDirs</sender>
<signal>clicked()</signal>
<receiver>KlamOnAccConfig</receiver>
<slot>reconfigurePaths()</slot>
</connection>
<connection>
<sender>kcfg_ExtraScanning</sender>
<signal>clicked()</signal>
<receiver>KlamOnAccConfig</receiver>
<slot>slotSettingsChanged()</slot>
</connection>
<connection>
<sender>kcfg_ExcludeConfDir</sender>
<signal>clicked()</signal>
<receiver>KlamOnAccConfig</receiver>
<slot>slotSettingsChanged()</slot>
</connection>
<connection>
<sender>kcfg_OnAccessMaxFile</sender>
<signal>valueChanged(const TQString&amp;)</signal>
<receiver>KlamOnAccConfig</receiver>
<slot>slotSettingsChanged()</slot>
</connection>
</connections>
<includes>
<include location="local" impldecl="in implementation">klamonacc_config.ui.h</include>
</includes>
<variables>
<variable>bool restart;</variable>
</variables>
<signals>
<signal>directoriesModified()</signal>
</signals>
<slots>
<slot>reconfigurePaths()</slot>
<slot access="private">slotSettingsChanged()</slot>
<slot>slotSettingsApplied()</slot>
</slots>
<functions>
<function returnType="bool">needsRestart()</function>
</functions>
<layoutdefaults spacing="6" margin="11"/>
</UI>