|
5 | 5 | xmlns:cc="clr-namespace:Flow.Launcher.Resources.Controls" |
6 | 6 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
7 | 7 | xmlns:flowlauncher="clr-namespace:Flow.Launcher" |
8 | | - xmlns:userSettings="clr-namespace:Flow.Launcher.Infrastructure.UserSettings;assembly=Flow.Launcher.Infrastructure" |
9 | 8 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
10 | 9 | xmlns:ui="http://schemas.modernwpf.com/2019" |
| 10 | + xmlns:userSettings="clr-namespace:Flow.Launcher.Infrastructure.UserSettings;assembly=Flow.Launcher.Infrastructure" |
11 | 11 | xmlns:viewModels="clr-namespace:Flow.Launcher.SettingPages.ViewModels" |
12 | 12 | Title="Hotkey" |
13 | 13 | d:DataContext="{d:DesignInstance viewModels:SettingsPaneHotkeyViewModel}" |
|
33 | 33 | Sub="{DynamicResource flowlauncherHotkeyToolTip}"> |
34 | 34 | <flowlauncher:HotkeyControl |
35 | 35 | ChangeHotkey="{Binding SetTogglingHotkeyCommand}" |
36 | | - HotkeySettings="{Binding Settings}" |
37 | 36 | DefaultHotkey="Alt+Space" |
38 | 37 | Hotkey="{Binding Settings.Hotkey}" |
| 38 | + HotkeySettings="{Binding Settings}" |
39 | 39 | ValidateKeyGesture="True" |
40 | 40 | WindowTitle="{DynamicResource flowlauncherHotkey}" /> |
41 | 41 | </cc:Card> |
|
45 | 45 | Icon="" |
46 | 46 | Sub="{DynamicResource previewHotkeyToolTip}"> |
47 | 47 | <flowlauncher:HotkeyControl |
48 | | - HotkeySettings="{Binding Settings}" |
49 | 48 | DefaultHotkey="F1" |
50 | 49 | Hotkey="{Binding Settings.PreviewHotkey}" |
| 50 | + HotkeySettings="{Binding Settings}" |
51 | 51 | ValidateKeyGesture="False" |
52 | 52 | WindowTitle="{DynamicResource previewHotkey}" /> |
53 | 53 | </cc:Card> |
54 | 54 |
|
55 | 55 | <cc:CardGroup Margin="0 12 0 0"> |
56 | | - <cc:Card |
57 | | - Title="{DynamicResource openResultModifiers}" |
58 | | - Sub="{DynamicResource openResultModifiersToolTip}"> |
| 56 | + <cc:Card Title="{DynamicResource openResultModifiers}" Sub="{DynamicResource openResultModifiersToolTip}"> |
59 | 57 | <ComboBox |
60 | 58 | Width="120" |
61 | 59 | FontSize="14" |
|
106 | 104 | Icon="" |
107 | 105 | Type="Inside"> |
108 | 106 | <flowlauncher:HotkeyControl |
109 | | - HotkeySettings="{Binding Settings}" |
110 | 107 | DefaultHotkey="Ctrl+I" |
111 | 108 | Hotkey="{Binding Settings.OpenContextMenuHotkey}" |
| 109 | + HotkeySettings="{Binding Settings}" |
112 | 110 | ValidateKeyGesture="False" /> |
113 | 111 | </cc:Card> |
114 | 112 | <cc:Card |
|
117 | 115 | Type="Inside"> |
118 | 116 | <cc:HotkeyDisplay Keys="Shift+Enter" /> |
119 | 117 | </cc:Card> |
120 | | - |
| 118 | + <cc:Card |
| 119 | + Title="{DynamicResource OpenNativeContextMenuHotkey}" |
| 120 | + Icon="" |
| 121 | + Type="Inside"> |
| 122 | + <cc:HotkeyDisplay Keys="Alt+Enter" /> |
| 123 | + </cc:Card> |
121 | 124 | <cc:Card |
122 | 125 | Title="{DynamicResource SettingWindowHotkey}" |
123 | 126 | Icon="" |
124 | 127 | Type="Inside"> |
125 | 128 | <flowlauncher:HotkeyControl |
126 | | - HotkeySettings="{Binding Settings}" |
127 | 129 | DefaultHotkey="Ctrl+I" |
128 | 130 | Hotkey="{Binding Settings.SettingWindowHotkey}" |
| 131 | + HotkeySettings="{Binding Settings}" |
129 | 132 | ValidateKeyGesture="False" /> |
130 | 133 | </cc:Card> |
131 | 134 | <cc:Card |
|
172 | 175 | Icon="" |
173 | 176 | Type="Inside"> |
174 | 177 | <flowlauncher:HotkeyControl |
175 | | - HotkeySettings="{Binding Settings}" |
176 | 178 | DefaultHotkey="" |
177 | 179 | Hotkey="{Binding Settings.SelectPrevPageHotkey}" |
| 180 | + HotkeySettings="{Binding Settings}" |
178 | 181 | ValidateKeyGesture="False" /> |
179 | 182 | </cc:Card> |
180 | 183 | <cc:Card |
181 | 184 | Title="{DynamicResource SelectNextPageHotkey}" |
182 | 185 | Icon="" |
183 | 186 | Type="Inside"> |
184 | 187 | <flowlauncher:HotkeyControl |
185 | | - HotkeySettings="{Binding Settings}" |
186 | 188 | DefaultHotkey="" |
187 | 189 | Hotkey="{Binding Settings.SelectNextPageHotkey}" |
| 190 | + HotkeySettings="{Binding Settings}" |
188 | 191 | ValidateKeyGesture="False" /> |
189 | 192 | </cc:Card> |
190 | 193 |
|
|
217 | 220 | Sub="{DynamicResource autoCompleteHotkeyToolTip}"> |
218 | 221 | <cc:ExCard.SideContent> |
219 | 222 | <flowlauncher:HotkeyControl |
220 | | - HotkeySettings="{Binding Settings}" |
221 | 223 | DefaultHotkey="Ctrl+Tab" |
222 | 224 | Hotkey="{Binding Settings.AutoCompleteHotkey}" |
| 225 | + HotkeySettings="{Binding Settings}" |
223 | 226 | ValidateKeyGesture="False" /> |
224 | 227 | </cc:ExCard.SideContent> |
225 | 228 | <cc:Card |
226 | 229 | Title="{DynamicResource autoCompleteHotkey}" |
227 | 230 | Sub="{DynamicResource AdditionalHotkeyToolTip}" |
228 | 231 | Type="InsideFit"> |
229 | 232 | <flowlauncher:HotkeyControl |
230 | | - HotkeySettings="{Binding Settings}" |
231 | 233 | DefaultHotkey="" |
232 | 234 | Hotkey="{Binding Settings.AutoCompleteHotkey2}" |
| 235 | + HotkeySettings="{Binding Settings}" |
233 | 236 | ValidateKeyGesture="False" /> |
234 | 237 | </cc:Card> |
235 | 238 | </cc:ExCard> |
|
240 | 243 | Icon=""> |
241 | 244 | <cc:ExCard.SideContent> |
242 | 245 | <flowlauncher:HotkeyControl |
243 | | - HotkeySettings="{Binding Settings}" |
244 | 246 | DefaultHotkey="Shift+Tab" |
245 | 247 | Hotkey="{Binding Settings.SelectPrevItemHotkey}" |
| 248 | + HotkeySettings="{Binding Settings}" |
246 | 249 | ValidateKeyGesture="False" /> |
247 | 250 | </cc:ExCard.SideContent> |
248 | 251 | <cc:Card |
249 | 252 | Title="{DynamicResource SelectPrevItemHotkey}" |
250 | 253 | Sub="{DynamicResource AdditionalHotkeyToolTip}" |
251 | 254 | Type="InsideFit"> |
252 | 255 | <flowlauncher:HotkeyControl |
253 | | - HotkeySettings="{Binding Settings}" |
254 | 256 | DefaultHotkey="" |
255 | 257 | Hotkey="{Binding Settings.SelectPrevItemHotkey2}" |
| 258 | + HotkeySettings="{Binding Settings}" |
256 | 259 | ValidateKeyGesture="False" /> |
257 | 260 | </cc:Card> |
258 | 261 | </cc:ExCard> |
|
263 | 266 | Icon=""> |
264 | 267 | <cc:ExCard.SideContent> |
265 | 268 | <flowlauncher:HotkeyControl |
266 | | - HotkeySettings="{Binding Settings}" |
267 | 269 | DefaultHotkey="Tab" |
268 | 270 | Hotkey="{Binding Settings.SelectNextItemHotkey}" |
| 271 | + HotkeySettings="{Binding Settings}" |
269 | 272 | ValidateKeyGesture="False" /> |
270 | 273 | </cc:ExCard.SideContent> |
271 | 274 | <cc:Card |
272 | 275 | Title="{DynamicResource SelectNextItemHotkey}" |
273 | 276 | Sub="{DynamicResource AdditionalHotkeyToolTip}" |
274 | 277 | Type="InsideFit"> |
275 | 278 | <flowlauncher:HotkeyControl |
276 | | - HotkeySettings="{Binding Settings}" |
277 | 279 | DefaultHotkey="" |
278 | 280 | Hotkey="{Binding Settings.SelectNextItemHotkey2}" |
| 281 | + HotkeySettings="{Binding Settings}" |
279 | 282 | ValidateKeyGesture="False" /> |
280 | 283 | </cc:Card> |
281 | 284 | </cc:ExCard> |
|
435 | 438 | <GridViewColumn Width="430" Header="{DynamicResource builtinShortcutDescription}"> |
436 | 439 | <GridViewColumn.CellTemplate> |
437 | 440 | <DataTemplate DataType="{x:Type userSettings:BuiltinShortcutModel}"> |
438 | | - <TextBlock |
439 | | - Text="{Binding Description, Converter={StaticResource TranslationConverter}}" /> |
| 441 | + <TextBlock Text="{Binding Description, Converter={StaticResource TranslationConverter}}" /> |
440 | 442 | </DataTemplate> |
441 | 443 | </GridViewColumn.CellTemplate> |
442 | 444 | </GridViewColumn> |
|
0 commit comments