diff options
Diffstat (limited to 'src/klamonacc_config.ui')
-rw-r--r-- | src/klamonacc_config.ui | 253 |
1 files changed, 253 insertions, 0 deletions
diff --git a/src/klamonacc_config.ui b/src/klamonacc_config.ui new file mode 100644 index 0000000..97e9fe5 --- /dev/null +++ b/src/klamonacc_config.ui @@ -0,0 +1,253 @@ +<!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 &On-Access Scanner</string> + </property> + <property name="accel"> + <string>Alt+O</string> + </property> + </widget> + <widget class="TQCheckBox"> + <property name="name"> + <cstring>kcfg_ExtraScanning</cstring> + </property> + <property name="text"> + <string>Scan Files/Directories When They Are &Created or Moved</string> + </property> + <property name="accel"> + <string>Alt+C</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&xclude TDE Configuration Directory</string> + </property> + <property name="accel"> + <string>Alt+X</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 &Directories to Watch</string> + </property> + <property name="accel"> + <string>Alt+D</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><html><head><meta name="qrichtext" content="1" /></head><body style="font-size:12pt;font-family:Arial"> +<p align="center"><span style="font-weight:600;text-decoration:underline;color:#ff0000">Warning!</span> This function is experimental. Use with caution.</p> +<p>The <span style="font-weight:600">On-Access Scanner</span> can scan files and directories as you open them, or even as you create them.</p> +<p>This function requires the <span style="font-style:italic">ClamAV Daemon</span> to be already running in the background and requires root permissions to start.</p> +</body></html> +</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&)</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> |