mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-17 22:12:38 +00:00
197 lines
9.0 KiB
XML
197 lines
9.0 KiB
XML
<UserControl x:Class="QuickLook.Plugin.AppViewer.InfoPanels.DebInfoPanel"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:QuickLook.Plugin.AppViewer"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
FontSize="14"
|
|
UseLayoutRounding="True"
|
|
mc:Ignorable="d">
|
|
<UserControl.Resources>
|
|
<ResourceDictionary>
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="GroupBox.xaml" />
|
|
</ResourceDictionary.MergedDictionaries>
|
|
</ResourceDictionary>
|
|
</UserControl.Resources>
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="15" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="150" />
|
|
<ColumnDefinition Width="*" />
|
|
</Grid.ColumnDefinitions>
|
|
<Image x:Name="image"
|
|
Grid.Row="1"
|
|
Grid.Column="0"
|
|
Width="120"
|
|
Height="120"
|
|
Margin="8"
|
|
VerticalAlignment="Top"
|
|
Source="/QuickLook.Plugin.AppViewer;component/Resources/debian.png"
|
|
Stretch="Fill" />
|
|
<Grid Grid.Row="1" Grid.Column="1">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="5" />
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="10" />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="10" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="10" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="* " />
|
|
</Grid.RowDefinitions>
|
|
<Grid Grid.Row="1"
|
|
Grid.Column="1"
|
|
Grid.ColumnSpan="2">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="Auto" />
|
|
</Grid.ColumnDefinitions>
|
|
<TextBlock Grid.Column="0"
|
|
MaxHeight="60"
|
|
Padding="3"
|
|
FontSize="19"
|
|
FontWeight="SemiBold"
|
|
LineHeight="25"
|
|
TextTrimming="CharacterEllipsis"
|
|
TextWrapping="Wrap">
|
|
<TextBlock.Inlines>
|
|
<Run x:Name="filename" Text="FilenameFilenameFilenameFilenameFilenameFilenameFilenameFilenameFilenameFilename.ext" />
|
|
</TextBlock.Inlines>
|
|
</TextBlock>
|
|
</Grid>
|
|
<!-- Package Name -->
|
|
<TextBlock x:Name="packageNameTitle"
|
|
Grid.Row="3"
|
|
Grid.Column="1"
|
|
Padding="3"
|
|
Foreground="{DynamicResource WindowTextForegroundAlternative}"
|
|
Text="Package Name" />
|
|
<TextBlock x:Name="packageName"
|
|
Grid.Row="3"
|
|
Grid.Column="2"
|
|
Margin="8,0,0,0"
|
|
Padding="3"
|
|
Foreground="{DynamicResource WindowTextForegroundAlternative}"
|
|
Text="Searching..."
|
|
TextTrimming="CharacterEllipsis"
|
|
TextWrapping="Wrap" />
|
|
<!-- Version Name -->
|
|
<TextBlock x:Name="versionNameTitle"
|
|
Grid.Row="4"
|
|
Grid.Column="1"
|
|
Padding="3"
|
|
Foreground="{DynamicResource WindowTextForegroundAlternative}"
|
|
Text="Version Name" />
|
|
<TextBlock x:Name="versionName"
|
|
Grid.Row="4"
|
|
Grid.Column="2"
|
|
Margin="8,0,0,0"
|
|
Padding="3"
|
|
Foreground="{DynamicResource WindowTextForegroundAlternative}"
|
|
Text="Searching..."
|
|
TextTrimming="CharacterEllipsis"
|
|
TextWrapping="Wrap" />
|
|
<!-- Architecture -->
|
|
<TextBlock x:Name="architectureTitle"
|
|
Grid.Row="5"
|
|
Grid.Column="1"
|
|
Padding="3"
|
|
Foreground="{DynamicResource WindowTextForegroundAlternative}"
|
|
Text="Architecture" />
|
|
<TextBlock x:Name="architecture"
|
|
Grid.Row="5"
|
|
Grid.Column="2"
|
|
Margin="8,0,0,0"
|
|
Padding="3"
|
|
Foreground="{DynamicResource WindowTextForegroundAlternative}"
|
|
Text="Searching..."
|
|
TextTrimming="CharacterEllipsis"
|
|
TextWrapping="Wrap" />
|
|
<!-- Maintainer -->
|
|
<TextBlock x:Name="maintainerTitle"
|
|
Grid.Row="6"
|
|
Grid.Column="1"
|
|
Padding="3"
|
|
Foreground="{DynamicResource WindowTextForegroundAlternative}"
|
|
Text="Maintainer" />
|
|
<TextBlock x:Name="maintainer"
|
|
Grid.Row="6"
|
|
Grid.Column="2"
|
|
Margin="8,0,0,0"
|
|
Padding="3"
|
|
Foreground="{DynamicResource WindowTextForegroundAlternative}"
|
|
Text="Searching..."
|
|
TextTrimming="CharacterEllipsis"
|
|
TextWrapping="Wrap" />
|
|
<!-- Total Size -->
|
|
<TextBlock x:Name="totalSizeTitle"
|
|
Grid.Row="7"
|
|
Grid.Column="1"
|
|
Padding="3"
|
|
Foreground="{DynamicResource WindowTextForegroundAlternative}"
|
|
Text="Total Size" />
|
|
<TextBlock x:Name="totalSize"
|
|
Grid.Row="7"
|
|
Grid.Column="2"
|
|
Margin="8,0,0,0"
|
|
Padding="3"
|
|
Foreground="{DynamicResource WindowTextForegroundAlternative}"
|
|
Text="Calculating size..." />
|
|
<!-- Last Modified -->
|
|
<TextBlock x:Name="modDateTitle"
|
|
Grid.Row="8"
|
|
Grid.Column="1"
|
|
Padding="3"
|
|
Foreground="{DynamicResource WindowTextForegroundAlternative}"
|
|
Text="Last Modified" />
|
|
<TextBlock x:Name="modDate"
|
|
Grid.Row="8"
|
|
Grid.Column="2"
|
|
Margin="8,0,0,0"
|
|
Padding="3"
|
|
Foreground="{DynamicResource WindowTextForegroundAlternative}"
|
|
Text="Searching..."
|
|
TextTrimming="CharacterEllipsis" />
|
|
<!-- Description -->
|
|
<GroupBox x:Name="descriptionGroupBox"
|
|
Grid.Row="9"
|
|
Grid.Column="1"
|
|
Grid.ColumnSpan="2"
|
|
Margin="3,3,16,16"
|
|
Padding="3"
|
|
Background="{DynamicResource CardBackgroundFillColorDefaultBrush}"
|
|
BorderBrush="{DynamicResource CardStrokeColorDefaultBrush}"
|
|
Foreground="{DynamicResource WindowTextForegroundAlternative}"
|
|
Header="Description">
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto">
|
|
<ScrollViewer.Resources>
|
|
<Style TargetType="{x:Type TextBox}">
|
|
<Setter Property="Background" Value="Transparent" />
|
|
<Setter Property="Foreground" Value="{DynamicResource TextFillColorPrimaryBrush}" />
|
|
<Setter Property="BorderThickness" Value="0" />
|
|
<Setter Property="BorderBrush" Value="Transparent" />
|
|
</Style>
|
|
</ScrollViewer.Resources>
|
|
<TextBox x:Name="description"
|
|
Margin="8,3,16,3"
|
|
AcceptsReturn="True"
|
|
IsReadOnly="True"
|
|
TextWrapping="Wrap"
|
|
VerticalScrollBarVisibility="Auto" />
|
|
</ScrollViewer>
|
|
</GroupBox>
|
|
</Grid>
|
|
</Grid>
|
|
</UserControl> |