Home · All Classes · Modules

QAbstractButton Class Reference
[QtGui module]

Inherits QWidget.

Inherited by QCheckBox, QPushButton, QRadioButton and QToolButton.

Methods

Qt Signals


Detailed Description


Method Documentation

QAbstractButton.__init__ (self, QWidget parent = None)

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

QAbstractButton.animateClick (self, int msecs = 100)

This method is also a Qt slot with the C++ signature void animateClick(int = 100).

bool QAbstractButton.autoExclusive (self)

bool QAbstractButton.autoRepeat (self)

int QAbstractButton.autoRepeatDelay (self)

int QAbstractButton.autoRepeatInterval (self)

QAbstractButton.changeEvent (self, QEvent)

QAbstractButton.checkStateSet (self)

QAbstractButton.click (self)

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

bool QAbstractButton.event (self, QEvent)

QAbstractButton.focusInEvent (self, QFocusEvent)

QAbstractButton.focusOutEvent (self, QFocusEvent)

QButtonGroup QAbstractButton.group (self)

bool QAbstractButton.hitButton (self, QPoint)

QIcon QAbstractButton.icon (self)

QSize QAbstractButton.iconSize (self)

bool QAbstractButton.isCheckable (self)

bool QAbstractButton.isChecked (self)

bool QAbstractButton.isDown (self)

QAbstractButton.keyPressEvent (self, QKeyEvent)

QAbstractButton.keyReleaseEvent (self, QKeyEvent)

QAbstractButton.mouseMoveEvent (self, QMouseEvent)

QAbstractButton.mousePressEvent (self, QMouseEvent)

QAbstractButton.mouseReleaseEvent (self, QMouseEvent)

QAbstractButton.nextCheckState (self)

QAbstractButton.paintEvent (self, QPaintEvent)

This method is abstract and should be reimplemented in any sub-class.

QAbstractButton.setAutoExclusive (self, bool)

QAbstractButton.setAutoRepeat (self, bool)

QAbstractButton.setAutoRepeatDelay (self, int)

QAbstractButton.setAutoRepeatInterval (self, int)

QAbstractButton.setCheckable (self, bool)

QAbstractButton.setChecked (self, bool)

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

QAbstractButton.setDown (self, bool)

QAbstractButton.setIcon (self, QIcon)

QAbstractButton.setIconSize (self, QSize)

This method is also a Qt slot with the C++ signature void setIconSize(const QSize&).

QAbstractButton.setShortcut (self, QKeySequence)

QAbstractButton.setText (self, QString)

QKeySequence QAbstractButton.shortcut (self)

QString QAbstractButton.text (self)

QAbstractButton.timerEvent (self, QTimerEvent)

QAbstractButton.toggle (self)

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


Qt Signal Documentation

void clicked (bool = 0)

This is the default overload of this signal.

void pressed ()

This is the default overload of this signal.

void released ()

This is the default overload of this signal.

void toggled (bool)

This is the default overload of this signal.


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