You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
1.5 KiB
71 lines
1.5 KiB
6 years ago
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||
|
<Settings name="TestSettings">
|
||
|
<Include>QtCore/QDateTime</Include>
|
||
|
<Include local="false">QtCore/QUrl</Include>
|
||
|
|
||
|
<Qml uri="de.skycoder42.QtMvvm.Core.test"
|
||
|
major="4"
|
||
|
minor="2"
|
||
|
type="Singleton"
|
||
|
register="true"
|
||
|
header="generatortest.h"/>
|
||
|
|
||
|
<TypeMapping key="range" type="int"/>
|
||
|
|
||
|
<Node key="emptyNode"/>
|
||
|
<Entry key="emptyEntry"
|
||
|
type="bool"/>
|
||
|
<Entry key="advancedEntry"
|
||
|
type="QString"
|
||
|
qmlGroupKey="qmlAdvancedEntry"
|
||
|
default="Hello World"
|
||
|
tr="true"
|
||
|
trContext="some_context"/>
|
||
|
<Entry key="codeEntry"
|
||
|
type="QUrl">
|
||
|
<Code>QUrl::fromLocalFile(QStringLiteral("/path/to/something"))</Code>
|
||
|
</Entry>
|
||
|
|
||
|
<Node key="parentNode">
|
||
|
<Node key="emptyChildNode"/>
|
||
|
<Node key="fullChildNode">
|
||
|
<Entry key="replaceEntry"
|
||
|
type="range"
|
||
|
default="42"/>
|
||
|
</Node>
|
||
|
<Entry key="parentEntry"
|
||
|
type="bool"
|
||
|
default="true">
|
||
|
<Node key="subNode"/>
|
||
|
<Entry key="nodeWithCodeEntry"
|
||
|
type="int">
|
||
|
<Node key="someNode"/>
|
||
|
<Code>
|
||
|
qRound(42.8)
|
||
|
</Code>
|
||
|
</Entry>
|
||
|
<Entry key="leafEntry"
|
||
|
type="QString"
|
||
|
default="translate me"
|
||
|
tr="true"/>
|
||
|
</Entry>
|
||
|
</Node>
|
||
|
|
||
|
<Entry key="voidEntry"
|
||
|
type="void"/>
|
||
|
<Entry key="variantEntry"
|
||
|
type="QVariant"/>
|
||
|
|
||
|
<ListEntry key="listEntry"
|
||
|
type="QByteArray">
|
||
|
<Entry key="dummyChild"
|
||
|
type="bool"/>
|
||
|
<Code>"Hello World"</Code>
|
||
|
<Init> {
|
||
|
"test1",
|
||
|
"test2",
|
||
|
"test3"
|
||
|
} </Init>
|
||
|
</ListEntry>
|
||
|
</Settings>
|