siriushla.widgets.dialog

Code Documentation

siriushla.widgets.dialog.progress_dialog module

Dialog that handle thread that implement a task interface.

Task QThread Interface: - itemDone: Signal - size: method that return task size - exit_task: set quit_thread flag True

class siriushla.widgets.dialog.progress_dialog.ProgressDialog(label, task, parent=None)[source]

Bases: QDialog

Progress dialog.

Parameters:
  • strings (label - string or list of) –

  • interface) (task - QThread or list of QThread (implementing task) –

  • QObject (parent -) –

canceled

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

exec_()[source]

Override.

inc_value()[source]

Increase value.

set_value(value)[source]

Set progress bar value.

siriushla.widgets.dialog.ps_status_dialog module

List with power supplies cycling status.

class siriushla.widgets.dialog.ps_status_dialog.PSList(pwrsupplies={}, parent=None)[source]

Bases: QListWidget

PS List.

property pwrsupplies

List items.

class siriushla.widgets.dialog.ps_status_dialog.PSStatusDialog(pwrsupplies={}, text='', parent=None)[source]

Bases: QDialog

Dialog to show list of pwrsupplies not ok.

siriushla.widgets.dialog.pv_status_dialog module

Status PV detail dialog.

class siriushla.widgets.dialog.pv_status_dialog.StatusDetailDialog(pvname='', labels=None, pvname_labels='', section='', parent=None, title='')[source]

Bases: _SiriusWindow

Status Detail Dialog.

siriushla.widgets.dialog.report_dialog module

Report dialog.

class siriushla.widgets.dialog.report_dialog.ReportDialog(items, parent=None)[source]

Bases: QDialog

Show a list of items.

Module contents

Dialog package.