Added pasting and sending features
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<Window x:Class="EbbesMemeClipboard.Views.SettingsWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="Settings - Ebbe's Meme Clipboard"
|
||||
Width="380" Height="380"
|
||||
Background="#F0202225"
|
||||
WindowStartupLocation="CenterScreen"
|
||||
ResizeMode="NoResize"
|
||||
SizeToContent="Height">
|
||||
<StackPanel Margin="20">
|
||||
<TextBlock Text="Global Hotkey" Foreground="White" FontSize="14" FontWeight="Bold" Margin="0,0,0,8"/>
|
||||
<Border Background="#2B2D31" CornerRadius="6">
|
||||
<TextBox x:Name="HotkeyBox"
|
||||
Text="{Binding HotkeyDisplay, Mode=OneWay}"
|
||||
IsReadOnly="True" Focusable="True"
|
||||
Background="Transparent" Foreground="White" BorderThickness="0"
|
||||
Padding="10,8" FontSize="13"
|
||||
CaretBrush="Transparent"
|
||||
PreviewKeyDown="HotkeyBox_OnPreviewKeyDown"/>
|
||||
</Border>
|
||||
<TextBlock Text="Click the box above, then press a new key combination." TextWrapping="Wrap"
|
||||
Foreground="#7B7D85" FontSize="11" Margin="0,4,0,0"/>
|
||||
<TextBlock Text="{Binding HotkeyError}" TextWrapping="Wrap"
|
||||
Foreground="#E06060" FontSize="11" Margin="0,4,0,0"/>
|
||||
|
||||
<TextBlock Text="Insert Mode" Foreground="White" FontSize="14" FontWeight="Bold" Margin="0,24,0,8"/>
|
||||
<RadioButton GroupName="InsertMode" Content="Copy to clipboard" Foreground="White"
|
||||
IsChecked="{Binding IsCopyOnly}" Margin="0,0,0,8"/>
|
||||
<RadioButton GroupName="InsertMode" Content="Paste into active window" Foreground="White"
|
||||
IsChecked="{Binding IsPasteIntoActiveWindow}" Margin="0,0,0,8"/>
|
||||
<RadioButton GroupName="InsertMode" Content="Paste and send instantly" Foreground="White"
|
||||
IsChecked="{Binding IsPasteAndSend}"/>
|
||||
<TextBlock Text="Presses Enter right after pasting to submit it - use with care in chat apps."
|
||||
Foreground="#7B7D85" FontSize="10" TextWrapping="Wrap" Margin="20,4,0,0"/>
|
||||
</StackPanel>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user