Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator project wizard: (File-)Path input possible?
Forum Updated to NodeBB v4.3 + New Features

Qt Creator project wizard: (File-)Path input possible?

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 3.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rneuber1
    wrote on 14 May 2012, 09:25 last edited by
    #1

    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?

    1 Reply Last reply
    0
    • R Offline
      R Offline
      rneuber1
      wrote on 14 May 2012, 09:36 last edited by
      #2

      I found out myself by looking at the examples ;-)

      @<fieldcontrol class="Utils::PathChooser" ....@

      does the trick.

      1 Reply Last reply
      0

      1/2

      14 May 2012, 09:25

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved