Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Brainstorm
  4. [SOLVED] QFileSystemModel without mouse/keybaord
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] QFileSystemModel without mouse/keybaord

Scheduled Pinned Locked Moved Brainstorm
6 Posts 2 Posters 2.4k 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
    ranshalit
    wrote on last edited by
    #1

    Hello,

    I’m very beginner in QT, and would like your advise…
    I need to develop very simple QT window which:

    1. shows files list in specific (known) folder .
    2. enables to scroll between the files using signal/buttons from other application which enables: scroll up, scroll down, choose file for delete.
    3. it run in embeded system, without mouse/keyboard (only the signal/communication from other process)

    Can you please advise as to:

    1. what kind of graphic/component I should choose for viewing the files in folder
    2. Is it possible to do the selection with such signaling instead of keyboard/mouse. if yes – how?

    Thank you!
    Ran

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

      Hi,

      1. QListView + QFileSystemModel
      2. What do you mean by "other application" ? A service running ? Another part of the same application ?

      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
      • R Offline
        R Offline
        ranshalit
        wrote on last edited by
        #3

        Hi!

        I mean that there is another application aside from QT, which is a kind of service running, yes, and listens also to keypad buttons being pressed. What simple method do you suggest for communicating between these 2 process ?

        Thank you,
        Ran

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

          You can use Qt's RPC classes like QLocaleServer/QLocalSocket or QSharedMemory.

          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
          • R Offline
            R Offline
            ranshalit
            wrote on last edited by
            #5

            Hi,

            Just one more on this please...
            The embedded system does not have mouse/keyboard....
            Does QFileSystemModel (with QFileView) Qwidget enable to select / mark chose file as a method, or should we explicitly send some event/signal ?
            Is the selected file will be highlighted (a file not a folder) , how ?

            Thank you,
            Ran

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

              They have some and you have the QItemSelectionModel class that might help

              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