8.5.4.1.13. pymodaq_gui.parameter.pymodaq_ptypes.text module

class pymodaq_gui.parameter.pymodaq_ptypes.text.PlainTextParameterItem(param, depth)[source]

Bases: WidgetParameterItem

Methods

makeWidget()

Make and initialize an instance of Plain_text_pb object from parameter options dictionnary (using 'readonly' key).

treeWidgetChanged()

buttonClicked

buttonClicked()[source]
makeWidget()[source]

Make and initialize an instance of Plain_text_pb object from parameter options dictionnary (using ‘readonly’ key).

Returns:

The initialized object.

Return type:

Plain_text_pb object

See also

Plain_text_pb, buttonClicked

treeWidgetChanged()[source]
class pymodaq_gui.parameter.pymodaq_ptypes.text.PlainTextPbParameter(**opts)[source]

Bases: Parameter

Editable string; displayed as large text box in the tree.

Methods

activate()

Send the Activated signal.

itemClass

sigActivated

itemClass

alias of PlainTextParameterItem

activate()[source]

Send the Activated signal.

class pymodaq_gui.parameter.pymodaq_ptypes.text.PlainTextWidget(*args: Any, **kwargs: Any)[source]

Bases: QWidget

Attributes

Type

value_changed

instance of pyqt Signal

See also

initUI, emitsignal

Methods

emitsignal()

Emit the value changed signal from the text_edit attribute.

get_value()

Get the value of the text_edit attribute.

initUI()

Init the User Interface.

set_value(txt)

Set the value of the text_edit attribute.

value_changed

emitsignal()[source]

Emit the value changed signal from the text_edit attribute.

get_value()[source]

Get the value of the text_edit attribute.

Returns:

The string value of text_edit.

Return type:

string

initUI()[source]

Init the User Interface.

set_value(txt)[source]

Set the value of the text_edit attribute.

Parameters

Type

Description

txt

string

the string value to be setted