def ui_export(self): path = QFileDialog.getSaveFileName(self, "Сохранение") if path[0]: to_excel.table_to_excel(self.table_widget, path[0])
def ui_export_preliminary_salary(self): path = QFileDialog.getSaveFileName(self, "Сохранение") if path[0]: to_excel.table_to_excel(self.tw_main_salary_2, path[0])
def ui_print(self): table = self._get_table() path = QFileDialog.getSaveFileName(self, "Сохранение") if path[0]: to_excel.table_to_excel(table, path[0])