diff options
author | Karsten Heimrich <karsten.heimrich@qt.io> | 2022-01-18 11:25:21 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@qt.io> | 2022-01-18 14:16:27 +0000 |
commit | c1179b4720ac88c54034f237c18cf417eeaac9fd (patch) | |
tree | c60b39765784ec1e6d97008e7af19cb9cbe378b7 | |
parent | 382002f0c35ede705c59c0d1809bd53b6b946e7f (diff) |
Amend commmit 2c6d70, more left over wizard code
Change-Id: I9fb8bb45ba3dd326ac814ddfe397b0fd4ead5687
Reviewed-by: Miguel Costa <miguel.costa@qt.io>
-rw-r--r-- | QtVsTools.Wizards/QtVsTools.Wizards.csproj | 14 | ||||
-rw-r--r-- | QtVsTools.Wizards/Resources/ExpanderStyle.xaml | 173 | ||||
-rw-r--r-- | QtVsTools.Wizards/Resources/medium.png | bin | 175 -> 0 bytes | |||
-rw-r--r-- | QtVsTools.Wizards/Resources/small.png | bin | 230 -> 0 bytes |
4 files changed, 0 insertions, 187 deletions
diff --git a/QtVsTools.Wizards/QtVsTools.Wizards.csproj b/QtVsTools.Wizards/QtVsTools.Wizards.csproj index d3858bbd..76aabcf8 100644 --- a/QtVsTools.Wizards/QtVsTools.Wizards.csproj +++ b/QtVsTools.Wizards/QtVsTools.Wizards.csproj @@ -76,10 +76,6 @@ <Reference Include="PresentationFramework" /> <Reference Include="WindowsBase" /> <Reference Include="Microsoft.VisualStudio.VCCodeModel" /> - <Reference Include="Microsoft.VisualStudio.ExtensionsExplorer.UI, Version=$(VisualStudioVersion).0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"> - <SpecificVersion>False</SpecificVersion> - <HintPath>$(DevEnvDir)PrivateAssemblies\Microsoft.VisualStudio.ExtensionsExplorer.UI.dll</HintPath> - </Reference> </ItemGroup> <!-- ///////////////////////////////////////////////////////////////////////////////////////////////// @@ -123,15 +119,9 @@ // --> <ItemGroup> <Content Include="Resources\QtProjectWizard.ico" /> - <Resource Include="Resources\medium.png"> - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> - </Resource> <Resource Include="Resources\Qt-logo-small.png"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Resource> - <Resource Include="Resources\small.png"> - <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> - </Resource> </ItemGroup> <ItemGroup> <Compile Include="ProjectWizard\ConfigPage.xaml.cs"> @@ -215,10 +205,6 @@ <SubType>Designer</SubType> <Generator>MSBuild:Compile</Generator> </Page> - <Page Include="Resources\ExpanderStyle.xaml"> - <SubType>Designer</SubType> - <Generator>MSBuild:Compile</Generator> - </Page> <Page Include="ProjectWizard\Server\ServerPage.xaml"> <SubType>Designer</SubType> <Generator>MSBuild:Compile</Generator> diff --git a/QtVsTools.Wizards/Resources/ExpanderStyle.xaml b/QtVsTools.Wizards/Resources/ExpanderStyle.xaml deleted file mode 100644 index 85dea7c1..00000000 --- a/QtVsTools.Wizards/Resources/ExpanderStyle.xaml +++ /dev/null @@ -1,173 +0,0 @@ -<!-- - ***************************************************************************** - ** - ** Copyright (C) 2016 The Qt Company Ltd. - ** Contact: https://www.qt.io/licensing/ - ** - ** This file is part of the Qt VS Tools. - ** - ** $QT_BEGIN_LICENSE:GPL-EXCEPT$ - ** Commercial License Usage - ** Licensees holding valid commercial Qt licenses may use this file in - ** accordance with the commercial license agreement provided with the - ** Software or, alternatively, in accordance with the terms contained in - ** a written agreement between you and The Qt Company. For licensing terms - ** and conditions see https://www.qt.io/terms-conditions. For further - ** information use the contact form at https://www.qt.io/contact-us. - ** - ** GNU General Public License Usage - ** Alternatively, this file may be used under the terms of the GNU - ** General Public License version 3 as published by the Free Software - ** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT - ** included in the packaging of this file. Please review the following - ** information to ensure the GNU General Public License requirements will - ** be met: https://www.gnu.org/licenses/gpl-3.0.html. - ** - ** $QT_END_LICENSE$ - ** - ***************************************************************************** ---> - -<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" - xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" - xmlns:ee="clr-namespace:Microsoft.VisualStudio.ExtensionsExplorer.UI;assembly=Microsoft.VisualStudio.ExtensionsExplorer.UI"> - - <SolidColorBrush x:Key="Expander.Static.Arrow.GlyphBrush" - Color="#444" /> - <Style x:Key="ExpanderHeaderFocusVisual"> - <Setter Property="Control.Template"> - <Setter.Value> - <ControlTemplate> - <Border> - <Rectangle Margin="0" - SnapsToDevicePixels="true" - Stroke="Black" - StrokeThickness="1" - StrokeDashArray="1 2" /> - </Border> - </ControlTemplate> - </Setter.Value> - </Setter> - </Style> - - <Style x:Key="ExpanderDownHeaderStyle" - TargetType="ToggleButton"> - <Setter Property="Template"> - <Setter.Value> - <ControlTemplate TargetType="ToggleButton"> - <Border Padding="{TemplateBinding Padding}"> - <Grid Background="Transparent" - SnapsToDevicePixels="False"> - <Grid.ColumnDefinitions> - <ColumnDefinition Width="19" /> - <ColumnDefinition Width="*" /> - </Grid.ColumnDefinitions> - <Path x:Name="ExpandPath" - HorizontalAlignment="Center" - VerticalAlignment="Center" - SnapsToDevicePixels="false" - Stroke="{StaticResource Expander.Static.Arrow.GlyphBrush}" - Data="M4,0L8,4 4,8z" /> - <ContentPresenter Grid.Column="1" - HorizontalAlignment="Left" - Margin="4,0,0,0" - RecognizesAccessKey="True" - SnapsToDevicePixels="True" - VerticalAlignment="Center" /> - </Grid> - </Border> - <ControlTemplate.Triggers> - <Trigger Property="IsChecked" - Value="true"> - <Setter Property="Data" - TargetName="ExpandPath" - Value="M8,2.3L8,8 2.3,8z" /> - <Setter Property="Fill" - TargetName="ExpandPath" - Value="{StaticResource Expander.Static.Arrow.GlyphBrush}" /> - </Trigger> - </ControlTemplate.Triggers> - </ControlTemplate> - </Setter.Value> - </Setter> - </Style> - <Style x:Key="ExpanderStyle" - TargetType="Expander"> - <Setter Property="Foreground" - Value="{DynamicResource {x:Static ee:ColorResources.WonderbarTextBrushKey}}" /> - <Setter Property="Background" - Value="Transparent" /> - <Setter Property="HorizontalContentAlignment" - Value="Stretch" /> - <Setter Property="VerticalContentAlignment" - Value="Stretch" /> - <Setter Property="BorderBrush" - Value="Transparent" /> - <Setter Property="BorderThickness" - Value="1" /> - <Setter Property="Template"> - <Setter.Value> - <ControlTemplate TargetType="Expander"> - <Border BorderBrush="{TemplateBinding BorderBrush}" - BorderThickness="{TemplateBinding BorderThickness}" - Background="{TemplateBinding Background}" - CornerRadius="3" - SnapsToDevicePixels="true"> - <DockPanel> - <ToggleButton x:Name="HeaderSite" - ContentTemplate="{TemplateBinding HeaderTemplate}" - ContentTemplateSelector="{TemplateBinding HeaderTemplateSelector}" - Content="{TemplateBinding Header}" - DockPanel.Dock="Top" - Foreground="{TemplateBinding Foreground}" - FontWeight="{TemplateBinding FontWeight}" - FocusVisualStyle="{StaticResource ExpanderHeaderFocusVisual}" - FontStyle="{TemplateBinding FontStyle}" - FontStretch="{TemplateBinding FontStretch}" - FontSize="{TemplateBinding FontSize}" - FontFamily="{TemplateBinding FontFamily}" - HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" - IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" - Margin="1" - MinWidth="0" - MinHeight="0" - Padding="{TemplateBinding Padding}" - Style="{StaticResource ExpanderDownHeaderStyle}" - VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}" /> - <ContentPresenter x:Name="ExpandSite" - DockPanel.Dock="Bottom" - Focusable="false" - HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" - Margin="{TemplateBinding Padding}" - Visibility="Collapsed" - VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> - </DockPanel> - </Border> - <ControlTemplate.Triggers> - <Trigger Property="IsExpanded" - Value="true"> - <Setter Property="Visibility" - TargetName="ExpandSite" - Value="Visible" /> - </Trigger> - <Trigger Property="ExpandDirection" - Value="Left"> - <Setter Property="DockPanel.Dock" - TargetName="ExpandSite" - Value="Left" /> - <Setter Property="DockPanel.Dock" - TargetName="HeaderSite" - Value="Right" /> - </Trigger> - <Trigger Property="IsEnabled" - Value="false"> - <Setter Property="Foreground" - Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" /> - </Trigger> - </ControlTemplate.Triggers> - </ControlTemplate> - </Setter.Value> - </Setter> - </Style> - -</ResourceDictionary> diff --git a/QtVsTools.Wizards/Resources/medium.png b/QtVsTools.Wizards/Resources/medium.png Binary files differdeleted file mode 100644 index 2aaf7ff3..00000000 --- a/QtVsTools.Wizards/Resources/medium.png +++ /dev/null diff --git a/QtVsTools.Wizards/Resources/small.png b/QtVsTools.Wizards/Resources/small.png Binary files differdeleted file mode 100644 index c3ee062b..00000000 --- a/QtVsTools.Wizards/Resources/small.png +++ /dev/null |