Пример #1
0
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(354, 528)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/icons/bearing.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Dialog.setWindowIcon(icon)
        Dialog.setSizeGripEnabled(True)
        Dialog.setModal(True)
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(Dialog)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.name_label = QtWidgets.QLabel(Dialog)
        self.name_label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.name_label.setObjectName("name_label")
        self.verticalLayout.addWidget(self.name_label)
        self.name_box = QtWidgets.QComboBox(Dialog)
        self.name_box.setObjectName("name_box")
        self.verticalLayout.addWidget(self.name_box)
        self.color_label = QtWidgets.QLabel(Dialog)
        self.color_label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
        self.color_label.setObjectName("color_label")
        self.verticalLayout.addWidget(self.color_label)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.color_box = QtWidgets.QComboBox(Dialog)
        self.color_box.setObjectName("color_box")
        self.horizontalLayout_2.addWidget(self.color_box)
        self.color_pick_button = QtWidgets.QPushButton(Dialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.color_pick_button.sizePolicy().hasHeightForWidth())
        self.color_pick_button.setSizePolicy(sizePolicy)
        self.color_pick_button.setObjectName("color_pick_button")
        self.horizontalLayout_2.addWidget(self.color_pick_button)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.label = QtWidgets.QLabel(Dialog)
        self.label.setObjectName("label")
        self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
        self.label_2 = QtWidgets.QLabel(Dialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout.addWidget(self.label_2, 0, 1, 1, 1)
        self.x_box = QtWidgets.QDoubleSpinBox(Dialog)
        self.x_box.setDecimals(4)
        self.x_box.setMinimum(-999999.0)
        self.x_box.setMaximum(999999.0)
        self.x_box.setObjectName("x_box")
        self.gridLayout.addWidget(self.x_box, 1, 0, 1, 1)
        self.y_box = QtWidgets.QDoubleSpinBox(Dialog)
        self.y_box.setDecimals(4)
        self.y_box.setMinimum(-999999.0)
        self.y_box.setMaximum(999999.0)
        self.y_box.setObjectName("y_box")
        self.gridLayout.addWidget(self.y_box, 1, 1, 1, 1)
        self.verticalLayout.addLayout(self.gridLayout)
        self.type_label = QtWidgets.QLabel(Dialog)
        self.type_label.setObjectName("type_label")
        self.verticalLayout.addWidget(self.type_label)
        self.type_box = QtWidgets.QComboBox(Dialog)
        self.type_box.setObjectName("type_box")
        self.type_box.addItem("")
        self.type_box.addItem("")
        self.type_box.addItem("")
        self.verticalLayout.addWidget(self.type_box)
        self.angle_box_2 = QtWidgets.QLabel(Dialog)
        self.angle_box_2.setObjectName("angle_box_2")
        self.verticalLayout.addWidget(self.angle_box_2)
        self.angle_box = QtWidgets.QDoubleSpinBox(Dialog)
        self.angle_box.setEnabled(False)
        self.angle_box.setMaximum(180.0)
        self.angle_box.setObjectName("angle_box")
        self.verticalLayout.addWidget(self.angle_box)
        self.links_label = QtWidgets.QLabel(Dialog)
        self.links_label.setObjectName("links_label")
        self.verticalLayout.addWidget(self.links_label)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.noSelected = QtWidgets.QListWidget(Dialog)
        self.noSelected.setDragEnabled(True)
        self.noSelected.setDragDropMode(QtWidgets.QAbstractItemView.DragDrop)
        self.noSelected.setDefaultDropAction(QtCore.Qt.MoveAction)
        self.noSelected.setObjectName("noSelected")
        self.horizontalLayout.addWidget(self.noSelected)
        self.label_4 = QtWidgets.QLabel(Dialog)
        self.label_4.setObjectName("label_4")
        self.horizontalLayout.addWidget(self.label_4)
        self.selected = QtWidgets.QListWidget(Dialog)
        self.selected.setDragEnabled(True)
        self.selected.setDragDropMode(QtWidgets.QAbstractItemView.DragDrop)
        self.selected.setDefaultDropAction(QtCore.Qt.MoveAction)
        self.selected.setObjectName("selected")
        self.horizontalLayout.addWidget(self.selected)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_3.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.button_box = QtWidgets.QDialogButtonBox(Dialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.button_box.sizePolicy().hasHeightForWidth())
        self.button_box.setSizePolicy(sizePolicy)
        self.button_box.setOrientation(QtCore.Qt.Vertical)
        self.button_box.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.button_box.setObjectName("button_box")
        self.verticalLayout_2.addWidget(self.button_box)
        spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.horizontalLayout_3.addLayout(self.verticalLayout_2)

        self.retranslateUi(Dialog)
        self.button_box.accepted.connect(Dialog.accept)
        self.button_box.rejected.connect(Dialog.reject)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Пример #2
0
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(507, 662)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/icons/structure.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Form.setWindowIcon(icon)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.add_by_files_button = QtWidgets.QPushButton(Form)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/icons/loadfile.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.add_by_files_button.setIcon(icon1)
        self.add_by_files_button.setObjectName("add_by_files_button")
        self.horizontalLayout.addWidget(self.add_by_files_button)
        self.add_by_edges_button = QtWidgets.QPushButton(Form)
        self.add_by_edges_button.setIcon(icon)
        self.add_by_edges_button.setObjectName("add_by_edges_button")
        self.horizontalLayout.addWidget(self.add_by_edges_button)
        self.line = QtWidgets.QFrame(Form)
        self.line.setFrameShape(QtWidgets.QFrame.VLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.horizontalLayout.addWidget(self.line)
        self.save_atlas = QtWidgets.QPushButton(Form)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/icons/picture.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.save_atlas.setIcon(icon2)
        self.save_atlas.setObjectName("save_atlas")
        self.horizontalLayout.addWidget(self.save_atlas)
        self.save_edges = QtWidgets.QPushButton(Form)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/icons/save_file.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.save_edges.setIcon(icon3)
        self.save_edges.setObjectName("save_edges")
        self.horizontalLayout.addWidget(self.save_edges)
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.clear_button = QtWidgets.QPushButton(Form)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/icons/clean.png"), QtGui.QIcon.Normal,
                        QtGui.QIcon.Off)
        self.clear_button.setIcon(icon4)
        self.clear_button.setObjectName("clear_button")
        self.horizontalLayout.addWidget(self.clear_button)
        self.delete_button = QtWidgets.QPushButton(Form)
        self.delete_button.setEnabled(False)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/icons/delete.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.delete_button.setIcon(icon5)
        self.delete_button.setObjectName("delete_button")
        self.horizontalLayout.addWidget(self.delete_button)
        self.verticalLayout_2.addLayout(self.horizontalLayout)
        self.splitter = QtWidgets.QSplitter(Form)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName("splitter")
        self.collection_list = QtWidgets.QListWidget(self.splitter)
        self.collection_list.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.collection_list.setIconSize(QtCore.QSize(100, 100))
        self.collection_list.setMovement(QtWidgets.QListView.Static)
        self.collection_list.setResizeMode(QtWidgets.QListView.Adjust)
        self.collection_list.setViewMode(QtWidgets.QListView.IconMode)
        self.collection_list.setUniformItemSizes(True)
        self.collection_list.setObjectName("collection_list")
        self.verticalLayoutWidget = QtWidgets.QWidget(self.splitter)
        self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
        self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
        self.verticalLayout.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.graph_engine_text = QtWidgets.QLabel(self.verticalLayoutWidget)
        self.graph_engine_text.setObjectName("graph_engine_text")
        self.horizontalLayout_7.addWidget(self.graph_engine_text)
        self.graph_engine = QtWidgets.QComboBox(self.verticalLayoutWidget)
        self.graph_engine.setObjectName("graph_engine")
        self.horizontalLayout_7.addWidget(self.graph_engine)
        self.reload_atlas = QtWidgets.QPushButton(self.verticalLayoutWidget)
        self.reload_atlas.setText("")
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/icons/data_update.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.reload_atlas.setIcon(icon6)
        self.reload_atlas.setObjectName("reload_atlas")
        self.horizontalLayout_7.addWidget(self.reload_atlas)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_7.addItem(spacerItem1)
        self.graph_link_as_node = QtWidgets.QCheckBox(
            self.verticalLayoutWidget)
        self.graph_link_as_node.setObjectName("graph_link_as_node")
        self.horizontalLayout_7.addWidget(self.graph_link_as_node)
        self.graph_show_label = QtWidgets.QCheckBox(self.verticalLayoutWidget)
        self.graph_show_label.setChecked(True)
        self.graph_show_label.setObjectName("graph_show_label")
        self.horizontalLayout_7.addWidget(self.graph_show_label)
        self.verticalLayout.addLayout(self.horizontalLayout_7)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.selection_window = QtWidgets.QListWidget(
            self.verticalLayoutWidget)
        self.selection_window.setMinimumSize(QtCore.QSize(210, 230))
        self.selection_window.setMaximumSize(QtCore.QSize(210, 230))
        self.selection_window.setSelectionMode(
            QtWidgets.QAbstractItemView.NoSelection)
        self.selection_window.setIconSize(QtCore.QSize(200, 200))
        self.selection_window.setMovement(QtWidgets.QListView.Static)
        self.selection_window.setViewMode(QtWidgets.QListView.IconMode)
        self.selection_window.setObjectName("selection_window")
        self.horizontalLayout_2.addWidget(self.selection_window)
        self.verticalLayout_5 = QtWidgets.QVBoxLayout()
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.edges_text = QtWidgets.QLineEdit(self.verticalLayoutWidget)
        self.edges_text.setReadOnly(True)
        self.edges_text.setObjectName("edges_text")
        self.horizontalLayout_3.addWidget(self.edges_text)
        self.expr_copy = QtWidgets.QPushButton(self.verticalLayoutWidget)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/icons/copy.png"), QtGui.QIcon.Normal,
                        QtGui.QIcon.Off)
        self.expr_copy.setIcon(icon7)
        self.expr_copy.setObjectName("expr_copy")
        self.horizontalLayout_3.addWidget(self.expr_copy)
        self.capture_graph = QtWidgets.QPushButton(self.verticalLayoutWidget)
        self.capture_graph.setIcon(icon2)
        self.capture_graph.setObjectName("capture_graph")
        self.horizontalLayout_3.addWidget(self.capture_graph)
        self.verticalLayout_5.addLayout(self.horizontalLayout_3)
        self.formLayout = QtWidgets.QFormLayout()
        self.formLayout.setObjectName("formLayout")
        self.nl_text = QtWidgets.QLabel(self.verticalLayoutWidget)
        self.nl_text.setObjectName("nl_text")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole,
                                  self.nl_text)
        self.nl_label = QtWidgets.QLabel(self.verticalLayoutWidget)
        self.nl_label.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.nl_label.setObjectName("nl_label")
        self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole,
                                  self.nl_label)
        self.nj_text = QtWidgets.QLabel(self.verticalLayoutWidget)
        self.nj_text.setObjectName("nj_text")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole,
                                  self.nj_text)
        self.nj_label = QtWidgets.QLabel(self.verticalLayoutWidget)
        self.nj_label.setAlignment(QtCore.Qt.AlignRight
                                   | QtCore.Qt.AlignTrailing
                                   | QtCore.Qt.AlignVCenter)
        self.nj_label.setObjectName("nj_label")
        self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole,
                                  self.nj_label)
        self.dof_text = QtWidgets.QLabel(self.verticalLayoutWidget)
        self.dof_text.setObjectName("dof_text")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole,
                                  self.dof_text)
        self.dof_label = QtWidgets.QLabel(self.verticalLayoutWidget)
        self.dof_label.setAlignment(QtCore.Qt.AlignRight
                                    | QtCore.Qt.AlignTrailing
                                    | QtCore.Qt.AlignVCenter)
        self.dof_label.setObjectName("dof_label")
        self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole,
                                  self.dof_label)
        self.is_degenerate_text = QtWidgets.QLabel(self.verticalLayoutWidget)
        self.is_degenerate_text.setObjectName("is_degenerate_text")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.LabelRole,
                                  self.is_degenerate_text)
        self.is_degenerate_label = QtWidgets.QLabel(self.verticalLayoutWidget)
        self.is_degenerate_label.setAlignment(QtCore.Qt.AlignRight
                                              | QtCore.Qt.AlignTrailing
                                              | QtCore.Qt.AlignVCenter)
        self.is_degenerate_label.setObjectName("is_degenerate_label")
        self.formLayout.setWidget(4, QtWidgets.QFormLayout.FieldRole,
                                  self.is_degenerate_label)
        self.verticalLayout_5.addLayout(self.formLayout)
        self.verticalLayout_4 = QtWidgets.QVBoxLayout()
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.link_assortment_text = QtWidgets.QLabel(self.verticalLayoutWidget)
        self.link_assortment_text.setObjectName("link_assortment_text")
        self.verticalLayout_4.addWidget(self.link_assortment_text)
        self.link_assortment_label = QtWidgets.QLabel(
            self.verticalLayoutWidget)
        self.link_assortment_label.setObjectName("link_assortment_label")
        self.verticalLayout_4.addWidget(self.link_assortment_label)
        self.contracted_link_assortment_text = QtWidgets.QLabel(
            self.verticalLayoutWidget)
        self.contracted_link_assortment_text.setObjectName(
            "contracted_link_assortment_text")
        self.verticalLayout_4.addWidget(self.contracted_link_assortment_text)
        self.contracted_link_assortment_label = QtWidgets.QLabel(
            self.verticalLayoutWidget)
        self.contracted_link_assortment_label.setObjectName(
            "contracted_link_assortment_label")
        self.verticalLayout_4.addWidget(self.contracted_link_assortment_label)
        self.configure_button = QtWidgets.QPushButton(
            self.verticalLayoutWidget)
        self.configure_button.setEnabled(False)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/icons/configure.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.configure_button.setIcon(icon8)
        self.configure_button.setObjectName("configure_button")
        self.verticalLayout_4.addWidget(self.configure_button)
        self.grounded_merge = QtWidgets.QPushButton(self.verticalLayoutWidget)
        self.grounded_merge.setEnabled(False)
        icon9 = QtGui.QIcon()
        icon9.addPixmap(QtGui.QPixmap(":/icons/merge.png"), QtGui.QIcon.Normal,
                        QtGui.QIcon.Off)
        self.grounded_merge.setIcon(icon9)
        self.grounded_merge.setObjectName("grounded_merge")
        self.verticalLayout_4.addWidget(self.grounded_merge)
        self.verticalLayout_5.addLayout(self.verticalLayout_4)
        self.horizontalLayout_2.addLayout(self.verticalLayout_5)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.grounded_list = QtWidgets.QListWidget(self.verticalLayoutWidget)
        self.grounded_list.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.grounded_list.setIconSize(QtCore.QSize(150, 150))
        self.grounded_list.setMovement(QtWidgets.QListView.Static)
        self.grounded_list.setResizeMode(QtWidgets.QListView.Adjust)
        self.grounded_list.setViewMode(QtWidgets.QListView.IconMode)
        self.grounded_list.setUniformItemSizes(True)
        self.grounded_list.setObjectName("grounded_list")
        self.horizontalLayout_4.addWidget(self.grounded_list)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.verticalLayout_2.addWidget(self.splitter)

        self.retranslateUi(Form)
        self.graph_engine.setCurrentIndex(-1)
        QtCore.QMetaObject.connectSlotsByName(Form)
Пример #3
0
    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)
Пример #4
0
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(456, 422)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/icons/configure.png"),
                       QtGui.QIcon.Normal, QtGui.QIcon.Off)
        Form.setWindowIcon(icon)
        self.verticalLayout_4 = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout_4.setObjectName("verticalLayout_4")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.load_button = QtWidgets.QPushButton(Form)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/icons/collections.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.load_button.setIcon(icon1)
        self.load_button.setObjectName("load_button")
        self.horizontalLayout_4.addWidget(self.load_button)
        self.save_button = QtWidgets.QPushButton(Form)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/icons/save_file.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.save_button.setIcon(icon2)
        self.save_button.setObjectName("save_button")
        self.horizontalLayout_4.addWidget(self.save_button)
        self.profile_name = QtWidgets.QLineEdit(Form)
        self.profile_name.setReadOnly(True)
        self.profile_name.setObjectName("profile_name")
        self.horizontalLayout_4.addWidget(self.profile_name)
        self.clear_button = QtWidgets.QPushButton(Form)
        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_4.addWidget(self.clear_button)
        self.line_5 = QtWidgets.QFrame(Form)
        self.line_5.setFrameShape(QtWidgets.QFrame.VLine)
        self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_5.setObjectName("line_5")
        self.horizontalLayout_4.addWidget(self.line_5)
        self.add_collection_button = QtWidgets.QPushButton(Form)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/icons/structure.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.add_collection_button.setIcon(icon4)
        self.add_collection_button.setObjectName("add_collection_button")
        self.horizontalLayout_4.addWidget(self.add_collection_button)
        self.clipboard_button = QtWidgets.QPushButton(Form)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/icons/copy.png"), QtGui.QIcon.Normal,
                        QtGui.QIcon.Off)
        self.clipboard_button.setIcon(icon5)
        self.clipboard_button.setObjectName("clipboard_button")
        self.horizontalLayout_4.addWidget(self.clipboard_button)
        self.verticalLayout_4.addLayout(self.horizontalLayout_4)
        self.line = QtWidgets.QFrame(Form)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout_4.addWidget(self.line)
        self.main_splitter = QtWidgets.QSplitter(Form)
        self.main_splitter.setOrientation(QtCore.Qt.Vertical)
        self.main_splitter.setObjectName("main_splitter")
        self.verticalLayoutWidget = QtWidgets.QWidget(self.main_splitter)
        self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
        self.main_layout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget)
        self.main_layout.setContentsMargins(0, 0, 0, 0)
        self.main_layout.setObjectName("main_layout")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.joint_name = QtWidgets.QComboBox(self.verticalLayoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.joint_name.sizePolicy().hasHeightForWidth())
        self.joint_name.setSizePolicy(sizePolicy)
        self.joint_name.setObjectName("joint_name")
        self.horizontalLayout_2.addWidget(self.joint_name)
        self.add_customization = QtWidgets.QPushButton(
            self.verticalLayoutWidget)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/icons/properties.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.add_customization.setIcon(icon6)
        self.add_customization.setObjectName("add_customization")
        self.horizontalLayout_2.addWidget(self.add_customization)
        self.main_layout.addLayout(self.horizontalLayout_2)
        self.layoutWidget = QtWidgets.QWidget(self.main_splitter)
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.layoutWidget)
        self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_5.setObjectName("verticalLayout_5")
        self.line_3 = QtWidgets.QFrame(self.layoutWidget)
        self.line_3.setLineWidth(3)
        self.line_3.setFrameShape(QtWidgets.QFrame.HLine)
        self.line_3.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line_3.setObjectName("line_3")
        self.verticalLayout_5.addWidget(self.line_3)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout()
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setSpacing(0)
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.target_label = QtWidgets.QLabel(self.layoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.target_label.sizePolicy().hasHeightForWidth())
        self.target_label.setSizePolicy(sizePolicy)
        self.target_label.setObjectName("target_label")
        self.horizontalLayout_7.addWidget(self.target_label)
        self.target_button = QtWidgets.QPushButton(self.layoutWidget)
        self.target_button.setObjectName("target_button")
        self.horizontalLayout_7.addWidget(self.target_button)
        self.verticalLayout_3.addLayout(self.horizontalLayout_7)
        self.target_list = QtWidgets.QListWidget(self.layoutWidget)
        self.target_list.setObjectName("target_list")
        self.verticalLayout_3.addWidget(self.target_list)
        self.horizontalLayout.addLayout(self.verticalLayout_3)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.driver_base = QtWidgets.QComboBox(self.layoutWidget)
        self.driver_base.setObjectName("driver_base")
        self.horizontalLayout_5.addWidget(self.driver_base)
        self.driver_arrow_label = QtWidgets.QLabel(self.layoutWidget)
        self.driver_arrow_label.setObjectName("driver_arrow_label")
        self.horizontalLayout_5.addWidget(self.driver_arrow_label)
        self.driver_rotator = QtWidgets.QComboBox(self.layoutWidget)
        self.driver_rotator.setObjectName("driver_rotator")
        self.horizontalLayout_5.addWidget(self.driver_rotator)
        self.verticalLayout_2.addLayout(self.horizontalLayout_5)
        self.driver_add = QtWidgets.QPushButton(self.layoutWidget)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/icons/motor.png"), QtGui.QIcon.Normal,
                        QtGui.QIcon.Off)
        self.driver_add.setIcon(icon7)
        self.driver_add.setObjectName("driver_add")
        self.verticalLayout_2.addWidget(self.driver_add)
        self.driver_label = QtWidgets.QLabel(self.layoutWidget)
        self.driver_label.setObjectName("driver_label")
        self.verticalLayout_2.addWidget(self.driver_label)
        self.driver_list = QtWidgets.QListWidget(self.layoutWidget)
        self.driver_list.setObjectName("driver_list")
        self.verticalLayout_2.addWidget(self.driver_list)
        self.driver_del = QtWidgets.QPushButton(self.layoutWidget)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/icons/delete.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.driver_del.setIcon(icon8)
        self.driver_del.setObjectName("driver_del")
        self.verticalLayout_2.addWidget(self.driver_del)
        self.horizontalLayout.addLayout(self.verticalLayout_2)
        self.verticalLayout_15 = QtWidgets.QVBoxLayout()
        self.verticalLayout_15.setObjectName("verticalLayout_15")
        self.grounded_label = QtWidgets.QLabel(self.layoutWidget)
        self.grounded_label.setObjectName("grounded_label")
        self.verticalLayout_15.addWidget(self.grounded_label)
        self.grounded_list = QtWidgets.QListWidget(self.layoutWidget)
        self.grounded_list.setObjectName("grounded_list")
        self.verticalLayout_15.addWidget(self.grounded_list)
        self.horizontalLayout.addLayout(self.verticalLayout_15)
        self.verticalLayout_5.addLayout(self.horizontalLayout)
        self.verticalLayout_4.addWidget(self.main_splitter)
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.expression_label = QtWidgets.QLabel(Form)
        self.expression_label.setObjectName("expression_label")
        self.verticalLayout.addWidget(self.expression_label)
        self.expr_show = QtWidgets.QLineEdit(Form)
        self.expr_show.setReadOnly(True)
        self.expr_show.setObjectName("expr_show")
        self.verticalLayout.addWidget(self.expr_show)
        self.verticalLayout_4.addLayout(self.verticalLayout)
        self.main_splitter.raise_()
        self.line.raise_()

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
Пример #5
0
    def setupUi(self, Dialog):
        Dialog.setObjectName("Dialog")
        Dialog.resize(333, 467)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/icons/link.png"), QtGui.QIcon.Normal,
                       QtGui.QIcon.Off)
        Dialog.setWindowIcon(icon)
        Dialog.setSizeGripEnabled(True)
        Dialog.setModal(True)
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout(Dialog)
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.verticalLayout = QtWidgets.QVBoxLayout()
        self.verticalLayout.setObjectName("verticalLayout")
        self.name_label = QtWidgets.QLabel(Dialog)
        self.name_label.setObjectName("name_label")
        self.verticalLayout.addWidget(self.name_label)
        self.name_box = QtWidgets.QComboBox(Dialog)
        self.name_box.setObjectName("name_box")
        self.verticalLayout.addWidget(self.name_box)
        self.name_edit = QtWidgets.QLineEdit(Dialog)
        self.name_edit.setObjectName("name_edit")
        self.verticalLayout.addWidget(self.name_edit)
        self.color_label = QtWidgets.QLabel(Dialog)
        self.color_label.setAlignment(QtCore.Qt.AlignLeading
                                      | QtCore.Qt.AlignLeft
                                      | QtCore.Qt.AlignTop)
        self.color_label.setObjectName("color_label")
        self.verticalLayout.addWidget(self.color_label)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.color_box = QtWidgets.QComboBox(Dialog)
        self.color_box.setObjectName("color_box")
        self.horizontalLayout_2.addWidget(self.color_box)
        self.color_pick_button = QtWidgets.QPushButton(Dialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.color_pick_button.sizePolicy().hasHeightForWidth())
        self.color_pick_button.setSizePolicy(sizePolicy)
        self.color_pick_button.setObjectName("color_pick_button")
        self.horizontalLayout_2.addWidget(self.color_pick_button)
        self.verticalLayout.addLayout(self.horizontalLayout_2)
        self.points_label = QtWidgets.QLabel(Dialog)
        self.points_label.setObjectName("points_label")
        self.verticalLayout.addWidget(self.points_label)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.noSelected = QtWidgets.QListWidget(Dialog)
        self.noSelected.setDragEnabled(True)
        self.noSelected.setDragDropMode(QtWidgets.QAbstractItemView.DragDrop)
        self.noSelected.setDefaultDropAction(QtCore.Qt.MoveAction)
        self.noSelected.setObjectName("noSelected")
        self.horizontalLayout.addWidget(self.noSelected)
        self.label = QtWidgets.QLabel(Dialog)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.selected = QtWidgets.QListWidget(Dialog)
        self.selected.setDragEnabled(True)
        self.selected.setDragDropMode(QtWidgets.QAbstractItemView.DragDrop)
        self.selected.setDefaultDropAction(QtCore.Qt.MoveAction)
        self.selected.setObjectName("selected")
        self.horizontalLayout.addWidget(self.selected)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.horizontalLayout_4.addLayout(self.verticalLayout)
        self.verticalLayout_2 = QtWidgets.QVBoxLayout()
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.button_box = QtWidgets.QDialogButtonBox(Dialog)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.button_box.sizePolicy().hasHeightForWidth())
        self.button_box.setSizePolicy(sizePolicy)
        self.button_box.setOrientation(QtCore.Qt.Vertical)
        self.button_box.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel
                                           | QtWidgets.QDialogButtonBox.Ok)
        self.button_box.setObjectName("button_box")
        self.verticalLayout_2.addWidget(self.button_box)
        spacerItem = QtWidgets.QSpacerItem(20, 40,
                                           QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout_2.addItem(spacerItem)
        self.horizontalLayout_4.addLayout(self.verticalLayout_2)

        self.retranslateUi(Dialog)
        self.button_box.accepted.connect(Dialog.accept)
        self.button_box.rejected.connect(Dialog.reject)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
Пример #6
0
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(430, 654)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/icons/number.png"), QtGui.QIcon.Normal,
                       QtGui.QIcon.Off)
        Form.setWindowIcon(icon)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_4.setObjectName("horizontalLayout_4")
        self.edges_label = QtWidgets.QLabel(Form)
        self.edges_label.setObjectName("edges_label")
        self.horizontalLayout_4.addWidget(self.edges_label)
        self.edges_text = QtWidgets.QLineEdit(Form)
        self.edges_text.setReadOnly(True)
        self.edges_text.setObjectName("edges_text")
        self.horizontalLayout_4.addWidget(self.edges_text)
        self.expr_copy = QtWidgets.QPushButton(Form)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/icons/copy.png"), QtGui.QIcon.Normal,
                        QtGui.QIcon.Off)
        self.expr_copy.setIcon(icon1)
        self.expr_copy.setObjectName("expr_copy")
        self.horizontalLayout_4.addWidget(self.expr_copy)
        self.expr_add_collection = QtWidgets.QPushButton(Form)
        self.expr_add_collection.setText("")
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/icons/collections.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.expr_add_collection.setIcon(icon2)
        self.expr_add_collection.setObjectName("expr_add_collection")
        self.horizontalLayout_4.addWidget(self.expr_add_collection)
        self.from_mechanism_button = QtWidgets.QPushButton(Form)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/icons/merge_from.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.from_mechanism_button.setIcon(icon3)
        self.from_mechanism_button.setAutoDefault(True)
        self.from_mechanism_button.setDefault(True)
        self.from_mechanism_button.setObjectName("from_mechanism_button")
        self.horizontalLayout_4.addWidget(self.from_mechanism_button)
        self.verticalLayout.addLayout(self.horizontalLayout_4)
        self.line = QtWidgets.QFrame(Form)
        self.line.setFrameShape(QtWidgets.QFrame.HLine)
        self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
        self.line.setObjectName("line")
        self.verticalLayout.addWidget(self.line)
        self.main_splitter = QtWidgets.QSplitter(Form)
        self.main_splitter.setOrientation(QtCore.Qt.Vertical)
        self.main_splitter.setObjectName("main_splitter")
        self.verticalLayoutWidget = QtWidgets.QWidget(self.main_splitter)
        self.verticalLayoutWidget.setObjectName("verticalLayoutWidget")
        self.verticalLayout_2 = QtWidgets.QVBoxLayout(
            self.verticalLayoutWidget)
        self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.gridLayout = QtWidgets.QGridLayout()
        self.gridLayout.setObjectName("gridLayout")
        self.nj_label = QtWidgets.QLabel(self.verticalLayoutWidget)
        self.nj_label.setObjectName("nj_label")
        self.gridLayout.addWidget(self.nj_label, 0, 1, 1, 1)
        self.nl_label = QtWidgets.QLabel(self.verticalLayoutWidget)
        self.nl_label.setObjectName("nl_label")
        self.gridLayout.addWidget(self.nl_label, 0, 0, 1, 1)
        self.nl_input = QtWidgets.QSpinBox(self.verticalLayoutWidget)
        self.nl_input.setMinimum(4)
        self.nl_input.setObjectName("nl_input")
        self.gridLayout.addWidget(self.nl_input, 2, 0, 1, 1)
        self.nj_input = QtWidgets.QSpinBox(self.verticalLayoutWidget)
        self.nj_input.setMinimum(4)
        self.nj_input.setObjectName("nj_input")
        self.gridLayout.addWidget(self.nj_input, 2, 1, 1, 1)
        self.dof_label = QtWidgets.QLabel(self.verticalLayoutWidget)
        self.dof_label.setObjectName("dof_label")
        self.gridLayout.addWidget(self.dof_label, 0, 2, 1, 1)
        self.dof = QtWidgets.QSpinBox(self.verticalLayoutWidget)
        self.dof.setEnabled(False)
        self.dof.setMinimum(-99)
        self.dof.setProperty("value", 1)
        self.dof.setObjectName("dof")
        self.gridLayout.addWidget(self.dof, 2, 2, 1, 1)
        self.keep_dof = QtWidgets.QCheckBox(self.verticalLayoutWidget)
        self.keep_dof.setChecked(True)
        self.keep_dof.setObjectName("keep_dof")
        self.gridLayout.addWidget(self.keep_dof, 0, 3, 1, 1)
        self.graph_degenerate = QtWidgets.QComboBox(self.verticalLayoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.graph_degenerate.sizePolicy().hasHeightForWidth())
        self.graph_degenerate.setSizePolicy(sizePolicy)
        self.graph_degenerate.setObjectName("graph_degenerate")
        self.graph_degenerate.addItem("")
        self.graph_degenerate.addItem("")
        self.graph_degenerate.addItem("")
        self.gridLayout.addWidget(self.graph_degenerate, 2, 3, 1, 1)
        self.verticalLayout_2.addLayout(self.gridLayout)
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.number_synthesis_button = QtWidgets.QPushButton(
            self.verticalLayoutWidget)
        self.number_synthesis_button.setAutoDefault(True)
        self.number_synthesis_button.setObjectName("number_synthesis_button")
        self.horizontalLayout_2.addWidget(self.number_synthesis_button)
        self.assortment_clear_button = QtWidgets.QPushButton(
            self.verticalLayoutWidget)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.assortment_clear_button.sizePolicy().hasHeightForWidth())
        self.assortment_clear_button.setSizePolicy(sizePolicy)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/icons/clean.png"), QtGui.QIcon.Normal,
                        QtGui.QIcon.Off)
        self.assortment_clear_button.setIcon(icon4)
        self.assortment_clear_button.setObjectName("assortment_clear_button")
        self.horizontalLayout_2.addWidget(self.assortment_clear_button)
        self.verticalLayout_2.addLayout(self.horizontalLayout_2)
        self.link_assortment_list = QtWidgets.QTreeWidget(
            self.verticalLayoutWidget)
        self.link_assortment_list.setEditTriggers(
            QtWidgets.QAbstractItemView.NoEditTriggers)
        self.link_assortment_list.setIndentation(10)
        self.link_assortment_list.setObjectName("link_assortment_list")
        self.verticalLayout_2.addWidget(self.link_assortment_list)
        self.verticalLayoutWidget_2 = QtWidgets.QWidget(self.main_splitter)
        self.verticalLayoutWidget_2.setObjectName("verticalLayoutWidget_2")
        self.verticalLayout_3 = QtWidgets.QVBoxLayout(
            self.verticalLayoutWidget_2)
        self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
        self.verticalLayout_3.setObjectName("verticalLayout_3")
        self.horizontalLayout_7 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_7.setObjectName("horizontalLayout_7")
        self.verticalLayout_3.addLayout(self.horizontalLayout_7)
        self.horizontalLayout = QtWidgets.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.graph_engine_text = QtWidgets.QLabel(self.verticalLayoutWidget_2)
        self.graph_engine_text.setObjectName("graph_engine_text")
        self.horizontalLayout.addWidget(self.graph_engine_text)
        self.graph_engine = QtWidgets.QComboBox(self.verticalLayoutWidget_2)
        self.graph_engine.setObjectName("graph_engine")
        self.horizontalLayout.addWidget(self.graph_engine)
        self.reload_atlas = QtWidgets.QPushButton(self.verticalLayoutWidget_2)
        self.reload_atlas.setText("")
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/icons/data_update.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.reload_atlas.setIcon(icon5)
        self.reload_atlas.setObjectName("reload_atlas")
        self.horizontalLayout.addWidget(self.reload_atlas)
        spacerItem = QtWidgets.QSpacerItem(40, 20,
                                           QtWidgets.QSizePolicy.Expanding,
                                           QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem)
        self.graph_link_as_node = QtWidgets.QCheckBox(
            self.verticalLayoutWidget_2)
        self.graph_link_as_node.setObjectName("graph_link_as_node")
        self.horizontalLayout.addWidget(self.graph_link_as_node)
        self.graph_show_label = QtWidgets.QCheckBox(
            self.verticalLayoutWidget_2)
        self.graph_show_label.setChecked(True)
        self.graph_show_label.setObjectName("graph_show_label")
        self.horizontalLayout.addWidget(self.graph_show_label)
        self.verticalLayout_3.addLayout(self.horizontalLayout)
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.structure_synthesis_all_button = QtWidgets.QPushButton(
            self.verticalLayoutWidget_2)
        self.structure_synthesis_all_button.setMaximumSize(
            QtCore.QSize(100, 16777215))
        self.structure_synthesis_all_button.setAutoDefault(True)
        self.structure_synthesis_all_button.setObjectName(
            "structure_synthesis_all_button")
        self.horizontalLayout_5.addWidget(self.structure_synthesis_all_button)
        self.structure_synthesis_button = QtWidgets.QPushButton(
            self.verticalLayoutWidget_2)
        self.structure_synthesis_button.setObjectName(
            "structure_synthesis_button")
        self.horizontalLayout_5.addWidget(self.structure_synthesis_button)
        self.structure_list_clear_button = QtWidgets.QPushButton(
            self.verticalLayoutWidget_2)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed,
                                           QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(
            self.structure_list_clear_button.sizePolicy().hasHeightForWidth())
        self.structure_list_clear_button.setSizePolicy(sizePolicy)
        self.structure_list_clear_button.setIcon(icon4)
        self.structure_list_clear_button.setObjectName(
            "structure_list_clear_button")
        self.horizontalLayout_5.addWidget(self.structure_list_clear_button)
        self.verticalLayout_3.addLayout(self.horizontalLayout_5)
        self.structure_list = QtWidgets.QListWidget(
            self.verticalLayoutWidget_2)
        self.structure_list.setContextMenuPolicy(QtCore.Qt.CustomContextMenu)
        self.structure_list.setIconSize(QtCore.QSize(200, 200))
        self.structure_list.setResizeMode(QtWidgets.QListView.Adjust)
        self.structure_list.setViewMode(QtWidgets.QListView.IconMode)
        self.structure_list.setUniformItemSizes(True)
        self.structure_list.setObjectName("structure_list")
        self.verticalLayout_3.addWidget(self.structure_list)
        self.horizontalLayout_6 = QtWidgets.QHBoxLayout()
        self.horizontalLayout_6.setObjectName("horizontalLayout_6")
        self.time_title_label = QtWidgets.QLabel(self.verticalLayoutWidget_2)
        self.time_title_label.setObjectName("time_title_label")
        self.horizontalLayout_6.addWidget(self.time_title_label)
        self.time_label = QtWidgets.QLabel(self.verticalLayoutWidget_2)
        self.time_label.setObjectName("time_label")
        self.horizontalLayout_6.addWidget(self.time_label)
        self.paint_time_title_label = QtWidgets.QLabel(
            self.verticalLayoutWidget_2)
        self.paint_time_title_label.setObjectName("paint_time_title_label")
        self.horizontalLayout_6.addWidget(self.paint_time_title_label)
        self.paint_time_label = QtWidgets.QLabel(self.verticalLayoutWidget_2)
        self.paint_time_label.setObjectName("paint_time_label")
        self.horizontalLayout_6.addWidget(self.paint_time_label)
        spacerItem1 = QtWidgets.QSpacerItem(40, 20,
                                            QtWidgets.QSizePolicy.Expanding,
                                            QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_6.addItem(spacerItem1)
        self.save_atlas = QtWidgets.QPushButton(self.verticalLayoutWidget_2)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/icons/picture.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.save_atlas.setIcon(icon6)
        self.save_atlas.setObjectName("save_atlas")
        self.horizontalLayout_6.addWidget(self.save_atlas)
        self.save_edges = QtWidgets.QPushButton(self.verticalLayoutWidget_2)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/icons/save_file.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.save_edges.setIcon(icon7)
        self.save_edges.setObjectName("save_edges")
        self.horizontalLayout_6.addWidget(self.save_edges)
        self.edges2atlas_button = QtWidgets.QPushButton(
            self.verticalLayoutWidget_2)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/icons/edges_to_atlas.png"),
                        QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.edges2atlas_button.setIcon(icon8)
        self.edges2atlas_button.setIconSize(QtCore.QSize(40, 16))
        self.edges2atlas_button.setObjectName("edges2atlas_button")
        self.horizontalLayout_6.addWidget(self.edges2atlas_button)
        self.verticalLayout_3.addLayout(self.horizontalLayout_6)
        self.verticalLayout.addWidget(self.main_splitter)

        self.retranslateUi(Form)
        self.graph_degenerate.setCurrentIndex(1)
        self.graph_engine.setCurrentIndex(-1)
        QtCore.QMetaObject.connectSlotsByName(Form)