widgets.import_widget
¶
ImportDialog class.
author: |
|
---|---|
date: | 1.6.2019 |
Module Contents¶
-
class
widgets.import_widget.
ImportDialog
(parent=None)[source]¶ Bases:
PySide2.QtWidgets.QDialog
A widget for importing data into a Spine db. Currently used by TreeViewForm. It embeds three widgets that alternate depending on user’s actions: - select_widget is a QWidget for selecting the source data type (CSV, Excel, etc.) - _import_preview is an ImportPreviewWidget for defining Mappings to associate with the source data - _error_widget is an ImportErrorWidget to show errors from import operations