Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. FileDialog QML Type
Forum Updated to NodeBB v4.3 + New Features

FileDialog QML Type

Scheduled Pinned Locked Moved General and Desktop
6 Posts 2 Posters 2.0k Views 2 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.
  • S Offline
    S Offline
    SamGrant
    wrote on last edited by
    #1

    sidebarVisible is showing as an unknown property of FileDialog in 5.5.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Can you show how your are using FileDialog ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SamGrant
        wrote on last edited by
        #3

        CacheWin{
        id: cacheWindow
        visible: false
        color: "white"
        anchors.right: parent.right
        anchors.left: parent.left
        anchors.top: parent.top
        anchors.bottom: parent.bottom

                function open() {
                    visible = true
                }
                function close() {
                    visible = false
                }
        
        
                FileDialog {
                    id: fileDialog
                    title: "Choose a file"
                    nameFilters: ["btstCache files (*.che)"]
                    visible: false
                    //sidebarVisible: false
                    onAccepted: {
                        console.log("You chose: " + fileDialog.fileUrls)
                    }
                    onRejected: {
                        console.log("Canceled")
                    }
                }
        
            }
        
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          On which OS are you running your application ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply
          0
          • SGaistS SGaist

            On which OS are you running your application ?

            S Offline
            S Offline
            SamGrant
            wrote on last edited by SamGrant
            #5

            @SGaist Android...and soon IOS.

            But I am compiling/designing on Win7. When I uncomment out the sidebarVisible, I get an error about that property not existing.

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              In that case I wonder if it's a feature available on these platforms, because on desktop it's all good.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0

              • Login

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