From 13cb4a5e7dc1c22d25c51da52156a558be0b7d05 Mon Sep 17 00:00:00 2001 From: Mavridis Philippe Date: Fri, 26 Feb 2021 19:34:09 +0200 Subject: Added On-Access Scanner. There are still a few TODOs, but it seems to work quite well already. This relates to issue #10. Signed-off-by: Mavridis Philippe --- src/klamonacc_config.ui | 253 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 253 insertions(+) create mode 100644 src/klamonacc_config.ui (limited to 'src/klamonacc_config.ui') 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 @@ + +KlamOnAccConfig + + + KlamOnAccConfig + + + + 0 + 0 + 712 + 647 + + + + Form1 + + + + unnamed + + + + GroupScannerOpts + + + Scanner Settings + + + + unnamed + + + + kcfg_EnableOnAccess + + + Enable &On-Access Scanner + + + Alt+O + + + + + kcfg_ExtraScanning + + + Scan Files/Directories When They Are &Created or Moved + + + Alt+C + + + + + kcfg_ExcludeConfDir + + + false + + + E&xclude TDE Configuration Directory + + + Alt+X + + + + + + + groupBox2 + + + Limits + + + + unnamed + + + + MaxFileHBox + + + + unnamed + + + + MaxFileLabel + + + Max File Size: + + + + + kcfg_OnAccessMaxFile + + + M + + + 5 + + + + + MaxFileSpacer + + + Horizontal + + + Expanding + + + + 40 + 20 + + + + + + + + + + GroupWatchDirs + + + StyledPanel + + + Raised + + + + unnamed + + + + WatchDirsSpacerLeft + + + Horizontal + + + Expanding + + + + 40 + 20 + + + + + + SetUpWatchDirs + + + Set up &Directories to Watch + + + Alt+D + + + + + WatchDirsSpacerRight + + + Horizontal + + + Expanding + + + + 40 + 20 + + + + + + + + textEdit1 + + + <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> + + + + WidgetWidth + + + + + + + SetUpWatchDirs + clicked() + KlamOnAccConfig + reconfigurePaths() + + + kcfg_ExtraScanning + clicked() + KlamOnAccConfig + slotSettingsChanged() + + + kcfg_ExcludeConfDir + clicked() + KlamOnAccConfig + slotSettingsChanged() + + + kcfg_OnAccessMaxFile + valueChanged(const TQString&) + KlamOnAccConfig + slotSettingsChanged() + + + + klamonacc_config.ui.h + + + bool restart; + + + directoriesModified() + + + reconfigurePaths() + slotSettingsChanged() + slotSettingsApplied() + + + needsRestart() + + + -- cgit v1.2.1