Paul
Paul

Reputation: 2564

Windows Explorer in Qt Application

I would like to embed a Windows Explorer (not internet explorer) in my Qt application so that the user has a view to a Windows directory and can do regular file operations such as double-click to open, or rename. I understand that ActiveX is the way to re-use this sort of objects on Windows.

Is this possible and what is the suggested way of achieving this?

Thank you.

Upvotes: 2

Views: 666

Answers (2)

Krakkos
Krakkos

Reputation: 1479

You should use a QFilesystemModel to obtain the file and directory listing, then use a QTreeView to display it.

http://qt-project.org/doc/qt-4.8/itemviews-dirview-main-cpp.html

Upvotes: 0

MSalters
MSalters

Reputation: 179927

It sounds like you're describing an IShellView

Upvotes: 1

Related Questions