- Qt 5.5
- Qt Widgets
- Sub-Attaq
- data.xml Example File
- Qt 5.5.1 Reference Documentation

# data.xml Example File

animation/sub-attaq/data.xml

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <subattaq>
        <submarines>
            <submarine type="0" points="10" name="Q1" />
            <submarine type="1" points="20" name="Q2" />
        </submarines>
        <levels>
            <level id="0" name="Seaman recruit">
                <subinstance type="0" nb="1"/>
            </level>
            <level id="1" name="Seaman apprentice">
                <subinstance type="0" nb="2"/>
            </level>
            <level id="2" name="Seaman">
                <subinstance type="0" nb="4"/>
            </level>
            <level id="3" name="Petty Officer Third Class">
                <subinstance type="0" nb="6"/>
            </level>
            <level id="4" name="Petty Officer Second Class">
                <subinstance type="0" nb="6"/>
            </level>
            <level id="5" name="Petty Officer First Class">
                <subinstance type="0" nb="8"/>
            </level>
            <level id="6" name="Lieutenant">
                <subinstance type="0" nb="10"/>
            </level>
            <level id="7" name="Commander">
                <subinstance type="0" nb="15"/>
            </level>
            <level id="8" name="Captain">
                <subinstance type="0" nb="12"/>
            </level>
            <level id="9" name="Admiral">
                <subinstance type="0" nb="12"/>
            </level>
        </levels>
    </subattaq>