Button

class Button[source]

Bases: object

Class representing a button wrapped in a horizontal box layout.

Parameters
appcompas_view2.app.App

The app containing the widget.

parentQtWidgets.QWidget

The parent widget for the button.

textstr

The text label of the button.

actioncallable

The action associated with the button.

Attributes
actioncallable

Action associated with the button click event.

buttonQtWidgets.QPushButton

The actual button widget.

Methods