In Qt, the QButton class provides most of the modes and other API, and QPushButton provides GUI logic. The parent and name arguments are sent to the QWidget constructor. The parent and name arguments are sent to the QWidget constructor. Handles focus in events for the push button. Reimplemented from QWidget.
Handles focus out events for the push button.
Reimplemented from QWidget. An auto-default button becomes the default push button automatically when it receives the keyboard input focus. Only one push button in the dialog can be default. Default push buttons are only allowed in dialogs. Reimplemented from QWidget.