private int selectedVerbosity;\r
private bool sendFileAfterEncode;\r
private string sendFileTo;\r
- private string sendFileToPath; \r
+ private string sendFileToPath;\r
private string vlcPath;\r
private string whenDone;\r
private BindingList<string> whenDoneOptions = new BindingList<string>();\r
private long pauseOnLowDiskspaceLevel;\r
private bool useQsvDecodeForNonQsvEnc;\r
private bool showStatusInTitleBar;\r
+ private bool showPreviewOnSummaryTab;\r
\r
private string whenDoneAudioFile;\r
private bool playSoundWhenDone;\r
}\r
}\r
\r
+ /// <summary>\r
+ /// Gets or sets a value indicating whether to show previews in the summary tab.\r
+ /// </summary>\r
+ public bool ShowPreviewOnSummaryTab\r
+ {\r
+ get\r
+ {\r
+ return this.showPreviewOnSummaryTab;\r
+ }\r
+ set\r
+ {\r
+ if (value == this.showPreviewOnSummaryTab) return;\r
+ this.showPreviewOnSummaryTab = value;\r
+ this.NotifyOfPropertyChange(() => this.ShowPreviewOnSummaryTab);\r
+ }\r
+ }\r
+\r
/// <summary>\r
/// When Done Audio File\r
/// </summary>\r
{\r
if (this.IsValidAutonameFormat(value, false))\r
{\r
- this.autonameFormat = value; \r
- } \r
+ this.autonameFormat = value;\r
+ }\r
\r
this.NotifyOfPropertyChange("AutonameFormat");\r
}\r
this.ResetWhenDoneAction = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.ResetWhenDoneAction);\r
this.ShowQueueInline = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.ShowQueueInline);\r
this.ShowStatusInTitleBar = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.ShowStatusInTitleBar);\r
+ this.ShowPreviewOnSummaryTab = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.ShowPreviewOnSummaryTab);\r
this.WhenDoneAudioFile = Path.GetFileNameWithoutExtension(this.userSettingService.GetUserSetting<string>(UserSettingConstants.WhenDoneAudioFile)) ?? string.Empty;\r
this.WhenDoneAudioFileFullPath = this.userSettingService.GetUserSetting<string>(UserSettingConstants.WhenDoneAudioFile);\r
this.PlaySoundWhenDone = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.PlaySoundWhenDone);\r
this.userSettingService.SetUserSetting(UserSettingConstants.ResetWhenDoneAction, this.ResetWhenDoneAction);\r
this.userSettingService.SetUserSetting(UserSettingConstants.ShowQueueInline, this.ShowQueueInline);\r
this.userSettingService.SetUserSetting(UserSettingConstants.ShowStatusInTitleBar, this.ShowStatusInTitleBar);\r
+ this.userSettingService.SetUserSetting(UserSettingConstants.ShowPreviewOnSummaryTab, this.ShowPreviewOnSummaryTab);\r
this.userSettingService.SetUserSetting(UserSettingConstants.PlaySoundWhenDone, this.PlaySoundWhenDone);\r
this.userSettingService.SetUserSetting(UserSettingConstants.PlaySoundWhenQueueDone, this.PlaySoundWhenQueueDone);\r
this.userSettingService.SetUserSetting(UserSettingConstants.WhenDoneAudioFile, this.WhenDoneAudioFileFullPath);\r
private bool isPreviousPreviewControlVisible;
private bool isNextPreviewControlVisible;
+ private bool showPreview;
+
public SummaryViewModel(IScan scanService, IUserSettingService userSettingService)
{
this.scanService = scanService;
}
}
+ public bool ShowPreview
+ {
+ get
+ {
+ return this.showPreview;
+ }
+ set
+ {
+ if (value == this.showPreview) return;
+ this.showPreview = value;
+ this.NotifyOfPropertyChange(() => this.ShowPreview);
+ }
+ }
+
#endregion
#region Task Properties
// Preview
this.PreviewInfo = string.Format(ResourcesUI.SummaryView_PreviewInfo, this.selectedPreview, this.userSettingService.GetUserSetting<int>(UserSettingConstants.PreviewScanCount));
this.NotifyOfPropertyChange(() => this.PreviewInfo);
+
+ this.ShowPreview = this.userSettingService.GetUserSetting<bool>(UserSettingConstants.ShowPreviewOnSummaryTab);
}
private string GetFilterDescription()