7.5.6.1.3. pymodaq_gui.utils.widgets.push module

class pymodaq_gui.utils.widgets.push.ActionMenu(*args, menu=None, **kwargs)[source]

Bases: QAction

Methods

contextMenuEvent

contextMenuEvent(event)[source]
class pymodaq_gui.utils.widgets.push.EditPush(icon_name: str, ini_value=0.1, text='')[source]

Bases: QWidget

Methods

emit_clicked([coeff])

will emit a signal containing a float value calculated from the product of the coeff and the internal spinbox value.

clicked

set_pushs

emit_clicked(coeff=1)[source]

will emit a signal containing a float value calculated from the product of the coeff and the internal spinbox value.

See also

EditPushRel

set_pushs(icon_name, text)[source]
clicked

int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Type:

pyqtSignal(*types, name

Type:

str = …, revision

class pymodaq_gui.utils.widgets.push.EditPushInfo(type: str, value: float)[source]

Bases: object

class pymodaq_gui.utils.widgets.push.EditPushRel(icon_name: str, text='', ini_value=0.15)[source]

Bases: EditPush

Methods

set_pushs

set_pushs(icon_name, text)[source]
class pymodaq_gui.utils.widgets.push.PushButtonIcon(icon_name: str, text: str, checkable=False, tip='', menu=None)[source]

Bases: QPushButton

Methods

contextMenuEvent(self, a0)

contextMenuEvent(self, a0: QContextMenuEvent | None)[source]
pymodaq_gui.utils.widgets.push.main(init_qt=True)[source]