aboutsummaryrefslogtreecommitdiffstats
path: root/Templates/widgetsclass/widgetsclass.vstemplate_TT
blob: 390cc49ed098f51d873694e14985c017b5ea1ba2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="utf-8"?>
<!--************************************************************************************************
 Copyright (C) 2023 The Qt Company Ltd.
 SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
****************************************************************************************************
<#@output extension="vstemplate" #>
<#@include file="$(SolutionDir)\version.tt" #>
**          <#=WARNING_GENERATED_FILE#>
****************************************************************************************************
-->

<VSTemplate Version="3.0.0"
            xmlns="http://schemas.microsoft.com/developer/vstemplate/2005"
            xmlns:sdk="http://schemas.microsoft.com/developer/vstemplate-sdkextension/2010"
            Type="Item" >
    <TemplateData>
        <Name>Qt Widgets Class</Name>
        <Description>Adds a Qt Widgets class to the project.</Description>
        <ProjectType>VC</ProjectType>
        <DefaultName>QtWidgetsClass</DefaultName>
        <ProvideDefaultName>true</ProvideDefaultName>
        <LocationField>Enabled</LocationField>
        <EnableLocationBrowseButton>true</EnableLocationBrowseButton>
        <Icon>widgetsclass.ico</Icon>
        <LanguageTag>Cpp</LanguageTag>
        <PlatformTag>Windows</PlatformTag>
        <PlatformTag>Linux</PlatformTag>
        <ProjectTypeTag>Qt</ProjectTypeTag>
        <ProjectTypeTag>Desktop</ProjectTypeTag>
    </TemplateData>
    <TemplateContent>
        <ProjectItem OpenInEditor="true"
                     ReplaceParameters="true"
                     TargetFileName="$sourcefilename$">widget.cpp</ProjectItem>
        <ProjectItem ReplaceParameters="true"
                     TargetFileName="$headerfilename$">widget.h</ProjectItem>
        <ProjectItem ReplaceParameters="true"
                     TargetFileName="$uifilename$">widget.ui</ProjectItem>
    </TemplateContent>
    <WizardExtension>
      <!-- BEGIN Generated Text <#=XML_COMMENT_END#>
        <Assembly>QtVsTools.Wizards, Version=<#=QT_VS_TOOLS_VERSION_ASSEMBLY#>, Culture=neutral, PublicKeyToken=null</Assembly>
        <#=XML_COMMENT_BEGIN#> END Generated Text -->
      <FullClassName>QtVsTools.Wizards.ItemWizard.WidgetsClassWizard</FullClassName>
    </WizardExtension>
</VSTemplate>