def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(452, 172) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/ide-icons/rc/silex-192x192.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) Dialog.setWindowIcon(icon) self.verticalLayout = QtWidgets.QVBoxLayout(Dialog) self.verticalLayout.setObjectName("verticalLayout") self.formLayout = QtWidgets.QFormLayout() self.formLayout.setObjectName("formLayout") self.label = QtWidgets.QLabel(Dialog) self.label.setObjectName("label") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label) self.plainTextEdit = QtWidgets.QPlainTextEdit(Dialog) self.plainTextEdit.setReadOnly(True) self.plainTextEdit.setObjectName("plainTextEdit") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.plainTextEdit) self.verticalLayout.addLayout(self.formLayout) self.buttonBox = QtWidgets.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply | QtWidgets.QDialogButtonBox.Close) self.buttonBox.setCenterButtons(False) self.buttonBox.setObjectName("buttonBox") self.verticalLayout.addWidget(self.buttonBox) self.retranslateUi(Dialog) self.buttonBox.accepted.connect(Dialog.accept) self.buttonBox.rejected.connect(Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog)
def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(544, 283) self.verticalLayout = QtWidgets.QVBoxLayout(Dialog) self.verticalLayout.setObjectName("verticalLayout") self.formLayout = QtWidgets.QFormLayout() self.formLayout.setFieldGrowthPolicy( QtWidgets.QFormLayout.ExpandingFieldsGrow) self.formLayout.setObjectName("formLayout") self.label = QtWidgets.QLabel(Dialog) self.label.setObjectName("label") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label) self.lineEditTitle = QtWidgets.QLineEdit(Dialog) self.lineEditTitle.setObjectName("lineEditTitle") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEditTitle) self.label_2 = QtWidgets.QLabel(Dialog) self.label_2.setObjectName("label_2") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_2) self.plainTextEditDesc = QtWidgets.QPlainTextEdit(Dialog) self.plainTextEditDesc.setObjectName("plainTextEditDesc") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.plainTextEditDesc) self.label_3 = QtWidgets.QLabel(Dialog) self.label_3.setObjectName("label_3") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_3) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setContentsMargins(0, -1, -1, -1) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.radioButtonBug = QtWidgets.QRadioButton(Dialog) self.radioButtonBug.setChecked(True) self.radioButtonBug.setObjectName("radioButtonBug") self.horizontalLayout_3.addWidget(self.radioButtonBug) self.radioButtonWish = QtWidgets.QRadioButton(Dialog) self.radioButtonWish.setObjectName("radioButtonWish") self.horizontalLayout_3.addWidget(self.radioButtonWish) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem) self.formLayout.setLayout(2, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_3) self.verticalLayout.addLayout(self.formLayout) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setContentsMargins(-1, 0, -1, -1) self.horizontalLayout.setObjectName("horizontalLayout") spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem1) self.pushButtonSubmit = QtWidgets.QPushButton(Dialog) self.pushButtonSubmit.setObjectName("pushButtonSubmit") self.horizontalLayout.addWidget(self.pushButtonSubmit) self.verticalLayout.addLayout(self.horizontalLayout) self.retranslateUi(Dialog) QtCore.QMetaObject.connectSlotsByName(Dialog)
def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(277, 126) self.gridLayout = QtWidgets.QGridLayout(Dialog) self.gridLayout.setObjectName("gridLayout") self.formLayout = QtWidgets.QFormLayout() self.formLayout.setFieldGrowthPolicy( QtWidgets.QFormLayout.AllNonFixedFieldsGrow) self.formLayout.setObjectName("formLayout") self.label = QtWidgets.QLabel(Dialog) self.label.setObjectName("label") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label) self.lblCurrentLine = QtWidgets.QLabel(Dialog) self.lblCurrentLine.setObjectName("lblCurrentLine") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lblCurrentLine) self.label_3 = QtWidgets.QLabel(Dialog) self.label_3.setObjectName("label_3") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_3) self.label_4 = QtWidgets.QLabel(Dialog) self.label_4.setObjectName("label_4") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_4) self.lblLineCount = QtWidgets.QLabel(Dialog) self.lblLineCount.setObjectName("lblLineCount") self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.lblLineCount) self.spinBox = QtWidgets.QSpinBox(Dialog) self.spinBox.setObjectName("spinBox") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.spinBox) self.gridLayout.addLayout(self.formLayout, 0, 0, 1, 1) self.buttonBox = QtWidgets.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 1) self.retranslateUi(Dialog) self.buttonBox.accepted.connect(Dialog.accept) self.buttonBox.rejected.connect(Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog)
def setupUi(self, Form): Form.setObjectName("Form") Form.resize(668, 645) self.verticalLayout = QtWidgets.QVBoxLayout(Form) self.verticalLayout.setObjectName("verticalLayout") self.header = QtWidgets.QLabel(Form) self.header.setStyleSheet("border-radius: 3px;\n" "background-color: rgb(161, 161, 161);\n" "padding: 10px;") self.header.setAlignment(QtCore.Qt.AlignCenter) self.header.setObjectName("header") self.verticalLayout.addWidget(self.header) self.groupBox = QtWidgets.QGroupBox(Form) self.groupBox.setObjectName("groupBox") self.formLayout = QtWidgets.QFormLayout(self.groupBox) self.formLayout.setFieldGrowthPolicy( QtWidgets.QFormLayout.ExpandingFieldsGrow) self.formLayout.setObjectName("formLayout") self.label = QtWidgets.QLabel(self.groupBox) self.label.setObjectName("label") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.line_edit_font = QtWidgets.QLineEdit(self.groupBox) self.line_edit_font.setObjectName("line_edit_font") self.horizontalLayout_2.addWidget(self.line_edit_font) self.bt_font = QtWidgets.QToolButton(self.groupBox) self.bt_font.setObjectName("bt_font") self.horizontalLayout_2.addWidget(self.bt_font) self.formLayout.setLayout(0, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_2) self.label_3 = QtWidgets.QLabel(self.groupBox) self.label_3.setObjectName("label_3") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_3) self.spinbox_font_size = QtWidgets.QSpinBox(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.spinbox_font_size.sizePolicy().hasHeightForWidth()) self.spinbox_font_size.setSizePolicy(sizePolicy) self.spinbox_font_size.setObjectName("spinbox_font_size") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.spinbox_font_size) self.label_4 = QtWidgets.QLabel(self.groupBox) self.label_4.setObjectName("label_4") self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_4) self.list_color_schemes = QtWidgets.QListWidget(self.groupBox) self.list_color_schemes.setObjectName("list_color_schemes") self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.list_color_schemes) self.label_2 = QtWidgets.QLabel(self.groupBox) self.label_2.setObjectName("label_2") self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_2) self.checkbox_whitespaces = QtWidgets.QCheckBox(self.groupBox) self.checkbox_whitespaces.setText("") self.checkbox_whitespaces.setObjectName("checkbox_whitespaces") self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.checkbox_whitespaces) self.verticalLayout.addWidget(self.groupBox) self.groupBox_2 = QtWidgets.QGroupBox(Form) self.groupBox_2.setObjectName("groupBox_2") self.gridLayout = QtWidgets.QGridLayout(self.groupBox_2) self.gridLayout.setObjectName("gridLayout") self.edit_preview = PyCodeEdit(self.groupBox_2) self.edit_preview.setObjectName("edit_preview") self.gridLayout.addWidget(self.edit_preview, 0, 0, 1, 1) self.verticalLayout.addWidget(self.groupBox_2) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(356, 180) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/ide-icons/rc/silex-64x64.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) Dialog.setWindowIcon(icon) self.verticalLayout = QtWidgets.QVBoxLayout(Dialog) self.verticalLayout.setObjectName("verticalLayout") self.formLayout = QtWidgets.QFormLayout() self.formLayout.setObjectName("formLayout") self.label = QtWidgets.QLabel(Dialog) self.label.setObjectName("label") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label) self.comboBoxType = QtWidgets.QComboBox(Dialog) self.comboBoxType.setObjectName("comboBoxType") self.comboBoxType.addItem("") self.comboBoxType.addItem("") self.comboBoxType.addItem("") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.comboBoxType) self.labelDir = QtWidgets.QLabel(Dialog) self.labelDir.setObjectName("labelDir") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.labelDir) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.lineEditPath = QtWidgets.QLineEdit(Dialog) self.lineEditPath.setObjectName("lineEditPath") self.horizontalLayout.addWidget(self.lineEditPath) self.toolButton = QtWidgets.QToolButton(Dialog) self.toolButton.setObjectName("toolButton") self.horizontalLayout.addWidget(self.toolButton) self.formLayout.setLayout(2, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout) self.labelName = QtWidgets.QLabel(Dialog) self.labelName.setObjectName("labelName") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.labelName) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.lineEditName = QtWidgets.QLineEdit(Dialog) self.lineEditName.setObjectName("lineEditName") self.horizontalLayout_2.addWidget(self.lineEditName) self.comboBoxExtension = QtWidgets.QComboBox(Dialog) self.comboBoxExtension.setObjectName("comboBoxExtension") self.horizontalLayout_2.addWidget(self.comboBoxExtension) self.formLayout.setLayout(1, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_2) self.verticalLayout.addLayout(self.formLayout) self.buttonBox = QtWidgets.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setCenterButtons(False) self.buttonBox.setObjectName("buttonBox") self.verticalLayout.addWidget(self.buttonBox) self.retranslateUi(Dialog) self.buttonBox.accepted.connect(Dialog.accept) self.buttonBox.rejected.connect(Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog) Dialog.setTabOrder(self.buttonBox, self.comboBoxType) Dialog.setTabOrder(self.comboBoxType, self.lineEditName) Dialog.setTabOrder(self.lineEditName, self.comboBoxExtension) Dialog.setTabOrder(self.comboBoxExtension, self.lineEditPath) Dialog.setTabOrder(self.lineEditPath, self.toolButton)
def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(404, 185) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/icons/interpreter-venv.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) Dialog.setWindowIcon(icon) self.gridLayout = QtWidgets.QGridLayout(Dialog) self.gridLayout.setObjectName("gridLayout") self.formLayout_2 = QtWidgets.QFormLayout() self.formLayout_2.setFieldGrowthPolicy( QtWidgets.QFormLayout.AllNonFixedFieldsGrow) self.formLayout_2.setObjectName("formLayout_2") self.label = QtWidgets.QLabel(Dialog) self.label.setObjectName("label") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label) self.lineedit_name = QtWidgets.QLineEdit(Dialog) self.lineedit_name.setObjectName("lineedit_name") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineedit_name) self.label_2 = QtWidgets.QLabel(Dialog) self.label_2.setObjectName("label_2") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_2) self.dir_picker = FilePicker(Dialog) self.dir_picker.setObjectName("dir_picker") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.dir_picker) self.label_3 = QtWidgets.QLabel(Dialog) self.label_3.setObjectName("label_3") self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_3) self.combo_interpreters = QtWidgets.QComboBox(Dialog) self.combo_interpreters.setObjectName("combo_interpreters") self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.combo_interpreters) self.label_4 = QtWidgets.QLabel(Dialog) font = QtGui.QFont() font.setItalic(True) self.label_4.setFont(font) self.label_4.setObjectName("label_4") self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_4) self.label_full_path = QtWidgets.QLabel(Dialog) font = QtGui.QFont() font.setItalic(True) self.label_full_path.setFont(font) self.label_full_path.setObjectName("label_full_path") self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.label_full_path) self.gridLayout.addLayout(self.formLayout_2, 0, 0, 1, 1) self.buttonBox = QtWidgets.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok) self.buttonBox.setObjectName("buttonBox") self.gridLayout.addWidget(self.buttonBox, 3, 0, 1, 1) self.check_box_site_packages = QtWidgets.QCheckBox(Dialog) self.check_box_site_packages.setObjectName("check_box_site_packages") self.gridLayout.addWidget(self.check_box_site_packages, 1, 0, 1, 1) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.gridLayout.addItem(spacerItem, 2, 0, 1, 1) self.retranslateUi(Dialog) self.buttonBox.accepted.connect(Dialog.accept) self.buttonBox.rejected.connect(Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog)
def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(644, 619) icon = QtGui.QIcon.fromTheme("preferences-system") Dialog.setWindowIcon(icon) self.gridLayout_2 = QtWidgets.QGridLayout(Dialog) self.gridLayout_2.setContentsMargins(6, 6, 6, 6) self.gridLayout_2.setObjectName("gridLayout_2") self.widget = QtWidgets.QWidget(Dialog) self.widget.setStyleSheet("") self.widget.setObjectName("widget") self.widget_2 = QtWidgets.QGridLayout(self.widget) self.widget_2.setContentsMargins(0, 0, 0, 0) self.widget_2.setSpacing(0) self.widget_2.setObjectName("widget_2") self.tabWidget = QtWidgets.QTabWidget(self.widget) self.tabWidget.setStyleSheet("") self.tabWidget.setTabPosition(QtWidgets.QTabWidget.North) self.tabWidget.setTabShape(QtWidgets.QTabWidget.Rounded) self.tabWidget.setUsesScrollButtons(True) self.tabWidget.setDocumentMode(False) self.tabWidget.setObjectName("tabWidget") self.tabEditor = QtWidgets.QWidget() self.tabEditor.setObjectName("tabEditor") self.verticalLayout = QtWidgets.QVBoxLayout(self.tabEditor) self.verticalLayout.setObjectName("verticalLayout") self.groupBox_3 = QtWidgets.QGroupBox(self.tabEditor) self.groupBox_3.setObjectName("groupBox_3") self.formLayout = QtWidgets.QFormLayout(self.groupBox_3) self.formLayout.setObjectName("formLayout") self.label_10 = QtWidgets.QLabel(self.groupBox_3) self.label_10.setObjectName("label_10") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_10) self.checkBoxViewLineNumber = QtWidgets.QCheckBox(self.groupBox_3) self.checkBoxViewLineNumber.setText("") self.checkBoxViewLineNumber.setChecked(True) self.checkBoxViewLineNumber.setObjectName("checkBoxViewLineNumber") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.checkBoxViewLineNumber) self.label_11 = QtWidgets.QLabel(self.groupBox_3) self.label_11.setObjectName("label_11") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_11) self.checkBoxHighlightCurrentLine = QtWidgets.QCheckBox( self.groupBox_3) self.checkBoxHighlightCurrentLine.setText("") self.checkBoxHighlightCurrentLine.setChecked(True) self.checkBoxHighlightCurrentLine.setObjectName( "checkBoxHighlightCurrentLine") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.checkBoxHighlightCurrentLine) self.label_12 = QtWidgets.QLabel(self.groupBox_3) self.label_12.setObjectName("label_12") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_12) self.checkBoxHighlightWhitespaces = QtWidgets.QCheckBox( self.groupBox_3) self.checkBoxHighlightWhitespaces.setText("") self.checkBoxHighlightWhitespaces.setChecked(True) self.checkBoxHighlightWhitespaces.setObjectName( "checkBoxHighlightWhitespaces") self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.checkBoxHighlightWhitespaces) self.label_13 = QtWidgets.QLabel(self.groupBox_3) self.label_13.setObjectName("label_13") self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_13) self.checkBoxShowErrors = QtWidgets.QCheckBox(self.groupBox_3) self.checkBoxShowErrors.setText("") self.checkBoxShowErrors.setObjectName("checkBoxShowErrors") self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.checkBoxShowErrors) self.verticalLayout.addWidget(self.groupBox_3) self.groupBox_2 = QtWidgets.QGroupBox(self.tabEditor) self.groupBox_2.setObjectName("groupBox_2") self.formLayout_2 = QtWidgets.QFormLayout(self.groupBox_2) self.formLayout_2.setObjectName("formLayout_2") self.label = QtWidgets.QLabel(self.groupBox_2) self.label.setObjectName("label") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label) self.label_14 = QtWidgets.QLabel(self.groupBox_2) self.label_14.setText("") self.label_14.setObjectName("label_14") self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_14) self.spinBoxEditorTabLen = QtWidgets.QSpinBox(self.groupBox_2) self.spinBoxEditorTabLen.setMaximum(99) self.spinBoxEditorTabLen.setProperty("value", 4) self.spinBoxEditorTabLen.setObjectName("spinBoxEditorTabLen") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.spinBoxEditorTabLen) self.checkBoxEditorAutoIndent = QtWidgets.QCheckBox(self.groupBox_2) self.checkBoxEditorAutoIndent.setChecked(True) self.checkBoxEditorAutoIndent.setObjectName("checkBoxEditorAutoIndent") self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.checkBoxEditorAutoIndent) self.label_6 = QtWidgets.QLabel(self.groupBox_2) self.label_6.setText("") self.label_6.setObjectName("label_6") self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_6) self.checkBoxSmartBackspace = QtWidgets.QCheckBox(self.groupBox_2) self.checkBoxSmartBackspace.setObjectName("checkBoxSmartBackspace") self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.checkBoxSmartBackspace) self.verticalLayout.addWidget(self.groupBox_2) self.groupBox_4 = QtWidgets.QGroupBox(self.tabEditor) self.groupBox_4.setObjectName("groupBox_4") self.formLayout_4 = QtWidgets.QFormLayout(self.groupBox_4) self.formLayout_4.setObjectName("formLayout_4") self.label_2 = QtWidgets.QLabel(self.groupBox_4) self.label_2.setObjectName("label_2") self.formLayout_4.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_2) self.spinBoxEditorCCTriggerLen = QtWidgets.QSpinBox(self.groupBox_4) self.spinBoxEditorCCTriggerLen.setProperty("value", 1) self.spinBoxEditorCCTriggerLen.setObjectName( "spinBoxEditorCCTriggerLen") self.formLayout_4.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.spinBoxEditorCCTriggerLen) self.verticalLayout.addWidget(self.groupBox_4) self.groupBox = QtWidgets.QGroupBox(self.tabEditor) self.groupBox.setObjectName("groupBox") self.formLayout_7 = QtWidgets.QFormLayout(self.groupBox) self.formLayout_7.setObjectName("formLayout_7") self.label_7 = QtWidgets.QLabel(self.groupBox) self.label_7.setObjectName("label_7") self.formLayout_7.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_7) self.lineEditCommentIndicator = QtWidgets.QLineEdit(self.groupBox) font = QtGui.QFont() font.setFamily("Monospace") self.lineEditCommentIndicator.setFont(font) self.lineEditCommentIndicator.setObjectName("lineEditCommentIndicator") self.formLayout_7.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEditCommentIndicator) self.verticalLayout.addWidget(self.groupBox) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/ide-icons/rc/cobol-mimetype.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.tabWidget.addTab(self.tabEditor, icon, "") self.tabStyle = QtWidgets.QWidget() self.tabStyle.setObjectName("tabStyle") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.tabStyle) self.verticalLayout_3.setObjectName("verticalLayout_3") self.groupBox_5 = QtWidgets.QGroupBox(self.tabStyle) self.groupBox_5.setObjectName("groupBox_5") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.groupBox_5) self.verticalLayout_2.setObjectName("verticalLayout_2") self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem1) self.radioButtonColorWhite = QtWidgets.QRadioButton(self.groupBox_5) self.radioButtonColorWhite.setChecked(True) self.radioButtonColorWhite.setObjectName("radioButtonColorWhite") self.horizontalLayout_3.addWidget(self.radioButtonColorWhite) self.radioButtonColorDark = QtWidgets.QRadioButton(self.groupBox_5) self.radioButtonColorDark.setObjectName("radioButtonColorDark") self.horizontalLayout_3.addWidget(self.radioButtonColorDark) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem2) self.verticalLayout_2.addLayout(self.horizontalLayout_3) self.layoutIconTheme = QtWidgets.QFormLayout() self.layoutIconTheme.setContentsMargins(-1, 0, -1, -1) self.layoutIconTheme.setObjectName("layoutIconTheme") self.lblIconTheme = QtWidgets.QLabel(self.groupBox_5) self.lblIconTheme.setObjectName("lblIconTheme") self.layoutIconTheme.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.lblIconTheme) self.comboBoxIconTheme = QtWidgets.QComboBox(self.groupBox_5) self.comboBoxIconTheme.setObjectName("comboBoxIconTheme") self.layoutIconTheme.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.comboBoxIconTheme) self.verticalLayout_2.addLayout(self.layoutIconTheme) self.verticalLayout_3.addWidget(self.groupBox_5) self.groupBox_6 = QtWidgets.QGroupBox(self.tabStyle) self.groupBox_6.setObjectName("groupBox_6") self.formLayout_3 = QtWidgets.QFormLayout(self.groupBox_6) self.formLayout_3.setObjectName("formLayout_3") self.label_3 = QtWidgets.QLabel(self.groupBox_6) self.label_3.setObjectName("label_3") self.formLayout_3.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_3) self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.fontComboBox = QtWidgets.QFontComboBox(self.groupBox_6) self.fontComboBox.setFontFilters( QtWidgets.QFontComboBox.MonospacedFonts) font = QtGui.QFont() font.setFamily("DejaVu Sans Mono") font.setPointSize(10) self.fontComboBox.setCurrentFont(font) self.fontComboBox.setObjectName("fontComboBox") self.horizontalLayout_4.addWidget(self.fontComboBox) self.formLayout_3.setLayout(0, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_4) self.label_4 = QtWidgets.QLabel(self.groupBox_6) self.label_4.setObjectName("label_4") self.formLayout_3.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_4) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.spinBoxFontSize = QtWidgets.QSpinBox(self.groupBox_6) self.spinBoxFontSize.setProperty("value", 10) self.spinBoxFontSize.setObjectName("spinBoxFontSize") self.horizontalLayout_5.addWidget(self.spinBoxFontSize) self.formLayout_3.setLayout(1, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout_5) self.verticalLayout_3.addWidget(self.groupBox_6) self.groupBox_7 = QtWidgets.QGroupBox(self.tabStyle) self.groupBox_7.setObjectName("groupBox_7") self.gridLayout_4 = QtWidgets.QGridLayout(self.groupBox_7) self.gridLayout_4.setObjectName("gridLayout_4") self.listWidgetColorSchemes = QtWidgets.QListWidget(self.groupBox_7) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.listWidgetColorSchemes.sizePolicy().hasHeightForWidth()) self.listWidgetColorSchemes.setSizePolicy(sizePolicy) self.listWidgetColorSchemes.setObjectName("listWidgetColorSchemes") self.gridLayout_4.addWidget(self.listWidgetColorSchemes, 0, 0, 1, 1) self.plainTextEdit = CobolCodeEdit(self.groupBox_7) self.plainTextEdit.setObjectName("plainTextEdit") self.gridLayout_4.addWidget(self.plainTextEdit, 0, 1, 1, 1) self.verticalLayout_3.addWidget(self.groupBox_7) icon = QtGui.QIcon.fromTheme("applications-graphics") self.tabWidget.addTab(self.tabStyle, icon, "") self.tabCompiler = QtWidgets.QWidget() self.tabCompiler.setObjectName("tabCompiler") self.formLayout_6 = QtWidgets.QFormLayout(self.tabCompiler) self.formLayout_6.setFieldGrowthPolicy( QtWidgets.QFormLayout.AllNonFixedFieldsGrow) self.formLayout_6.setObjectName("formLayout_6") self.label_8 = QtWidgets.QLabel(self.tabCompiler) self.label_8.setObjectName("label_8") self.formLayout_6.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_8) self.label_9 = QtWidgets.QLabel(self.tabCompiler) self.label_9.setObjectName("label_9") self.formLayout_6.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_9) self.checkBoxFreeFormat = QtWidgets.QCheckBox(self.tabCompiler) self.checkBoxFreeFormat.setText("") self.checkBoxFreeFormat.setObjectName("checkBoxFreeFormat") self.formLayout_6.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.checkBoxFreeFormat) self.label_15 = QtWidgets.QLabel(self.tabCompiler) self.label_15.setObjectName("label_15") self.formLayout_6.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_15) self.verticalLayout_4 = QtWidgets.QVBoxLayout() self.verticalLayout_4.setObjectName("verticalLayout_4") self.cb_g = QtWidgets.QCheckBox(self.tabCompiler) self.cb_g.setObjectName("cb_g") self.verticalLayout_4.addWidget(self.cb_g) self.cb_ftrace = QtWidgets.QCheckBox(self.tabCompiler) self.cb_ftrace.setObjectName("cb_ftrace") self.verticalLayout_4.addWidget(self.cb_ftrace) self.cb_ftraceall = QtWidgets.QCheckBox(self.tabCompiler) self.cb_ftraceall.setObjectName("cb_ftraceall") self.verticalLayout_4.addWidget(self.cb_ftraceall) self.cb_debugging_line = QtWidgets.QCheckBox(self.tabCompiler) self.cb_debugging_line.setObjectName("cb_debugging_line") self.verticalLayout_4.addWidget(self.cb_debugging_line) self.cb_static = QtWidgets.QCheckBox(self.tabCompiler) self.cb_static.setObjectName("cb_static") self.verticalLayout_4.addWidget(self.cb_static) self.le_compiler_flags = QtWidgets.QLineEdit(self.tabCompiler) self.le_compiler_flags.setObjectName("le_compiler_flags") self.verticalLayout_4.addWidget(self.le_compiler_flags) self.formLayout_6.setLayout(3, QtWidgets.QFormLayout.FieldRole, self.verticalLayout_4) self.label_compiler_path = QtWidgets.QLabel(self.tabCompiler) self.label_compiler_path.setObjectName("label_compiler_path") self.formLayout_6.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_compiler_path) self.checkBoxCustomPath = QtWidgets.QCheckBox(self.tabCompiler) self.checkBoxCustomPath.setText("") self.checkBoxCustomPath.setObjectName("checkBoxCustomPath") self.formLayout_6.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.checkBoxCustomPath) self.lineEditCompilerPath = QtWidgets.QLineEdit(self.tabCompiler) self.lineEditCompilerPath.setObjectName("lineEditCompilerPath") self.formLayout_6.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.lineEditCompilerPath) self.comboBoxStandard = QtWidgets.QComboBox(self.tabCompiler) self.comboBoxStandard.setObjectName("comboBoxStandard") self.comboBoxStandard.addItem("") self.comboBoxStandard.addItem("") self.comboBoxStandard.addItem("") self.comboBoxStandard.addItem("") self.comboBoxStandard.addItem("") self.comboBoxStandard.addItem("") self.comboBoxStandard.addItem("") self.formLayout_6.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.comboBoxStandard) icon = QtGui.QIcon.fromTheme("exec") self.tabWidget.addTab(self.tabCompiler, icon, "") self.tabRun = QtWidgets.QWidget() self.tabRun.setObjectName("tabRun") self.formLayout_5 = QtWidgets.QFormLayout(self.tabRun) self.formLayout_5.setFieldGrowthPolicy( QtWidgets.QFormLayout.AllNonFixedFieldsGrow) self.formLayout_5.setObjectName("formLayout_5") self.label_5 = QtWidgets.QLabel(self.tabRun) self.label_5.setObjectName("label_5") self.formLayout_5.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_5) self.checkBoxRunExtTerm = QtWidgets.QCheckBox(self.tabRun) self.checkBoxRunExtTerm.setText("") self.checkBoxRunExtTerm.setObjectName("checkBoxRunExtTerm") self.formLayout_5.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.checkBoxRunExtTerm) self.lineEditRunTerm = QtWidgets.QLineEdit(self.tabRun) self.lineEditRunTerm.setObjectName("lineEditRunTerm") self.formLayout_5.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.lineEditRunTerm) icon = QtGui.QIcon.fromTheme("media-playback-start") self.tabWidget.addTab(self.tabRun, icon, "") self.widget_2.addWidget(self.tabWidget, 0, 0, 1, 1) self.gridLayout_2.addWidget(self.widget, 0, 0, 1, 1) self.gridLayout_3 = QtWidgets.QGridLayout() self.gridLayout_3.setContentsMargins(9, 9, 9, 9) self.gridLayout_3.setObjectName("gridLayout_3") self.buttonBox = QtWidgets.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons( QtWidgets.QDialogButtonBox.Cancel | QtWidgets.QDialogButtonBox.Ok | QtWidgets.QDialogButtonBox.Reset | QtWidgets.QDialogButtonBox.RestoreDefaults) self.buttonBox.setObjectName("buttonBox") self.gridLayout_3.addWidget(self.buttonBox, 0, 0, 1, 1) self.gridLayout_2.addLayout(self.gridLayout_3, 2, 0, 1, 1) self.retranslateUi(Dialog) self.tabWidget.setCurrentIndex(0) self.buttonBox.accepted.connect(Dialog.accept) self.buttonBox.rejected.connect(Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog)
def setupUi(self, Form): Form.setObjectName("Form") Form.resize(466, 569) self.verticalLayout = QtWidgets.QVBoxLayout(Form) self.verticalLayout.setObjectName("verticalLayout") self.header = QtWidgets.QLabel(Form) self.header.setStyleSheet("border-radius: 3px;\n" "background-color: rgb(161, 161, 161);\n" "padding: 10px;") self.header.setAlignment(QtCore.Qt.AlignCenter) self.header.setObjectName("header") self.verticalLayout.addWidget(self.header) self.groupBox = QtWidgets.QGroupBox(Form) self.groupBox.setObjectName("groupBox") self.formLayout_2 = QtWidgets.QFormLayout(self.groupBox) self.formLayout_2.setFieldGrowthPolicy(QtWidgets.QFormLayout.AllNonFixedFieldsGrow) self.formLayout_2.setObjectName("formLayout_2") self.label_5 = QtWidgets.QLabel(self.groupBox) self.label_5.setObjectName("label_5") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_5) self.cb_spaces_instead_of_tabs = QtWidgets.QCheckBox(self.groupBox) self.cb_spaces_instead_of_tabs.setText("") self.cb_spaces_instead_of_tabs.setObjectName("cb_spaces_instead_of_tabs") self.formLayout_2.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.cb_spaces_instead_of_tabs) self.label_8 = QtWidgets.QLabel(self.groupBox) self.label_8.setObjectName("label_8") self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_8) self.cb_center_on_scoll = QtWidgets.QCheckBox(self.groupBox) self.cb_center_on_scoll.setText("") self.cb_center_on_scoll.setObjectName("cb_center_on_scoll") self.formLayout_2.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.cb_center_on_scoll) self.label = QtWidgets.QLabel(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth()) self.label.setSizePolicy(sizePolicy) self.label.setObjectName("label") self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label) self.sb_tab_len = QtWidgets.QSpinBox(self.groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.sb_tab_len.sizePolicy().hasHeightForWidth()) self.sb_tab_len.setSizePolicy(sizePolicy) self.sb_tab_len.setProperty("value", 4) self.sb_tab_len.setObjectName("sb_tab_len") self.formLayout_2.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.sb_tab_len) self.label_2 = QtWidgets.QLabel(self.groupBox) self.label_2.setObjectName("label_2") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_2) self.sb_margin_pos = QtWidgets.QSpinBox(self.groupBox) self.sb_margin_pos.setMaximum(200) self.sb_margin_pos.setProperty("value", 120) self.sb_margin_pos.setObjectName("sb_margin_pos") self.formLayout_2.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.sb_margin_pos) self.label_4 = QtWidgets.QLabel(self.groupBox) self.label_4.setObjectName("label_4") self.formLayout_2.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_4) self.cb_caret_cope = QtWidgets.QCheckBox(self.groupBox) self.cb_caret_cope.setText("") self.cb_caret_cope.setObjectName("cb_caret_cope") self.formLayout_2.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.cb_caret_cope) self.verticalLayout.addWidget(self.groupBox) self.groupBox_3 = QtWidgets.QGroupBox(Form) self.groupBox_3.setObjectName("groupBox_3") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupBox_3) self.verticalLayout_3.setObjectName("verticalLayout_3") self.cb_convert_tabs_to_spaces = QtWidgets.QCheckBox(self.groupBox_3) self.cb_convert_tabs_to_spaces.setObjectName("cb_convert_tabs_to_spaces") self.verticalLayout_3.addWidget(self.cb_convert_tabs_to_spaces) self.cb_clean_trailing = QtWidgets.QCheckBox(self.groupBox_3) self.cb_clean_trailing.setObjectName("cb_clean_trailing") self.verticalLayout_3.addWidget(self.cb_clean_trailing) self.cb_restore_cursor = QtWidgets.QCheckBox(self.groupBox_3) self.cb_restore_cursor.setObjectName("cb_restore_cursor") self.verticalLayout_3.addWidget(self.cb_restore_cursor) self.cb_safe_save = QtWidgets.QCheckBox(self.groupBox_3) self.cb_safe_save.setObjectName("cb_safe_save") self.verticalLayout_3.addWidget(self.cb_safe_save) self.cb_fold_imports = QtWidgets.QCheckBox(self.groupBox_3) self.cb_fold_imports.setObjectName("cb_fold_imports") self.verticalLayout_3.addWidget(self.cb_fold_imports) self.cb_fold_doc = QtWidgets.QCheckBox(self.groupBox_3) self.cb_fold_doc.setObjectName("cb_fold_doc") self.verticalLayout_3.addWidget(self.cb_fold_doc) self.verticalLayout.addWidget(self.groupBox_3) self.groupBox_2 = QtWidgets.QGroupBox(Form) self.groupBox_2.setObjectName("groupBox_2") self.formLayout = QtWidgets.QFormLayout(self.groupBox_2) self.formLayout.setFieldGrowthPolicy(QtWidgets.QFormLayout.ExpandingFieldsGrow) self.formLayout.setObjectName("formLayout") self.label_3 = QtWidgets.QLabel(self.groupBox_2) self.label_3.setObjectName("label_3") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.label_3) self.sb_cc_trigger_len = QtWidgets.QSpinBox(self.groupBox_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.sb_cc_trigger_len.sizePolicy().hasHeightForWidth()) self.sb_cc_trigger_len.setSizePolicy(sizePolicy) self.sb_cc_trigger_len.setObjectName("sb_cc_trigger_len") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.sb_cc_trigger_len) self.label_6 = QtWidgets.QLabel(self.groupBox_2) self.label_6.setObjectName("label_6") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_6) self.cb_cc_tooltips = QtWidgets.QCheckBox(self.groupBox_2) self.cb_cc_tooltips.setText("") self.cb_cc_tooltips.setObjectName("cb_cc_tooltips") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.cb_cc_tooltips) self.label_7 = QtWidgets.QLabel(self.groupBox_2) self.label_7.setObjectName("label_7") self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_7) self.cb_cc_case_sensitive = QtWidgets.QCheckBox(self.groupBox_2) self.cb_cc_case_sensitive.setText("") self.cb_cc_case_sensitive.setObjectName("cb_cc_case_sensitive") self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.cb_cc_case_sensitive) self.verticalLayout.addWidget(self.groupBox_2) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)
def setupUi(self, Form): Form.setObjectName("Form") Form.resize(558, 381) self.formLayout = QtWidgets.QFormLayout(Form) self.formLayout.setFieldGrowthPolicy(QtWidgets.QFormLayout.AllNonFixedFieldsGrow) self.formLayout.setObjectName("formLayout") self.label = QtWidgets.QLabel(Form) self.label.setObjectName("label") self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label) self.pickerScript = FilePicker(Form) self.pickerScript.setObjectName("pickerScript") self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.pickerScript) self.label_2 = QtWidgets.QLabel(Form) self.label_2.setObjectName("label_2") self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_2) self.lineEditScriptParams = QtWidgets.QLineEdit(Form) self.lineEditScriptParams.setObjectName("lineEditScriptParams") self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.lineEditScriptParams) self.lblInterpreter = QtWidgets.QLabel(Form) self.lblInterpreter.setObjectName("lblInterpreter") self.formLayout.setWidget(5, QtWidgets.QFormLayout.LabelRole, self.lblInterpreter) self.comboBoxInterpreter = QtWidgets.QComboBox(Form) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.comboBoxInterpreter.sizePolicy().hasHeightForWidth()) self.comboBoxInterpreter.setSizePolicy(sizePolicy) self.comboBoxInterpreter.setObjectName("comboBoxInterpreter") self.formLayout.setWidget(5, QtWidgets.QFormLayout.FieldRole, self.comboBoxInterpreter) self.label_4 = QtWidgets.QLabel(Form) self.label_4.setObjectName("label_4") self.formLayout.setWidget(6, QtWidgets.QFormLayout.LabelRole, self.label_4) self.lineEdidInterpreterOpts = QtWidgets.QLineEdit(Form) self.lineEdidInterpreterOpts.setObjectName("lineEdidInterpreterOpts") self.formLayout.setWidget(6, QtWidgets.QFormLayout.FieldRole, self.lineEdidInterpreterOpts) self.label_6 = QtWidgets.QLabel(Form) self.label_6.setObjectName("label_6") self.formLayout.setWidget(7, QtWidgets.QFormLayout.LabelRole, self.label_6) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.tableWidgetEnvVars = QtWidgets.QTableWidget(Form) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth(self.tableWidgetEnvVars.sizePolicy().hasHeightForWidth()) self.tableWidgetEnvVars.setSizePolicy(sizePolicy) self.tableWidgetEnvVars.setAlternatingRowColors(False) self.tableWidgetEnvVars.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection) self.tableWidgetEnvVars.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows) self.tableWidgetEnvVars.setGridStyle(QtCore.Qt.SolidLine) self.tableWidgetEnvVars.setRowCount(0) self.tableWidgetEnvVars.setObjectName("tableWidgetEnvVars") self.tableWidgetEnvVars.setColumnCount(2) item = QtWidgets.QTableWidgetItem() self.tableWidgetEnvVars.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.tableWidgetEnvVars.setHorizontalHeaderItem(1, item) self.tableWidgetEnvVars.horizontalHeader().setCascadingSectionResizes(False) self.tableWidgetEnvVars.horizontalHeader().setStretchLastSection(True) self.tableWidgetEnvVars.verticalHeader().setVisible(False) self.horizontalLayout.addWidget(self.tableWidgetEnvVars) self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setContentsMargins(0, -1, -1, -1) self.verticalLayout.setObjectName("verticalLayout") self.toolButtonAdd = QtWidgets.QToolButton(Form) self.toolButtonAdd.setText("") icon = QtGui.QIcon.fromTheme("list-add") self.toolButtonAdd.setIcon(icon) self.toolButtonAdd.setObjectName("toolButtonAdd") self.verticalLayout.addWidget(self.toolButtonAdd) self.toolButtonRemove = QtWidgets.QToolButton(Form) self.toolButtonRemove.setText("") icon = QtGui.QIcon.fromTheme("list-remove") self.toolButtonRemove.setIcon(icon) self.toolButtonRemove.setObjectName("toolButtonRemove") self.verticalLayout.addWidget(self.toolButtonRemove) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.horizontalLayout.addLayout(self.verticalLayout) self.formLayout.setLayout(7, QtWidgets.QFormLayout.FieldRole, self.horizontalLayout) self.label_5 = QtWidgets.QLabel(Form) self.label_5.setObjectName("label_5") self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole, self.label_5) self.pickerWorkingDir = FilePicker(Form) self.pickerWorkingDir.setObjectName("pickerWorkingDir") self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole, self.pickerWorkingDir) self.lblName = QtWidgets.QLabel(Form) self.lblName.setObjectName("lblName") self.formLayout.setWidget(0, QtWidgets.QFormLayout.LabelRole, self.lblName) self.lineEditName = QtWidgets.QLineEdit(Form) self.lineEditName.setObjectName("lineEditName") self.formLayout.setWidget(0, QtWidgets.QFormLayout.FieldRole, self.lineEditName) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form) Form.setTabOrder(self.lineEditName, self.lineEditScriptParams) Form.setTabOrder(self.lineEditScriptParams, self.comboBoxInterpreter) Form.setTabOrder(self.comboBoxInterpreter, self.lineEdidInterpreterOpts) Form.setTabOrder(self.lineEdidInterpreterOpts, self.tableWidgetEnvVars) Form.setTabOrder(self.tableWidgetEnvVars, self.toolButtonAdd) Form.setTabOrder(self.toolButtonAdd, self.toolButtonRemove)