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. C++ Touch File Selector
Forum Update on Monday, May 27th 2025

C++ Touch File Selector

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.6k 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.
  • J Offline
    J Offline
    jonnnnn
    wrote on 10 Oct 2013, 15:18 last edited by
    #1

    Hello,
    I am looking to build my first touch friendly interface. I have found the examples under "touch", which appear a good starting point. I have looked around, with no success, for some sort of finger friendly file selection example; e.g. a touch friendly version of QFileDialog. If possible I'd like to avoid qml and stick to C++.

    Has anyone got any suggestions on how this can be done and/or an example?

    Thanks

    1 Reply Last reply
    0
    • R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 11 Oct 2013, 06:29 last edited by
      #2

      since touch events are converted automatically to mouse events the minimum you would have to do is create some sort of list view where the cells are "touch friendly".
      Thats all.

      I was thinking of a list view where you get all folders and all files listed. Clicking on a folder opens it and displays the contents of it... and so on.

      You can use QFileSystemModel as a source of your view. Either way derive from it and choose which filepath you currently want to show, or use a QSortFilterProxyModel to just display the current folder.

      --- 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
      • J Offline
        J Offline
        jonnnnn
        wrote on 11 Oct 2013, 08:14 last edited by
        #3

        Ok,
        thanks for the info
        I'll give it a try.

        1 Reply Last reply
        0

        1/3

        10 Oct 2013, 15:18

        • Login

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