'Change configuration option.
This function is called when a `sig_option_changed` signal is received.
At the moment, this signal can only come from a DataFrameEditor.'

@Slot(str, object)
def change_option(self, option_name, new_value):

    if (option_name == 'dataframe_format'):
        self.parent().set_dataframe_format(new_value)
