Important: Please read the Qt Code of Conduct -

Customize FileDialog's button text

  • I use a QML FileDialog to let the user select a folder (e.g. download folder). On OSX the opened FileDialog only offers "Open" as a button text, but I would like to have it say "Select", since I'm selecting a folder and don't open a file.
    I have set the "selectFolder" property to true. What should I do?

  • Moderators

    you can't. While it would be generally possible - at least using the Windows API - to set the button text, the Qt API doesn't provide this yet.

    You can file a request/widh for implementation using the Qt bugreport system.
    If there isn't one already.

  • Too bad. I file it, who knows maybe it's interesting for somebody else, too. Thanks for your answer.

Log in to reply