Working With Templates
185
PDesign4 Touch Panel Design Software (v2.10 or higher)
Device Element Conventions
Feature Element Conventions
Sub-Feature Element Conventions
Device Pages: A template requires one or more Device elements, which must be
composed of a page and optional popup pages.
[device#deviceName]pageName
• deviceName - The name of the Device as it will appear in G4
PanelBuilder.
• pageName - The base page name that will be used in the generated
TP4 project.
Info Button: One and only one of the pages/popups in a Device element may con-
tain an Info button which contains the page flip information for display-
ing the Device element and may also contain an optional icon image.
[info]buttonName
• buttonName - Unused; The button is deleted in the generated TP4
project.
Title Button: The pages/popups in a Device element may contain one or more Title
buttons, whose text will be replaced with the name given to the Device
in the generated TP4 project.
[title]buttonName
• buttonName - The button name that will be used in the generated
TP4 project.
Feature Pages: A template may contain one or more Feature elements, which must be
composed of a page and optional popup pages.
[feature#featureName]pageName
• featureName - The name of the Feature as it will appear in G4
PanelBuilder.
• pageName - The base page name that will be used in the generated
TP4 project.
Info Button: One and only one of the pages/popups in a Feature element may con-
tain a Info button which contains the page flip information for display-
ing the Feature element and may also contain an optional icon image.
[info]buttonName
• buttonName - Unused; The button is deleted in the generated TP4
project.
Title Button The pages/popups in a Feature element may contain one or more
Title buttons, whose text will be replaced with the name given to the
Feature in the generated TP4 project.
[title]buttonName
• buttonName - The button name that will be used in the generated
TP4 project.
Sub-Feature Popups: A template may contain one or more Sub-Feature elements, which are
composed of one or more popup pages (Sub-Feature elements may
not contain pages).
[subFeature#subFeatureName]pageName
• subFeatureName - The name of the Sub-Feature element as it will
appear in G4 PanelBuilder.
• pageName - The base page name that will be used in the generated
TP4 project.