INNER CODE UNIT · Python

__init__

wzyn20051216/solidworks-automation-skill · apps/desktop/cad_workbench/app.py:45

    def __init__(self) -> None:
        super().__init__()
        self.project_dir: Path | None = None
        self.setWindowTitle("CAD 自动化交付工作台")
        self.resize(1320, 820)
        self.setMinimumSize(1120, 720)
        self.setStyleSheet(APP_STYLE)
        self._build_ui()
        self._load_default_values()

    def _build_ui(self) -> None:
        root = QWidget()
        root_layout = QHBoxLayout(root)
        root_layout.setContentsMargins(0, 0, 0, 0)
        root_layout.setSpacing(0)

        root_layout.addWidget(self._build_sidebar())

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…