File: wizard.xml

package info (click to toggle)
tulip 4.6.0dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 139,284 kB
  • ctags: 35,942
  • sloc: cpp: 289,758; ansic: 27,264; python: 1,256; sh: 923; yacc: 522; xml: 337; makefile: 258; php: 66; lex: 55
file content (74 lines) | stat: -rw-r--r-- 2,719 bytes parent folder | download | duplicates (2)
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
<?xml version="1.0" encoding="UTF-8"?>
<wizard version="1" kind="project" class="qt4project" firstpage="10" id="Tulip.Interactor" category="Tulip">
  <icon>logo.png</icon>
  <description>Creates a tulip plugin to handle user inputs</description>
  <displayname>Interactor</displayname>;
  <displaycategory>Tulip Project</displaycategory>
  <files>
    <file source="interactor.h"                  target="%ProjectName:l%.%CppHeaderSuffix%" openeditor="true"/>
    <file source="interactor.cpp"                target="%ProjectName:l%.%CppSourceSuffix%" openeditor="true"/>
    <file source="interactor.cmake"              target="CMakeLists.txt" openproject="true" openeditor="false"/>
  </files>

  <!-- Create a 2nd wizard page with parameters -->
  <fieldpagetitle>Plugin settings</fieldpagetitle>
  <fields>
    <field name="TulipPath">
      <fieldcontrol class="Utils::PathChooser"/>
      <fielddescription>Tulip installation directory: </fielddescription>
    </field>

    <field name="BaseInteractor">
      <fielddescription>Base view class: </fielddescription>
      <fieldcontrol class="QComboBox">
        <comboentries>
          <comboentry value="GLInteractor">
            <comboentrytext>OpenGL interactor</comboentrytext>
          </comboentry>

          <comboentry value="Interactor">
            <comboentrytext>Classic interactor</comboentrytext>
          </comboentry>

        </comboentries>
      </fieldcontrol>
    </field>

    <field name="ViewName">
      <fieldcontrol class="QLineEdit" defaulttext="Interactor name" />
      <fielddescription>Name of the view compatible with the interactor: </fielddescription>
    </field>

    <field name="PluginName">
      <fieldcontrol class="QLineEdit" defaulttext="My interactor" />
      <fielddescription>Plugin identifier (used to call the plugin): </fielddescription>
    </field>

    <field name="Author">
      <fieldcontrol class="QLineEdit" defaulttext="Author" />
      <fielddescription>Author: </fielddescription>
    </field>

    <field name="Date">
      <fieldcontrol class="QLineEdit" validator="^[0-9/]+$" defaulttext="07/01/2011" />
      <fielddescription>Date: </fielddescription>
    </field>

    <field name="Informations">
      <fieldcontrol class="QLineEdit" defaulttext="My interactor" />
      <fielddescription>Plugin Description: </fielddescription>
    </field>

    <field name="Version">
      <fieldcontrol class="QLineEdit" validator="^[0-9\.]+$" defaulttext="0.1" />
      <fielddescription>Version: </fielddescription>
    </field>

    <field name="Group">
      <fieldcontrol class="QLineEdit" defaulttext="" />
      <fielddescription>Group: </fielddescription>
    </field>

  </fields>

</wizard>