How to get a context menu for file system actions in Qt?
Is there any way to get a system context menu for files?
I need to have all the commands from system menu, not only simple operations like copy/paste/rename, but also some non-standard, like Dropbox actions.
I am using Qt 5.x on Windows, but a solution for Mac OS would be useful, too. If the answer requires a library independent of Qt, that is ok too.
Qt does not provide such feature. But you could use native API for each platform. See
How do you show the Windows Explorer context menu from a C# application?
for getting Windows explorer menu.
链接地址: http://www.djcxy.com/p/77052.html