@Properties(inherit=Qt5Widgets.class) public class QMenu extends QWidget
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
DrawChildren, DrawWindowBackground, IgnoreMask
Constructor and Description |
---|
QMenu() |
QMenu(long size)
Native array allocator.
|
QMenu(Pointer p)
Pointer cast constructor.
|
QMenu(QString title) |
QMenu(QString title,
QWidget parent) |
QMenu(QWidget parent) |
_close, acceptDrops, accessibleDescription, accessibleName, activateWindow, addAction, adjustSize, asQPaintDevice, asQPaintDevice, autoFillBackground, baseSize, childAt, clearFocus, clearMask, closeEvent, contextMenuPolicy, createWinId, devType, effectiveWinId, ensurePolished, find, focusPolicy, focusProxy, focusWidget, font, frameSize, getContentsMargins, getContentsMargins, getContentsMargins, grabGesture, grabKeyboard, grabMouse, hasFocus, hasMouseTracking, hasTabletTracking, height, hide, insertAction, internalWinId, isActiveWindow, isAncestorOf, isEnabled, isEnabledTo, isFullScreen, isHidden, isLeftToRight, isMaximized, isMinimized, isModal, isRightToLeft, isTopLevel, isVisible, isVisibleTo, isWindow, isWindowModified, keyboardGrabber, layout, layoutDirection, lower, maximumHeight, maximumSize, maximumWidth, minimumHeight, minimumSize, minimumWidth, mouseGrabber, move, nativeParentWidget, nextInFocusChain, overrideWindowFlags, parentWidget, previousInFocusChain, raise, releaseKeyboard, releaseMouse, releaseShortcut, removeAction, render, repaint, repaint, resize, resize, restoreGeometry, saveGeometry, scroll, setAcceptDrops, setAccessibleDescription, setAccessibleName, setAttribute, setAttribute, setAutoFillBackground, setBaseSize, setBaseSize, setContentsMargins, setContextMenuPolicy, setDisabled, setEnabled, setFixedHeight, setFixedSize, setFixedSize, setFixedWidth, setFocus, setFocus, setFocusPolicy, setFocusProxy, setFont, setGeometry, setHidden, setLayout, setLayoutDirection, setMaximumHeight, setMaximumSize, setMaximumSize, setMaximumWidth, setMinimumHeight, setMinimumSize, setMinimumSize, setMinimumWidth, setMouseTracking, setParent, setParent, setShortcutAutoRepeat, setShortcutAutoRepeat, setShortcutEnabled, setShortcutEnabled, setSizeIncrement, setSizeIncrement, setSizePolicy, setSizePolicy, setStatusTip, setStyle, setStyleSheet, setTabletTracking, setTabOrder, setToolTip, setToolTipDuration, setUpdatesEnabled, setWhatsThis, setWindowFilePath, setWindowFlag, setWindowFlag, setWindowFlags, setWindowIcon, setWindowIconText, setWindowModality, setWindowModified, setWindowOpacity, setWindowRole, setWindowTitle, show, showFullScreen, showMaximized, showMinimized, showNormal, size, sizeIncrement, sizePolicy, stackUnder, statusTip, style, styleSheet, testAttribute, toolTip, toolTipDuration, topLevelWidget, underMouse, ungrabGesture, unsetCursor, unsetLayoutDirection, unsetLocale, update, update, updateGeometry, updatesEnabled, whatsThis, width, window, windowFilePath, windowFlags, windowIcon, windowIconText, windowModality, windowOpacity, windowRole, windowTitle, windowType, winId, x, y
blockSignals, childEvent, customEvent, deleteLater, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, disconnect, dumpObjectInfo, dumpObjectTree, 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, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public QMenu(Pointer p)
Pointer(Pointer)
.public QMenu(long size)
Pointer.position(long)
.public QMenu(QWidget parent)
public QMenu()
public QMenu getPointer(long i)
getPointer
in class QWidget
public QAction addAction(@Const @ByRef QString text, @Const QObject receiver, @Cast(value="const char*") BytePointer member)
public QAction addAction(@Const @ByRef QString text, @Const QObject receiver, String member)
public QAction addAction(@Const @ByRef QIcon icon, @Const @ByRef QString text, @Const QObject receiver, @Cast(value="const char*") BytePointer member)
public QAction addAction(@Const @ByRef QIcon icon, @Const @ByRef QString text, @Const QObject receiver, String member)
public QAction addSeparator()
public QAction insertSection(QAction before, @Const @ByRef QIcon icon, @Const @ByRef QString text)
public void clear()
public void showTearOffMenu()
public void hideTearOffMenu()
public void setDefaultAction(QAction arg0)
public QAction defaultAction()
public void setActiveAction(QAction act)
public QAction activeAction()
public QAction exec()
public QAction menuAction()
public void setNoReplayFor(QWidget widget)
@Virtual protected void paintEvent(Qt5Gui.QPaintEvent arg0)
@Virtual protected void timerEvent(QTimerEvent arg0)
timerEvent
in class QObject
Copyright © 2022. All rights reserved.