widgets.import_errors_widget

Contains ImportErrorWidget class.

author:
  1. Vennström (VTT)
date:

1.6.2019

Module Contents

class widgets.import_errors_widget.ImportErrorWidget(parent=None)[source]

Bases: PySide2.QtWidgets.QWidget

Widget to display errors while importing and ask user for action.

set_import_state(self, num_imported, errors)[source]

Sets state of error widget.

Parameters:
  • {int} -- number of successfully imported items (num_imported) –
  • {list} -- list of errors. (errors) –