Commit f1ca0250 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlExtensionPlugin: Require objectname, URI

Make sure 'next' button is disabled if fields are empty.

Task-number: QTCREATORGBUG-3921
parent e78427b7
......@@ -56,11 +56,11 @@ leave room for the Qt 4 target page.
<!-- Create a 2nd wizard page with parameters -->
<fieldpagetitle>Custom QML Extension Plugin Parameters</fieldpagetitle>
<field mandatory="false" name="ObjectName">
<field mandatory="true" name="ObjectName">
<fieldcontrol class="QLineEdit" validator='^[A-Za-z0-9_]+$' defaulttext="MyItem"/>
<fielddescription>Object Class-name:</fielddescription>
<field mandatory="false" name="Uri">
<field mandatory="true" name="Uri">
<fieldcontrol class="QLineEdit" validator='^[A-Za-z0-9]+([A-Za-z0-9-]*[A-Za-z0-9]+)?(\.[A-Za-z0-9]+([-A-Za-z0-9]*[A-Za-z0-9]+)?)*$' defaulttext="com.mycompany.qmlcomponents"/>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment