def setupUi(self, ComfirmSelection):
        ComfirmSelection.setObjectName(_fromUtf8("ComfirmSelection"))
        ComfirmSelection.resize(621, 270)
        self.verticalLayout_2 = QtGui.QVBoxLayout(ComfirmSelection)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.label_2 = QtGui.QLabel(ComfirmSelection)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout_2.addWidget(self.label_2)
        self.uSadListView = DictionaryListView(ComfirmSelection)
        self.uSadListView.setSelectionMode(
            QtGui.QAbstractItemView.MultiSelection)
        self.uSadListView.setObjectName(_fromUtf8("uSadListView"))
        self.verticalLayout_2.addWidget(self.uSadListView)
        self.buttonBox = QtGui.QDialogButtonBox(ComfirmSelection)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout_2.addWidget(self.buttonBox)

        self.retranslateUi(ComfirmSelection)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               ComfirmSelection.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               ComfirmSelection.reject)
        QtCore.QMetaObject.connectSlotsByName(ComfirmSelection)
Example #2
0
    def setupUi(self, LineageDialog):
        LineageDialog.setObjectName(_fromUtf8("LineageDialog"))
        LineageDialog.resize(621, 368)
        self.verticalLayout = QtGui.QVBoxLayout(LineageDialog)
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_2 = QtGui.QLabel(LineageDialog)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout.addWidget(self.label_2)
        self.uSadListView = DictionaryListView(LineageDialog)
        self.uSadListView.setObjectName(_fromUtf8("uSadListView"))
        self.verticalLayout.addWidget(self.uSadListView)
        self.label = QtGui.QLabel(LineageDialog)
        self.label.setObjectName(_fromUtf8("label"))
        self.verticalLayout.addWidget(self.label)
        self.uGroupDescription = QtGui.QTextEdit(LineageDialog)
        self.uGroupDescription.setEnabled(True)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding,
                                       QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(20)
        sizePolicy.setHeightForWidth(
            self.uGroupDescription.sizePolicy().hasHeightForWidth())
        self.uGroupDescription.setSizePolicy(sizePolicy)
        self.uGroupDescription.setMaximumSize(QtCore.QSize(16777215, 60))
        self.uGroupDescription.setObjectName(_fromUtf8("uGroupDescription"))
        self.verticalLayout.addWidget(self.uGroupDescription)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.label_3 = QtGui.QLabel(LineageDialog)
        self.label_3.setObjectName(_fromUtf8("label_3"))
        self.horizontalLayout.addWidget(self.label_3)
        self.uGroupId = QtGui.QLineEdit(LineageDialog)
        self.uGroupId.setObjectName(_fromUtf8("uGroupId"))
        self.horizontalLayout.addWidget(self.uGroupId)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.buttonBox = QtGui.QDialogButtonBox(LineageDialog)
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel
                                          | QtGui.QDialogButtonBox.Ok)
        self.buttonBox.setObjectName(_fromUtf8("buttonBox"))
        self.verticalLayout.addWidget(self.buttonBox)

        self.retranslateUi(LineageDialog)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("accepted()")),
                               LineageDialog.accept)
        QtCore.QObject.connect(self.buttonBox,
                               QtCore.SIGNAL(_fromUtf8("rejected()")),
                               LineageDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(LineageDialog)