Qt Creator project wizard: (File-)Path input possible?
-
wrote on 14 May 2012, 09:25 last edited by
Is there a way to use a QFileDialog or similar within a Wizard definition?
I can use a QLineEdit like this:
@<field mandatory="true" name="MESSAGE">
<fieldcontrol class="QLineEdit" validator='^[^"]+$'
defaulttext="Description for '%ProjectName:c%'!" />
<fielddescription>Description:</fielddescription>
</field>@but would like to use direct path input like this:
@<field mandatory="true" name="COMMON">
<fieldcontrol class="QFileDialog"
defaulttext="Path to COMMON Project" />
<fielddescription>Path to COMMON:</fielddescription>
</field>@Is there a way or a workaround?
-
wrote on 14 May 2012, 09:36 last edited by
I found out myself by looking at the examples ;-)
@<fieldcontrol class="Utils::PathChooser" ....@
does the trick.
1/2