7.5.4.1.8. pymodaq_gui.parameter.pymodaq_ptypes.pixmap module

class pymodaq_gui.parameter.pymodaq_ptypes.pixmap.PixmapCheckData(data: ndarray, path: str = '', checked: bool = False, info: str = '')[source]

Bases: object

class pymodaq_gui.parameter.pymodaq_ptypes.pixmap.PixmapCheckParameter(**kwargs)[source]

Bases: SimpleParameter

Methods

itemClass

alias of PixmapCheckParameterItem

itemClass

alias of PixmapCheckParameterItem

class pymodaq_gui.parameter.pymodaq_ptypes.pixmap.PixmapCheckParameterItem(param, depth)[source]

Bases: WidgetParameterItem

Registered parameter type which displays a PixmapCheckWidget custom widget

Methods

makeWidget()

Return a single widget whose position in the tree is determined by the value of self.asSubItem.

makeWidget()[source]

Return a single widget whose position in the tree is determined by the value of self.asSubItem. If True, it will be placed in the second tree column, and if False, the first tree column of a child item.

The widget must be given three attributes:

sigChanged

a signal that is emitted when the widget’s value is changed

value

a function that returns the value

setValue

a function that sets the value

This function must be overridden by a subclass.

class pymodaq_gui.parameter.pymodaq_ptypes.pixmap.PixmapCheckWidget[source]

Bases: QWidget

value of this parameter is a PixmapCheckData

See also

PixmapCheckedData

Methods

initUI()

Init the User Interface.

setValue

value

initUI()[source]

Init the User Interface.

setValue(data: PixmapCheckData)[source]
value()[source]
class pymodaq_gui.parameter.pymodaq_ptypes.pixmap.PixmapParameter(**kwargs)[source]

Bases: SimpleParameter

Methods

itemClass

alias of PixmapParameterItem

itemClass

alias of PixmapParameterItem

class pymodaq_gui.parameter.pymodaq_ptypes.pixmap.PixmapParameterItem(param, depth)[source]

Bases: WidgetParameterItem

Registered parameter type which displays a QPixmap in a QLabel

Methods

makeWidget()

Return a single widget whose position in the tree is determined by the value of self.asSubItem.

makeWidget()[source]

Return a single widget whose position in the tree is determined by the value of self.asSubItem. If True, it will be placed in the second tree column, and if False, the first tree column of a child item.

The widget must be given three attributes:

sigChanged

a signal that is emitted when the widget’s value is changed

value

a function that returns the value

setValue

a function that sets the value

This function must be overridden by a subclass.

pymodaq_gui.parameter.pymodaq_ptypes.pixmap.main_parameter()[source]
pymodaq_gui.parameter.pymodaq_ptypes.pixmap.main_widget()[source]