@Properties(inherit=Qt5Widgets.class) public class QToolButton extends QAbstractButton
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
DelayedPopup
enum QToolButton::ToolButtonPopupMode
|
static int |
InstantPopup
enum QToolButton::ToolButtonPopupMode
|
static int |
MenuButtonPopup
enum QToolButton::ToolButtonPopupMode
|
DrawChildren, DrawWindowBackground, IgnoreMask
Constructor and Description |
---|
QToolButton() |
QToolButton(long size)
Native array allocator.
|
QToolButton(Pointer p)
Pointer cast constructor.
|
QToolButton(QWidget parent) |
Modifier and Type | Method and Description |
---|---|
int |
arrowType() |
boolean |
autoRaise() |
QAction |
defaultAction() |
QMenu |
menu() |
QSize |
minimumSizeHint() |
int |
popupMode() |
QToolButton |
position(long position) |
void |
setArrowType(int type) |
void |
setAutoRaise(boolean enable) |
void |
setDefaultAction(QAction arg0) |
void |
setMenu(QMenu menu) |
void |
setPopupMode(int mode) |
void |
setToolButtonStyle(int style) |
void |
showMenu() |
QSize |
sizeHint() |
int |
toolButtonStyle() |
animateClick, animateClick, autoExclusive, autoRepeat, autoRepeatDelay, autoRepeatInterval, click, icon, iconSize, isCheckable, isChecked, isDown, setAutoExclusive, setAutoRepeat, setAutoRepeatDelay, setAutoRepeatInterval, setCheckable, setChecked, setDown, setIcon, setIconSize, setText, text, toggle
_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, 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 static final int DelayedPopup
public static final int MenuButtonPopup
public static final int InstantPopup
public QToolButton(Pointer p)
Pointer.Pointer(Pointer)
.public QToolButton(long size)
Pointer.position(long)
.public QToolButton(QWidget parent)
public QToolButton()
public QToolButton position(long position)
public void setMenu(QMenu menu)
public QMenu menu()
public QAction defaultAction()
public void showMenu()
public void setDefaultAction(QAction arg0)
Copyright © 2020. All rights reserved.