Restore Mac Application Window after Cmd-H: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Add "cleanup" tag)
(Convert ExpressionEngine links)
Line 14: Line 14:
</code>
</code>


If you have installed a system tray icon with "QSystemTrayIcon":http://doc.qt.nokia.com/stable/qsystemtrayicon.html you can add a menu entry and connect the "QAction's":http://doc.qt.nokia.com/stable/qaction.html triggered() signal with the respecitve slots.
If you have installed a system tray icon with [http://doc.qt.nokia.com/stable/qsystemtrayicon.html QSystemTrayIcon] you can add a menu entry and connect the [http://doc.qt.nokia.com/stable/qaction.html QAction's] triggered() signal with the respecitve slots.

Revision as of 15:39, 4 March 2015

This article may require cleanup to meet the Qt Wiki's quality standards. Reason: Auto-imported from ExpressionEngine.
Please improve this article if you can. Remove the {{cleanup}} tag and add this page to Updated pages list after it's clean.

How to restore an OS X application window after hiding with Cmd-H

If you have hidden an OS X Application with Cmd-H (aka Apple-H = ⌘-H) the hidden window cannot be shown again by calling slot show(). In this case you must call

raise();
// maybe additionally to activate the window:
activateWindow();

If you have installed a system tray icon with QSystemTrayIcon you can add a menu entry and connect the QAction's triggered() signal with the respecitve slots.