Definition at line 102 of file qsystemtrayicon_mac.mm.
◆ dealloc()
◆ doubleClickSelector:()
- (void) doubleClickSelector: |
|
(id) |
sender |
|
Definition at line 471 of file qsystemtrayicon_mac.mm.
void qtsystray_sendActivated(QSystemTrayIcon *i, int r)
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
◆ geometry()
Definition at line 436 of file qsystemtrayicon_mac.mm.
438 NSRect screenRect = [[window screen] frame];
439 NSRect windowRect = [window frame];
440 return QRectF(windowRect.origin.x, screenRect.size.height-windowRect.origin.y-windowRect.size.height, windowRect.size.width, windowRect.size.height);
The QRectF class defines a rectangle in the plane using floating point precision. ...
◆ icon()
◆ initWithIcon:iconPrivate:()
Definition at line 409 of file qsystemtrayicon_mac.mm.
415 item = [[[NSStatusBar systemStatusBar] statusItemWithLength:NSSquareStatusItemLength] retain];
416 imageCell = [[QT_MANGLE_NAMESPACE(QNSImageView) alloc] initWithParent:self];
417 [item setView: imageCell];
QSystemTrayIconPrivate * iconPrivate
The QSystemTrayIcon class provides an icon for an application in the system tray. ...
◆ item()
◆ triggerSelector:button:()
- (void) triggerSelector: |
|
(id) |
sender |
button: |
|
(Qt::MouseButton) |
mouseButton |
|
|
| |
Definition at line 445 of file qsystemtrayicon_mac.mm.
456 #ifndef QT_MAC_USE_COCOA 457 [[[
self item] view] removeAllToolTips];
460 NSMenu *m = [[QT_MANGLE_NAMESPACE(QNSMenu) alloc] initWithQMenu:icon->contextMenu()];
461 [m setAutoenablesItems: NO];
462 [[NSNotificationCenter defaultCenter] addObserver:imageCell
463 selector:@selector(menuTrackingDone:)
464 name:NSMenuDidEndTrackingNotification
466 [item popUpStatusItemMenu: m];
void qtsystray_sendActivated(QSystemTrayIcon *i, int r)
QSystemTrayIconPrivate * iconPrivate
QMenu * contextMenu() const
Returns the current context menu for the system tray entry.
#define Q_UNUSED(x)
Indicates to the compiler that the parameter with the specified name is not used in the body of a fun...
◆ icon
◆ iconPrivate
◆ imageCell
◆ item
The documentation for this class was generated from the following file: