Home · All Classes · Modules

QPushButton Class Reference
[QtGui module]

Inherits QAbstractButton.

Inherited by QCommandLinkButton.

Methods


Detailed Description


Method Documentation

QPushButton.__init__ (self, QWidget parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QPushButton.__init__ (self, QString, QWidget parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

QPushButton.__init__ (self, QIcon, QString, QWidget parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

bool QPushButton.autoDefault (self)

bool QPushButton.event (self, QEvent)

QPushButton.focusInEvent (self, QFocusEvent)

QPushButton.focusOutEvent (self, QFocusEvent)

QPushButton.initStyleOption (self, QStyleOptionButton)

bool QPushButton.isDefault (self)

bool QPushButton.isFlat (self)

QPushButton.keyPressEvent (self, QKeyEvent)

QMenu QPushButton.menu (self)

QSize QPushButton.minimumSizeHint (self)

QPushButton.paintEvent (self, QPaintEvent)

QPushButton.setAutoDefault (self, bool)

QPushButton.setDefault (self, bool)

QPushButton.setFlat (self, bool)

QPushButton.setMenu (self, QMenu)

QPushButton.showMenu (self)

This method is also a Qt slot with the C++ signature void showMenu().

QSize QPushButton.sizeHint (self)


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