mirror of
https://github.com/greenshot/greenshot.git
synced 2025-01-09 15:23:03 -08:00
33 lines
1.9 KiB
XML
33 lines
1.9 KiB
XML
<Window x:Class="GreenshotConfluencePlugin.Forms.ConfluenceConfigurationForm"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:gscp="clr-namespace:GreenshotConfluencePlugin"
|
|
xmlns:gsc="clr-namespace:GreenshotPlugin.Core;assembly=GreenshotPlugin"
|
|
xmlns:support="clr-namespace:GreenshotConfluencePlugin.Support"
|
|
Title="{support:Translate plugin_settings}" SizeToContent="WidthAndHeight" ResizeMode="NoResize" Icon="/GreenshotConfluencePlugin;component/Images/Confluence.ico">
|
|
<Window.Resources>
|
|
<gscp:EnumDisplayer Type="{x:Type gsc:OutputFormat}" x:Key="outputFormats"/>
|
|
</Window.Resources>
|
|
|
|
<StackPanel>
|
|
<CheckBox IsChecked="{Binding IncludePersonSpaces}" Content="{support:Translate include_person_spaces}"/>
|
|
<CheckBox IsChecked="{Binding OpenPageAfterUpload}" Content="{support:Translate open_page_after_upload}"/>
|
|
<CheckBox IsChecked="{Binding CopyWikiMarkupForImageToClipboard}" Content="{support:Translate copy_wikimarkup}"/>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Label Content="{support:Translate label_url}" />
|
|
<TextBox Text="{Binding Url}"/>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Label Content="{support:Translate label_timeout}" />
|
|
<TextBox Text="{Binding Timeout}"/>
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<Label Content="{support:Translate upload_format}" />
|
|
<ComboBox ItemsSource="{Binding Source={StaticResource outputFormats},Path=DisplayNames}" SelectedValue="{Binding UploadFormat, Converter={StaticResource outputFormats}}" />
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
|
|
<Button IsDefault="True" Content="{support:Translate OK}" Click="Button_OK_Click"/>
|
|
<Button IsCancel="True" Content="{support:Translate CANCEL}"/>
|
|
</StackPanel>
|
|
</StackPanel>
|
|
</Window> |