@Properties(inherit=Qt5Widgets.class) public class QSystemTrayIcon extends QObject
Modifier and Type | Class and Description |
---|---|
static class |
QSystemTrayIcon.ActivationReason |
static class |
QSystemTrayIcon.MessageIcon |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
QSystemTrayIcon() |
QSystemTrayIcon(long size)
Native array allocator.
|
QSystemTrayIcon(Pointer p)
Pointer cast constructor.
|
QSystemTrayIcon(QIcon icon) |
QSystemTrayIcon(QIcon icon,
QObject parent) |
QSystemTrayIcon(QObject parent) |
Modifier and Type | Method and Description |
---|---|
QMenu |
contextMenu() |
void |
hide() |
QIcon |
icon() |
static boolean |
isSystemTrayAvailable() |
boolean |
isVisible() |
QSystemTrayIcon |
position(long position) |
void |
setContextMenu(QMenu menu) |
void |
setIcon(QIcon icon) |
void |
setToolTip(QString tip) |
void |
setVisible(boolean visible) |
void |
show() |
void |
showMessage(QString title,
QString msg) |
void |
showMessage(QString title,
QString msg,
QIcon icon) |
void |
showMessage(QString title,
QString msg,
QIcon icon,
int msecs) |
void |
showMessage(QString title,
QString msg,
QSystemTrayIcon.MessageIcon icon,
int msecs) |
static boolean |
supportsMessages() |
QString |
toolTip() |
blockSignals, deleteLater, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, dumpObjectInfo, dumpObjectTree, event, eventFilter, inherits, inherits, installEventFilter, isWidgetType, isWindowType, killTimer, objectName, parent, registerUserData, removeEventFilter, setObjectName, setParent, setProperty, setProperty, signalsBlocked, startTimer, startTimer, startTimer, startTimer, tr, tr, tr, tr
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zero
public QSystemTrayIcon(Pointer p)
Pointer.Pointer(Pointer)
.public QSystemTrayIcon(long size)
Pointer.position(long)
.public QSystemTrayIcon(QObject parent)
public QSystemTrayIcon()
public QSystemTrayIcon position(long position)
public void setContextMenu(QMenu menu)
public QMenu contextMenu()
public void show()
public void hide()
public void showMessage(@Const @ByRef QString title, @Const @ByRef QString msg, @Const @ByRef QIcon icon, int msecs)
public void showMessage(@Const @ByRef QString title, @Const @ByRef QString msg, @Const @ByRef QIcon icon)
public void showMessage(@Const @ByRef QString title, @Const @ByRef QString msg, QSystemTrayIcon.MessageIcon icon, int msecs)
Copyright © 2020. All rights reserved.