tags:

views:

145

answers:

1

Excusing the actual folders used as an example, I want to achieve the following two widgets in Qt (the backend is similar to files, but not exactly filesystem files): folder-replace-dialog and copy-file-dialog

I know Qt can do the native save-file widget (using QFileDialog static methods), but can it do the folder replace/file copy dialogs as well? Any suggestions?

+2  A: 

You might have to call the Windows SHFileOperation directly for this. It should be possible whether your using gcc or the MS C++ compiler. You'll need to fill in the SHFILEOPSTRUCT but that shouldn't pose too much of a problem.

Rob
Unfortunately, my objects are not `file system object`s. They are very similar (in fact they do represent a directory structure) but are stored virtually so windows will not recognize them as file system objects.
laura