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.
116 lines
3.9 KiB
116 lines
3.9 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<SettingsConfig allowSearch="true" allowRestore="true">
|
|
<!--Include optional="true">/absolute/include/path.xml</Include-->
|
|
<Category>
|
|
<Section>
|
|
<Group>
|
|
<Entry key="prop1"
|
|
type="bool"
|
|
title="&Check me"
|
|
tooltip="I am a checkbox!"
|
|
default="true">
|
|
<SearchKey>property</SearchKey>
|
|
<SearchKey>bool</SearchKey>
|
|
</Entry>
|
|
<Entry key="prop2"
|
|
type="string"
|
|
title="Enter a &name">
|
|
<Property key="placeholderText" type="string" ts="true">Enter a nice name</Property>
|
|
</Entry>
|
|
</Group>
|
|
<Group title="Sub-Group" tooltip="This is a tooltip">
|
|
<Entry key="prop3"
|
|
type="action"
|
|
title="Open &system settings">
|
|
<Property key="text" type="string">Trigger Action</Property>
|
|
<Property key="args" type="object">
|
|
<Property key="hint" type="string" ts="true">You can use this to trigger whatever kind of action you need</Property>
|
|
</Property>
|
|
</Entry>
|
|
<Entry key="prop4"
|
|
type="selection"
|
|
title="Select a &mode"
|
|
default="Variant B"
|
|
tsdefault="true">
|
|
<Property key="listElements" type="list">
|
|
<Element type="string" ts="true">Variant A</Element>
|
|
<Element type="string" ts="true">Variant B</Element>
|
|
<Element type="string" ts="true">Variant C</Element>
|
|
</Property>
|
|
</Entry>
|
|
</Group>
|
|
</Section>
|
|
<Section title="Another Section" icon="" tooltip="This is another section">
|
|
<Entry key="prop5"
|
|
type="double"
|
|
title="Enter a &value"
|
|
tooltip="The value must be between 0 and 1">
|
|
<Property key="minimum" type="double">0.0</Property>
|
|
<Property key="maximum" type="double">1.0</Property>
|
|
</Entry>
|
|
<Entry key="prop6"
|
|
type="selection"
|
|
title="Select a &mode"
|
|
default="3">
|
|
<Property key="listElements" type="list">
|
|
<Element type="object">
|
|
<Property key="name" type="string" ts="true">Value A</Property>
|
|
<Property key="value" type="int">1</Property>
|
|
</Element>
|
|
<Element type="object">
|
|
<Property key="name" type="string" ts="true">Value B</Property>
|
|
<Property key="value" type="int">2</Property>
|
|
</Element>
|
|
<Element type="object">
|
|
<Property key="name" type="string" ts="true">Value C</Property>
|
|
<Property key="value" type="int">4</Property>
|
|
</Element>
|
|
<Element type="object">
|
|
<Property key="name" type="string" ts="true">Value A+B</Property>
|
|
<Property key="value" type="int">3</Property>
|
|
</Element>
|
|
<Element type="object">
|
|
<Property key="name" type="string" ts="true">Value A+C</Property>
|
|
<Property key="value" type="int">5</Property>
|
|
</Element>
|
|
<Element type="object">
|
|
<Property key="name" type="string" ts="true">Value B+C</Property>
|
|
<Property key="value" type="int">6</Property>
|
|
</Element>
|
|
<Element type="object">
|
|
<Property key="name" type="string" ts="true">Value A+B+C</Property>
|
|
<Property key="value" type="int">7</Property>
|
|
</Element>
|
|
</Property>
|
|
</Entry>
|
|
</Section>
|
|
</Category>
|
|
<Category title="Another main category">
|
|
<Entry key="prop7"
|
|
type="int"
|
|
title="Enter a &number"
|
|
default="42" />
|
|
<Entry key="prop8"
|
|
type="selection"
|
|
title="Select a &mode"
|
|
default="Text 2"
|
|
tsdefault="true">
|
|
<Property key="editable" type="bool">true</Property>
|
|
<Property key="listElements" type="list">
|
|
<Element type="string" ts="true">Text 1</Element>
|
|
<Element type="string" ts="true">Text 2</Element>
|
|
</Property>
|
|
</Entry>
|
|
<Entry key="prop9"
|
|
type="url"
|
|
title="Enter a &website">
|
|
<Property key="placeholderText" type="string" ts="true">https://example.org/test</Property>
|
|
</Entry>
|
|
<Entry key="prop10"
|
|
type="QFont"
|
|
title="Choose a &font" />
|
|
<Entry key="prop11"
|
|
type="non-existant-type"
|
|
title="Non existing type" />
|
|
</Category>
|
|
</SettingsConfig>
|
|
|