spinetoolbox.project_items.exporter.notifications

Contains the Notifications class.

author:
  1. Soininen (VTT)
date:

6.5.2020

Module Contents

Classes

Notifications Holds flags for different error conditions.
class spinetoolbox.project_items.exporter.notifications.Notifications[source]

Bases: PySide2.QtCore.QObject

Holds flags for different error conditions.

duplicate_output_file_name

if True there are duplicate output file names

Type:bool
missing_output_file_name

if True the output file name is missing

Type:bool
missing_parameter_indexing

if True there are indexed parameters without indexing domains

Type:bool
erroneous_database

if True the database has issues

Type:bool
changed_due_to_settings_state[source]

Emitted when notifications have changed due to changes in settings state.

__ior__(self, other)[source]

ORs the flags with another notifications.

Parameters:other (Notifications) – a Notifications object
update_settings_state(self, state)[source]

Updates the notifications according to settings state.