PythonQt.QtGui.QAbstractButton · declarations 007
Back to PythonQt.QtGui.QAbstractButton
setMaximumHeight
setMaximumHeight(maxh: Any) -> Any
X.setMaximumHeight(maxh)
setMaximumSize
setMaximumSize(maxw: Any, maxh: Any) -> Any
X.setMaximumSize(maxw, maxh)
setMaximumWidth
setMaximumWidth(maxw: Any) -> Any
X.setMaximumWidth(maxw)
setMinimumHeight
setMinimumHeight(minh: Any) -> Any
X.setMinimumHeight(minh)
setMinimumSize
setMinimumSize(minw: Any, minh: Any) -> Any
X.setMinimumSize(minw, minh)
setMinimumWidth
setMinimumWidth(minw: Any) -> Any
X.setMinimumWidth(minw)
setMouseTracking
setMouseTracking(enable: Any) -> Any
X.setMouseTracking(enable)
setPalette
setPalette(arg__1: Any) -> Any
X.setPalette(arg__1)
setParent
setParent(parent: Any, f: Any) -> Any
X.setParent(parent, f)
setShortcut
setShortcut(key: Any) -> None
X.setShortcut(key)
Upstream PySide2 reference signatures (binding differences may apply):
setShortcut(self, key: PySide2.QtGui.QKeySequence) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractbutton.html#setShortcut
setShortcutAutoRepeat
setShortcutAutoRepeat(id: Any, enable: Any) -> Any
X.setShortcutAutoRepeat(id, enable)
setShortcutEnabled
setShortcutEnabled(id: Any, enable: Any) -> Any
X.setShortcutEnabled(id, enable)
setSizeIncrement
setSizeIncrement(w: Any, h: Any) -> Any
X.setSizeIncrement(w, h)
setSizePolicy
setSizePolicy(horizontal: Any, vertical: Any) -> Any
X.setSizePolicy(horizontal, vertical)
setStatusTip
setStatusTip(arg__1: Any) -> Any
X.setStatusTip(arg__1)
setStyle
setStyle(arg__1: Any) -> Any
X.setStyle(arg__1)
setStyleSheet
setStyleSheet(styleSheet: Any) -> Any
X.setStyleSheet(styleSheet)
setTabOrder
setTabOrder(arg__1: Any, arg__2: Any) -> Any
X.setTabOrder(arg__1, arg__2)
setText
setText(text: str) -> None
X.setText(text)
Upstream PySide2 reference signatures (binding differences may apply):
setText(self, text: str) -> None
Source: https://doc.qt.io/archives/qt-5.15/qabstractbutton.html#setText
setToolTip
setToolTip(arg__1: Any) -> Any
X.setToolTip(arg__1)
setToolTipDuration
setToolTipDuration(msec: Any) -> Any
X.setToolTipDuration(msec)
setUpdatesEnabled
setUpdatesEnabled(enable: Any) -> Any
X.setUpdatesEnabled(enable)
setVisible
setVisible(visible: Any) -> Any
X.setVisible(visible)
setWhatsThis
setWhatsThis(arg__1: Any) -> Any
X.setWhatsThis(arg__1)
setWindowFilePath
setWindowFilePath(filePath: Any) -> Any
X.setWindowFilePath(filePath)
setWindowFlags
setWindowFlags(type: Any) -> Any
X.setWindowFlags(type)
setWindowIcon
setWindowIcon(icon: Any) -> Any
X.setWindowIcon(icon)
setWindowIconText
setWindowIconText(arg__1: Any) -> Any
X.setWindowIconText(arg__1)
setWindowModality
setWindowModality(windowModality: Any) -> Any
X.setWindowModality(windowModality)
setWindowModified
setWindowModified(a: Any) -> Any
X.setWindowModified(a)
setWindowOpacity
setWindowOpacity(level: Any) -> Any
X.setWindowOpacity(level)
setWindowRole
setWindowRole(arg__1: Any) -> Any
X.setWindowRole(arg__1)
setWindowState
setWindowState(state: Any) -> Any
X.setWindowState(state)
setWindowTitle
setWindowTitle(a: Any) -> Any
X.setWindowTitle(a)
sharedPainter
sharedPainter() -> Any
X.sharedPainter() -> PythonQt.QtGui.QPainter
shortcut
instance-attribute
shortcut: QKeySequence
Qt 5 reference:
shortcut : QKeySequence
This property holds the mnemonic associated with the button
Access functions:
| QKeySequence | shortcut() const |
|---|---|
| void | setShortcut(const QKeySequence \&key) |
Source: https://doc.qt.io/archives/qt-5.15/qabstractbutton.html#shortcut
show
show() -> Any
X.show()
showEvent
showEvent(event: Any) -> Any
X.showEvent(event)
showFullScreen
showFullScreen() -> Any
X.showFullScreen()
showMaximized
showMaximized() -> Any
X.showMaximized()