INNER CODE UNIT · Python

_build_project_tab

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

    def _build_project_tab(self) -> QWidget:
        page = QWidget()
        layout = QVBoxLayout(page)
        layout.setContentsMargins(0, 0, 0, 0)
        layout.setSpacing(14)

        panel, form_host = self._panel("项目设置")
        form = QFormLayout()
        form.setLabelAlignment(Qt.AlignRight)
        form.setFormAlignment(Qt.AlignTop)
        form.setHorizontalSpacing(16)
        form.setVerticalSpacing(12)

        self.project_name = QLineEdit()
        self.project_name.setPlaceholderText("例如: ai_cpu_cooling_shell")
        self.output_root = QLineEdit()
        browse = QPushButton("选择目录")
        browse.setObjectName("QuietButton")

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…