feat: 完善参数化编辑和孔修改稳定性

This commit is contained in:
2026-07-28 18:30:58 +08:00
parent 7c263d1e96
commit 720c2dc970
13 changed files with 2190 additions and 690 deletions
+6 -2
View File
@@ -27,7 +27,9 @@ class InfoPanelMixin:
self.info_text.setPlainText(self.current_info_text)
self._populate_info_tree(info)
self.info_tabs.setCurrentWidget(self.info_tree)
if hasattr(self, "export_all_button"):
if hasattr(self, "_refresh_property_editor"):
self._refresh_property_editor()
if hasattr(self, "mode_combo"):
self._update_action_states()
def set_plain_info(self, text: str) -> None:
@@ -36,7 +38,9 @@ class InfoPanelMixin:
self.info_tree.clear()
self.info_text.setPlainText(text)
self.info_tabs.setCurrentWidget(self.info_text)
if hasattr(self, "export_all_button"):
if hasattr(self, "_clear_property_editor"):
self._clear_property_editor()
if hasattr(self, "mode_combo"):
self._update_action_states()
def _populate_info_tree(self, info: dict[str, object]) -> None: