MacOs: How to show a Folder Menu PopUp in window title bar
Unsolved
General and Desktop
-
In Qt Creator (as on many other Applications) if we hold the Command key and klick the mouse button in the Title bar of the application a window a popup menu will appear where we can choose and open one of the parent folders in the Finder:
How can I add such a popUp Menu to my application (i.e. to the mdi sample)?
-
@stefanwoe
You have to set a valid file path to your windowvoid setWindowFilePath(const QString &filePath)
Additionally, on macOS, this has an added benefit that it sets the proxy icon for the window, assuming that the file path exists.
1/3