Flow.Launcher/Flow.Launcher.Avalonia/Views/SettingPages/AboutSettingsPage.axaml
Hongtao Zhang 0f9b9329dd Add hotkey recorder with manual modifier tracking
- Add HotkeyRecorderDialog with global keyboard hook for capturing hotkeys
- Implement manual modifier state tracking to handle swallowed key events
- Add HotkeyControl button that opens the recorder dialog
- Add CheckAvailability and RemoveToggleHotkey to HotKeyMapper
- Expose GetKeyFromVk helper in GlobalHotkey infrastructure
- Add Settings pages (General, Plugin, Theme, Proxy, About)
- Add PreviewPanel for result previews in main window
- Fix hook reuse issue by clearing callback on close instead of disposing
2026-01-18 02:10:53 -08:00

25 lines
1.6 KiB
XML

<UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="using:FluentAvalonia.UI.Controls"
xmlns:vm="using:Flow.Launcher.Avalonia.ViewModel.SettingPages"
xmlns:i18n="using:Flow.Launcher.Avalonia.Resource"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="600"
x:Class="Flow.Launcher.Avalonia.Views.SettingPages.AboutSettingsPage"
x:DataType="vm:AboutSettingsViewModel">
<StackPanel Spacing="20" HorizontalAlignment="Center" VerticalAlignment="Center">
<Image Source="avares://Flow.Launcher.Avalonia/Images/app.ico" Width="128" Height="128" />
<TextBlock Text="Flow Launcher" FontSize="32" FontWeight="Bold" HorizontalAlignment="Center" />
<TextBlock Text="{Binding Version, StringFormat='Version: {0}'}" Foreground="Gray" HorizontalAlignment="Center" />
<StackPanel Orientation="Horizontal" Spacing="20" HorizontalAlignment="Center" Margin="0,20,0,0">
<Button Content="{i18n:Localize website}" Command="{Binding OpenWebsiteCommand}" Width="120" />
<Button Content="GitHub" Command="{Binding OpenGitHubCommand}" Width="120" />
</StackPanel>
<TextBlock Text="Copyright © 2024 Flow Launcher" Foreground="Gray" FontSize="12" HorizontalAlignment="Center" Margin="0,50,0,0" />
</StackPanel>
</UserControl>