Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131471

no easy way to customize FileDialog of QtQuick.Dialogs

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.8
    • None

      I wrote a new style, and select it using qtquiconcontrols2.conf, and provide FileDialog.qml (copied from QtQuick/Dialogs/Material/FileDialog.qml

      when executing, it will report 'namefilters' is read-only.

      after check qt's code, import QtQuick.Dialogs, the 'FileDialog' is not FileDialog.qml, but from C+, and the C+ class will select FileDialog.qml or native by options. the namefilters property is the wrapper's, but not FileDialog.qml's.

      Is there any easy way to override FileDialog of QtQuick.Dialogs in custom style, (copy from official qml and make minor change)?

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            niqingliang2003 niqingliang2003
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes