Home · All Classes · Modules

QToolButton Class Reference
[QtGui module]

Inherits QAbstractButton.

Types

Methods

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.initStyleOption (self, QStyleOptionToolButton)

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)

ToolButtonPopupMode QToolButton.popupMode (self)

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.setPopupMode (self, ToolButtonPopupMode)

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.ToolButtonStyle QToolButton.toolButtonStyle (self)


Qt Signal Documentation

void triggered (QAction *)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0