aboutsummaryrefslogtreecommitdiffstats
path: root/src/qtvstools/QtMenus.vsct
blob: 36f798df05fe70a2b420672d49a29e18537054b5 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
<?xml version="1.0" encoding="utf-8"?>
<!--
    *****************************************************************************
    **
    ** 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$
    **
    *****************************************************************************
-->

<CommandTable xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">

    <!--
        This is the file that defines the actual layout and type of the commands.
        It is divided in different sections (e.g. command definition, command
        placement, ...), with each defining a specific set of properties.
        See the comment before each section for more details about how to
        use it.
    -->

    <!--
        The VSCT compiler (the tool that translates this file into the binary
        format that VisualStudio will consume) has the ability to run a preprocessor
        on the vsct file; this preprocessor is (usually) the C++ preprocessor, so
        it is possible to define includes and macros with the same syntax used
        in C++ files. Using this ability of the compiler here, we include some files
        defining some of the constants that we will use inside the file.
    -->

    <!-- This is the file that defines the IDs for all the commands exposed by VisualStudio. -->
    <Extern href="stdidcmd.h"/>

    <!-- This header contains the command ids for the menus provided by the shell. -->
    <Extern href="vsshlids.h"/>

    <!--
        The Commands section is where commands, menus, and menu groups are defined.
        This section uses a Guid to identify the package that provides the command defined inside it.
    -->
    <Commands package="PackageGuid">
        <!--
            Inside this section we have different sub-sections: one for the menus, another
            for the menu groups, one for the buttons (the actual commands), one for the combos
            and the last one for the bitmaps used. Each element is identified by a command id that
            is a unique pair of guid and numeric identifier; the guid part of the identifier is usually
            called "command set" and is used to group different command inside a logically related
            group; your package should define its own command set in order to avoid collisions
            with command ids defined by other packages.
        -->
        <Menus>
            <Menu guid="MainMenuGuid" id="QtMainMenu" priority="0x700" type="Menu">
                <Parent guid="guidSHLMainMenu" id="IDG_VS_MM_TOOLSADDINS" />
                <Strings>
                    <ButtonText>Qt VS Tools</ButtonText>
                </Strings>
            </Menu>

            <Menu guid="HelpMenuGroupGuid" id="HelpMenuSubMenuId" priority="0x0700" type="Menu">
                <Parent guid="HelpMenuGroupGuid" id="HelpMenuGroupId" />
                <Strings>
                    <ButtonText>Set Qt Help Preference</ButtonText>
                </Strings>
            </Menu>
        </Menus>

        <!--
            In this section you can define new menu groups. A menu group is a container for
            other menus or buttons (commands); from a visual point of view you can see the
            group as the part of a menu contained between two lines. The parent of a group
            must be a menu.
        -->
        <Groups>

            <!-- Region Main menu groups -->

            <Group guid="MainMenuGuid" id="LaunchMenuGroup" priority="0x0600">
                <Parent guid="MainMenuGuid" id="QtMainMenu"/>
            </Group>
            <Group guid="MainMenuGuid" id="ProjectMenuGroup" priority="0x0600">
                <Parent guid="MainMenuGuid" id="QtMainMenu"/>
            </Group>
            <Group guid="MainMenuGuid" id="OthersMenuGroup" priority="0x0600">
                <Parent guid="MainMenuGuid" id="QtMainMenu"/>
            </Group>
            <Group guid="MainMenuGuid" id="OptionsMenuGroup" priority="0x0600">
                <Parent guid="MainMenuGuid" id="QtMainMenu"/>
            </Group>

            <!-- Endregion Main menu groups -->

            <!-- Region Solution context menu groups -->

            <Group guid="SolutionContextMenuGuid" id="SolutionContextTsMenuGroup" priority="0x0600">
                <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_SOLNNODE" />
            </Group>
            <Group guid="SolutionContextMenuGuid" id="SolutionContextQtMenuGroup" priority="0x0600">
                <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_SOLNNODE" />
            </Group>

            <!-- Endregion Solution context menu groups -->

            <!-- Region Project context menu groups -->

            <Group guid="ProjectContextMenuGuid" id="ProjectContextProjectMenuGroup" priority="0x0600">
                <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_PROJNODE" />
            </Group>
            <Group guid="ProjectContextMenuGuid" id="ProjectContextTsMenuGroup" priority="0x0600">
                <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_PROJNODE" />
            </Group>
            <Group guid="ProjectContextMenuGuid" id="ProjectContextOthersMenuGroup" priority="0x0600">
                <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_PROJNODE" />
            </Group>
            <Group guid="ProjectContextMenuGuid" id="ProjectContextAddNewQtClassMenuGroup" priority="0x0600">
                <Parent guid="guidSHLMainMenu" id="cmdidShellWindowNavigate7"/>
            </Group>

            <!-- Endregion Project context menu groups -->

            <Group guid="ProjectContextMenuGuid" id="ProjectContextAddNewQtClassMenuGroup" priority="0x0600">
                <Parent guid="guidSHLMainMenu" id="IDM_VS_MENU_PROJECT" />
            </Group>

            <Group guid="ItemContextMenuGuid" id="ItemContextTsMenuGroup" priority="0x0600">
                <Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_ITEMNODE" />
            </Group>

            <Group guid="HelpMenuGroupGuid" id="HelpMenuGroupId" priority="0x0600">
                <Parent guid="guidSHLMainMenu" id="IDM_VS_MENU_HELP"/>
            </Group>

            <Group guid="HelpMenuGroupGuid" id="HelpMenuSubGroupId" priority="0x0600">
                <Parent guid="HelpMenuGroupGuid" id="HelpMenuSubMenuId"/>
            </Group>

        </Groups>

        <!--
            This section defines the elements the user can interact with, like a menu command or a button
            or combo box in a toolbar.
        -->
        <Buttons>
            <!--
                To define a menu group you have to specify its ID, the parent menu and its display priority.
                The command is visible and enabled by default. If you need to change the visibility, status,
                etc, you can use the CommandFlag node. You can add more than one CommandFlag node e.g.:
                <CommandFlag>DefaultInvisible</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                If you do not want an image next to your command, remove the Icon node />
            -->

            <!-- Region Main menu buttons -->

            <Button guid="MainMenuGuid" id="LaunchDesignerId" priority="0x0100" type="Button">
                <Parent guid="MainMenuGuid" id="LaunchMenuGroup" />
                <Icon guid="MenuImages" id="LaunchDesignerBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>Launch Qt Designer</ButtonText>
                    <ToolTipText>Start Qt Designer</ToolTipText>
                </Strings>
            </Button>
            <Button guid="MainMenuGuid" id="LaunchLinguistId" priority="0x0100" type="Button">
                <Parent guid="MainMenuGuid" id="LaunchMenuGroup" />
                <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>Launch Qt Linguist</ButtonText>
                    <ToolTipText>Start Qt Linguist</ToolTipText>
                </Strings>
            </Button>

            <Button guid="MainMenuGuid" id="OpenProFileId" priority="0x0100" type="Button">
                <Parent guid="MainMenuGuid" id="ProjectMenuGroup" />
                <Icon guid="MenuImages" id="OpenProFileBitmap" />
                <Strings>
                    <ButtonText>Open Qt Project File (.pro)...</ButtonText>
                    <ToolTipText>Open a Qt Project File (.pro), create a new solution, and add a new project to it</ToolTipText>
                </Strings>
            </Button>
            <Button guid="MainMenuGuid" id="ImportPriFileId" priority="0x0100" type="Button">
                <Parent guid="MainMenuGuid" id="ProjectMenuGroup" />
                <Icon guid="MenuImages" id="ImportPriFileBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>Import .pri File to Project...</ButtonText>
                    <ToolTipText>Import a .pri file and create a Qt project from it</ToolTipText>
                </Strings>
            </Button>
            <Button guid="MainMenuGuid" id="ExportPriFileId" priority="0x0100" type="Button">
                <Parent guid="MainMenuGuid" id="ProjectMenuGroup" />
                <Icon guid="MenuImages" id="ExportProFileBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>Export Project to .pri File...</ButtonText>
                    <ToolTipText>Export the current project to a .pri file</ToolTipText>
                </Strings>
            </Button>
            <Button guid="MainMenuGuid" id="ExportProFileId" priority="0x0100" type="Button">
                <Parent guid="MainMenuGuid" id="ProjectMenuGroup" />
                <Icon guid="MenuImages" id="CreateProFileBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>Create Basic .pro File...</ButtonText>
                    <ToolTipText>Export the current project to a Qt project file (.pro)</ToolTipText>
                </Strings>
            </Button>

            <Button guid="MainMenuGuid" id="CreateNewTsFileId" priority="0x0100" type="Button">
                <Parent guid="MainMenuGuid" id="OthersMenuGroup" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>Create New Translation File</ButtonText>
                    <ToolTipText>Create a new translation file that you can open in Qt Linguist</ToolTipText>
                </Strings>
            </Button>
            <Button guid="MainMenuGuid" id="ConvertToQtMsBuild" priority="0x0100" type="Button">
                <Parent guid="MainMenuGuid" id="OthersMenuGroup" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DefaultInvisible</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>Convert custom build steps to Qt/MSBuild</ButtonText>
                </Strings>
            </Button>
            <Button guid="MainMenuGuid" id="ConvertToQtId" priority="0x0100" type="Button">
                <Parent guid="MainMenuGuid" id="OthersMenuGroup" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DefaultInvisible</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>Convert Project to Qt VS Tools Project</ButtonText>
                </Strings>
            </Button>
            <Button guid="MainMenuGuid" id="ConvertToQmakeId" priority="0x0100" type="Button">
                <Parent guid="MainMenuGuid" id="OthersMenuGroup" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>Convert Project to QMake Generated Project</ButtonText>
                </Strings>
            </Button>
            <Button guid="MainMenuGuid" id="QtProjectSettingsId" priority="0x0100" type="Button">
                <Parent guid="MainMenuGuid" id="OthersMenuGroup" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>Qt Project Settings</ButtonText>
                    <ToolTipText>Edit Qt settings of the current project</ToolTipText>
                </Strings>
            </Button>
            <Button guid="MainMenuGuid" id="ChangeProjectQtVersionId" priority="0x0100" type="Button">
                <Parent guid="MainMenuGuid" id="OthersMenuGroup" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DefaultInvisible</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>Change Project's Qt Version</ButtonText>
                </Strings>
            </Button>

            <Button guid="MainMenuGuid" id="QtOptionsId" priority="0x0100" type="Button">
                <Parent guid="MainMenuGuid" id="OptionsMenuGroup" />
                <Icon guid="MenuImages" id="QtLogoBitmap" />
                <Strings>
                    <ButtonText>Qt Options</ButtonText>
                    <ToolTipText>Configure the default Qt settings</ToolTipText>
                </Strings>
            </Button>

            <!-- Endregion Main menu buttons -->

            <!-- Region Solution context menu button -->

            <Button guid="SolutionContextMenuGuid" id="lUpdateOnSolutionId" priority="0x0100" type="Button">
                <Parent guid="SolutionContextMenuGuid" id="SolutionContextTsMenuGroup" />
                <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DefaultInvisible</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>lupdate All .ts Files in Solution</ButtonText>
                </Strings>
            </Button>
            <Button guid="SolutionContextMenuGuid" id="lReleaseOnSolutionId" priority="0x0100" type="Button">
                <Parent guid="SolutionContextMenuGuid" id="SolutionContextTsMenuGroup" />
                <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DefaultInvisible</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>lrelease All .ts Files in Solution</ButtonText>
                </Strings>
            </Button>

            <Button guid="SolutionContextMenuGuid" id="ChangeSolutionQtVersionId" priority="0x0100" type="Button">
                <Parent guid="SolutionContextMenuGuid" id="SolutionContextQtMenuGroup" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DefaultInvisible</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>Change Solution's Qt Version</ButtonText>
                    <ToolTipText>Change the Qt version for this solution and all contained projects</ToolTipText>
                </Strings>
            </Button>
            <Button guid="SolutionContextMenuGuid" id="SolutionConvertToQtMsBuild" priority="0x0100" type="Button">
              <Parent guid="SolutionContextMenuGuid" id="SolutionContextQtMenuGroup" />
              <CommandFlag>DefaultDisabled</CommandFlag>
              <CommandFlag>DefaultInvisible</CommandFlag>
              <CommandFlag>DynamicVisibility</CommandFlag>
              <Strings>
                <ButtonText>Convert custom build steps to Qt/MSBuild</ButtonText>
              </Strings>
            </Button>

          <!-- Endregion Solution context menu button -->

            <!-- Region Project context menu button -->

            <Button guid="ProjectContextMenuGuid" id="ImportPriFileProjectId" priority="0x0100" type="Button">
                <Parent guid="ProjectContextMenuGuid" id="ProjectContextProjectMenuGroup" />
                <Icon guid="MenuImages" id="ImportPriFileBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>Import .pri File to Project...</ButtonText>
                    <ToolTipText>Import a .pri file and create a Qt project from it</ToolTipText>
                </Strings>
            </Button>
            <Button guid="ProjectContextMenuGuid" id="ExportPriFileProjectId" priority="0x0100" type="Button">
                <Parent guid="ProjectContextMenuGuid" id="ProjectContextProjectMenuGroup" />
                <Icon guid="MenuImages" id="ExportProFileBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>Export Project to .pri File...</ButtonText>
                    <ToolTipText>Export the current project to a .pri file</ToolTipText>
                </Strings>
            </Button>
            <Button guid="ProjectContextMenuGuid" id="ExportProFileProjectId" priority="0x0100" type="Button">
                <Parent guid="ProjectContextMenuGuid" id="ProjectContextProjectMenuGroup" />
                <Icon guid="MenuImages" id="CreateProFileBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>Create Basic .pro File...</ButtonText>
                    <ToolTipText>Export the current project to a Qt Project file (.pro)</ToolTipText>
                </Strings>
            </Button>

            <Button guid="ProjectContextMenuGuid" id="CreateNewTsFileProjectId" priority="0x0100" type="Button">
                <Parent guid="ProjectContextMenuGuid" id="ProjectContextTsMenuGroup" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>Create New Translation File</ButtonText>
                    <ToolTipText>Create a new translation file that you can open in Qt Linguist</ToolTipText>
                </Strings>
            </Button>
            <Button guid="ProjectContextMenuGuid" id="lUpdateOnProjectId" priority="0x0100" type="Button">
                <Parent guid="ProjectContextMenuGuid" id="ProjectContextTsMenuGroup" />
                <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>lupdate All .ts Files in Project</ButtonText>
                </Strings>
            </Button>
            <Button guid="ProjectContextMenuGuid" id="lReleaseOnProjectId" priority="0x0100" type="Button">
                <Parent guid="ProjectContextMenuGuid" id="ProjectContextTsMenuGroup" />
                <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>lrelease All .ts Files in Project</ButtonText>
                </Strings>
            </Button>

            <Button guid="ProjectContextMenuGuid" id="ProjectConvertToQtMsBuild" priority="0x0100" type="Button">
                <Parent guid="ProjectContextMenuGuid" id="ProjectContextOthersMenuGroup" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DefaultInvisible</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>Convert custom build steps to Qt/MSBuild</ButtonText>
                </Strings>
            </Button>
            <Button guid="ProjectContextMenuGuid" id="ConvertToQtProjectId" priority="0x0100" type="Button">
                <Parent guid="ProjectContextMenuGuid" id="ProjectContextOthersMenuGroup" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DefaultInvisible</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>Convert Project to Qt VS Tools Project</ButtonText>
                </Strings>
            </Button>
            <Button guid="ProjectContextMenuGuid" id="ConvertToQmakeProjectId" priority="0x0100" type="Button">
                <Parent guid="ProjectContextMenuGuid" id="ProjectContextOthersMenuGroup" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>Convert Project to QMake Generated Project</ButtonText>
                </Strings>
            </Button>
            <Button guid="ProjectContextMenuGuid" id="QtProjectSettingsProjectId" priority="0x0100" type="Button">
                <Parent guid="ProjectContextMenuGuid" id="ProjectContextOthersMenuGroup" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>Qt Project Settings</ButtonText>
                    <ToolTipText>Edit Qt settings of the current project</ToolTipText>
                </Strings>
            </Button>
            <Button guid="ProjectContextMenuGuid" id="ChangeProjectQtVersionProjectId" priority="0x0100" type="Button">
                <Parent guid="ProjectContextMenuGuid" id="ProjectContextOthersMenuGroup" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DefaultInvisible</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>Change Project's Qt Version</ButtonText>
                </Strings>
            </Button>
            <Button guid="ProjectContextMenuGuid" id="ProjectAddNewQtClassProjectId" priority="0x0100" type="Button">
                <Parent guid="ProjectContextMenuGuid" id="ProjectContextAddNewQtClassMenuGroup" />
                <Icon guid="MenuImages" id="AddNewQtClassBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DefaultInvisible</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>Add Qt Class...</ButtonText>
                </Strings>
            </Button>

            <!-- Endregion Project context menu button -->

            <!-- Region Item context menu buttons -->

            <Button guid="ItemContextMenuGuid" id="lUpdateOnItemId" priority="0x0100" type="Button">
                <Parent guid="ItemContextMenuGuid" id="ItemContextTsMenuGroup" />
                <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DefaultInvisible</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>lupdate</ButtonText>
                </Strings>
            </Button>
            <Button guid="ItemContextMenuGuid" id="lReleaseOnItemId" priority="0x0100" type="Button">
                <Parent guid="ItemContextMenuGuid" id="ItemContextTsMenuGroup" />
                <Icon guid="MenuImages" id="LaunchLinguistBitmap" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <CommandFlag>DefaultInvisible</CommandFlag>
                <CommandFlag>DynamicVisibility</CommandFlag>
                <Strings>
                    <ButtonText>lrelease</ButtonText>
                </Strings>
            </Button>

            <!-- Endregion Item context menu buttons -->

            <Button guid="HelpMenuGroupGuid" id="F1QtHelpId" priority="0x0100" type="Button">
                <Parent guid="HelpMenuGroupGuid" id="HelpMenuGroupId" />
                <CommandFlag>DefaultInvisible</CommandFlag>
                <Strings>
                    <ButtonText>F1 Qt Help</ButtonText>
                </Strings>
            </Button>

            <Button guid="HelpMenuGroupGuid" id="ViewQtHelpId" priority="0x0100" type="Button">
                <Parent guid="HelpMenuGroupGuid" id="HelpMenuGroupId" />
                <Icon guid="MenuImages" id="QtLogoBitmap" />
                <Strings>
                    <ButtonText>View Qt Help</ButtonText>
                </Strings>
            </Button>

            <Button guid="HelpMenuGroupGuid" id="OnlineDocumentationId" priority="0x0100" type="Button">
                <Parent guid="HelpMenuGroupGuid" id="HelpMenuSubGroupId" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>Use Online Documentation</ButtonText>
                </Strings>
            </Button>

            <Button guid="HelpMenuGroupGuid" id="OfflineDocumentationId" priority="0x0100" type="Button">
                <Parent guid="HelpMenuGroupGuid" id="HelpMenuSubGroupId" />
                <CommandFlag>DefaultDisabled</CommandFlag>
                <Strings>
                    <ButtonText>Use Offline Documentation</ButtonText>
                </Strings>
            </Button>

        </Buttons>

        <!-- The bitmaps section is used to define the bitmaps that are used for the commands. -->
        <Bitmaps>
            <!--
                The bitmap id is defined in a way that is a little bit different from the others:
                the declaration starts with a guid for the bitmap strip, then there is the resource
                id of the bitmap strip containing the bitmaps and then there are the numeric ids of
                the elements used inside a button definition. An important aspect of this declaration
                is that the element id must be the actual index (1-based) of the bitmap inside the
                bitmap strip.
            -->
            <Bitmap guid="MenuImages" href="Resources\menuimages.png" usedList="LaunchDesignerBitmap,
                LaunchLinguistBitmap, OpenProFileBitmap, ImportPriFileBitmap, ExportProFileBitmap,
                CreateProFileBitmap, QtLogoBitmap, AddNewQtClassBitmap" />
        </Bitmaps>
    </Commands>

    <Symbols>
        <!-- This is the package guid. -->
        <GuidSymbol name="PackageGuid" value="{15021976-647e-4876-9040-2507afde45d2}" />

        <!-- This is the guid used to group the menu commands together -->
        <GuidSymbol name="MainMenuGuid" value="{58f83fff-d39d-4c66-810b-2702e1f04e73}">

            <!-- Region Main menu buttons Ids-->

            <IDSymbol name="QtMainMenu" value="0x1020"/>

            <IDSymbol name="LaunchMenuGroup" value="0x1021" />
            <IDSymbol name="LaunchDesignerId" value="0x0100" />
            <IDSymbol name="LaunchLinguistId" value="0x0101" />

            <IDSymbol name="ProjectMenuGroup" value="0x1022" />
            <IDSymbol name="OpenProFileId" value="0x0102" />
            <IDSymbol name="ImportPriFileId" value="0x0103" />
            <IDSymbol name="ExportPriFileId" value="0x0104" />
            <IDSymbol name="ExportProFileId" value="0x0105" />

            <IDSymbol name="OthersMenuGroup" value="0x1023" />
            <IDSymbol name="CreateNewTsFileId" value="0x0107" />
            <IDSymbol name="ConvertToQtMsBuild" value="0x0130" />
            <IDSymbol name="ConvertToQtId" value="0x0124" />
            <IDSymbol name="ConvertToQmakeId" value="0x0108" />
            <IDSymbol name="QtProjectSettingsId" value="0x0109" />
            <IDSymbol name="ChangeProjectQtVersionId" value="0x0126" />

            <IDSymbol name="OptionsMenuGroup" value="0x1024" />
            <IDSymbol name="QtOptionsId" value="0x0110" />

            <!-- Endregion Main menu buttons Ids -->

        </GuidSymbol>

        <GuidSymbol  name="SolutionContextMenuGuid" value="{6dcda34f-4d22-4d6a-a176-5507069c5a3e}">

            <!-- Region Solution context menu button Ids -->

            <IDSymbol name="SolutionContextTsMenuGroup" value="0x1025" />
            <IDSymbol name="lUpdateOnSolutionId" value="0x0111" />
            <IDSymbol name="lReleaseOnSolutionId" value="0x0112" />

            <IDSymbol name="SolutionContextQtMenuGroup" value="0x1026" />
            <IDSymbol name="ChangeSolutionQtVersionId" value="0x0113" />
            <IDSymbol name="SolutionConvertToQtMsBuild" value="0x0130" />

            <!-- Endregion Solution context menu button Ids -->

        </GuidSymbol>

        <GuidSymbol name="ProjectContextMenuGuid" value="{5732faa9-6074-4e07-b035-2816e809f50e}" >

            <!-- Region Project context menu button Ids -->

            <IDSymbol name="ProjectContextProjectMenuGroup" value="0x1027" />
            <IDSymbol name="ImportPriFileProjectId" value="0x0114" />
            <IDSymbol name="ExportPriFileProjectId" value="0x0115" />
            <IDSymbol name="ExportProFileProjectId" value="0x0116" />

            <IDSymbol name="ProjectContextTsMenuGroup" value="0x1028" />
            <IDSymbol name="CreateNewTsFileProjectId" value="0x0117" />
            <IDSymbol name="lUpdateOnProjectId" value="0x0118" />
            <IDSymbol name="lReleaseOnProjectId" value="0x0119" />

            <IDSymbol name="ProjectContextOthersMenuGroup" value="0x1029" />
            <IDSymbol name="ProjectConvertToQtMsBuild" value="0x0130" />
            <IDSymbol name="ConvertToQtProjectId" value="0x0120" />
            <IDSymbol name="ConvertToQmakeProjectId" value="0x0121" />
            <IDSymbol name="QtProjectSettingsProjectId" value="0x0122" />
            <IDSymbol name="ChangeProjectQtVersionProjectId" value="0x0123" />

            <IDSymbol name="ProjectContextAddNewQtClassMenuGroup" value="0x1031" />
            <IDSymbol name="ProjectAddNewQtClassProjectId" value="0x0200" />

            <!-- Endregion Project context menu button Ids -->

        </GuidSymbol>

        <GuidSymbol name="ItemContextMenuGuid" value="{9f67a0bd-ee0a-47e3-b656-5efb12e3c770}">

            <IDSymbol name="ItemContextTsMenuGroup" value="0x1030" />
            <IDSymbol name="lUpdateOnItemId" value="0x0125" />
            <IDSymbol name="lReleaseOnItemId" value="0x0126" />

        </GuidSymbol>

        <GuidSymbol name="HelpMenuGroupGuid" value="{fc6244f9-ec84-4370-a59c-b009b2eafd1b}">

            <IDSymbol name="HelpMenuGroupId" value="0x1040" />
            <IDSymbol name="HelpMenuSubMenuId" value="0x1050" />
            <IDSymbol name="HelpMenuSubGroupId" value="0x1060" />
            <IDSymbol name="F1QtHelpId" value="0x0100" />
            <IDSymbol name="ViewQtHelpId" value="0x0101" />
            <IDSymbol name="OnlineDocumentationId" value="0x0102" />
            <IDSymbol name="OfflineDocumentationId" value="0x0103" />

        </GuidSymbol>

        <GuidSymbol name="MenuImages" value="{d7cf9f1c-0f37-4609-8eb3-72589dc5a5ec}" >
            <IDSymbol name="LaunchDesignerBitmap" value="1" />
            <IDSymbol name="LaunchLinguistBitmap" value="2" />
            <IDSymbol name="OpenProFileBitmap" value="3" />
            <IDSymbol name="ImportPriFileBitmap" value="4" />
            <IDSymbol name="ExportProFileBitmap" value="5" />
            <IDSymbol name="CreateProFileBitmap" value="6" />
            <IDSymbol name="QtLogoBitmap" value="7" />
            <IDSymbol name="AddNewQtClassBitmap" value="8" />
        </GuidSymbol>
    </Symbols>

    <VisibilityConstraints>
        <VisibilityItem guid="SolutionContextMenuGuid" id="lUpdateOnSolutionId"
            context="UICONTEXT_SolutionHasSingleProject" />
        <VisibilityItem guid="SolutionContextMenuGuid" id="lUpdateOnSolutionId"
            context="UICONTEXT_SolutionHasMultipleProjects" />
        <VisibilityItem guid="SolutionContextMenuGuid" id="lReleaseOnSolutionId"
            context="UICONTEXT_SolutionHasSingleProject" />
        <VisibilityItem guid="SolutionContextMenuGuid" id="lReleaseOnSolutionId"
            context="UICONTEXT_SolutionHasMultipleProjects" />
        <VisibilityItem guid="SolutionContextMenuGuid" id="ChangeSolutionQtVersionId"
            context="UICONTEXT_SolutionHasSingleProject" />
        <VisibilityItem guid="SolutionContextMenuGuid" id="ChangeSolutionQtVersionId"
            context="UICONTEXT_SolutionHasMultipleProjects" />
    </VisibilityConstraints>

    <KeyBindings>
        <KeyBinding guid="HelpMenuGroupGuid" id="F1QtHelpId" key1="VK_F1" mod1="ALT" editor="guidVSStd97" />
    </KeyBindings>
</CommandTable>