More data bindings (MaxResultsToShow + ActivatedTimes)

This commit is contained in:
bao-qian
2016-05-23 22:08:13 +01:00
parent 762de84f34
commit e1131dcf3d
15 changed files with 62 additions and 52 deletions

View File

@@ -1,10 +1,8 @@
using System;
using PropertyChanged;
using Wox.Plugin;
namespace Wox.Core.UserSettings
{
[ImplementPropertyChanged]
public class CustomPluginHotkey
public class CustomPluginHotkey : BaseModel
{
public string Hotkey { get; set; }
public string ActionKeyword { get; set; }

View File

@@ -1,13 +1,9 @@
using System.Collections.Generic;
using System.Linq;
using PropertyChanged;
using Wox.Core.Plugin;
using Wox.Plugin;
namespace Wox.Core.UserSettings
{
[ImplementPropertyChanged]
public class PluginsSettings
public class PluginsSettings : BaseModel
{
public string PythonDirectory { get; set; }
public Dictionary<string, Plugin> Plugins { get; set; } = new Dictionary<string, Plugin>();

View File

@@ -3,12 +3,11 @@ using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Drawing;
using Newtonsoft.Json;
using PropertyChanged;
using Wox.Plugin;
namespace Wox.Core.UserSettings
{
[ImplementPropertyChanged]
public class Settings
public class Settings : BaseModel
{
public string Hotkey { get; set; } = "Alt + Space";
public string Language { get; set; } = "en";
@@ -55,6 +54,7 @@ namespace Wox.Core.UserSettings
public int ProxyPort { get; set; }
public string ProxyUserName { get; set; }
public string ProxyPassword { get; set; }
}
[Obsolete]