QToolButton Class Reference
[QtGui module]
Inherits QAbstractButton.
Types
Methods
- __init__ (self, QWidget parent = None)
- actionEvent (self, QActionEvent)
- Qt.ArrowType arrowType (self)
- bool autoRaise (self)
- changeEvent (self, QEvent)
- QAction defaultAction (self)
- enterEvent (self, QEvent)
- bool event (self, QEvent)
- bool hitButton (self, QPoint)
- initStyleOption (self, QStyleOptionToolButton)
- leaveEvent (self, QEvent)
- QMenu menu (self)
- QSize minimumSizeHint (self)
- mousePressEvent (self, QMouseEvent)
- mouseReleaseEvent (self, QMouseEvent)
- nextCheckState (self)
- paintEvent (self, QPaintEvent)
- ToolButtonPopupMode popupMode (self)
- setArrowType (self, Qt.ArrowType)
- setAutoRaise (self, bool)
- setDefaultAction (self, QAction)
- setMenu (self, QMenu)
- setPopupMode (self, ToolButtonPopupMode)
- setToolButtonStyle (self, Qt.ToolButtonStyle)
- showMenu (self)
- QSize sizeHint (self)
- timerEvent (self, QTimerEvent)
- Qt.ToolButtonStyle toolButtonStyle (self)
Qt Signals
Detailed Description
Type Documentation
QToolButton.ToolButtonPopupMode
Method Documentation
QToolButton.__init__ (self, QWidget parent = None)
The parent argument, if not None, causes self to be owned by Qt instead of PyQt.
QToolButton.actionEvent (self, QActionEvent)
Qt.ArrowType QToolButton.arrowType (self)
bool QToolButton.autoRaise (self)
QToolButton.changeEvent (self, QEvent)
QAction QToolButton.defaultAction (self)
QToolButton.enterEvent (self, QEvent)
bool QToolButton.event (self, QEvent)
bool QToolButton.hitButton (self, QPoint)
QToolButton.leaveEvent (self, QEvent)
QMenu QToolButton.menu (self)
QSize QToolButton.minimumSizeHint (self)
QToolButton.mousePressEvent (self, QMouseEvent)
QToolButton.mouseReleaseEvent (self, QMouseEvent)
QToolButton.nextCheckState (self)
QToolButton.paintEvent (self, QPaintEvent)
QToolButton.setArrowType (self, Qt.ArrowType)
QToolButton.setAutoRaise (self, bool)
QToolButton.setDefaultAction (self, QAction)
This method is also a Qt slot with the C++ signature void setDefaultAction(QAction *).
QToolButton.setMenu (self, QMenu)
QToolButton.setToolButtonStyle (self, Qt.ToolButtonStyle)
This method is also a Qt slot with the C++ signature void setToolButtonStyle(Qt::ToolButtonStyle).
QToolButton.showMenu (self)
This method is also a Qt slot with the C++ signature void showMenu().
QSize QToolButton.sizeHint (self)
QToolButton.timerEvent (self, QTimerEvent)
Qt Signal Documentation
void triggered (QAction *)
This is the default overload of this signal.