spinetoolbox.project_items.exporter.widgets.export_list_item

A small widget to set up a database export in Gdx Export settings.

author:
  1. Soininen (VTT)
date:

10.9.2019

Module Contents

class spinetoolbox.project_items.exporter.widgets.export_list_item.ExportListItem(url, file_name, settings_state, parent=None)[source]

Bases: PySide2.QtWidgets.QWidget

A widget with few controls to select the output file name and open a settings window.

Parameters:
  • url (str) – database’s identifier to be shown on a label
  • file_name (str) – relative path to the exported file name
  • parent (QWidget) – a parent widget
open_settings_clicked[source]

signal that is triggered when settings window should be opened

file_name_changed[source]

signal that is fired when the file name field is changed

out_file_name_edit[source]

export file name QLineEdit

url_field[source]

Text in the database URL field.

handle_settings_state_changed(self, state)[source]
_emit_file_name_changed(self)[source]

Emits file_name_changed signal.

_emit_open_settings_clicked(self, _)[source]

Emits open_settings_clicked signal.