QAbstractButton Class Reference
[QtGui module]
Inherits QWidget.
Inherited by QCheckBox, QPushButton, QRadioButton and QToolButton.
Methods
- __init__ (self, QWidget parent = None)
- animateClick (self, int msecs = 100)
- bool autoExclusive (self)
- bool autoRepeat (self)
- int autoRepeatDelay (self)
- int autoRepeatInterval (self)
- changeEvent (self, QEvent)
- checkStateSet (self)
- click (self)
- bool event (self, QEvent)
- focusInEvent (self, QFocusEvent)
- focusOutEvent (self, QFocusEvent)
- QButtonGroup group (self)
- bool hitButton (self, QPoint)
- QIcon icon (self)
- QSize iconSize (self)
- bool isCheckable (self)
- bool isChecked (self)
- bool isDown (self)
- keyPressEvent (self, QKeyEvent)
- keyReleaseEvent (self, QKeyEvent)
- mouseMoveEvent (self, QMouseEvent)
- mousePressEvent (self, QMouseEvent)
- mouseReleaseEvent (self, QMouseEvent)
- nextCheckState (self)
- paintEvent (self, QPaintEvent)
- setAutoExclusive (self, bool)
- setAutoRepeat (self, bool)
- setAutoRepeatDelay (self, int)
- setAutoRepeatInterval (self, int)
- setCheckable (self, bool)
- setChecked (self, bool)
- setDown (self, bool)
- setIcon (self, QIcon)
- setIconSize (self, QSize)
- setShortcut (self, QKeySequence)
- setText (self, QString)
- QKeySequence shortcut (self)
- QString text (self)
- timerEvent (self, QTimerEvent)
- toggle (self)
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.