Handles mouse move events for the button. Reimplemented from QWidget. Handles mouse press events for the button. Reimplemented from QWidget. Handles mouse release events for the button.
Handles paint events for the button.
Reimplemented from QWidget. This signal is emitted when the button is pressed down. This signal is emitted when the button is released. You only need to call this function in order to specify a custom accelerator. When auto-resizing is enabled, the button will resize itself whenever the contents change.