Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Customize FileDialog's button text
Forum Updated to NodeBB v4.3 + New Features

Customize FileDialog's button text

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 791 Views
  • 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.
  • D Offline
    D Offline
    DenverCoder21
    wrote on 29 Jul 2016, 10:11 last edited by
    #1

    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?

    R 1 Reply Last reply 29 Jul 2016, 11:45
    0
    • D DenverCoder21
      29 Jul 2016, 10:11

      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?

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 29 Jul 2016, 11:45 last edited by
      #2

      @DenverCoder21
      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.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DenverCoder21
        wrote on 29 Jul 2016, 12:35 last edited by
        #3

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

        1 Reply Last reply
        0

        3/3

        29 Jul 2016, 12:35

        • Login

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