Results 1 to 20 of 46

Thread: How to work with files

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #17
    Join Date
    Mar 2015
    Posts
    125
    Qt products
    Qt4 Qt5
    Platforms
    Windows

    Default Re: How to work with files

    You probably overestimate the issue for me. I ask here the algorithm not code. I see my task that I should make one window with button to index the files or select the drive. Near that button I see the display of file tree. But it is gui. But what I should use in Qt for the file description – the some structure (or list) with the fields of number, name, size, and path? Then it should be written in some file. Then I write this file to xml in some way where properties of every item should be (converted from) name, size, and path. Then I write xml to another file. Then I make the field for the search of file name and the sub-window for displaying the results (and code for the function that search the file name in properties of file). That is my vision – if I am grossly incorrect you can show it. I write it everything as it is very difficult for me but it determines in some way the further experience as programmer// If it is better to write such app in sharp or java, it could be the option. If it is possible to make a lot of things in qcreator (as it was said at the beginning) I would do it as now has the problem with the msvcp100.dll despite copied it to bin and system folder. And I do not understand why I cannot write private messages.


    Added after 7 minutes:


    You probably overestimate the issue for me. I ask here the algorithm not code. I see my task that I should make one window with button to index the files or select the drive. Near that button I see the display of file tree. But it is gui. But what I should use in Qt for the file description – the some structure (or list) with the fields of number, name, size, and path? Then it should be written in some file. Then I write this file to xml in some way where properties of every item should be (converted from) name, size, and path. Then I write xml to another file. Then I make the field for the search of file name and the sub-window for displaying the results (and code for the function that search the file name in properties of file). That is my vision – if I am grossly incorrect you can show it. I write it everything as it is very difficult for me but it determines in some way the further experience as programmer// If it is better to write such app in sharp or java, it could be the option. If it is possible to make a lot of things in qcreator (as it was said at the beginning) I would do it as now has the problem with the msvcp100.dll despite copied it to bin and system folder. And I do not understand why I cannot write private messages.
    Last edited by artt; 25th March 2015 at 20:26.

Similar Threads

  1. Replies: 1
    Last Post: 14th April 2011, 09:58
  2. Replies: 1
    Last Post: 8th April 2011, 13:45
  3. Work with directory and files
    By amiref in forum Qt Programming
    Replies: 4
    Last Post: 24th March 2011, 09:26
  4. Replies: 4
    Last Post: 11th January 2011, 13:27
  5. Pack all .qm files into .qrc, why doesn't work???
    By yxmaomao in forum Qt Programming
    Replies: 3
    Last Post: 8th May 2008, 19:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.