UI: Require Qt Creator's casing for cursorShape in XML validator

While Qt Designer doesn't care about casing, the XML schema spec does.
Due to Qt Creator automatically changing case on save, require the
uppercase variant in all situations, so that other devs don't have to
manually change the case after Qt Creator changes it.

NOTE: This introduces an adjustment to the spec, different from what
Qt provide from Qt Designer. If this file is changed in future, this
diff may need to be manually re-applied.
https://doc.qt.io/qt-5/designer-ui-file-format.html
master
Matt Gajownik 2022-03-20 11:09:21 +11:00
parent d066e89d56
commit 923d427212
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Includes modified casing due to Qt Creator 5.0.0: cursorshape -> cursorShape -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="ui" type="UI" />
@ -456,7 +457,7 @@
<xs:element name="color" type="Color" />
<xs:element name="cstring" type="xs:string" />
<xs:element name="cursor" type="xs:integer" />
<xs:element name="cursorshape" type="xs:string" />
<xs:element name="cursorShape" type="xs:string" />
<xs:element name="enum" type="xs:string" />
<xs:element name="font" type="Font" />
<xs:element name="iconset" type="ResourceIcon" />