(self)
return settings_dict
Returns
        -------
        Return the dictionary with vlues set by user in each of the line edits
        and selected radio button.
Returns
        -------
        Return the dictionary with vlues set by user in each of the line edits
        and selected radio button.
Returns ------- Return the dictionary with vlues set by user in each of the line edits and selected radio button .
def get_dialog_settings(self) -> Dict[str, Any]:
        """
        Returns
        -------
        Return the dictionary with vlues set by user in each of the line edits
        and selected radio button.
        """
        settings_dict = {
            "frequent_abs_spin": self.frequent_abs_spin.value(),
            "frequent_rel_spin": self.frequent_rel_spin.value(),
            "n_values_spin": self.n_values_spin.value(),
            "name_line_edit": self.new_name_line_edit.text()
        }
        checked = [
            i for i, s in enumerate(
                [self.frequent_abs_radio,
                 self.frequent_rel_radio,
                 self.n_values_radio]
            ) if s.isChecked()]
        # when checked empty radio button for selected values is selected
        # it is not stored in setting since its selection depends on users
        # selection of values in list
        if checked:
            settings_dict["selected_radio"] = checked[0]
        return settings_dict
def get_dialog_settings ( self ) -> Dict [ str , Any ] : settings_dict = { "frequent_abs_spin" : self . frequent_abs_spin . value ( ) , "frequent_rel_spin" : self . frequent_rel_spin . value ( ) , "n_values_spin" : self . n_values_spin . value ( ) , "name_line_edit" : self . new_name_line_edit . text ( ) } checked = [ i for i , s in enumerate ( [ self . frequent_abs_radio , self . frequent_rel_radio , self . n_values_radio ] ) if s . isChecked ( ) ] # when checked empty radio button for selected values is selected # it is not stored in setting since its selection depends on users # selection of values in list if checked : settings_dict [ "selected_radio" ] = checked [ 0 ] return settings_dict