26
26
<file source="po/CMakeLists.txt" target="po/CMakeLists.txt" openeditor="false"/>
29
<!-- Create a 2nd wizard page with click package parameters -->
30
<fieldpagetitle>Click package parameters</fieldpagetitle>
32
<field mandatory="true" name="ClickDomain">
33
<fieldcontrol class="QLineEdit" validator='^[A-Za-z0-9-]+$'
34
defaulttext="" placeholdertext="Nickname"/>
35
<fielddescription>Nickname:</fielddescription>
37
<field mandatory="true" name="ClickMaintainer">
38
<fieldcontrol class="QLineEdit" validator='^[^"]+$'
39
defaulttext="" placeholdertext="Maintainer"/>
40
<fielddescription>Maintainer:</fielddescription>
42
<field mandatory="true" name="ClickHookName">
43
<fieldcontrol class="QLineEdit" validator='^[A-Za-z0-9.-]+$'
44
defaulttext="myapp" placeholdertext="app hook name"/>
45
<fielddescription>App name:</fielddescription>
47
<field name="ClickFrameworkVersion">
48
<fieldcontrol class="QComboBox" defaultindex="0">
50
<!-- Do not add any other frameworks here, they are populated at runtime, this is just a dummy framework to make sure we can find the combobox -->
51
<comboentry value="ubuntu-sdk-dummy-framework">
52
<comboentrytext>Dummy Framework</comboentrytext>
56
<fielddescription>Framework:</fielddescription>
29
<!-- Create a 2nd wizard page with click package parameters -->
30
<fieldpagetitle>Click package parameters</fieldpagetitle>
32
<field mandatory="true" name="ClickDomain">
33
<fieldcontrol class="QLineEdit" validator='^[A-Za-z0-9-]+$'
34
defaulttext="" placeholdertext="Nickname"/>
35
<fielddescription>Nickname:</fielddescription>
37
<field mandatory="true" name="ClickMaintainer">
38
<fieldcontrol class="QLineEdit" validator='^[^"]+$'
39
defaulttext="" placeholdertext="Maintainer"/>
40
<fielddescription>Maintainer:</fielddescription>
42
<field mandatory="true" name="ClickHookName">
43
<fieldcontrol class="QLineEdit" validator='^[A-Za-z0-9.-]+$'
44
defaulttext="%ProjectName%" placeholdertext="app hook name"/>
45
<fielddescription>App name:</fielddescription>
47
<field name="ClickFrameworkVersion">
48
<fieldcontrol class="QComboBox" defaultindex="0">
50
<!-- Do not add any other frameworks here, they are populated at runtime, this is just a dummy framework to make sure we can find the combobox -->
51
<comboentry value="ubuntu-sdk-dummy-framework">
52
<comboentrytext>Dummy Framework</comboentrytext>
56
<fielddescription>Framework:</fielddescription>
60
60
<validationrule condition='/^(.*)\s+<(.*@.*)>$/.test("%ClickMaintainer%")'>
61
61
<message>Invalid format for maintainer (should be like "Joe Bloggs <joe.bloggs@isp.com>")</message>