def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(811, 659) Dialog.setSizeGripEnabled(True) Dialog.setModal(True) self.verticalLayout_2 = QtWidgets.QVBoxLayout(Dialog) self.verticalLayout_2.setObjectName("verticalLayout_2") self.information_tab = QtWidgets.QTabWidget(Dialog) self.information_tab.setObjectName("information_tab") self.geometry = QtWidgets.QWidget() self.geometry.setObjectName("geometry") self.verticalLayout = QtWidgets.QVBoxLayout(self.geometry) self.verticalLayout.setObjectName("verticalLayout") self.main_splitter = QtWidgets.QSplitter(self.geometry) self.main_splitter.setOrientation(QtCore.Qt.Horizontal) self.main_splitter.setObjectName("main_splitter") self.leftWidget = QtWidgets.QWidget(self.main_splitter) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.leftWidget.sizePolicy().hasHeightForWidth()) self.leftWidget.setSizePolicy(sizePolicy) self.leftWidget.setObjectName("leftWidget") self.left_layout = QtWidgets.QHBoxLayout(self.leftWidget) self.left_layout.setContentsMargins(0, 0, 0, 0) self.left_layout.setObjectName("left_layout") self.line = QtWidgets.QFrame(self.leftWidget) self.line.setFrameShape(QtWidgets.QFrame.VLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.left_layout.addWidget(self.line) self.splitter = QtWidgets.QSplitter(self.main_splitter) self.splitter.setOrientation(QtCore.Qt.Vertical) self.splitter.setObjectName("splitter") self.basic_groupbox = QtWidgets.QGroupBox(self.splitter) self.basic_groupbox.setObjectName("basic_groupbox") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.basic_groupbox) self.verticalLayout_4.setContentsMargins(6, 6, 6, 6) self.verticalLayout_4.setObjectName("verticalLayout_4") self.scrollArea = QtWidgets.QScrollArea(self.basic_groupbox) self.scrollArea.setWidgetResizable(True) self.scrollArea.setObjectName("scrollArea") self.scrollAreaWidgetContents = QtWidgets.QWidget() self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 717, 85)) self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents") self.verticalLayout_6 = QtWidgets.QVBoxLayout( self.scrollAreaWidgetContents) self.verticalLayout_6.setObjectName("verticalLayout_6") self.basic_label = QtWidgets.QLabel(self.scrollAreaWidgetContents) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.basic_label.sizePolicy().hasHeightForWidth()) self.basic_label.setSizePolicy(sizePolicy) self.basic_label.setObjectName("basic_label") self.verticalLayout_6.addWidget(self.basic_label) spacerItem = QtWidgets.QSpacerItem(20, 47, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_6.addItem(spacerItem) self.scrollArea.setWidget(self.scrollAreaWidgetContents) self.verticalLayout_4.addWidget(self.scrollArea) self.algorithm_groupbox = QtWidgets.QGroupBox(self.splitter) self.algorithm_groupbox.setObjectName("algorithm_groupbox") self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.algorithm_groupbox) self.verticalLayout_7.setContentsMargins(6, 6, 6, 6) self.verticalLayout_7.setObjectName("verticalLayout_7") self.scrollArea_2 = QtWidgets.QScrollArea(self.algorithm_groupbox) self.scrollArea_2.setWidgetResizable(True) self.scrollArea_2.setObjectName("scrollArea_2") self.scrollAreaWidgetContents_2 = QtWidgets.QWidget() self.scrollAreaWidgetContents_2.setGeometry( QtCore.QRect(0, 0, 717, 197)) self.scrollAreaWidgetContents_2.setObjectName( "scrollAreaWidgetContents_2") self.verticalLayout_5 = QtWidgets.QVBoxLayout( self.scrollAreaWidgetContents_2) self.verticalLayout_5.setObjectName("verticalLayout_5") self.algorithm_label = QtWidgets.QLabel( self.scrollAreaWidgetContents_2) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.algorithm_label.sizePolicy().hasHeightForWidth()) self.algorithm_label.setSizePolicy(sizePolicy) self.algorithm_label.setObjectName("algorithm_label") self.verticalLayout_5.addWidget(self.algorithm_label) spacerItem1 = QtWidgets.QSpacerItem(20, 201, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_5.addItem(spacerItem1) self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2) self.verticalLayout_7.addWidget(self.scrollArea_2) self.hardware_groupbox = QtWidgets.QGroupBox(self.splitter) self.hardware_groupbox.setObjectName("hardware_groupbox") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.hardware_groupbox) self.verticalLayout_3.setContentsMargins(6, 6, 6, 6) self.verticalLayout_3.setObjectName("verticalLayout_3") self.scrollArea_3 = QtWidgets.QScrollArea(self.hardware_groupbox) self.scrollArea_3.setWidgetResizable(True) self.scrollArea_3.setObjectName("scrollArea_3") self.scrollAreaWidgetContents_3 = QtWidgets.QWidget() self.scrollAreaWidgetContents_3.setGeometry( QtCore.QRect(0, 0, 717, 196)) self.scrollAreaWidgetContents_3.setObjectName( "scrollAreaWidgetContents_3") self.verticalLayout_8 = QtWidgets.QVBoxLayout( self.scrollAreaWidgetContents_3) self.verticalLayout_8.setObjectName("verticalLayout_8") self.hardware_label = QtWidgets.QLabel(self.scrollAreaWidgetContents_3) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.hardware_label.sizePolicy().hasHeightForWidth()) self.hardware_label.setSizePolicy(sizePolicy) self.hardware_label.setObjectName("hardware_label") self.verticalLayout_8.addWidget(self.hardware_label) spacerItem2 = QtWidgets.QSpacerItem(20, 201, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_8.addItem(spacerItem2) self.scrollArea_3.setWidget(self.scrollAreaWidgetContents_3) self.verticalLayout_3.addWidget(self.scrollArea_3) self.verticalLayout.addWidget(self.main_splitter) self.information_tab.addTab(self.geometry, "") self.verticalLayout_2.addWidget(self.information_tab) self.retranslateUi(Dialog) self.information_tab.setCurrentIndex(0) QtCore.QMetaObject.connectSlotsByName(Dialog)
def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(651, 532) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/icons/collections.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) Dialog.setWindowIcon(icon) Dialog.setSizeGripEnabled(True) Dialog.setModal(True) self.verticalLayout_4 = QtWidgets.QVBoxLayout(Dialog) self.verticalLayout_4.setObjectName("verticalLayout_4") self.main_splitter = QtWidgets.QSplitter(Dialog) self.main_splitter.setOrientation(QtCore.Qt.Horizontal) self.main_splitter.setObjectName("main_splitter") self.preview_box = QtWidgets.QGroupBox(self.main_splitter) self.preview_box.setObjectName("preview_box") self.preview_layout = QtWidgets.QVBoxLayout(self.preview_box) self.preview_layout.setObjectName("preview_layout") self.show_solutions = QtWidgets.QCheckBox(self.preview_box) self.show_solutions.setChecked(True) self.show_solutions.setObjectName("show_solutions") self.preview_layout.addWidget(self.show_solutions) self.sub_splitter = QtWidgets.QSplitter(self.main_splitter) self.sub_splitter.setOrientation(QtCore.Qt.Vertical) self.sub_splitter.setObjectName("sub_splitter") self.layoutWidget = QtWidgets.QWidget(self.sub_splitter) self.layoutWidget.setObjectName("layoutWidget") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.layoutWidget) self.verticalLayout_2.setContentsMargins(0, 0, 0, 0) self.verticalLayout_2.setObjectName("verticalLayout_2") self.common_label = QtWidgets.QLabel(self.layoutWidget) self.common_label.setObjectName("common_label") self.verticalLayout_2.addWidget(self.common_label) self.common_list = QtWidgets.QListWidget(self.layoutWidget) self.common_list.setObjectName("common_list") self.verticalLayout_2.addWidget(self.common_list) self.common_load = QtWidgets.QPushButton(self.layoutWidget) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/icons/data.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.common_load.setIcon(icon1) self.common_load.setObjectName("common_load") self.verticalLayout_2.addWidget(self.common_load) self.verticalLayoutWidget = QtWidgets.QWidget(self.sub_splitter) self.verticalLayoutWidget.setObjectName("verticalLayoutWidget") self.verticalLayout_3 = QtWidgets.QVBoxLayout( self.verticalLayoutWidget) self.verticalLayout_3.setContentsMargins(0, 0, 0, 0) self.verticalLayout_3.setObjectName("verticalLayout_3") self.line = QtWidgets.QFrame(self.verticalLayoutWidget) self.line.setFrameShape(QtWidgets.QFrame.HLine) self.line.setFrameShadow(QtWidgets.QFrame.Sunken) self.line.setObjectName("line") self.verticalLayout_3.addWidget(self.line) self.Collections_label = QtWidgets.QLabel(self.verticalLayoutWidget) self.Collections_label.setObjectName("Collections_label") self.verticalLayout_3.addWidget(self.Collections_label) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.collections_list = QtWidgets.QListWidget( self.verticalLayoutWidget) self.collections_list.setObjectName("collections_list") self.horizontalLayout_2.addWidget(self.collections_list) self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.workbook_button = QtWidgets.QPushButton(self.verticalLayoutWidget) icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(":/icons/mechanism.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.workbook_button.setIcon(icon2) self.workbook_button.setObjectName("workbook_button") self.verticalLayout.addWidget(self.workbook_button) self.line_2 = QtWidgets.QFrame(self.verticalLayoutWidget) self.line_2.setFrameShape(QtWidgets.QFrame.HLine) self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_2.setObjectName("line_2") self.verticalLayout.addWidget(self.line_2) self.rename_button = QtWidgets.QPushButton(self.verticalLayoutWidget) icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(":/icons/rename.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.rename_button.setIcon(icon3) self.rename_button.setAutoDefault(False) self.rename_button.setObjectName("rename_button") self.verticalLayout.addWidget(self.rename_button) self.copy_button = QtWidgets.QPushButton(self.verticalLayoutWidget) icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(":/icons/copy.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.copy_button.setIcon(icon4) self.copy_button.setObjectName("copy_button") self.verticalLayout.addWidget(self.copy_button) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.delete_button = QtWidgets.QPushButton(self.verticalLayoutWidget) icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(":/icons/delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.delete_button.setIcon(icon5) self.delete_button.setAutoDefault(False) self.delete_button.setObjectName("delete_button") self.verticalLayout.addWidget(self.delete_button) self.horizontalLayout_2.addLayout(self.verticalLayout) self.verticalLayout_3.addLayout(self.horizontalLayout_2) self.verticalLayout_4.addWidget(self.main_splitter) 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.button_box = QtWidgets.QDialogButtonBox(Dialog) self.button_box.setStandardButtons(QtWidgets.QDialogButtonBox.Close | QtWidgets.QDialogButtonBox.Open) self.button_box.setObjectName("button_box") self.horizontalLayout_3.addWidget(self.button_box) self.verticalLayout_4.addLayout(self.horizontalLayout_3) self.retranslateUi(Dialog) self.button_box.rejected.connect(Dialog.reject) self.button_box.accepted.connect(Dialog.accept) self.common_load.clicked.connect(Dialog.accept) QtCore.QMetaObject.connectSlotsByName(Dialog)
def setupUi(self, Form): Form.setObjectName("Form") Form.resize(367, 604) self.verticalLayout_6 = QtWidgets.QVBoxLayout(Form) self.verticalLayout_6.setObjectName("verticalLayout_6") self.joint_groupBox = QtWidgets.QGroupBox(Form) self.joint_groupBox.setObjectName("joint_groupBox") self.horizontalLayout = QtWidgets.QHBoxLayout(self.joint_groupBox) self.horizontalLayout.setObjectName("horizontalLayout") self.verticalLayout_13 = QtWidgets.QVBoxLayout() self.verticalLayout_13.setObjectName("verticalLayout_13") self.joint_list_lable = QtWidgets.QLabel(self.joint_groupBox) self.joint_list_lable.setObjectName("joint_list_lable") self.verticalLayout_13.addWidget(self.joint_list_lable) self.joint_list = QtWidgets.QListWidget(self.joint_groupBox) self.joint_list.setEditTriggers( QtWidgets.QAbstractItemView.NoEditTriggers) self.joint_list.setObjectName("joint_list") self.verticalLayout_13.addWidget(self.joint_list) self.horizontalLayout.addLayout(self.verticalLayout_13) self.inputs_label_right2 = QtWidgets.QLabel(self.joint_groupBox) self.inputs_label_right2.setObjectName("inputs_label_right2") self.horizontalLayout.addWidget(self.inputs_label_right2) self.verticalLayout_16 = QtWidgets.QVBoxLayout() self.verticalLayout_16.setObjectName("verticalLayout_16") self.driver_list_lable = QtWidgets.QLabel(self.joint_groupBox) self.driver_list_lable.setObjectName("driver_list_lable") self.verticalLayout_16.addWidget(self.driver_list_lable) self.driver_list = QtWidgets.QListWidget(self.joint_groupBox) self.driver_list.setEditTriggers( QtWidgets.QAbstractItemView.NoEditTriggers) self.driver_list.setObjectName("driver_list") self.verticalLayout_16.addWidget(self.driver_list) self.variable_add = QtWidgets.QPushButton(self.joint_groupBox) self.variable_add.setEnabled(False) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/icons/arrow_down.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.variable_add.setIcon(icon) self.variable_add.setObjectName("variable_add") self.verticalLayout_16.addWidget(self.variable_add) self.horizontalLayout.addLayout(self.verticalLayout_16) self.verticalLayout_6.addWidget(self.joint_groupBox) self.variable_groupBox = QtWidgets.QGroupBox(Form) self.variable_groupBox.setObjectName("variable_groupBox") self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.variable_groupBox) self.verticalLayout_4.setObjectName("verticalLayout_4") self.inputs_dial_layout = QtWidgets.QHBoxLayout() self.inputs_dial_layout.setObjectName("inputs_dial_layout") self.verticalLayout_5 = QtWidgets.QVBoxLayout() self.verticalLayout_5.setObjectName("verticalLayout_5") self.variable_up = QtWidgets.QPushButton(self.variable_groupBox) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/icons/arrow_up.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.variable_up.setIcon(icon1) self.variable_up.setObjectName("variable_up") self.verticalLayout_5.addWidget(self.variable_up) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_5.addItem(spacerItem) self.variable_down = QtWidgets.QPushButton(self.variable_groupBox) self.variable_down.setIcon(icon) self.variable_down.setObjectName("variable_down") self.verticalLayout_5.addWidget(self.variable_down) self.variable_remove = QtWidgets.QPushButton(self.variable_groupBox) icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(":/icons/delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.variable_remove.setIcon(icon2) self.variable_remove.setObjectName("variable_remove") self.verticalLayout_5.addWidget(self.variable_remove) self.inputs_dial_layout.addLayout(self.verticalLayout_5) self.variable_list = QtWidgets.QListWidget(self.variable_groupBox) self.variable_list.setEditTriggers( QtWidgets.QAbstractItemView.NoEditTriggers) self.variable_list.setObjectName("variable_list") self.inputs_dial_layout.addWidget(self.variable_list) self.line_5 = QtWidgets.QFrame(self.variable_groupBox) self.line_5.setFrameShape(QtWidgets.QFrame.VLine) self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken) self.line_5.setObjectName("line_5") self.inputs_dial_layout.addWidget(self.line_5) self.verticalLayout_4.addLayout(self.inputs_dial_layout) self.horizontalLayout_3 = QtWidgets.QHBoxLayout() self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.verticalLayout_18 = QtWidgets.QVBoxLayout() self.verticalLayout_18.setObjectName("verticalLayout_18") self.horizontalLayout_4 = QtWidgets.QHBoxLayout() self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.variable_speed_label = QtWidgets.QLabel(self.variable_groupBox) self.variable_speed_label.setObjectName("variable_speed_label") self.horizontalLayout_4.addWidget(self.variable_speed_label) self.variable_speed = QtWidgets.QSpinBox(self.variable_groupBox) self.variable_speed.setEnabled(False) self.variable_speed.setMinimum(-100) self.variable_speed.setMaximum(100) self.variable_speed.setSingleStep(5) self.variable_speed.setProperty("value", -10) self.variable_speed.setObjectName("variable_speed") self.horizontalLayout_4.addWidget(self.variable_speed) self.verticalLayout_18.addLayout(self.horizontalLayout_4) self.extremeRebound = QtWidgets.QCheckBox(self.variable_groupBox) self.extremeRebound.setChecked(True) self.extremeRebound.setObjectName("extremeRebound") self.verticalLayout_18.addWidget(self.extremeRebound) self.horizontalLayout_3.addLayout(self.verticalLayout_18) self.verticalLayout_3 = QtWidgets.QVBoxLayout() self.verticalLayout_3.setObjectName("verticalLayout_3") self.variable_play = QtWidgets.QPushButton(self.variable_groupBox) self.variable_play.setEnabled(False) icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(":/icons/play.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) icon3.addPixmap(QtGui.QPixmap(":/icons/pause.png"), QtGui.QIcon.Active, QtGui.QIcon.On) self.variable_play.setIcon(icon3) self.variable_play.setCheckable(True) self.variable_play.setObjectName("variable_play") self.verticalLayout_3.addWidget(self.variable_play) self.variable_stop = QtWidgets.QPushButton(self.variable_groupBox) icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(":/icons/interrupted.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.variable_stop.setIcon(icon4) self.variable_stop.setObjectName("variable_stop") self.verticalLayout_3.addWidget(self.variable_stop) self.horizontalLayout_3.addLayout(self.verticalLayout_3) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem1) self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.dial_spinbox = QtWidgets.QDoubleSpinBox(self.variable_groupBox) self.dial_spinbox.setEnabled(False) self.dial_spinbox.setMaximum(360.0) self.dial_spinbox.setObjectName("dial_spinbox") self.verticalLayout.addWidget(self.dial_spinbox) self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.update_pos_option = QtWidgets.QCheckBox(self.variable_groupBox) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth( self.update_pos_option.sizePolicy().hasHeightForWidth()) self.update_pos_option.setSizePolicy(sizePolicy) self.update_pos_option.setObjectName("update_pos_option") self.horizontalLayout_2.addWidget(self.update_pos_option) self.update_pos = QtWidgets.QPushButton(self.variable_groupBox) icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(":/icons/data_update.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.update_pos.setIcon(icon5) self.update_pos.setObjectName("update_pos") self.horizontalLayout_2.addWidget(self.update_pos) self.verticalLayout.addLayout(self.horizontalLayout_2) self.horizontalLayout_3.addLayout(self.verticalLayout) self.verticalLayout_4.addLayout(self.horizontalLayout_3) self.verticalLayout_6.addWidget(self.variable_groupBox) self.record_groupBox = QtWidgets.QGroupBox(Form) self.record_groupBox.setObjectName("record_groupBox") self.verticalLayout_22 = QtWidgets.QVBoxLayout(self.record_groupBox) self.verticalLayout_22.setObjectName("verticalLayout_22") self.horizontalLayout_6 = QtWidgets.QHBoxLayout() self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.record_show = QtWidgets.QCheckBox(self.record_groupBox) self.record_show.setChecked(True) self.record_show.setObjectName("record_show") self.horizontalLayout_6.addWidget(self.record_show) spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_6.addItem(spacerItem2) self.record_interval_label = QtWidgets.QLabel(self.record_groupBox) self.record_interval_label.setObjectName("record_interval_label") self.horizontalLayout_6.addWidget(self.record_interval_label) self.record_interval = QtWidgets.QDoubleSpinBox(self.record_groupBox) self.record_interval.setDecimals(2) self.record_interval.setMinimum(0.5) self.record_interval.setMaximum(6.0) self.record_interval.setProperty("value", 1.0) self.record_interval.setObjectName("record_interval") self.horizontalLayout_6.addWidget(self.record_interval) self.verticalLayout_22.addLayout(self.horizontalLayout_6) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.record_list = QtWidgets.QListWidget(self.record_groupBox) self.record_list.setContextMenuPolicy(QtCore.Qt.CustomContextMenu) self.record_list.setObjectName("record_list") item = QtWidgets.QListWidgetItem() self.record_list.addItem(item) self.horizontalLayout_8.addWidget(self.record_list) self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.update_preview_button = QtWidgets.QPushButton( self.record_groupBox) self.update_preview_button.setIcon(icon5) self.update_preview_button.setObjectName("update_preview_button") self.verticalLayout_2.addWidget(self.update_preview_button) self.record_start = QtWidgets.QPushButton(self.record_groupBox) icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(":/icons/record.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.record_start.setIcon(icon6) self.record_start.setCheckable(True) self.record_start.setObjectName("record_start") self.verticalLayout_2.addWidget(self.record_start) spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem3) self.record_remove = QtWidgets.QPushButton(self.record_groupBox) self.record_remove.setIcon(icon2) self.record_remove.setObjectName("record_remove") self.verticalLayout_2.addWidget(self.record_remove) self.horizontalLayout_8.addLayout(self.verticalLayout_2) self.verticalLayout_22.addLayout(self.horizontalLayout_8) self.verticalLayout_6.addWidget(self.record_groupBox) self.retranslateUi(Form) self.record_list.setCurrentRow(0) QtCore.QMetaObject.connectSlotsByName(Form)
def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(388, 627) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/icons/configure.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) Dialog.setWindowIcon(icon) Dialog.setSizeGripEnabled(True) Dialog.setModal(True) self.verticalLayout_3 = QtWidgets.QVBoxLayout(Dialog) self.verticalLayout_3.setObjectName("verticalLayout_3") self.new_group = QtWidgets.QGroupBox(Dialog) self.new_group.setObjectName("new_group") self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.new_group) self.horizontalLayout_3.setObjectName("horizontalLayout_3") self.custom_list = QtWidgets.QListWidget(self.new_group) self.custom_list.setObjectName("custom_list") self.horizontalLayout_3.addWidget(self.custom_list) self.verticalLayout = QtWidgets.QVBoxLayout() self.verticalLayout.setObjectName("verticalLayout") self.link_choose_label = QtWidgets.QLabel(self.new_group) self.link_choose_label.setObjectName("link_choose_label") self.verticalLayout.addWidget(self.link_choose_label) self.link_choose = QtWidgets.QComboBox(self.new_group) self.link_choose.setObjectName("link_choose") self.verticalLayout.addWidget(self.link_choose) spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem) self.add_button = QtWidgets.QPushButton(self.new_group) self.add_button.setObjectName("add_button") self.verticalLayout.addWidget(self.add_button) self.delete_button = QtWidgets.QPushButton(self.new_group) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/icons/delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.delete_button.setIcon(icon1) self.delete_button.setObjectName("delete_button") self.verticalLayout.addWidget(self.delete_button) self.horizontalLayout_3.addLayout(self.verticalLayout) self.verticalLayout_3.addWidget(self.new_group) self.multiple_group = QtWidgets.QGroupBox(Dialog) self.multiple_group.setObjectName("multiple_group") self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.multiple_group) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.multiple_list = QtWidgets.QListWidget(self.multiple_group) self.multiple_list.setObjectName("multiple_list") self.horizontalLayout_2.addWidget(self.multiple_list) self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.quote_choose_label = QtWidgets.QLabel(self.multiple_group) self.quote_choose_label.setObjectName("quote_choose_label") self.verticalLayout_2.addWidget(self.quote_choose_label) self.quote_choose = QtWidgets.QComboBox(self.multiple_group) self.quote_choose.setObjectName("quote_choose") self.verticalLayout_2.addWidget(self.quote_choose) self.quote_link_choose_label = QtWidgets.QLabel(self.multiple_group) self.quote_link_choose_label.setObjectName("quote_link_choose_label") self.verticalLayout_2.addWidget(self.quote_link_choose_label) self.quote_link_choose = QtWidgets.QComboBox(self.multiple_group) self.quote_link_choose.setObjectName("quote_link_choose") self.verticalLayout_2.addWidget(self.quote_link_choose) self.joint_choose_label = QtWidgets.QLabel(self.multiple_group) self.joint_choose_label.setObjectName("joint_choose_label") self.verticalLayout_2.addWidget(self.joint_choose_label) self.joint_choose = QtWidgets.QComboBox(self.multiple_group) self.joint_choose.setObjectName("joint_choose") self.verticalLayout_2.addWidget(self.joint_choose) spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_2.addItem(spacerItem1) self.add_mj_button = QtWidgets.QPushButton(self.multiple_group) self.add_mj_button.setObjectName("add_mj_button") self.verticalLayout_2.addWidget(self.add_mj_button) self.delete_mj_button = QtWidgets.QPushButton(self.multiple_group) self.delete_mj_button.setIcon(icon1) self.delete_mj_button.setObjectName("delete_mj_button") self.verticalLayout_2.addWidget(self.delete_mj_button) self.horizontalLayout_2.addLayout(self.verticalLayout_2) self.verticalLayout_3.addWidget(self.multiple_group) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem2) self.button_box = QtWidgets.QDialogButtonBox(Dialog) self.button_box.setStandardButtons(QtWidgets.QDialogButtonBox.Close) self.button_box.setObjectName("button_box") self.horizontalLayout.addWidget(self.button_box) self.verticalLayout_3.addLayout(self.horizontalLayout) self.retranslateUi(Dialog) self.button_box.rejected.connect(Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog)
def setupUi(self, Form): Form.setObjectName("Form") Form.resize(564, 682) icon = QtGui.QIcon() icon.addPixmap(QtGui.QPixmap(":/icons/dimensional_synthesis.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) Form.setWindowIcon(icon) self.verticalLayout_4 = QtWidgets.QVBoxLayout(Form) self.verticalLayout_4.setObjectName("verticalLayout_4") self.main_splitter = QtWidgets.QSplitter(Form) self.main_splitter.setOrientation(QtCore.Qt.Vertical) self.main_splitter.setObjectName("main_splitter") self.options_tab = QtWidgets.QTabWidget(self.main_splitter) self.options_tab.setObjectName("options_tab") self.structure = QtWidgets.QWidget() self.structure.setObjectName("structure") self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.structure) self.verticalLayout_6.setObjectName("verticalLayout_6") self.horizontalLayout_7 = QtWidgets.QHBoxLayout() self.horizontalLayout_7.setObjectName("horizontalLayout_7") self.load_profile = QtWidgets.QPushButton(self.structure) icon1 = QtGui.QIcon() icon1.addPixmap(QtGui.QPixmap(":/icons/collections.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.load_profile.setIcon(icon1) self.load_profile.setObjectName("load_profile") self.horizontalLayout_7.addWidget(self.load_profile) self.save_profile = QtWidgets.QPushButton(self.structure) icon2 = QtGui.QIcon() icon2.addPixmap(QtGui.QPixmap(":/icons/save_file.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.save_profile.setIcon(icon2) self.save_profile.setObjectName("save_profile") self.horizontalLayout_7.addWidget(self.save_profile) self.profile_name = QtWidgets.QLineEdit(self.structure) self.profile_name.setReadOnly(True) self.profile_name.setObjectName("profile_name") self.horizontalLayout_7.addWidget(self.profile_name) self.clear_button = QtWidgets.QPushButton(self.structure) icon3 = QtGui.QIcon() icon3.addPixmap(QtGui.QPixmap(":/icons/clean.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.clear_button.setIcon(icon3) self.clear_button.setObjectName("clear_button") self.horizontalLayout_7.addWidget(self.clear_button) self.verticalLayout_6.addLayout(self.horizontalLayout_7) self.horizontalLayout_17 = QtWidgets.QHBoxLayout() self.horizontalLayout_17.setObjectName("horizontalLayout_17") self.expression_string = QtWidgets.QLineEdit(self.structure) self.expression_string.setReadOnly(True) self.expression_string.setObjectName("expression_string") self.horizontalLayout_17.addWidget(self.expression_string) self.expr_copy = QtWidgets.QPushButton(self.structure) icon4 = QtGui.QIcon() icon4.addPixmap(QtGui.QPixmap(":/icons/copy.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.expr_copy.setIcon(icon4) self.expr_copy.setObjectName("expr_copy") self.horizontalLayout_17.addWidget(self.expr_copy) self.verticalLayout_6.addLayout(self.horizontalLayout_17) self.up_splitter = QtWidgets.QSplitter(self.structure) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.up_splitter.sizePolicy().hasHeightForWidth()) self.up_splitter.setSizePolicy(sizePolicy) self.up_splitter.setOrientation(QtCore.Qt.Horizontal) self.up_splitter.setObjectName("up_splitter") self.parameter_list = QtWidgets.QTableWidget(self.up_splitter) self.parameter_list.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows) self.parameter_list.setVerticalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) self.parameter_list.setHorizontalScrollMode(QtWidgets.QAbstractItemView.ScrollPerPixel) self.parameter_list.setObjectName("parameter_list") self.parameter_list.setColumnCount(5) self.parameter_list.setRowCount(0) item = QtWidgets.QTableWidgetItem() self.parameter_list.setHorizontalHeaderItem(0, item) item = QtWidgets.QTableWidgetItem() self.parameter_list.setHorizontalHeaderItem(1, item) item = QtWidgets.QTableWidgetItem() self.parameter_list.setHorizontalHeaderItem(2, item) item = QtWidgets.QTableWidgetItem() self.parameter_list.setHorizontalHeaderItem(3, item) item = QtWidgets.QTableWidgetItem() self.parameter_list.setHorizontalHeaderItem(4, item) self.preview_box = QtWidgets.QGroupBox(self.up_splitter) self.preview_box.setObjectName("preview_box") self.preview_layout = QtWidgets.QVBoxLayout(self.preview_box) self.preview_layout.setObjectName("preview_layout") self.show_solutions = QtWidgets.QCheckBox(self.preview_box) self.show_solutions.setChecked(True) self.show_solutions.setObjectName("show_solutions") self.preview_layout.addWidget(self.show_solutions) self.verticalLayout_6.addWidget(self.up_splitter) icon5 = QtGui.QIcon() icon5.addPixmap(QtGui.QPixmap(":/icons/structure.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.options_tab.addTab(self.structure, icon5, "") self.target_path = QtWidgets.QWidget() self.target_path.setObjectName("target_path") self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.target_path) self.verticalLayout_5.setObjectName("verticalLayout_5") self.down_splitter = QtWidgets.QSplitter(self.target_path) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.down_splitter.sizePolicy().hasHeightForWidth()) self.down_splitter.setSizePolicy(sizePolicy) self.down_splitter.setOrientation(QtCore.Qt.Horizontal) self.down_splitter.setObjectName("down_splitter") self.target_points = QtWidgets.QListWidget(self.down_splitter) self.target_points.setObjectName("target_points") self.layoutWidget = QtWidgets.QWidget(self.down_splitter) self.layoutWidget.setObjectName("layoutWidget") self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.layoutWidget) self.verticalLayout_2.setContentsMargins(0, 0, 0, 0) self.verticalLayout_2.setSpacing(3) self.verticalLayout_2.setObjectName("verticalLayout_2") self.horizontalLayout_2 = QtWidgets.QHBoxLayout() self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.pointNum = QtWidgets.QLabel(self.layoutWidget) self.pointNum.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop) self.pointNum.setObjectName("pointNum") self.horizontalLayout_2.addWidget(self.pointNum) spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_2.addItem(spacerItem) self.path_paste = QtWidgets.QPushButton(self.layoutWidget) icon6 = QtGui.QIcon() icon6.addPixmap(QtGui.QPixmap(":/icons/paste.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.path_paste.setIcon(icon6) self.path_paste.setObjectName("path_paste") self.horizontalLayout_2.addWidget(self.path_paste) self.path_copy = QtWidgets.QPushButton(self.layoutWidget) self.path_copy.setIcon(icon4) self.path_copy.setObjectName("path_copy") self.horizontalLayout_2.addWidget(self.path_copy) self.path_clear = QtWidgets.QPushButton(self.layoutWidget) self.path_clear.setIcon(icon3) self.path_clear.setAutoDefault(False) self.path_clear.setObjectName("path_clear") self.horizontalLayout_2.addWidget(self.path_clear) self.verticalLayout_2.addLayout(self.horizontalLayout_2) self.horizontalLayout_5 = QtWidgets.QHBoxLayout() self.horizontalLayout_5.setObjectName("horizontalLayout_5") self.verticalLayout_8 = QtWidgets.QVBoxLayout() self.verticalLayout_8.setObjectName("verticalLayout_8") self.path_list = QtWidgets.QListWidget(self.layoutWidget) self.path_list.setObjectName("path_list") self.verticalLayout_8.addWidget(self.path_list) self.horizontalLayout_8 = QtWidgets.QHBoxLayout() self.horizontalLayout_8.setObjectName("horizontalLayout_8") self.point_up = QtWidgets.QPushButton(self.layoutWidget) icon7 = QtGui.QIcon() icon7.addPixmap(QtGui.QPixmap(":/icons/arrow_up.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.point_up.setIcon(icon7) self.point_up.setObjectName("point_up") self.horizontalLayout_8.addWidget(self.point_up) self.point_down = QtWidgets.QPushButton(self.layoutWidget) icon8 = QtGui.QIcon() icon8.addPixmap(QtGui.QPixmap(":/icons/arrow_down.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.point_down.setIcon(icon8) self.point_down.setObjectName("point_down") self.horizontalLayout_8.addWidget(self.point_down) spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_8.addItem(spacerItem1) self.point_delete = QtWidgets.QPushButton(self.layoutWidget) icon9 = QtGui.QIcon() icon9.addPixmap(QtGui.QPixmap(":/icons/delete.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.point_delete.setIcon(icon9) self.point_delete.setObjectName("point_delete") self.horizontalLayout_8.addWidget(self.point_delete) self.close_path = QtWidgets.QPushButton(self.layoutWidget) icon10 = QtGui.QIcon() icon10.addPixmap(QtGui.QPixmap(":/icons/free_move_off.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.close_path.setIcon(icon10) self.close_path.setObjectName("close_path") self.horizontalLayout_8.addWidget(self.close_path) self.edit_target_point_button = QtWidgets.QPushButton(self.layoutWidget) icon11 = QtGui.QIcon() icon11.addPixmap(QtGui.QPixmap(":/icons/translate.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.edit_target_point_button.setIcon(icon11) self.edit_target_point_button.setCheckable(True) self.edit_target_point_button.setChecked(True) self.edit_target_point_button.setObjectName("edit_target_point_button") self.horizontalLayout_8.addWidget(self.edit_target_point_button) self.verticalLayout_8.addLayout(self.horizontalLayout_8) self.horizontalLayout_5.addLayout(self.verticalLayout_8) self.verticalLayout_3 = QtWidgets.QVBoxLayout() self.verticalLayout_3.setObjectName("verticalLayout_3") self.path_adjust_button = QtWidgets.QPushButton(self.layoutWidget) icon12 = QtGui.QIcon() icon12.addPixmap(QtGui.QPixmap(":/icons/formula.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.path_adjust_button.setIcon(icon12) self.path_adjust_button.setObjectName("path_adjust_button") self.verticalLayout_3.addWidget(self.path_adjust_button) self.import_xlsx_button = QtWidgets.QPushButton(self.layoutWidget) self.import_xlsx_button.setText("") icon13 = QtGui.QIcon() icon13.addPixmap(QtGui.QPixmap(":/icons/excel_2013.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.import_xlsx_button.setIcon(icon13) self.import_xlsx_button.setIconSize(QtCore.QSize(20, 20)) self.import_xlsx_button.setObjectName("import_xlsx_button") self.verticalLayout_3.addWidget(self.import_xlsx_button) self.import_csv_button = QtWidgets.QPushButton(self.layoutWidget) self.import_csv_button.setText("") icon14 = QtGui.QIcon() icon14.addPixmap(QtGui.QPixmap(":/icons/csv.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.import_csv_button.setIcon(icon14) self.import_csv_button.setIconSize(QtCore.QSize(20, 20)) self.import_csv_button.setObjectName("import_csv_button") self.verticalLayout_3.addWidget(self.import_csv_button) spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout_3.addItem(spacerItem2) self.horizontalLayout_5.addLayout(self.verticalLayout_3) self.verticalLayout_2.addLayout(self.horizontalLayout_5) self.verticalLayout_5.addWidget(self.down_splitter) self.label_2 = QtWidgets.QLabel(self.target_path) self.label_2.setWordWrap(True) self.label_2.setObjectName("label_2") self.verticalLayout_5.addWidget(self.label_2) self.options_tab.addTab(self.target_path, icon, "") self.algorithm = QtWidgets.QWidget() self.algorithm.setObjectName("algorithm") self.verticalLayout = QtWidgets.QVBoxLayout(self.algorithm) self.verticalLayout.setObjectName("verticalLayout") self.type0 = QtWidgets.QRadioButton(self.algorithm) self.type0.setChecked(False) self.type0.setObjectName("type0") self.verticalLayout.addWidget(self.type0) self.type1 = QtWidgets.QRadioButton(self.algorithm) self.type1.setObjectName("type1") self.verticalLayout.addWidget(self.type1) self.type2 = QtWidgets.QRadioButton(self.algorithm) self.type2.setChecked(True) self.type2.setObjectName("type2") self.verticalLayout.addWidget(self.type2) self.advance_button = QtWidgets.QPushButton(self.algorithm) icon15 = QtGui.QIcon() icon15.addPixmap(QtGui.QPixmap(":/icons/properties.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.advance_button.setIcon(icon15) self.advance_button.setObjectName("advance_button") self.verticalLayout.addWidget(self.advance_button) spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding) self.verticalLayout.addItem(spacerItem3) self.horizontalLayout = QtWidgets.QHBoxLayout() self.horizontalLayout.setObjectName("horizontalLayout") self.label_7 = QtWidgets.QLabel(self.algorithm) self.label_7.setObjectName("label_7") self.horizontalLayout.addWidget(self.label_7) spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout.addItem(spacerItem4) self.timeShow = QtWidgets.QLabel(self.algorithm) self.timeShow.setObjectName("timeShow") self.horizontalLayout.addWidget(self.timeShow) self.verticalLayout.addLayout(self.horizontalLayout) self.synthesis_button = QtWidgets.QPushButton(self.algorithm) self.synthesis_button.setEnabled(False) self.synthesis_button.setMinimumSize(QtCore.QSize(120, 0)) icon16 = QtGui.QIcon() icon16.addPixmap(QtGui.QPixmap(":/icons/play.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.synthesis_button.setIcon(icon16) self.synthesis_button.setAutoDefault(True) self.synthesis_button.setObjectName("synthesis_button") self.verticalLayout.addWidget(self.synthesis_button) icon17 = QtGui.QIcon() icon17.addPixmap(QtGui.QPixmap(":/icons/synthesis.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.options_tab.addTab(self.algorithm, icon17, "") self.verticalGroupBox = QtWidgets.QGroupBox(self.main_splitter) self.verticalGroupBox.setObjectName("verticalGroupBox") self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.verticalGroupBox) self.horizontalLayout_6.setObjectName("horizontalLayout_6") self.verticalLayout_13 = QtWidgets.QVBoxLayout() self.verticalLayout_13.setObjectName("verticalLayout_13") self.result_list = QtWidgets.QListWidget(self.verticalGroupBox) self.result_list.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded) self.result_list.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff) self.result_list.setObjectName("result_list") self.verticalLayout_13.addWidget(self.result_list) self.horizontalLayout_10 = QtWidgets.QHBoxLayout() self.horizontalLayout_10.setObjectName("horizontalLayout_10") self.result_load_settings = QtWidgets.QPushButton(self.verticalGroupBox) self.result_load_settings.setEnabled(False) icon18 = QtGui.QIcon() icon18.addPixmap(QtGui.QPixmap(":/icons/data_update.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.result_load_settings.setIcon(icon18) self.result_load_settings.setObjectName("result_load_settings") self.horizontalLayout_10.addWidget(self.result_load_settings) self.result_clipboard = QtWidgets.QPushButton(self.verticalGroupBox) self.result_clipboard.setEnabled(False) self.result_clipboard.setIcon(icon4) self.result_clipboard.setObjectName("result_clipboard") self.horizontalLayout_10.addWidget(self.result_clipboard) spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_10.addItem(spacerItem5) self.delete_button = QtWidgets.QPushButton(self.verticalGroupBox) self.delete_button.setEnabled(False) self.delete_button.setIcon(icon9) self.delete_button.setObjectName("delete_button") self.horizontalLayout_10.addWidget(self.delete_button) self.merge_button = QtWidgets.QPushButton(self.verticalGroupBox) self.merge_button.setEnabled(False) icon19 = QtGui.QIcon() icon19.addPixmap(QtGui.QPixmap(":/icons/merge.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off) self.merge_button.setIcon(icon19) self.merge_button.setObjectName("merge_button") self.horizontalLayout_10.addWidget(self.merge_button) self.verticalLayout_13.addLayout(self.horizontalLayout_10) self.horizontalLayout_6.addLayout(self.verticalLayout_13) self.verticalLayout_4.addWidget(self.main_splitter) self.retranslateUi(Form) QtCore.QMetaObject.connectSlotsByName(Form)