Exemplo n.º 1
0
class Ui_VerbConjugation(object):
    def setupUi(self, VerbConjugation):
        VerbConjugation.setObjectName("VerbConjugation")
        VerbConjugation.resize(800, 600)
        font = QtGui.QFont()
        font.setPointSize(16)
        VerbConjugation.setFont(font)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        VerbConjugation.setWindowIcon(icon)
        self.titleLbl = QtWidgets.QLabel(VerbConjugation)
        self.titleLbl.setGeometry(QtCore.QRect(10, 10, 780, 30))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.titleLbl.setFont(font)
        self.titleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLbl.setObjectName("titleLbl")
        self.firstLbl = QtWidgets.QLabel(VerbConjugation)
        self.firstLbl.setGeometry(QtCore.QRect(50, 80, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.firstLbl.setFont(font)
        self.firstLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.firstLbl.setObjectName("firstLbl")
        self.secondLbl = QtWidgets.QLabel(VerbConjugation)
        self.secondLbl.setGeometry(QtCore.QRect(420, 80, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.secondLbl.setFont(font)
        self.secondLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.secondLbl.setObjectName("secondLbl")
        self.thirdLbl = QtWidgets.QLabel(VerbConjugation)
        self.thirdLbl.setGeometry(QtCore.QRect(50, 130, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.thirdLbl.setFont(font)
        self.thirdLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdLbl.setObjectName("thirdLbl")
        self.firstpLbl = QtWidgets.QLabel(VerbConjugation)
        self.firstpLbl.setGeometry(QtCore.QRect(420, 130, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.firstpLbl.setFont(font)
        self.firstpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.firstpLbl.setObjectName("firstpLbl")
        self.thirdpLbl = QtWidgets.QLabel(VerbConjugation)
        self.thirdpLbl.setGeometry(QtCore.QRect(50, 180, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.thirdpLbl.setFont(font)
        self.thirdpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdpLbl.setObjectName("thirdpLbl")
        self.cancelBttn = QtWidgets.QPushButton(VerbConjugation)
        self.cancelBttn.setGeometry(QtCore.QRect(90, 530, 150, 50))
        self.cancelBttn.setObjectName("cancelBttn")
        self.acceptBttn = QtWidgets.QPushButton(VerbConjugation)
        self.acceptBttn.setGeometry(QtCore.QRect(560, 530, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.thirdpEditru = LineEditRU(VerbConjugation)
        self.thirdpEditru.setGeometry(QtCore.QRect(420, 490, 330, 30))
        self.thirdpEditru.setText("")
        self.thirdpEditru.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdpEditru.setObjectName("thirdpEditru")
        self.secondLblru = QtWidgets.QLabel(VerbConjugation)
        self.secondLblru.setGeometry(QtCore.QRect(420, 370, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.secondLblru.setFont(font)
        self.secondLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.secondLblru.setObjectName("secondLblru")
        self.thirdpLblru = QtWidgets.QLabel(VerbConjugation)
        self.thirdpLblru.setGeometry(QtCore.QRect(420, 470, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.thirdpLblru.setFont(font)
        self.thirdpLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdpLblru.setObjectName("thirdpLblru")
        self.firstLblru = QtWidgets.QLabel(VerbConjugation)
        self.firstLblru.setGeometry(QtCore.QRect(50, 370, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.firstLblru.setFont(font)
        self.firstLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.firstLblru.setObjectName("firstLblru")
        self.thirdLblru = QtWidgets.QLabel(VerbConjugation)
        self.thirdLblru.setGeometry(QtCore.QRect(50, 420, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.thirdLblru.setFont(font)
        self.thirdLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdLblru.setObjectName("thirdLblru")
        self.firstpLblru = QtWidgets.QLabel(VerbConjugation)
        self.firstpLblru.setGeometry(QtCore.QRect(420, 420, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.firstpLblru.setFont(font)
        self.firstpLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.firstpLblru.setObjectName("firstpLblru")
        self.secondEditru = LineEditRU(VerbConjugation)
        self.secondEditru.setGeometry(QtCore.QRect(420, 390, 330, 30))
        self.secondEditru.setAlignment(QtCore.Qt.AlignCenter)
        self.secondEditru.setObjectName("secondEditru")
        self.firstpEditru = LineEditRU(VerbConjugation)
        self.firstpEditru.setGeometry(QtCore.QRect(420, 440, 330, 30))
        self.firstpEditru.setText("")
        self.firstpEditru.setAlignment(QtCore.Qt.AlignCenter)
        self.firstpEditru.setObjectName("firstpEditru")
        self.thirdEditru = LineEditRU(VerbConjugation)
        self.thirdEditru.setGeometry(QtCore.QRect(50, 440, 330, 30))
        self.thirdEditru.setText("")
        self.thirdEditru.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdEditru.setObjectName("thirdEditru")
        self.firstEditru = LineEditRU(VerbConjugation)
        self.firstEditru.setGeometry(QtCore.QRect(50, 390, 330, 30))
        self.firstEditru.setAlignment(QtCore.Qt.AlignCenter)
        self.firstEditru.setObjectName("firstEditru")
        self.titleLblru = QtWidgets.QLabel(VerbConjugation)
        self.titleLblru.setGeometry(QtCore.QRect(0, 240, 780, 40))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.titleLblru.setFont(font)
        self.titleLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLblru.setObjectName("titleLblru")
        self.secondpLblru = QtWidgets.QLabel(VerbConjugation)
        self.secondpLblru.setGeometry(QtCore.QRect(50, 470, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.secondpLblru.setFont(font)
        self.secondpLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.secondpLblru.setObjectName("secondpLblru")
        self.secondpEditru = LineEditRU(VerbConjugation)
        self.secondpEditru.setGeometry(QtCore.QRect(50, 490, 330, 30))
        self.secondpEditru.setText("")
        self.secondpEditru.setAlignment(QtCore.Qt.AlignCenter)
        self.secondpEditru.setObjectName("secondpEditru")
        self.conjBttn = QtWidgets.QPushButton(VerbConjugation)
        self.conjBttn.setGeometry(QtCore.QRect(300, 530, 180, 50))
        self.conjBttn.setObjectName("conjBttn")
        self.stemLbl = QtWidgets.QLabel(VerbConjugation)
        self.stemLbl.setGeometry(QtCore.QRect(120, 340, 200, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.stemLbl.setFont(font)
        self.stemLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.stemEdit = LineEditRU(VerbConjugation)
        self.stemEdit.setGeometry(QtCore.QRect(350, 340, 330, 30))
        self.stemEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.stemEdit.setObjectName("stemEdit")
        self.caseLbl = QtWidgets.QLabel(VerbConjugation)
        self.caseLbl.setGeometry(QtCore.QRect(120, 310, 200, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.caseLbl.setFont(font)
        self.caseLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.caseLbl.setObjectName("caseLbl")
        self.caseBox = QtWidgets.QComboBox(VerbConjugation)
        self.caseBox.setGeometry(QtCore.QRect(350, 310, 330, 34))
        self.caseBox.setObjectName("caseBox")
        self.helpBttn = QtWidgets.QPushButton(VerbConjugation)
        self.helpBttn.setGeometry(QtCore.QRect(640, 0, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.firstEdit = LineEditEN(VerbConjugation)
        self.firstEdit.setGeometry(QtCore.QRect(50, 100, 330, 30))
        self.firstEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.firstEdit.setObjectName("firstEdit")
        self.secondEdit = LineEditEN(VerbConjugation)
        self.secondEdit.setGeometry(QtCore.QRect(410, 100, 330, 30))
        self.secondEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.secondEdit.setObjectName("secondEdit")
        self.thirdEdit = LineEditEN(VerbConjugation)
        self.thirdEdit.setGeometry(QtCore.QRect(50, 150, 330, 30))
        self.thirdEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdEdit.setObjectName("thirdEdit")
        self.firstpEdit = LineEditEN(VerbConjugation)
        self.firstpEdit.setGeometry(QtCore.QRect(410, 150, 330, 30))
        self.firstpEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.firstpEdit.setObjectName("firstpEdit")
        self.thirdpEdit = LineEditEN(VerbConjugation)
        self.thirdpEdit.setGeometry(QtCore.QRect(50, 200, 330, 30))
        self.thirdpEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdpEdit.setObjectName("thirdpEdit")
        self.ruVerbEdit = LineEditRU(VerbConjugation)
        self.ruVerbEdit.setGeometry(QtCore.QRect(350, 280, 330, 30))
        self.ruVerbEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.ruVerbEdit.setObjectName("ruVerbEdit")
        self.ruVerbLbl = QtWidgets.QLabel(VerbConjugation)
        self.ruVerbLbl.setGeometry(QtCore.QRect(120, 280, 200, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.ruVerbLbl.setFont(font)
        self.ruVerbLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.ruVerbLbl.setObjectName("ruVerbLbl")
        self.enVerbLbl = QtWidgets.QLabel(VerbConjugation)
        self.enVerbLbl.setGeometry(QtCore.QRect(200, 50, 170, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.enVerbLbl.setFont(font)
        self.enVerbLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.enVerbLbl.setObjectName("enVerbLbl")
        self.enVerbEdit = LineEditEN(VerbConjugation)
        self.enVerbEdit.setGeometry(QtCore.QRect(410, 50, 330, 30))
        self.enVerbEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.enVerbEdit.setObjectName("enVerbEdit")
        self.recBttn = QtWidgets.QPushButton(VerbConjugation)
        self.recBttn.setGeometry(QtCore.QRect(630, 190, 150, 50))
        self.recBttn.setObjectName("recBttn")
        self.recLbl = QtWidgets.QLabel(VerbConjugation)
        self.recLbl.setGeometry(QtCore.QRect(420, 190, 200, 50))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.recLbl.setFont(font)
        self.recLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.recLbl.setObjectName("recLbl")
        self.selfCheck = QtWidgets.QCheckBox(VerbConjugation)
        self.selfCheck.setGeometry(QtCore.QRect(50, 50, 130, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.selfCheck.setFont(font)
        self.selfCheck.setObjectName("selfCheck")

        self.retranslateUi(VerbConjugation)
        QtCore.QMetaObject.connectSlotsByName(VerbConjugation)
        VerbConjugation.setTabOrder(self.helpBttn, self.selfCheck)
        VerbConjugation.setTabOrder(self.selfCheck, self.enVerbEdit)
        VerbConjugation.setTabOrder(self.enVerbEdit, self.firstEdit)
        VerbConjugation.setTabOrder(self.firstEdit, self.secondEdit)
        VerbConjugation.setTabOrder(self.secondEdit, self.thirdEdit)
        VerbConjugation.setTabOrder(self.thirdEdit, self.firstpEdit)
        VerbConjugation.setTabOrder(self.firstpEdit, self.thirdpEdit)
        VerbConjugation.setTabOrder(self.thirdpEdit, self.recBttn)
        VerbConjugation.setTabOrder(self.recBttn, self.ruVerbEdit)
        VerbConjugation.setTabOrder(self.ruVerbEdit, self.caseBox)
        VerbConjugation.setTabOrder(self.caseBox, self.stemEdit)
        VerbConjugation.setTabOrder(self.stemEdit, self.firstEditru)
        VerbConjugation.setTabOrder(self.firstEditru, self.secondEditru)
        VerbConjugation.setTabOrder(self.secondEditru, self.thirdEditru)
        VerbConjugation.setTabOrder(self.thirdEditru, self.firstpEditru)
        VerbConjugation.setTabOrder(self.firstpEditru, self.secondpEditru)
        VerbConjugation.setTabOrder(self.secondpEditru, self.thirdpEditru)
        VerbConjugation.setTabOrder(self.thirdpEditru, self.cancelBttn)
        VerbConjugation.setTabOrder(self.cancelBttn, self.conjBttn)
        VerbConjugation.setTabOrder(self.conjBttn, self.acceptBttn)

    def retranslateUi(self, VerbConjugation):
        _translate = QtCore.QCoreApplication.translate
        VerbConjugation.setWindowTitle(
            _translate("VerbConjugation", "Verb Conjugation"))
        self.titleLbl.setText(
            _translate("VerbConjugation", "English Verb Conjugation for "))
        self.firstLbl.setText(
            _translate("VerbConjugation", "First Person -- I"))
        self.secondLbl.setText(
            _translate("VerbConjugation", "Second Person -- You"))
        self.thirdLbl.setText(
            _translate("VerbConjugation", "Third Person -- He She It"))
        self.firstpLbl.setText(
            _translate("VerbConjugation", "First Person Plural -- We"))
        self.thirdpLbl.setText(
            _translate("VerbConjugation", "Third Person Plural -- They"))
        self.cancelBttn.setText(_translate("VerbConjugation", "Cancel"))
        self.acceptBttn.setText(_translate("VerbConjugation", "Accept"))
        self.secondLblru.setText(
            _translate("VerbConjugation", "Second Person -- Ты"))
        self.thirdpLblru.setText(
            _translate("VerbConjugation", "Third Person Plural -- Они"))
        self.firstLblru.setText(
            _translate("VerbConjugation", "First Person -- Я"))
        self.thirdLblru.setText(
            _translate("VerbConjugation", "Third Person -- Он Она Оно"))
        self.firstpLblru.setText(
            _translate("VerbConjugation", "First Person Plural -- Мы"))
        self.titleLblru.setText(
            _translate("VerbConjugation", "Russian Verb Conjugation for "))
        self.secondpLblru.setText(
            _translate("VerbConjugation", "Second Person Plural -- Вы"))
        self.conjBttn.setText(_translate("VerbConjugation", "Conjugations"))
        self.stemLbl.setText(_translate("VerbConjugation", "Verb Stem"))
        self.caseLbl.setText(_translate("VerbConjugation", "Verb Case"))
        self.helpBttn.setText(_translate("VerbConjugation", "Help"))
        self.ruVerbLbl.setText(_translate("VerbConjugation", "Russian Verb"))
        self.enVerbLbl.setText(_translate("VerbConjugation", "English Verb"))
        self.recBttn.setText(_translate("VerbConjugation", "Recalculate"))
        self.recLbl.setText(
            _translate(
                "VerbConjugation",
                "<html><head/><body>Erases all saved<br>verbal values</body></html>"
            ))
        self.selfCheck.setText(_translate("VerbConjugation", "Oneself"))
Exemplo n.º 2
0
    def setupUi(self, VerbConjugation):
        VerbConjugation.setObjectName("VerbConjugation")
        VerbConjugation.resize(800, 600)
        font = QtGui.QFont()
        font.setPointSize(16)
        VerbConjugation.setFont(font)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        VerbConjugation.setWindowIcon(icon)
        self.titleLbl = QtWidgets.QLabel(VerbConjugation)
        self.titleLbl.setGeometry(QtCore.QRect(10, 10, 780, 30))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.titleLbl.setFont(font)
        self.titleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLbl.setObjectName("titleLbl")
        self.firstLbl = QtWidgets.QLabel(VerbConjugation)
        self.firstLbl.setGeometry(QtCore.QRect(50, 80, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.firstLbl.setFont(font)
        self.firstLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.firstLbl.setObjectName("firstLbl")
        self.secondLbl = QtWidgets.QLabel(VerbConjugation)
        self.secondLbl.setGeometry(QtCore.QRect(420, 80, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.secondLbl.setFont(font)
        self.secondLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.secondLbl.setObjectName("secondLbl")
        self.thirdLbl = QtWidgets.QLabel(VerbConjugation)
        self.thirdLbl.setGeometry(QtCore.QRect(50, 130, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.thirdLbl.setFont(font)
        self.thirdLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdLbl.setObjectName("thirdLbl")
        self.firstpLbl = QtWidgets.QLabel(VerbConjugation)
        self.firstpLbl.setGeometry(QtCore.QRect(420, 130, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.firstpLbl.setFont(font)
        self.firstpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.firstpLbl.setObjectName("firstpLbl")
        self.thirdpLbl = QtWidgets.QLabel(VerbConjugation)
        self.thirdpLbl.setGeometry(QtCore.QRect(50, 180, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.thirdpLbl.setFont(font)
        self.thirdpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdpLbl.setObjectName("thirdpLbl")
        self.cancelBttn = QtWidgets.QPushButton(VerbConjugation)
        self.cancelBttn.setGeometry(QtCore.QRect(90, 530, 150, 50))
        self.cancelBttn.setObjectName("cancelBttn")
        self.acceptBttn = QtWidgets.QPushButton(VerbConjugation)
        self.acceptBttn.setGeometry(QtCore.QRect(560, 530, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.thirdpEditru = LineEditRU(VerbConjugation)
        self.thirdpEditru.setGeometry(QtCore.QRect(420, 490, 330, 30))
        self.thirdpEditru.setText("")
        self.thirdpEditru.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdpEditru.setObjectName("thirdpEditru")
        self.secondLblru = QtWidgets.QLabel(VerbConjugation)
        self.secondLblru.setGeometry(QtCore.QRect(420, 370, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.secondLblru.setFont(font)
        self.secondLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.secondLblru.setObjectName("secondLblru")
        self.thirdpLblru = QtWidgets.QLabel(VerbConjugation)
        self.thirdpLblru.setGeometry(QtCore.QRect(420, 470, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.thirdpLblru.setFont(font)
        self.thirdpLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdpLblru.setObjectName("thirdpLblru")
        self.firstLblru = QtWidgets.QLabel(VerbConjugation)
        self.firstLblru.setGeometry(QtCore.QRect(50, 370, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.firstLblru.setFont(font)
        self.firstLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.firstLblru.setObjectName("firstLblru")
        self.thirdLblru = QtWidgets.QLabel(VerbConjugation)
        self.thirdLblru.setGeometry(QtCore.QRect(50, 420, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.thirdLblru.setFont(font)
        self.thirdLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdLblru.setObjectName("thirdLblru")
        self.firstpLblru = QtWidgets.QLabel(VerbConjugation)
        self.firstpLblru.setGeometry(QtCore.QRect(420, 420, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.firstpLblru.setFont(font)
        self.firstpLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.firstpLblru.setObjectName("firstpLblru")
        self.secondEditru = LineEditRU(VerbConjugation)
        self.secondEditru.setGeometry(QtCore.QRect(420, 390, 330, 30))
        self.secondEditru.setAlignment(QtCore.Qt.AlignCenter)
        self.secondEditru.setObjectName("secondEditru")
        self.firstpEditru = LineEditRU(VerbConjugation)
        self.firstpEditru.setGeometry(QtCore.QRect(420, 440, 330, 30))
        self.firstpEditru.setText("")
        self.firstpEditru.setAlignment(QtCore.Qt.AlignCenter)
        self.firstpEditru.setObjectName("firstpEditru")
        self.thirdEditru = LineEditRU(VerbConjugation)
        self.thirdEditru.setGeometry(QtCore.QRect(50, 440, 330, 30))
        self.thirdEditru.setText("")
        self.thirdEditru.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdEditru.setObjectName("thirdEditru")
        self.firstEditru = LineEditRU(VerbConjugation)
        self.firstEditru.setGeometry(QtCore.QRect(50, 390, 330, 30))
        self.firstEditru.setAlignment(QtCore.Qt.AlignCenter)
        self.firstEditru.setObjectName("firstEditru")
        self.titleLblru = QtWidgets.QLabel(VerbConjugation)
        self.titleLblru.setGeometry(QtCore.QRect(0, 240, 780, 40))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.titleLblru.setFont(font)
        self.titleLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLblru.setObjectName("titleLblru")
        self.secondpLblru = QtWidgets.QLabel(VerbConjugation)
        self.secondpLblru.setGeometry(QtCore.QRect(50, 470, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.secondpLblru.setFont(font)
        self.secondpLblru.setAlignment(QtCore.Qt.AlignCenter)
        self.secondpLblru.setObjectName("secondpLblru")
        self.secondpEditru = LineEditRU(VerbConjugation)
        self.secondpEditru.setGeometry(QtCore.QRect(50, 490, 330, 30))
        self.secondpEditru.setText("")
        self.secondpEditru.setAlignment(QtCore.Qt.AlignCenter)
        self.secondpEditru.setObjectName("secondpEditru")
        self.conjBttn = QtWidgets.QPushButton(VerbConjugation)
        self.conjBttn.setGeometry(QtCore.QRect(300, 530, 180, 50))
        self.conjBttn.setObjectName("conjBttn")
        self.stemLbl = QtWidgets.QLabel(VerbConjugation)
        self.stemLbl.setGeometry(QtCore.QRect(120, 340, 200, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.stemLbl.setFont(font)
        self.stemLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.stemEdit = LineEditRU(VerbConjugation)
        self.stemEdit.setGeometry(QtCore.QRect(350, 340, 330, 30))
        self.stemEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.stemEdit.setObjectName("stemEdit")
        self.caseLbl = QtWidgets.QLabel(VerbConjugation)
        self.caseLbl.setGeometry(QtCore.QRect(120, 310, 200, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.caseLbl.setFont(font)
        self.caseLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.caseLbl.setObjectName("caseLbl")
        self.caseBox = QtWidgets.QComboBox(VerbConjugation)
        self.caseBox.setGeometry(QtCore.QRect(350, 310, 330, 34))
        self.caseBox.setObjectName("caseBox")
        self.helpBttn = QtWidgets.QPushButton(VerbConjugation)
        self.helpBttn.setGeometry(QtCore.QRect(640, 0, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.firstEdit = LineEditEN(VerbConjugation)
        self.firstEdit.setGeometry(QtCore.QRect(50, 100, 330, 30))
        self.firstEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.firstEdit.setObjectName("firstEdit")
        self.secondEdit = LineEditEN(VerbConjugation)
        self.secondEdit.setGeometry(QtCore.QRect(410, 100, 330, 30))
        self.secondEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.secondEdit.setObjectName("secondEdit")
        self.thirdEdit = LineEditEN(VerbConjugation)
        self.thirdEdit.setGeometry(QtCore.QRect(50, 150, 330, 30))
        self.thirdEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdEdit.setObjectName("thirdEdit")
        self.firstpEdit = LineEditEN(VerbConjugation)
        self.firstpEdit.setGeometry(QtCore.QRect(410, 150, 330, 30))
        self.firstpEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.firstpEdit.setObjectName("firstpEdit")
        self.thirdpEdit = LineEditEN(VerbConjugation)
        self.thirdpEdit.setGeometry(QtCore.QRect(50, 200, 330, 30))
        self.thirdpEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.thirdpEdit.setObjectName("thirdpEdit")
        self.ruVerbEdit = LineEditRU(VerbConjugation)
        self.ruVerbEdit.setGeometry(QtCore.QRect(350, 280, 330, 30))
        self.ruVerbEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.ruVerbEdit.setObjectName("ruVerbEdit")
        self.ruVerbLbl = QtWidgets.QLabel(VerbConjugation)
        self.ruVerbLbl.setGeometry(QtCore.QRect(120, 280, 200, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.ruVerbLbl.setFont(font)
        self.ruVerbLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.ruVerbLbl.setObjectName("ruVerbLbl")
        self.enVerbLbl = QtWidgets.QLabel(VerbConjugation)
        self.enVerbLbl.setGeometry(QtCore.QRect(200, 50, 170, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.enVerbLbl.setFont(font)
        self.enVerbLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.enVerbLbl.setObjectName("enVerbLbl")
        self.enVerbEdit = LineEditEN(VerbConjugation)
        self.enVerbEdit.setGeometry(QtCore.QRect(410, 50, 330, 30))
        self.enVerbEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.enVerbEdit.setObjectName("enVerbEdit")
        self.recBttn = QtWidgets.QPushButton(VerbConjugation)
        self.recBttn.setGeometry(QtCore.QRect(630, 190, 150, 50))
        self.recBttn.setObjectName("recBttn")
        self.recLbl = QtWidgets.QLabel(VerbConjugation)
        self.recLbl.setGeometry(QtCore.QRect(420, 190, 200, 50))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.recLbl.setFont(font)
        self.recLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.recLbl.setObjectName("recLbl")
        self.selfCheck = QtWidgets.QCheckBox(VerbConjugation)
        self.selfCheck.setGeometry(QtCore.QRect(50, 50, 130, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.selfCheck.setFont(font)
        self.selfCheck.setObjectName("selfCheck")

        self.retranslateUi(VerbConjugation)
        QtCore.QMetaObject.connectSlotsByName(VerbConjugation)
        VerbConjugation.setTabOrder(self.helpBttn, self.selfCheck)
        VerbConjugation.setTabOrder(self.selfCheck, self.enVerbEdit)
        VerbConjugation.setTabOrder(self.enVerbEdit, self.firstEdit)
        VerbConjugation.setTabOrder(self.firstEdit, self.secondEdit)
        VerbConjugation.setTabOrder(self.secondEdit, self.thirdEdit)
        VerbConjugation.setTabOrder(self.thirdEdit, self.firstpEdit)
        VerbConjugation.setTabOrder(self.firstpEdit, self.thirdpEdit)
        VerbConjugation.setTabOrder(self.thirdpEdit, self.recBttn)
        VerbConjugation.setTabOrder(self.recBttn, self.ruVerbEdit)
        VerbConjugation.setTabOrder(self.ruVerbEdit, self.caseBox)
        VerbConjugation.setTabOrder(self.caseBox, self.stemEdit)
        VerbConjugation.setTabOrder(self.stemEdit, self.firstEditru)
        VerbConjugation.setTabOrder(self.firstEditru, self.secondEditru)
        VerbConjugation.setTabOrder(self.secondEditru, self.thirdEditru)
        VerbConjugation.setTabOrder(self.thirdEditru, self.firstpEditru)
        VerbConjugation.setTabOrder(self.firstpEditru, self.secondpEditru)
        VerbConjugation.setTabOrder(self.secondpEditru, self.thirdpEditru)
        VerbConjugation.setTabOrder(self.thirdpEditru, self.cancelBttn)
        VerbConjugation.setTabOrder(self.cancelBttn, self.conjBttn)
        VerbConjugation.setTabOrder(self.conjBttn, self.acceptBttn)
Exemplo n.º 3
0
    def setupUi(self, DeclEntry):
        DeclEntry.setObjectName("DeclEntry")
        DeclEntry.resize(800, 600)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        DeclEntry.setWindowIcon(icon)
        self.titleLbl = QtWidgets.QLabel(DeclEntry)
        self.titleLbl.setGeometry(QtCore.QRect(10, 20, 780, 30))
        font = QtGui.QFont()
        font.setPointSize(18)
        font.setBold(True)
        font.setWeight(75)
        self.titleLbl.setFont(font)
        self.titleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLbl.setObjectName("titleLbl")
        self.nomEdit = LineEditRU(DeclEntry)
        self.nomEdit.setGeometry(QtCore.QRect(30, 350, 340, 30))
        self.nomEdit.setObjectName("nomEdit")
        self.nomLbl = QtWidgets.QLabel(DeclEntry)
        self.nomLbl.setGeometry(QtCore.QRect(30, 320, 340, 25))
        self.nomLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.nomLbl.setObjectName("nomLbl")
        self.genLbl = QtWidgets.QLabel(DeclEntry)
        self.genLbl.setGeometry(QtCore.QRect(30, 390, 340, 25))
        self.genLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.genLbl.setObjectName("genLbl")
        self.genEdit = LineEditRU(DeclEntry)
        self.genEdit.setGeometry(QtCore.QRect(30, 420, 340, 30))
        self.genEdit.setObjectName("genEdit")
        self.insLbl = QtWidgets.QLabel(DeclEntry)
        self.insLbl.setGeometry(QtCore.QRect(30, 460, 340, 25))
        self.insLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.insLbl.setObjectName("insLbl")
        self.insEdit = LineEditRU(DeclEntry)
        self.insEdit.setGeometry(QtCore.QRect(30, 490, 340, 30))
        self.insEdit.setObjectName("insEdit")
        self.accLbl = QtWidgets.QLabel(DeclEntry)
        self.accLbl.setGeometry(QtCore.QRect(430, 320, 340, 25))
        self.accLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.accLbl.setObjectName("accLbl")
        self.accEdit = LineEditRU(DeclEntry)
        self.accEdit.setGeometry(QtCore.QRect(430, 350, 340, 30))
        self.accEdit.setObjectName("accEdit")
        self.datLbl = QtWidgets.QLabel(DeclEntry)
        self.datLbl.setGeometry(QtCore.QRect(430, 390, 340, 25))
        self.datLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.datLbl.setObjectName("datLbl")
        self.datEdit = LineEditRU(DeclEntry)
        self.datEdit.setGeometry(QtCore.QRect(430, 420, 340, 30))
        self.datEdit.setObjectName("datEdit")
        self.prpLbl = QtWidgets.QLabel(DeclEntry)
        self.prpLbl.setGeometry(QtCore.QRect(430, 460, 340, 25))
        self.prpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.prpLbl.setObjectName("prpLbl")
        self.prpEdit = LineEditRU(DeclEntry)
        self.prpEdit.setGeometry(QtCore.QRect(430, 490, 340, 30))
        self.prpEdit.setObjectName("prpEdit")
        self.rejectBttn = QtWidgets.QPushButton(DeclEntry)
        self.rejectBttn.setGeometry(QtCore.QRect(130, 530, 150, 50))
        self.rejectBttn.setObjectName("rejectBttn")
        self.acceptBttn = QtWidgets.QPushButton(DeclEntry)
        self.acceptBttn.setGeometry(QtCore.QRect(550, 530, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.tableView = QtWidgets.QTextBrowser(DeclEntry)
        self.tableView.setGeometry(QtCore.QRect(10, 60, 780, 180))
        self.tableView.setObjectName("tableView")
        self.stemEdit = LineEditRU(DeclEntry)
        self.stemEdit.setGeometry(QtCore.QRect(430, 280, 340, 30))
        self.stemEdit.setObjectName("stemEdit")
        self.stemLbl = QtWidgets.QLabel(DeclEntry)
        self.stemLbl.setGeometry(QtCore.QRect(430, 250, 340, 25))
        self.stemLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.engLbl = QtWidgets.QLabel(DeclEntry)
        self.engLbl.setGeometry(QtCore.QRect(30, 250, 340, 25))
        self.engLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.engLbl.setObjectName("engLbl")
        self.helpBttn = QtWidgets.QPushButton(DeclEntry)
        self.helpBttn.setGeometry(QtCore.QRect(640, 10, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.enEdit = LineEditEN(DeclEntry)
        self.enEdit.setGeometry(QtCore.QRect(30, 280, 340, 30))
        self.enEdit.setObjectName("enEdit")
        self.declBttn = QtWidgets.QPushButton(DeclEntry)
        self.declBttn.setGeometry(QtCore.QRect(330, 530, 150, 50))
        self.declBttn.setObjectName("declBttn")

        self.retranslateUi(DeclEntry)
        QtCore.QMetaObject.connectSlotsByName(DeclEntry)
        DeclEntry.setTabOrder(self.helpBttn, self.tableView)
        DeclEntry.setTabOrder(self.tableView, self.enEdit)
        DeclEntry.setTabOrder(self.enEdit, self.stemEdit)
        DeclEntry.setTabOrder(self.stemEdit, self.nomEdit)
        DeclEntry.setTabOrder(self.nomEdit, self.accEdit)
        DeclEntry.setTabOrder(self.accEdit, self.genEdit)
        DeclEntry.setTabOrder(self.genEdit, self.datEdit)
        DeclEntry.setTabOrder(self.datEdit, self.insEdit)
        DeclEntry.setTabOrder(self.insEdit, self.prpEdit)
        DeclEntry.setTabOrder(self.prpEdit, self.rejectBttn)
        DeclEntry.setTabOrder(self.rejectBttn, self.acceptBttn)
Exemplo n.º 4
0
    def setupUi(self, InvarList):
        InvarList.setObjectName("InvarList")
        InvarList.resize(800, 600)
        font = QtGui.QFont()
        font.setPointSize(16)
        InvarList.setFont(font)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        InvarList.setWindowIcon(icon)
        self.titleLbl = QtWidgets.QLabel(InvarList)
        self.titleLbl.setGeometry(QtCore.QRect(10, 20, 780, 30))
        font = QtGui.QFont()
        font.setPointSize(16)
        font.setBold(True)
        font.setWeight(75)
        self.titleLbl.setFont(font)
        self.titleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLbl.setObjectName("titleLbl")
        self.itemList = QtWidgets.QListWidget(InvarList)
        self.itemList.setGeometry(QtCore.QRect(10, 60, 780, 270))
        self.itemList.setObjectName("itemList")
        self.ruEdit = LineEditRU(InvarList)
        self.ruEdit.setGeometry(QtCore.QRect(430, 390, 330, 30))
        self.ruEdit.setObjectName("ruEdit")
        self.engLbl = QtWidgets.QLabel(InvarList)
        self.engLbl.setGeometry(QtCore.QRect(30, 350, 330, 25))
        font = QtGui.QFont()
        font.setPointSize(16)
        font.setBold(True)
        font.setWeight(75)
        self.engLbl.setFont(font)
        self.engLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.engLbl.setObjectName("engLbl")
        self.ruLbl = QtWidgets.QLabel(InvarList)
        self.ruLbl.setGeometry(QtCore.QRect(440, 350, 330, 25))
        font = QtGui.QFont()
        font.setPointSize(16)
        font.setBold(True)
        font.setWeight(75)
        self.ruLbl.setFont(font)
        self.ruLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.ruLbl.setObjectName("ruLbl")
        self.typeLbl = QtWidgets.QLabel(InvarList)
        self.typeLbl.setGeometry(QtCore.QRect(40, 440, 330, 25))
        font = QtGui.QFont()
        font.setPointSize(16)
        font.setBold(True)
        font.setWeight(75)
        self.typeLbl.setFont(font)
        self.typeLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.typeLbl.setObjectName("typeLbl")
        self.typeBox = QtWidgets.QComboBox(InvarList)
        self.typeBox.setGeometry(QtCore.QRect(40, 480, 330, 35))
        self.typeBox.setObjectName("typeBox")
        self.findBttn = QtWidgets.QPushButton(InvarList)
        self.findBttn.setGeometry(QtCore.QRect(190, 530, 110, 50))
        self.findBttn.setObjectName("findBttn")
        self.deleteBttn = QtWidgets.QPushButton(InvarList)
        self.deleteBttn.setGeometry(QtCore.QRect(340, 530, 110, 50))
        self.deleteBttn.setObjectName("deleteBttn")
        self.quitBttn = QtWidgets.QPushButton(InvarList)
        self.quitBttn.setGeometry(QtCore.QRect(40, 530, 110, 50))
        self.quitBttn.setObjectName("quitBttn")
        self.helpBttn = QtWidgets.QPushButton(InvarList)
        self.helpBttn.setGeometry(QtCore.QRect(640, 10, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.enEdit = LineEditEN(InvarList)
        self.enEdit.setGeometry(QtCore.QRect(40, 390, 330, 30))
        self.enEdit.setObjectName("enEdit")
        self.newBttn = QtWidgets.QPushButton(InvarList)
        self.newBttn.setGeometry(QtCore.QRect(500, 530, 110, 50))
        self.newBttn.setObjectName("newBttn")
        self.addBttn = QtWidgets.QPushButton(InvarList)
        self.addBttn.setGeometry(QtCore.QRect(650, 530, 110, 50))
        self.addBttn.setObjectName("addBttn")
        self.declLbl = QtWidgets.QLabel(InvarList)
        self.declLbl.setGeometry(QtCore.QRect(430, 440, 330, 25))
        font = QtGui.QFont()
        font.setPointSize(16)
        font.setBold(True)
        font.setWeight(75)
        self.declLbl.setFont(font)
        self.declLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.declLbl.setObjectName("declLbl")
        self.declBox = QtWidgets.QComboBox(InvarList)
        self.declBox.setGeometry(QtCore.QRect(430, 480, 330, 35))
        self.declBox.setObjectName("declBox")

        self.retranslateUi(InvarList)
        QtCore.QMetaObject.connectSlotsByName(InvarList)
        InvarList.setTabOrder(self.helpBttn, self.itemList)
        InvarList.setTabOrder(self.itemList, self.enEdit)
        InvarList.setTabOrder(self.enEdit, self.ruEdit)
        InvarList.setTabOrder(self.ruEdit, self.typeBox)
        InvarList.setTabOrder(self.typeBox, self.declBox)
        InvarList.setTabOrder(self.declBox, self.quitBttn)
        InvarList.setTabOrder(self.quitBttn, self.findBttn)
        InvarList.setTabOrder(self.findBttn, self.deleteBttn)
        InvarList.setTabOrder(self.deleteBttn, self.newBttn)
        InvarList.setTabOrder(self.newBttn, self.addBttn)
Exemplo n.º 5
0
    def setupUi(self, PastConj):
        PastConj.setObjectName("PastConj")
        PastConj.resize(800, 600)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        PastConj.setWindowIcon(icon)
        self.rufemEdit = LineEditRU(PastConj)
        self.rufemEdit.setGeometry(QtCore.QRect(420, 150, 330, 30))
        self.rufemEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.rufemEdit.setObjectName("rufemEdit")
        self.ruplurLbl = QtWidgets.QLabel(PastConj)
        self.ruplurLbl.setGeometry(QtCore.QRect(420, 190, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.ruplurLbl.setFont(font)
        self.ruplurLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.ruplurLbl.setObjectName("ruplurLbl")
        self.ruplurEdit = LineEditRU(PastConj)
        self.ruplurEdit.setGeometry(QtCore.QRect(420, 230, 330, 30))
        self.ruplurEdit.setText("")
        self.ruplurEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.ruplurEdit.setObjectName("ruplurEdit")
        self.rutitleLbl = QtWidgets.QLabel(PastConj)
        self.rutitleLbl.setGeometry(QtCore.QRect(10, 20, 780, 60))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.rutitleLbl.setFont(font)
        self.rutitleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.rutitleLbl.setObjectName("rutitleLbl")
        self.runuetEdit = LineEditRU(PastConj)
        self.runuetEdit.setGeometry(QtCore.QRect(50, 230, 330, 30))
        self.runuetEdit.setText("")
        self.runuetEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.runuetEdit.setObjectName("runuetEdit")
        self.rumascEdit = LineEditRU(PastConj)
        self.rumascEdit.setGeometry(QtCore.QRect(50, 150, 330, 30))
        self.rumascEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.rumascEdit.setObjectName("rumascEdit")
        self.rufemLbl = QtWidgets.QLabel(PastConj)
        self.rufemLbl.setGeometry(QtCore.QRect(420, 120, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.rufemLbl.setFont(font)
        self.rufemLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.rufemLbl.setObjectName("rufemLbl")
        self.rumascLbl = QtWidgets.QLabel(PastConj)
        self.rumascLbl.setGeometry(QtCore.QRect(50, 120, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.rumascLbl.setFont(font)
        self.rumascLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.rumascLbl.setObjectName("rumascLbl")
        self.runuetLbl = QtWidgets.QLabel(PastConj)
        self.runuetLbl.setGeometry(QtCore.QRect(50, 190, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.runuetLbl.setFont(font)
        self.runuetLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.runuetLbl.setObjectName("runuetLbl")
        self.quitBttn = QtWidgets.QPushButton(PastConj)
        self.quitBttn.setGeometry(QtCore.QRect(130, 520, 150, 50))
        self.quitBttn.setObjectName("quitBttn")
        self.acceptBttn = QtWidgets.QPushButton(PastConj)
        self.acceptBttn.setGeometry(QtCore.QRect(520, 520, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.backBttn = QtWidgets.QPushButton(PastConj)
        self.backBttn.setGeometry(QtCore.QRect(330, 520, 150, 50))
        self.backBttn.setObjectName("backBttn")
        self.femEdit = LineEditEN(PastConj)
        self.femEdit.setGeometry(QtCore.QRect(420, 400, 330, 30))
        self.femEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.femEdit.setObjectName("femEdit")
        self.titleLbl = QtWidgets.QLabel(PastConj)
        self.titleLbl.setGeometry(QtCore.QRect(10, 270, 780, 41))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.titleLbl.setFont(font)
        self.titleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLbl.setObjectName("titleLbl")
        self.plurEdit = LineEditEN(PastConj)
        self.plurEdit.setGeometry(QtCore.QRect(420, 470, 330, 30))
        self.plurEdit.setText("")
        self.plurEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.plurEdit.setObjectName("plurEdit")
        self.mascLbl = QtWidgets.QLabel(PastConj)
        self.mascLbl.setGeometry(QtCore.QRect(50, 370, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.mascLbl.setFont(font)
        self.mascLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.mascLbl.setObjectName("mascLbl")
        self.femLbl = QtWidgets.QLabel(PastConj)
        self.femLbl.setGeometry(QtCore.QRect(420, 370, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.femLbl.setFont(font)
        self.femLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.femLbl.setObjectName("femLbl")
        self.mascEdit = LineEditEN(PastConj)
        self.mascEdit.setGeometry(QtCore.QRect(50, 400, 330, 30))
        self.mascEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.mascEdit.setObjectName("mascEdit")
        self.nuetEdit = LineEditEN(PastConj)
        self.nuetEdit.setGeometry(QtCore.QRect(50, 470, 330, 30))
        self.nuetEdit.setText("")
        self.nuetEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.nuetEdit.setObjectName("nuetEdit")
        self.plurLbl = QtWidgets.QLabel(PastConj)
        self.plurLbl.setGeometry(QtCore.QRect(420, 440, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.plurLbl.setFont(font)
        self.plurLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.plurLbl.setObjectName("plurLbl")
        self.nuetLbl = QtWidgets.QLabel(PastConj)
        self.nuetLbl.setGeometry(QtCore.QRect(50, 440, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.nuetLbl.setFont(font)
        self.nuetLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.nuetLbl.setObjectName("nuetLbl")
        self.helpBttn = QtWidgets.QPushButton(PastConj)
        self.helpBttn.setGeometry(QtCore.QRect(630, 10, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.stemLbl = QtWidgets.QLabel(PastConj)
        self.stemLbl.setGeometry(QtCore.QRect(50, 80, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.stemLbl.setFont(font)
        self.stemLbl.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.stemEdit = LineEditRU(PastConj)
        self.stemEdit.setGeometry(QtCore.QRect(420, 80, 330, 30))
        self.stemEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.stemEdit.setObjectName("stemEdit")
        self.verbLbl = QtWidgets.QLabel(PastConj)
        self.verbLbl.setGeometry(QtCore.QRect(50, 330, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.verbLbl.setFont(font)
        self.verbLbl.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.verbLbl.setObjectName("verbLbl")
        self.verbEdit = LineEditEN(PastConj)
        self.verbEdit.setGeometry(QtCore.QRect(420, 330, 330, 30))
        self.verbEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.verbEdit.setObjectName("verbEdit")

        self.retranslateUi(PastConj)
        QtCore.QMetaObject.connectSlotsByName(PastConj)
        PastConj.setTabOrder(self.helpBttn, self.stemEdit)
        PastConj.setTabOrder(self.stemEdit, self.rumascEdit)
        PastConj.setTabOrder(self.rumascEdit, self.rufemEdit)
        PastConj.setTabOrder(self.rufemEdit, self.runuetEdit)
        PastConj.setTabOrder(self.runuetEdit, self.ruplurEdit)
        PastConj.setTabOrder(self.ruplurEdit, self.verbEdit)
        PastConj.setTabOrder(self.verbEdit, self.mascEdit)
        PastConj.setTabOrder(self.mascEdit, self.femEdit)
        PastConj.setTabOrder(self.femEdit, self.nuetEdit)
        PastConj.setTabOrder(self.nuetEdit, self.plurEdit)
        PastConj.setTabOrder(self.plurEdit, self.quitBttn)
        PastConj.setTabOrder(self.quitBttn, self.backBttn)
        PastConj.setTabOrder(self.backBttn, self.acceptBttn)
Exemplo n.º 6
0
class Ui_DeclEntry(object):
    def setupUi(self, DeclEntry):
        DeclEntry.setObjectName("DeclEntry")
        DeclEntry.resize(800, 600)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        DeclEntry.setWindowIcon(icon)
        self.titleLbl = QtWidgets.QLabel(DeclEntry)
        self.titleLbl.setGeometry(QtCore.QRect(10, 20, 780, 30))
        font = QtGui.QFont()
        font.setPointSize(18)
        font.setBold(True)
        font.setWeight(75)
        self.titleLbl.setFont(font)
        self.titleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLbl.setObjectName("titleLbl")
        self.nomEdit = LineEditRU(DeclEntry)
        self.nomEdit.setGeometry(QtCore.QRect(30, 350, 340, 30))
        self.nomEdit.setObjectName("nomEdit")
        self.nomLbl = QtWidgets.QLabel(DeclEntry)
        self.nomLbl.setGeometry(QtCore.QRect(30, 320, 340, 25))
        self.nomLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.nomLbl.setObjectName("nomLbl")
        self.genLbl = QtWidgets.QLabel(DeclEntry)
        self.genLbl.setGeometry(QtCore.QRect(30, 390, 340, 25))
        self.genLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.genLbl.setObjectName("genLbl")
        self.genEdit = LineEditRU(DeclEntry)
        self.genEdit.setGeometry(QtCore.QRect(30, 420, 340, 30))
        self.genEdit.setObjectName("genEdit")
        self.insLbl = QtWidgets.QLabel(DeclEntry)
        self.insLbl.setGeometry(QtCore.QRect(30, 460, 340, 25))
        self.insLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.insLbl.setObjectName("insLbl")
        self.insEdit = LineEditRU(DeclEntry)
        self.insEdit.setGeometry(QtCore.QRect(30, 490, 340, 30))
        self.insEdit.setObjectName("insEdit")
        self.accLbl = QtWidgets.QLabel(DeclEntry)
        self.accLbl.setGeometry(QtCore.QRect(430, 320, 340, 25))
        self.accLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.accLbl.setObjectName("accLbl")
        self.accEdit = LineEditRU(DeclEntry)
        self.accEdit.setGeometry(QtCore.QRect(430, 350, 340, 30))
        self.accEdit.setObjectName("accEdit")
        self.datLbl = QtWidgets.QLabel(DeclEntry)
        self.datLbl.setGeometry(QtCore.QRect(430, 390, 340, 25))
        self.datLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.datLbl.setObjectName("datLbl")
        self.datEdit = LineEditRU(DeclEntry)
        self.datEdit.setGeometry(QtCore.QRect(430, 420, 340, 30))
        self.datEdit.setObjectName("datEdit")
        self.prpLbl = QtWidgets.QLabel(DeclEntry)
        self.prpLbl.setGeometry(QtCore.QRect(430, 460, 340, 25))
        self.prpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.prpLbl.setObjectName("prpLbl")
        self.prpEdit = LineEditRU(DeclEntry)
        self.prpEdit.setGeometry(QtCore.QRect(430, 490, 340, 30))
        self.prpEdit.setObjectName("prpEdit")
        self.rejectBttn = QtWidgets.QPushButton(DeclEntry)
        self.rejectBttn.setGeometry(QtCore.QRect(130, 530, 150, 50))
        self.rejectBttn.setObjectName("rejectBttn")
        self.acceptBttn = QtWidgets.QPushButton(DeclEntry)
        self.acceptBttn.setGeometry(QtCore.QRect(550, 530, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.tableView = QtWidgets.QTextBrowser(DeclEntry)
        self.tableView.setGeometry(QtCore.QRect(10, 60, 780, 180))
        self.tableView.setObjectName("tableView")
        self.stemEdit = LineEditRU(DeclEntry)
        self.stemEdit.setGeometry(QtCore.QRect(430, 280, 340, 30))
        self.stemEdit.setObjectName("stemEdit")
        self.stemLbl = QtWidgets.QLabel(DeclEntry)
        self.stemLbl.setGeometry(QtCore.QRect(430, 250, 340, 25))
        self.stemLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.engLbl = QtWidgets.QLabel(DeclEntry)
        self.engLbl.setGeometry(QtCore.QRect(30, 250, 340, 25))
        self.engLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.engLbl.setObjectName("engLbl")
        self.helpBttn = QtWidgets.QPushButton(DeclEntry)
        self.helpBttn.setGeometry(QtCore.QRect(640, 10, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.enEdit = LineEditEN(DeclEntry)
        self.enEdit.setGeometry(QtCore.QRect(30, 280, 340, 30))
        self.enEdit.setObjectName("enEdit")
        self.declBttn = QtWidgets.QPushButton(DeclEntry)
        self.declBttn.setGeometry(QtCore.QRect(330, 530, 150, 50))
        self.declBttn.setObjectName("declBttn")

        self.retranslateUi(DeclEntry)
        QtCore.QMetaObject.connectSlotsByName(DeclEntry)
        DeclEntry.setTabOrder(self.helpBttn, self.tableView)
        DeclEntry.setTabOrder(self.tableView, self.enEdit)
        DeclEntry.setTabOrder(self.enEdit, self.stemEdit)
        DeclEntry.setTabOrder(self.stemEdit, self.nomEdit)
        DeclEntry.setTabOrder(self.nomEdit, self.accEdit)
        DeclEntry.setTabOrder(self.accEdit, self.genEdit)
        DeclEntry.setTabOrder(self.genEdit, self.datEdit)
        DeclEntry.setTabOrder(self.datEdit, self.insEdit)
        DeclEntry.setTabOrder(self.insEdit, self.prpEdit)
        DeclEntry.setTabOrder(self.prpEdit, self.rejectBttn)
        DeclEntry.setTabOrder(self.rejectBttn, self.acceptBttn)

    def retranslateUi(self, DeclEntry):
        _translate = QtCore.QCoreApplication.translate
        DeclEntry.setWindowTitle(
            _translate("DeclEntry", "Russian Noun Declension Entry"))
        self.titleLbl.setText(
            _translate("DeclEntry", "Russian Noun Declension"))
        self.nomLbl.setText(_translate("DeclEntry", "Nominative"))
        self.genLbl.setText(_translate("DeclEntry", "Genitive"))
        self.insLbl.setText(_translate("DeclEntry", "Instrumental"))
        self.accLbl.setText(_translate("DeclEntry", "Accusative"))
        self.datLbl.setText(_translate("DeclEntry", "Dative"))
        self.prpLbl.setText(_translate("DeclEntry", "Prepositional"))
        self.rejectBttn.setText(_translate("DeclEntry", "Reject"))
        self.acceptBttn.setText(_translate("DeclEntry", "Accept"))
        self.stemLbl.setText(_translate("DeclEntry", "Noun Stem"))
        self.engLbl.setText(_translate("DeclEntry", "English"))
        self.helpBttn.setText(_translate("DeclEntry", "Help"))
        self.declBttn.setText(_translate("DeclEntry", "Declensions"))
Exemplo n.º 7
0
    def setupUi(self, MiscConj):
        MiscConj.setObjectName("MiscConj")
        MiscConj.resize(800, 600)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MiscConj.setWindowIcon(icon)
        self.enImpLbl = QtWidgets.QLabel(MiscConj)
        self.enImpLbl.setGeometry(QtCore.QRect(50, 430, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.enImpLbl.setFont(font)
        self.enImpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.enImpLbl.setObjectName("enImpLbl")
        self.femEdit = LineEditRU(MiscConj)
        self.femEdit.setGeometry(QtCore.QRect(420, 130, 330, 30))
        self.femEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.femEdit.setObjectName("femEdit")
        self.plurLbl = QtWidgets.QLabel(MiscConj)
        self.plurLbl.setGeometry(QtCore.QRect(420, 160, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.plurLbl.setFont(font)
        self.plurLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.plurLbl.setObjectName("plurLbl")
        self.plurEdit = LineEditRU(MiscConj)
        self.plurEdit.setGeometry(QtCore.QRect(420, 180, 330, 30))
        self.plurEdit.setText("")
        self.plurEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.plurEdit.setObjectName("plurEdit")
        self.nuetEdit = LineEditRU(MiscConj)
        self.nuetEdit.setGeometry(QtCore.QRect(50, 180, 330, 30))
        self.nuetEdit.setText("")
        self.nuetEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.nuetEdit.setObjectName("nuetEdit")
        self.mascEdit = LineEditRU(MiscConj)
        self.mascEdit.setGeometry(QtCore.QRect(50, 130, 330, 30))
        self.mascEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.mascEdit.setObjectName("mascEdit")
        self.femLbl = QtWidgets.QLabel(MiscConj)
        self.femLbl.setGeometry(QtCore.QRect(420, 110, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.femLbl.setFont(font)
        self.femLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.femLbl.setObjectName("femLbl")
        self.mascLbl = QtWidgets.QLabel(MiscConj)
        self.mascLbl.setGeometry(QtCore.QRect(50, 110, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.mascLbl.setFont(font)
        self.mascLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.mascLbl.setObjectName("mascLbl")
        self.nuetLbl = QtWidgets.QLabel(MiscConj)
        self.nuetLbl.setGeometry(QtCore.QRect(50, 160, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.nuetLbl.setFont(font)
        self.nuetLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.nuetLbl.setObjectName("nuetLbl")
        self.ruFormImpLbl = QtWidgets.QLabel(MiscConj)
        self.ruFormImpLbl.setGeometry(QtCore.QRect(420, 460, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.ruFormImpLbl.setFont(font)
        self.ruFormImpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.ruFormImpLbl.setObjectName("ruFormImpLbl")
        self.ruInfImpEdit = LineEditRU(MiscConj)
        self.ruInfImpEdit.setGeometry(QtCore.QRect(50, 490, 330, 30))
        self.ruInfImpEdit.setText("")
        self.ruInfImpEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.ruInfImpEdit.setObjectName("ruInfImpEdit")
        self.ruInfImpLbl = QtWidgets.QLabel(MiscConj)
        self.ruInfImpLbl.setGeometry(QtCore.QRect(50, 460, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.ruInfImpLbl.setFont(font)
        self.ruInfImpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.ruInfImpLbl.setObjectName("ruInfImpLbl")
        self.ruFormImpEdit = LineEditRU(MiscConj)
        self.ruFormImpEdit.setGeometry(QtCore.QRect(420, 490, 330, 30))
        self.ruFormImpEdit.setText("")
        self.ruFormImpEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.ruFormImpEdit.setObjectName("ruFormImpEdit")
        self.quitBttn = QtWidgets.QPushButton(MiscConj)
        self.quitBttn.setGeometry(QtCore.QRect(130, 520, 150, 50))
        self.quitBttn.setObjectName("quitBttn")
        self.acceptBttn = QtWidgets.QPushButton(MiscConj)
        self.acceptBttn.setGeometry(QtCore.QRect(520, 520, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.backBttn = QtWidgets.QPushButton(MiscConj)
        self.backBttn.setGeometry(QtCore.QRect(330, 520, 150, 50))
        self.backBttn.setObjectName("backBttn")
        self.helpBttn = QtWidgets.QPushButton(MiscConj)
        self.helpBttn.setGeometry(QtCore.QRect(630, 0, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.presAdv = LineEditRU(MiscConj)
        self.presAdv.setGeometry(QtCore.QRect(420, 370, 330, 30))
        self.presAdv.setText("")
        self.presAdv.setAlignment(QtCore.Qt.AlignCenter)
        self.presAdv.setObjectName("presAdv")
        self.enImpEdit = LineEditEN(MiscConj)
        self.enImpEdit.setGeometry(QtCore.QRect(420, 430, 330, 30))
        self.enImpEdit.setText("")
        self.enImpEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.enImpEdit.setObjectName("enImpEdit")
        self.enPastAdvLbl = QtWidgets.QLabel(MiscConj)
        self.enPastAdvLbl.setGeometry(QtCore.QRect(50, 280, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.enPastAdvLbl.setFont(font)
        self.enPastAdvLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.enPastAdvLbl.setObjectName("enPastAdvLbl")
        self.enPastAdvEdit = LineEditEN(MiscConj)
        self.enPastAdvEdit.setGeometry(QtCore.QRect(420, 280, 330, 30))
        self.enPastAdvEdit.setText("")
        self.enPastAdvEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.enPastAdvEdit.setObjectName("enPastAdvEdit")
        self.advCheck = QtWidgets.QCheckBox(MiscConj)
        self.advCheck.setGeometry(QtCore.QRect(300, 220, 200, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.advCheck.setFont(font)
        self.advCheck.setChecked(True)
        self.advCheck.setObjectName("advCheck")
        self.stemEdit = LineEditRU(MiscConj)
        self.stemEdit.setGeometry(QtCore.QRect(420, 80, 330, 30))
        self.stemEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.stemEdit.setObjectName("stemEdit")
        self.stemLbl = QtWidgets.QLabel(MiscConj)
        self.stemLbl.setGeometry(QtCore.QRect(60, 80, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.stemLbl.setFont(font)
        self.stemLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.enPresAdvEdit = LineEditEN(MiscConj)
        self.enPresAdvEdit.setGeometry(QtCore.QRect(420, 250, 330, 30))
        self.enPresAdvEdit.setText("")
        self.enPresAdvEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.enPresAdvEdit.setObjectName("enPresAdvEdit")
        self.enPresAdvLbl = QtWidgets.QLabel(MiscConj)
        self.enPresAdvLbl.setGeometry(QtCore.QRect(50, 250, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.enPresAdvLbl.setFont(font)
        self.enPresAdvLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.enPresAdvLbl.setObjectName("enPresAdvLbl")
        self.presAdvLbl = QtWidgets.QLabel(MiscConj)
        self.presAdvLbl.setGeometry(QtCore.QRect(50, 370, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.presAdvLbl.setFont(font)
        self.presAdvLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.presAdvLbl.setObjectName("presAdvLbl")
        self.pastAdvLbl1 = QtWidgets.QLabel(MiscConj)
        self.pastAdvLbl1.setGeometry(QtCore.QRect(40, 340, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.pastAdvLbl1.setFont(font)
        self.pastAdvLbl1.setAlignment(QtCore.Qt.AlignCenter)
        self.pastAdvLbl1.setObjectName("pastAdvLbl1")
        self.pastAdv1 = LineEditRU(MiscConj)
        self.pastAdv1.setGeometry(QtCore.QRect(420, 340, 330, 30))
        self.pastAdv1.setText("")
        self.pastAdv1.setAlignment(QtCore.Qt.AlignCenter)
        self.pastAdv1.setObjectName("pastAdv1")
        self.pastAdvLbl = QtWidgets.QLabel(MiscConj)
        self.pastAdvLbl.setGeometry(QtCore.QRect(40, 310, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.pastAdvLbl.setFont(font)
        self.pastAdvLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.pastAdvLbl.setObjectName("pastAdvLbl")
        self.pastAdv = LineEditRU(MiscConj)
        self.pastAdv.setGeometry(QtCore.QRect(420, 310, 330, 30))
        self.pastAdv.setText("")
        self.pastAdv.setAlignment(QtCore.Qt.AlignCenter)
        self.pastAdv.setObjectName("pastAdv")
        self.enPPPEdit = LineEditEN(MiscConj)
        self.enPPPEdit.setGeometry(QtCore.QRect(420, 50, 330, 30))
        self.enPPPEdit.setText("")
        self.enPPPEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.enPPPEdit.setObjectName("enPPPEdit")
        self.enPPPLbl = QtWidgets.QLabel(MiscConj)
        self.enPPPLbl.setGeometry(QtCore.QRect(50, 50, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.enPPPLbl.setFont(font)
        self.enPPPLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.enPPPLbl.setObjectName("enPPPLbl")
        self.spppCheck = QtWidgets.QCheckBox(MiscConj)
        self.spppCheck.setGeometry(QtCore.QRect(270, 20, 260, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.spppCheck.setFont(font)
        self.spppCheck.setChecked(True)
        self.spppCheck.setObjectName("spppCheck")
        self.impCheck = QtWidgets.QCheckBox(MiscConj)
        self.impCheck.setGeometry(QtCore.QRect(300, 400, 200, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.impCheck.setFont(font)
        self.impCheck.setChecked(True)
        self.impCheck.setObjectName("impCheck")

        self.retranslateUi(MiscConj)
        QtCore.QMetaObject.connectSlotsByName(MiscConj)
        MiscConj.setTabOrder(self.spppCheck, self.helpBttn)
        MiscConj.setTabOrder(self.helpBttn, self.enPPPEdit)
        MiscConj.setTabOrder(self.enPPPEdit, self.stemEdit)
        MiscConj.setTabOrder(self.stemEdit, self.mascEdit)
        MiscConj.setTabOrder(self.mascEdit, self.femEdit)
        MiscConj.setTabOrder(self.femEdit, self.nuetEdit)
        MiscConj.setTabOrder(self.nuetEdit, self.plurEdit)
        MiscConj.setTabOrder(self.plurEdit, self.advCheck)
        MiscConj.setTabOrder(self.advCheck, self.enPresAdvEdit)
        MiscConj.setTabOrder(self.enPresAdvEdit, self.enPastAdvEdit)
        MiscConj.setTabOrder(self.enPastAdvEdit, self.pastAdv)
        MiscConj.setTabOrder(self.pastAdv, self.pastAdv1)
        MiscConj.setTabOrder(self.pastAdv1, self.presAdv)
        MiscConj.setTabOrder(self.presAdv, self.enImpEdit)
        MiscConj.setTabOrder(self.enImpEdit, self.ruInfImpEdit)
        MiscConj.setTabOrder(self.ruInfImpEdit, self.ruFormImpEdit)
        MiscConj.setTabOrder(self.ruFormImpEdit, self.quitBttn)
        MiscConj.setTabOrder(self.quitBttn, self.backBttn)
        MiscConj.setTabOrder(self.backBttn, self.acceptBttn)
Exemplo n.º 8
0
class Ui_PastConj(object):
    def setupUi(self, PastConj):
        PastConj.setObjectName("PastConj")
        PastConj.resize(800, 600)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        PastConj.setWindowIcon(icon)
        self.rufemEdit = LineEditRU(PastConj)
        self.rufemEdit.setGeometry(QtCore.QRect(420, 150, 330, 30))
        self.rufemEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.rufemEdit.setObjectName("rufemEdit")
        self.ruplurLbl = QtWidgets.QLabel(PastConj)
        self.ruplurLbl.setGeometry(QtCore.QRect(420, 190, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.ruplurLbl.setFont(font)
        self.ruplurLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.ruplurLbl.setObjectName("ruplurLbl")
        self.ruplurEdit = LineEditRU(PastConj)
        self.ruplurEdit.setGeometry(QtCore.QRect(420, 230, 330, 30))
        self.ruplurEdit.setText("")
        self.ruplurEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.ruplurEdit.setObjectName("ruplurEdit")
        self.rutitleLbl = QtWidgets.QLabel(PastConj)
        self.rutitleLbl.setGeometry(QtCore.QRect(10, 20, 780, 60))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.rutitleLbl.setFont(font)
        self.rutitleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.rutitleLbl.setObjectName("rutitleLbl")
        self.runuetEdit = LineEditRU(PastConj)
        self.runuetEdit.setGeometry(QtCore.QRect(50, 230, 330, 30))
        self.runuetEdit.setText("")
        self.runuetEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.runuetEdit.setObjectName("runuetEdit")
        self.rumascEdit = LineEditRU(PastConj)
        self.rumascEdit.setGeometry(QtCore.QRect(50, 150, 330, 30))
        self.rumascEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.rumascEdit.setObjectName("rumascEdit")
        self.rufemLbl = QtWidgets.QLabel(PastConj)
        self.rufemLbl.setGeometry(QtCore.QRect(420, 120, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.rufemLbl.setFont(font)
        self.rufemLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.rufemLbl.setObjectName("rufemLbl")
        self.rumascLbl = QtWidgets.QLabel(PastConj)
        self.rumascLbl.setGeometry(QtCore.QRect(50, 120, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.rumascLbl.setFont(font)
        self.rumascLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.rumascLbl.setObjectName("rumascLbl")
        self.runuetLbl = QtWidgets.QLabel(PastConj)
        self.runuetLbl.setGeometry(QtCore.QRect(50, 190, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.runuetLbl.setFont(font)
        self.runuetLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.runuetLbl.setObjectName("runuetLbl")
        self.quitBttn = QtWidgets.QPushButton(PastConj)
        self.quitBttn.setGeometry(QtCore.QRect(130, 520, 150, 50))
        self.quitBttn.setObjectName("quitBttn")
        self.acceptBttn = QtWidgets.QPushButton(PastConj)
        self.acceptBttn.setGeometry(QtCore.QRect(520, 520, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.backBttn = QtWidgets.QPushButton(PastConj)
        self.backBttn.setGeometry(QtCore.QRect(330, 520, 150, 50))
        self.backBttn.setObjectName("backBttn")
        self.femEdit = LineEditEN(PastConj)
        self.femEdit.setGeometry(QtCore.QRect(420, 400, 330, 30))
        self.femEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.femEdit.setObjectName("femEdit")
        self.titleLbl = QtWidgets.QLabel(PastConj)
        self.titleLbl.setGeometry(QtCore.QRect(10, 270, 780, 41))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.titleLbl.setFont(font)
        self.titleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLbl.setObjectName("titleLbl")
        self.plurEdit = LineEditEN(PastConj)
        self.plurEdit.setGeometry(QtCore.QRect(420, 470, 330, 30))
        self.plurEdit.setText("")
        self.plurEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.plurEdit.setObjectName("plurEdit")
        self.mascLbl = QtWidgets.QLabel(PastConj)
        self.mascLbl.setGeometry(QtCore.QRect(50, 370, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.mascLbl.setFont(font)
        self.mascLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.mascLbl.setObjectName("mascLbl")
        self.femLbl = QtWidgets.QLabel(PastConj)
        self.femLbl.setGeometry(QtCore.QRect(420, 370, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.femLbl.setFont(font)
        self.femLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.femLbl.setObjectName("femLbl")
        self.mascEdit = LineEditEN(PastConj)
        self.mascEdit.setGeometry(QtCore.QRect(50, 400, 330, 30))
        self.mascEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.mascEdit.setObjectName("mascEdit")
        self.nuetEdit = LineEditEN(PastConj)
        self.nuetEdit.setGeometry(QtCore.QRect(50, 470, 330, 30))
        self.nuetEdit.setText("")
        self.nuetEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.nuetEdit.setObjectName("nuetEdit")
        self.plurLbl = QtWidgets.QLabel(PastConj)
        self.plurLbl.setGeometry(QtCore.QRect(420, 440, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.plurLbl.setFont(font)
        self.plurLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.plurLbl.setObjectName("plurLbl")
        self.nuetLbl = QtWidgets.QLabel(PastConj)
        self.nuetLbl.setGeometry(QtCore.QRect(50, 440, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.nuetLbl.setFont(font)
        self.nuetLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.nuetLbl.setObjectName("nuetLbl")
        self.helpBttn = QtWidgets.QPushButton(PastConj)
        self.helpBttn.setGeometry(QtCore.QRect(630, 10, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.stemLbl = QtWidgets.QLabel(PastConj)
        self.stemLbl.setGeometry(QtCore.QRect(50, 80, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.stemLbl.setFont(font)
        self.stemLbl.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.stemEdit = LineEditRU(PastConj)
        self.stemEdit.setGeometry(QtCore.QRect(420, 80, 330, 30))
        self.stemEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.stemEdit.setObjectName("stemEdit")
        self.verbLbl = QtWidgets.QLabel(PastConj)
        self.verbLbl.setGeometry(QtCore.QRect(50, 330, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.verbLbl.setFont(font)
        self.verbLbl.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.verbLbl.setObjectName("verbLbl")
        self.verbEdit = LineEditEN(PastConj)
        self.verbEdit.setGeometry(QtCore.QRect(420, 330, 330, 30))
        self.verbEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.verbEdit.setObjectName("verbEdit")

        self.retranslateUi(PastConj)
        QtCore.QMetaObject.connectSlotsByName(PastConj)
        PastConj.setTabOrder(self.helpBttn, self.stemEdit)
        PastConj.setTabOrder(self.stemEdit, self.rumascEdit)
        PastConj.setTabOrder(self.rumascEdit, self.rufemEdit)
        PastConj.setTabOrder(self.rufemEdit, self.runuetEdit)
        PastConj.setTabOrder(self.runuetEdit, self.ruplurEdit)
        PastConj.setTabOrder(self.ruplurEdit, self.verbEdit)
        PastConj.setTabOrder(self.verbEdit, self.mascEdit)
        PastConj.setTabOrder(self.mascEdit, self.femEdit)
        PastConj.setTabOrder(self.femEdit, self.nuetEdit)
        PastConj.setTabOrder(self.nuetEdit, self.plurEdit)
        PastConj.setTabOrder(self.plurEdit, self.quitBttn)
        PastConj.setTabOrder(self.quitBttn, self.backBttn)
        PastConj.setTabOrder(self.backBttn, self.acceptBttn)

    def retranslateUi(self, PastConj):
        _translate = QtCore.QCoreApplication.translate
        PastConj.setWindowTitle(
            _translate("PastConj", "Russian Past Tense Conjugation"))
        self.ruplurLbl.setText(_translate("PastConj", "Plural"))
        self.rutitleLbl.setText(
            _translate("PastConj", "Russian Past Tense for "))
        self.rufemLbl.setText(_translate("PastConj", "Feminine"))
        self.rumascLbl.setText(_translate("PastConj", "Masculine"))
        self.runuetLbl.setText(_translate("PastConj", "Nueter"))
        self.quitBttn.setText(_translate("PastConj", "Quit"))
        self.acceptBttn.setText(_translate("PastConj", "Accept."))
        self.backBttn.setText(_translate("PastConj", "Back"))
        self.titleLbl.setText(_translate("PastConj", "English Past Tense for"))
        self.mascLbl.setText(_translate("PastConj", "Masculine"))
        self.femLbl.setText(_translate("PastConj", "Feminine"))
        self.plurLbl.setText(_translate("PastConj", "Plural"))
        self.nuetLbl.setText(_translate("PastConj", "Nueter"))
        self.helpBttn.setText(_translate("PastConj", "Help"))
        self.stemLbl.setText(_translate("PastConj", "Russian Verb Stem"))
        self.verbLbl.setText(_translate("PastConj", "Past Tense English Verb"))
Exemplo n.º 9
0
    def setupUi(self, AdjDeclEntry):
        AdjDeclEntry.setObjectName("AdjDeclEntry")
        AdjDeclEntry.resize(800, 600)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        AdjDeclEntry.setWindowIcon(icon)
        self.titleLbl = QtWidgets.QLabel(AdjDeclEntry)
        self.titleLbl.setGeometry(QtCore.QRect(10, 30, 780, 30))
        font = QtGui.QFont()
        font.setPointSize(18)
        font.setBold(True)
        font.setWeight(75)
        self.titleLbl.setFont(font)
        self.titleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLbl.setObjectName("titleLbl")
        self.nomEdit = LineEditRU(AdjDeclEntry)
        self.nomEdit.setGeometry(QtCore.QRect(30, 380, 340, 30))
        self.nomEdit.setObjectName("nomEdit")
        self.nomLbl = QtWidgets.QLabel(AdjDeclEntry)
        self.nomLbl.setGeometry(QtCore.QRect(30, 350, 340, 25))
        self.nomLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.nomLbl.setObjectName("nomLbl")
        self.genLbl = QtWidgets.QLabel(AdjDeclEntry)
        self.genLbl.setGeometry(QtCore.QRect(30, 410, 340, 25))
        self.genLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.genLbl.setObjectName("genLbl")
        self.genEdit = LineEditRU(AdjDeclEntry)
        self.genEdit.setGeometry(QtCore.QRect(30, 440, 340, 30))
        self.genEdit.setObjectName("genEdit")
        self.insLbl = QtWidgets.QLabel(AdjDeclEntry)
        self.insLbl.setGeometry(QtCore.QRect(30, 470, 340, 25))
        self.insLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.insLbl.setObjectName("insLbl")
        self.insEdit = LineEditRU(AdjDeclEntry)
        self.insEdit.setGeometry(QtCore.QRect(30, 500, 340, 30))
        self.insEdit.setObjectName("insEdit")
        self.accLbl = QtWidgets.QLabel(AdjDeclEntry)
        self.accLbl.setGeometry(QtCore.QRect(430, 350, 340, 25))
        self.accLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.accLbl.setObjectName("accLbl")
        self.accEdit = LineEditRU(AdjDeclEntry)
        self.accEdit.setGeometry(QtCore.QRect(430, 380, 340, 30))
        self.accEdit.setObjectName("accEdit")
        self.datLbl = QtWidgets.QLabel(AdjDeclEntry)
        self.datLbl.setGeometry(QtCore.QRect(430, 410, 340, 25))
        self.datLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.datLbl.setObjectName("datLbl")
        self.datEdit = LineEditRU(AdjDeclEntry)
        self.datEdit.setGeometry(QtCore.QRect(430, 440, 340, 30))
        self.datEdit.setObjectName("datEdit")
        self.prpLbl = QtWidgets.QLabel(AdjDeclEntry)
        self.prpLbl.setGeometry(QtCore.QRect(430, 470, 340, 25))
        self.prpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.prpLbl.setObjectName("prpLbl")
        self.prpEdit = LineEditRU(AdjDeclEntry)
        self.prpEdit.setGeometry(QtCore.QRect(430, 500, 340, 30))
        self.prpEdit.setObjectName("prpEdit")
        self.rejectBttn = QtWidgets.QPushButton(AdjDeclEntry)
        self.rejectBttn.setGeometry(QtCore.QRect(30, 530, 150, 50))
        self.rejectBttn.setObjectName("rejectBttn")
        self.acceptBttn = QtWidgets.QPushButton(AdjDeclEntry)
        self.acceptBttn.setGeometry(QtCore.QRect(620, 530, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.tableView = QtWidgets.QTextBrowser(AdjDeclEntry)
        self.tableView.setGeometry(QtCore.QRect(10, 70, 780, 180))
        self.tableView.setObjectName("tableView")
        self.gender = QtWidgets.QGroupBox(AdjDeclEntry)
        self.gender.setGeometry(QtCore.QRect(10, 260, 770, 50))
        self.gender.setTitle("")
        self.gender.setFlat(True)
        self.gender.setObjectName("gender")
        self.anim = QtWidgets.QRadioButton(self.gender)
        self.anim.setGeometry(QtCore.QRect(20, 0, 120, 25))
        self.anim.setChecked(True)
        self.anim.setObjectName("anim")
        self.inan = QtWidgets.QRadioButton(self.gender)
        self.inan.setGeometry(QtCore.QRect(230, 0, 140, 25))
        self.inan.setObjectName("inan")
        self.fem = QtWidgets.QRadioButton(self.gender)
        self.fem.setGeometry(QtCore.QRect(450, 0, 130, 25))
        self.fem.setObjectName("fem")
        self.nuet = QtWidgets.QRadioButton(self.gender)
        self.nuet.setGeometry(QtCore.QRect(640, 0, 120, 25))
        self.nuet.setObjectName("nuet")
        self.pluranim = QtWidgets.QRadioButton(self.gender)
        self.pluranim.setGeometry(QtCore.QRect(170, 30, 190, 25))
        self.pluranim.setObjectName("pluranim")
        self.plurinan = QtWidgets.QRadioButton(self.gender)
        self.plurinan.setGeometry(QtCore.QRect(450, 30, 210, 25))
        self.plurinan.setObjectName("plurinan")
        self.helpBttn = QtWidgets.QPushButton(AdjDeclEntry)
        self.helpBttn.setGeometry(QtCore.QRect(640, 10, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.stemEdit = LineEditRU(AdjDeclEntry)
        self.stemEdit.setGeometry(QtCore.QRect(510, 320, 260, 30))
        self.stemEdit.setObjectName("stemEdit")
        self.stemLbl = QtWidgets.QLabel(AdjDeclEntry)
        self.stemLbl.setGeometry(QtCore.QRect(420, 320, 70, 25))
        self.stemLbl.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.engLbl = QtWidgets.QLabel(AdjDeclEntry)
        self.engLbl.setGeometry(QtCore.QRect(30, 320, 80, 25))
        self.engLbl.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
                                 | QtCore.Qt.AlignVCenter)
        self.engLbl.setObjectName("engLbl")
        self.engEdit = LineEditEN(AdjDeclEntry)
        self.engEdit.setGeometry(QtCore.QRect(120, 320, 240, 30))
        self.engEdit.setText("")
        self.engEdit.setObjectName("engEdit")
        self.declBttn = QtWidgets.QPushButton(AdjDeclEntry)
        self.declBttn.setGeometry(QtCore.QRect(325, 530, 150, 50))
        self.declBttn.setObjectName("declBttn")

        self.retranslateUi(AdjDeclEntry)
        QtCore.QMetaObject.connectSlotsByName(AdjDeclEntry)
        AdjDeclEntry.setTabOrder(self.helpBttn, self.tableView)
        AdjDeclEntry.setTabOrder(self.tableView, self.anim)
        AdjDeclEntry.setTabOrder(self.anim, self.inan)
        AdjDeclEntry.setTabOrder(self.inan, self.fem)
        AdjDeclEntry.setTabOrder(self.fem, self.nuet)
        AdjDeclEntry.setTabOrder(self.nuet, self.pluranim)
        AdjDeclEntry.setTabOrder(self.pluranim, self.plurinan)
        AdjDeclEntry.setTabOrder(self.plurinan, self.engEdit)
        AdjDeclEntry.setTabOrder(self.engEdit, self.stemEdit)
        AdjDeclEntry.setTabOrder(self.stemEdit, self.nomEdit)
        AdjDeclEntry.setTabOrder(self.nomEdit, self.accEdit)
        AdjDeclEntry.setTabOrder(self.accEdit, self.genEdit)
        AdjDeclEntry.setTabOrder(self.genEdit, self.datEdit)
        AdjDeclEntry.setTabOrder(self.datEdit, self.insEdit)
        AdjDeclEntry.setTabOrder(self.insEdit, self.prpEdit)
        AdjDeclEntry.setTabOrder(self.prpEdit, self.rejectBttn)
        AdjDeclEntry.setTabOrder(self.rejectBttn, self.declBttn)
        AdjDeclEntry.setTabOrder(self.declBttn, self.acceptBttn)
Exemplo n.º 10
0
class Ui_MiscConj(object):
    def setupUi(self, MiscConj):
        MiscConj.setObjectName("MiscConj")
        MiscConj.resize(800, 600)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        MiscConj.setWindowIcon(icon)
        self.enImpLbl = QtWidgets.QLabel(MiscConj)
        self.enImpLbl.setGeometry(QtCore.QRect(50, 430, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.enImpLbl.setFont(font)
        self.enImpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.enImpLbl.setObjectName("enImpLbl")
        self.femEdit = LineEditRU(MiscConj)
        self.femEdit.setGeometry(QtCore.QRect(420, 130, 330, 30))
        self.femEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.femEdit.setObjectName("femEdit")
        self.plurLbl = QtWidgets.QLabel(MiscConj)
        self.plurLbl.setGeometry(QtCore.QRect(420, 160, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.plurLbl.setFont(font)
        self.plurLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.plurLbl.setObjectName("plurLbl")
        self.plurEdit = LineEditRU(MiscConj)
        self.plurEdit.setGeometry(QtCore.QRect(420, 180, 330, 30))
        self.plurEdit.setText("")
        self.plurEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.plurEdit.setObjectName("plurEdit")
        self.nuetEdit = LineEditRU(MiscConj)
        self.nuetEdit.setGeometry(QtCore.QRect(50, 180, 330, 30))
        self.nuetEdit.setText("")
        self.nuetEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.nuetEdit.setObjectName("nuetEdit")
        self.mascEdit = LineEditRU(MiscConj)
        self.mascEdit.setGeometry(QtCore.QRect(50, 130, 330, 30))
        self.mascEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.mascEdit.setObjectName("mascEdit")
        self.femLbl = QtWidgets.QLabel(MiscConj)
        self.femLbl.setGeometry(QtCore.QRect(420, 110, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.femLbl.setFont(font)
        self.femLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.femLbl.setObjectName("femLbl")
        self.mascLbl = QtWidgets.QLabel(MiscConj)
        self.mascLbl.setGeometry(QtCore.QRect(50, 110, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.mascLbl.setFont(font)
        self.mascLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.mascLbl.setObjectName("mascLbl")
        self.nuetLbl = QtWidgets.QLabel(MiscConj)
        self.nuetLbl.setGeometry(QtCore.QRect(50, 160, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.nuetLbl.setFont(font)
        self.nuetLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.nuetLbl.setObjectName("nuetLbl")
        self.ruFormImpLbl = QtWidgets.QLabel(MiscConj)
        self.ruFormImpLbl.setGeometry(QtCore.QRect(420, 460, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.ruFormImpLbl.setFont(font)
        self.ruFormImpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.ruFormImpLbl.setObjectName("ruFormImpLbl")
        self.ruInfImpEdit = LineEditRU(MiscConj)
        self.ruInfImpEdit.setGeometry(QtCore.QRect(50, 490, 330, 30))
        self.ruInfImpEdit.setText("")
        self.ruInfImpEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.ruInfImpEdit.setObjectName("ruInfImpEdit")
        self.ruInfImpLbl = QtWidgets.QLabel(MiscConj)
        self.ruInfImpLbl.setGeometry(QtCore.QRect(50, 460, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.ruInfImpLbl.setFont(font)
        self.ruInfImpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.ruInfImpLbl.setObjectName("ruInfImpLbl")
        self.ruFormImpEdit = LineEditRU(MiscConj)
        self.ruFormImpEdit.setGeometry(QtCore.QRect(420, 490, 330, 30))
        self.ruFormImpEdit.setText("")
        self.ruFormImpEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.ruFormImpEdit.setObjectName("ruFormImpEdit")
        self.quitBttn = QtWidgets.QPushButton(MiscConj)
        self.quitBttn.setGeometry(QtCore.QRect(130, 520, 150, 50))
        self.quitBttn.setObjectName("quitBttn")
        self.acceptBttn = QtWidgets.QPushButton(MiscConj)
        self.acceptBttn.setGeometry(QtCore.QRect(520, 520, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.backBttn = QtWidgets.QPushButton(MiscConj)
        self.backBttn.setGeometry(QtCore.QRect(330, 520, 150, 50))
        self.backBttn.setObjectName("backBttn")
        self.helpBttn = QtWidgets.QPushButton(MiscConj)
        self.helpBttn.setGeometry(QtCore.QRect(630, 0, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.presAdv = LineEditRU(MiscConj)
        self.presAdv.setGeometry(QtCore.QRect(420, 370, 330, 30))
        self.presAdv.setText("")
        self.presAdv.setAlignment(QtCore.Qt.AlignCenter)
        self.presAdv.setObjectName("presAdv")
        self.enImpEdit = LineEditEN(MiscConj)
        self.enImpEdit.setGeometry(QtCore.QRect(420, 430, 330, 30))
        self.enImpEdit.setText("")
        self.enImpEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.enImpEdit.setObjectName("enImpEdit")
        self.enPastAdvLbl = QtWidgets.QLabel(MiscConj)
        self.enPastAdvLbl.setGeometry(QtCore.QRect(50, 280, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.enPastAdvLbl.setFont(font)
        self.enPastAdvLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.enPastAdvLbl.setObjectName("enPastAdvLbl")
        self.enPastAdvEdit = LineEditEN(MiscConj)
        self.enPastAdvEdit.setGeometry(QtCore.QRect(420, 280, 330, 30))
        self.enPastAdvEdit.setText("")
        self.enPastAdvEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.enPastAdvEdit.setObjectName("enPastAdvEdit")
        self.advCheck = QtWidgets.QCheckBox(MiscConj)
        self.advCheck.setGeometry(QtCore.QRect(300, 220, 200, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.advCheck.setFont(font)
        self.advCheck.setChecked(True)
        self.advCheck.setObjectName("advCheck")
        self.stemEdit = LineEditRU(MiscConj)
        self.stemEdit.setGeometry(QtCore.QRect(420, 80, 330, 30))
        self.stemEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.stemEdit.setObjectName("stemEdit")
        self.stemLbl = QtWidgets.QLabel(MiscConj)
        self.stemLbl.setGeometry(QtCore.QRect(60, 80, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.stemLbl.setFont(font)
        self.stemLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.enPresAdvEdit = LineEditEN(MiscConj)
        self.enPresAdvEdit.setGeometry(QtCore.QRect(420, 250, 330, 30))
        self.enPresAdvEdit.setText("")
        self.enPresAdvEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.enPresAdvEdit.setObjectName("enPresAdvEdit")
        self.enPresAdvLbl = QtWidgets.QLabel(MiscConj)
        self.enPresAdvLbl.setGeometry(QtCore.QRect(50, 250, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.enPresAdvLbl.setFont(font)
        self.enPresAdvLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.enPresAdvLbl.setObjectName("enPresAdvLbl")
        self.presAdvLbl = QtWidgets.QLabel(MiscConj)
        self.presAdvLbl.setGeometry(QtCore.QRect(50, 370, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.presAdvLbl.setFont(font)
        self.presAdvLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.presAdvLbl.setObjectName("presAdvLbl")
        self.pastAdvLbl1 = QtWidgets.QLabel(MiscConj)
        self.pastAdvLbl1.setGeometry(QtCore.QRect(40, 340, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.pastAdvLbl1.setFont(font)
        self.pastAdvLbl1.setAlignment(QtCore.Qt.AlignCenter)
        self.pastAdvLbl1.setObjectName("pastAdvLbl1")
        self.pastAdv1 = LineEditRU(MiscConj)
        self.pastAdv1.setGeometry(QtCore.QRect(420, 340, 330, 30))
        self.pastAdv1.setText("")
        self.pastAdv1.setAlignment(QtCore.Qt.AlignCenter)
        self.pastAdv1.setObjectName("pastAdv1")
        self.pastAdvLbl = QtWidgets.QLabel(MiscConj)
        self.pastAdvLbl.setGeometry(QtCore.QRect(40, 310, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.pastAdvLbl.setFont(font)
        self.pastAdvLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.pastAdvLbl.setObjectName("pastAdvLbl")
        self.pastAdv = LineEditRU(MiscConj)
        self.pastAdv.setGeometry(QtCore.QRect(420, 310, 330, 30))
        self.pastAdv.setText("")
        self.pastAdv.setAlignment(QtCore.Qt.AlignCenter)
        self.pastAdv.setObjectName("pastAdv")
        self.enPPPEdit = LineEditEN(MiscConj)
        self.enPPPEdit.setGeometry(QtCore.QRect(420, 50, 330, 30))
        self.enPPPEdit.setText("")
        self.enPPPEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.enPPPEdit.setObjectName("enPPPEdit")
        self.enPPPLbl = QtWidgets.QLabel(MiscConj)
        self.enPPPLbl.setGeometry(QtCore.QRect(50, 50, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.enPPPLbl.setFont(font)
        self.enPPPLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.enPPPLbl.setObjectName("enPPPLbl")
        self.spppCheck = QtWidgets.QCheckBox(MiscConj)
        self.spppCheck.setGeometry(QtCore.QRect(270, 20, 260, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.spppCheck.setFont(font)
        self.spppCheck.setChecked(True)
        self.spppCheck.setObjectName("spppCheck")
        self.impCheck = QtWidgets.QCheckBox(MiscConj)
        self.impCheck.setGeometry(QtCore.QRect(300, 400, 200, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.impCheck.setFont(font)
        self.impCheck.setChecked(True)
        self.impCheck.setObjectName("impCheck")

        self.retranslateUi(MiscConj)
        QtCore.QMetaObject.connectSlotsByName(MiscConj)
        MiscConj.setTabOrder(self.spppCheck, self.helpBttn)
        MiscConj.setTabOrder(self.helpBttn, self.enPPPEdit)
        MiscConj.setTabOrder(self.enPPPEdit, self.stemEdit)
        MiscConj.setTabOrder(self.stemEdit, self.mascEdit)
        MiscConj.setTabOrder(self.mascEdit, self.femEdit)
        MiscConj.setTabOrder(self.femEdit, self.nuetEdit)
        MiscConj.setTabOrder(self.nuetEdit, self.plurEdit)
        MiscConj.setTabOrder(self.plurEdit, self.advCheck)
        MiscConj.setTabOrder(self.advCheck, self.enPresAdvEdit)
        MiscConj.setTabOrder(self.enPresAdvEdit, self.enPastAdvEdit)
        MiscConj.setTabOrder(self.enPastAdvEdit, self.pastAdv)
        MiscConj.setTabOrder(self.pastAdv, self.pastAdv1)
        MiscConj.setTabOrder(self.pastAdv1, self.presAdv)
        MiscConj.setTabOrder(self.presAdv, self.enImpEdit)
        MiscConj.setTabOrder(self.enImpEdit, self.ruInfImpEdit)
        MiscConj.setTabOrder(self.ruInfImpEdit, self.ruFormImpEdit)
        MiscConj.setTabOrder(self.ruFormImpEdit, self.quitBttn)
        MiscConj.setTabOrder(self.quitBttn, self.backBttn)
        MiscConj.setTabOrder(self.backBttn, self.acceptBttn)

    def retranslateUi(self, MiscConj):
        _translate = QtCore.QCoreApplication.translate
        MiscConj.setWindowTitle(
            _translate("MiscConj", "Miscellaneous Conjugations"))
        self.enImpLbl.setText(_translate("MiscConj", "English Imperative"))
        self.plurLbl.setText(_translate("MiscConj", "Plural"))
        self.femLbl.setText(_translate("MiscConj", "Feminine"))
        self.mascLbl.setText(_translate("MiscConj", "Masculine"))
        self.nuetLbl.setText(_translate("MiscConj", "Nueter"))
        self.ruFormImpLbl.setText(
            _translate("MiscConj", "Russian Formal Imperative"))
        self.ruInfImpLbl.setText(
            _translate("MiscConj", "Russian Informal Imperative"))
        self.quitBttn.setText(_translate("MiscConj", "Quit"))
        self.acceptBttn.setText(_translate("MiscConj", "Accept."))
        self.backBttn.setText(_translate("MiscConj", "Back"))
        self.helpBttn.setText(_translate("MiscConj", "Help"))
        self.enPastAdvLbl.setText(_translate("MiscConj",
                                             "English Past Adverb"))
        self.advCheck.setText(_translate("MiscConj", "Verbal Adverb"))
        self.stemLbl.setText(_translate("MiscConj", "Participle Stem"))
        self.enPresAdvLbl.setText(
            _translate("MiscConj", "English Present Adverb"))
        self.presAdvLbl.setText(
            _translate("MiscConj", "Russian Present Adverb"))
        self.pastAdvLbl1.setText(
            _translate("MiscConj", "  Russian Past Adverb вш"))
        self.pastAdvLbl.setText(_translate("MiscConj",
                                           "Russian Past Adverb в"))
        self.enPPPLbl.setText(_translate("MiscConj", "English Past Passive"))
        self.spppCheck.setText(_translate("MiscConj", "Short Past Passive"))
        self.impCheck.setText(_translate("MiscConj", "Imperative"))
Exemplo n.º 11
0
    def setupUi(self, PronounDecl):
        PronounDecl.setObjectName("PronounDecl")
        PronounDecl.resize(800, 600)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        PronounDecl.setWindowIcon(icon)
        self.titleLbl = QtWidgets.QLabel(PronounDecl)
        self.titleLbl.setGeometry(QtCore.QRect(10, 10, 780, 30))
        font = QtGui.QFont()
        font.setPointSize(18)
        font.setBold(True)
        font.setWeight(75)
        self.titleLbl.setFont(font)
        self.titleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLbl.setObjectName("titleLbl")
        self.nomEdit = LineEditRU(PronounDecl)
        self.nomEdit.setGeometry(QtCore.QRect(30, 310, 340, 30))
        self.nomEdit.setObjectName("nomEdit")
        self.nomLbl = QtWidgets.QLabel(PronounDecl)
        self.nomLbl.setGeometry(QtCore.QRect(30, 280, 340, 25))
        self.nomLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.nomLbl.setObjectName("nomLbl")
        self.genLbl = QtWidgets.QLabel(PronounDecl)
        self.genLbl.setGeometry(QtCore.QRect(30, 350, 340, 25))
        self.genLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.genLbl.setObjectName("genLbl")
        self.genEdit = LineEditRU(PronounDecl)
        self.genEdit.setGeometry(QtCore.QRect(30, 380, 340, 30))
        self.genEdit.setObjectName("genEdit")
        self.insLbl = QtWidgets.QLabel(PronounDecl)
        self.insLbl.setGeometry(QtCore.QRect(30, 420, 340, 25))
        self.insLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.insLbl.setObjectName("insLbl")
        self.insEdit = LineEditRU(PronounDecl)
        self.insEdit.setGeometry(QtCore.QRect(30, 450, 340, 30))
        self.insEdit.setObjectName("insEdit")
        self.accLbl = QtWidgets.QLabel(PronounDecl)
        self.accLbl.setGeometry(QtCore.QRect(430, 280, 340, 25))
        self.accLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.accLbl.setObjectName("accLbl")
        self.accEdit = LineEditRU(PronounDecl)
        self.accEdit.setGeometry(QtCore.QRect(430, 310, 340, 30))
        self.accEdit.setObjectName("accEdit")
        self.datLbl = QtWidgets.QLabel(PronounDecl)
        self.datLbl.setGeometry(QtCore.QRect(430, 350, 340, 25))
        self.datLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.datLbl.setObjectName("datLbl")
        self.datEdit = LineEditRU(PronounDecl)
        self.datEdit.setGeometry(QtCore.QRect(430, 380, 340, 30))
        self.datEdit.setObjectName("datEdit")
        self.prpLbl = QtWidgets.QLabel(PronounDecl)
        self.prpLbl.setGeometry(QtCore.QRect(430, 420, 340, 25))
        self.prpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.prpLbl.setObjectName("prpLbl")
        self.prpEdit = LineEditRU(PronounDecl)
        self.prpEdit.setGeometry(QtCore.QRect(430, 450, 340, 30))
        self.prpEdit.setObjectName("prpEdit")
        self.rejectBttn = QtWidgets.QPushButton(PronounDecl)
        self.rejectBttn.setGeometry(QtCore.QRect(30, 530, 150, 50))
        self.rejectBttn.setObjectName("rejectBttn")
        self.acceptBttn = QtWidgets.QPushButton(PronounDecl)
        self.acceptBttn.setGeometry(QtCore.QRect(620, 530, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.pronBttn = QtWidgets.QPushButton(PronounDecl)
        self.pronBttn.setGeometry(QtCore.QRect(420, 530, 150, 50))
        self.pronBttn.setObjectName("pronBttn")
        self.typeLbl = QtWidgets.QLabel(PronounDecl)
        self.typeLbl.setGeometry(QtCore.QRect(40, 170, 180, 25))
        self.typeLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.typeLbl.setObjectName("typeLbl")
        self.typeDrop = QtWidgets.QComboBox(PronounDecl)
        self.typeDrop.setGeometry(QtCore.QRect(40, 200, 180, 35))
        self.typeDrop.setObjectName("typeDrop")
        self.helpBttn = QtWidgets.QPushButton(PronounDecl)
        self.helpBttn.setGeometry(QtCore.QRect(640, 10, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.endingBttn = QtWidgets.QPushButton(PronounDecl)
        self.endingBttn.setGeometry(QtCore.QRect(230, 530, 150, 50))
        self.endingBttn.setObjectName("endingBttn")
        self.stemLbl = QtWidgets.QLabel(PronounDecl)
        self.stemLbl.setGeometry(QtCore.QRect(30, 240, 340, 25))
        self.stemLbl.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.stemEdit = LineEditRU(PronounDecl)
        self.stemEdit.setGeometry(QtCore.QRect(430, 240, 340, 30))
        self.stemEdit.setObjectName("stemEdit")
        self.enEdit = LineEditEN(PronounDecl)
        self.enEdit.setGeometry(QtCore.QRect(430, 200, 340, 30))
        self.enEdit.setObjectName("enEdit")
        self.enLbl = QtWidgets.QLabel(PronounDecl)
        self.enLbl.setGeometry(QtCore.QRect(240, 200, 130, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.enLbl.setFont(font)
        self.enLbl.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
                                | QtCore.Qt.AlignVCenter)
        self.enLbl.setObjectName("enLbl")
        self.genderBox = QtWidgets.QGroupBox(PronounDecl)
        self.genderBox.setGeometry(QtCore.QRect(10, 70, 780, 80))
        self.genderBox.setTitle("")
        self.genderBox.setObjectName("genderBox")
        self.mascanimrb = QtWidgets.QRadioButton(self.genderBox)
        self.mascanimrb.setGeometry(QtCore.QRect(10, 20, 250, 25))
        self.mascanimrb.setChecked(False)
        self.mascanimrb.setObjectName("mascanimrb")
        self.mascinanrb = QtWidgets.QRadioButton(self.genderBox)
        self.mascinanrb.setGeometry(QtCore.QRect(280, 20, 250, 25))
        self.mascinanrb.setChecked(True)
        self.mascinanrb.setObjectName("mascinanrb")
        self.femrb = QtWidgets.QRadioButton(self.genderBox)
        self.femrb.setGeometry(QtCore.QRect(620, 20, 130, 25))
        self.femrb.setChecked(False)
        self.femrb.setObjectName("femrb")
        self.plurinanrb = QtWidgets.QRadioButton(self.genderBox)
        self.plurinanrb.setGeometry(QtCore.QRect(550, 50, 200, 25))
        self.plurinanrb.setChecked(False)
        self.plurinanrb.setObjectName("plurinanrb")
        self.pluranimrb = QtWidgets.QRadioButton(self.genderBox)
        self.pluranimrb.setGeometry(QtCore.QRect(280, 50, 200, 25))
        self.pluranimrb.setObjectName("pluranimrb")
        self.nuetrb = QtWidgets.QRadioButton(self.genderBox)
        self.nuetrb.setGeometry(QtCore.QRect(10, 50, 150, 25))
        self.nuetrb.setChecked(False)
        self.nuetrb.setObjectName("nuetrb")
        self.singBttn = QtWidgets.QPushButton(PronounDecl)
        self.singBttn.setGeometry(QtCore.QRect(130, 480, 150, 50))
        self.singBttn.setObjectName("singBttn")
        self.groupBttn = QtWidgets.QPushButton(PronounDecl)
        self.groupBttn.setGeometry(QtCore.QRect(520, 480, 150, 50))
        self.groupBttn.setObjectName("groupBttn")

        self.retranslateUi(PronounDecl)
        QtCore.QMetaObject.connectSlotsByName(PronounDecl)
        PronounDecl.setTabOrder(self.helpBttn, self.mascanimrb)
        PronounDecl.setTabOrder(self.mascanimrb, self.mascinanrb)
        PronounDecl.setTabOrder(self.mascinanrb, self.femrb)
        PronounDecl.setTabOrder(self.femrb, self.nuetrb)
        PronounDecl.setTabOrder(self.nuetrb, self.pluranimrb)
        PronounDecl.setTabOrder(self.pluranimrb, self.plurinanrb)
        PronounDecl.setTabOrder(self.plurinanrb, self.typeDrop)
        PronounDecl.setTabOrder(self.typeDrop, self.enEdit)
        PronounDecl.setTabOrder(self.enEdit, self.stemEdit)
        PronounDecl.setTabOrder(self.stemEdit, self.nomEdit)
        PronounDecl.setTabOrder(self.nomEdit, self.accEdit)
        PronounDecl.setTabOrder(self.accEdit, self.genEdit)
        PronounDecl.setTabOrder(self.genEdit, self.datEdit)
        PronounDecl.setTabOrder(self.datEdit, self.insEdit)
        PronounDecl.setTabOrder(self.insEdit, self.prpEdit)
        PronounDecl.setTabOrder(self.prpEdit, self.singBttn)
        PronounDecl.setTabOrder(self.singBttn, self.groupBttn)
        PronounDecl.setTabOrder(self.groupBttn, self.rejectBttn)
        PronounDecl.setTabOrder(self.rejectBttn, self.endingBttn)
        PronounDecl.setTabOrder(self.endingBttn, self.pronBttn)
        PronounDecl.setTabOrder(self.pronBttn, self.acceptBttn)
Exemplo n.º 12
0
class Ui_PronounDecl(object):
    def setupUi(self, PronounDecl):
        PronounDecl.setObjectName("PronounDecl")
        PronounDecl.resize(800, 600)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        PronounDecl.setWindowIcon(icon)
        self.titleLbl = QtWidgets.QLabel(PronounDecl)
        self.titleLbl.setGeometry(QtCore.QRect(10, 10, 780, 30))
        font = QtGui.QFont()
        font.setPointSize(18)
        font.setBold(True)
        font.setWeight(75)
        self.titleLbl.setFont(font)
        self.titleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLbl.setObjectName("titleLbl")
        self.nomEdit = LineEditRU(PronounDecl)
        self.nomEdit.setGeometry(QtCore.QRect(30, 310, 340, 30))
        self.nomEdit.setObjectName("nomEdit")
        self.nomLbl = QtWidgets.QLabel(PronounDecl)
        self.nomLbl.setGeometry(QtCore.QRect(30, 280, 340, 25))
        self.nomLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.nomLbl.setObjectName("nomLbl")
        self.genLbl = QtWidgets.QLabel(PronounDecl)
        self.genLbl.setGeometry(QtCore.QRect(30, 350, 340, 25))
        self.genLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.genLbl.setObjectName("genLbl")
        self.genEdit = LineEditRU(PronounDecl)
        self.genEdit.setGeometry(QtCore.QRect(30, 380, 340, 30))
        self.genEdit.setObjectName("genEdit")
        self.insLbl = QtWidgets.QLabel(PronounDecl)
        self.insLbl.setGeometry(QtCore.QRect(30, 420, 340, 25))
        self.insLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.insLbl.setObjectName("insLbl")
        self.insEdit = LineEditRU(PronounDecl)
        self.insEdit.setGeometry(QtCore.QRect(30, 450, 340, 30))
        self.insEdit.setObjectName("insEdit")
        self.accLbl = QtWidgets.QLabel(PronounDecl)
        self.accLbl.setGeometry(QtCore.QRect(430, 280, 340, 25))
        self.accLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.accLbl.setObjectName("accLbl")
        self.accEdit = LineEditRU(PronounDecl)
        self.accEdit.setGeometry(QtCore.QRect(430, 310, 340, 30))
        self.accEdit.setObjectName("accEdit")
        self.datLbl = QtWidgets.QLabel(PronounDecl)
        self.datLbl.setGeometry(QtCore.QRect(430, 350, 340, 25))
        self.datLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.datLbl.setObjectName("datLbl")
        self.datEdit = LineEditRU(PronounDecl)
        self.datEdit.setGeometry(QtCore.QRect(430, 380, 340, 30))
        self.datEdit.setObjectName("datEdit")
        self.prpLbl = QtWidgets.QLabel(PronounDecl)
        self.prpLbl.setGeometry(QtCore.QRect(430, 420, 340, 25))
        self.prpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.prpLbl.setObjectName("prpLbl")
        self.prpEdit = LineEditRU(PronounDecl)
        self.prpEdit.setGeometry(QtCore.QRect(430, 450, 340, 30))
        self.prpEdit.setObjectName("prpEdit")
        self.rejectBttn = QtWidgets.QPushButton(PronounDecl)
        self.rejectBttn.setGeometry(QtCore.QRect(30, 530, 150, 50))
        self.rejectBttn.setObjectName("rejectBttn")
        self.acceptBttn = QtWidgets.QPushButton(PronounDecl)
        self.acceptBttn.setGeometry(QtCore.QRect(620, 530, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.pronBttn = QtWidgets.QPushButton(PronounDecl)
        self.pronBttn.setGeometry(QtCore.QRect(420, 530, 150, 50))
        self.pronBttn.setObjectName("pronBttn")
        self.typeLbl = QtWidgets.QLabel(PronounDecl)
        self.typeLbl.setGeometry(QtCore.QRect(40, 170, 180, 25))
        self.typeLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.typeLbl.setObjectName("typeLbl")
        self.typeDrop = QtWidgets.QComboBox(PronounDecl)
        self.typeDrop.setGeometry(QtCore.QRect(40, 200, 180, 35))
        self.typeDrop.setObjectName("typeDrop")
        self.helpBttn = QtWidgets.QPushButton(PronounDecl)
        self.helpBttn.setGeometry(QtCore.QRect(640, 10, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.endingBttn = QtWidgets.QPushButton(PronounDecl)
        self.endingBttn.setGeometry(QtCore.QRect(230, 530, 150, 50))
        self.endingBttn.setObjectName("endingBttn")
        self.stemLbl = QtWidgets.QLabel(PronounDecl)
        self.stemLbl.setGeometry(QtCore.QRect(30, 240, 340, 25))
        self.stemLbl.setAlignment(QtCore.Qt.AlignRight
                                  | QtCore.Qt.AlignTrailing
                                  | QtCore.Qt.AlignVCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.stemEdit = LineEditRU(PronounDecl)
        self.stemEdit.setGeometry(QtCore.QRect(430, 240, 340, 30))
        self.stemEdit.setObjectName("stemEdit")
        self.enEdit = LineEditEN(PronounDecl)
        self.enEdit.setGeometry(QtCore.QRect(430, 200, 340, 30))
        self.enEdit.setObjectName("enEdit")
        self.enLbl = QtWidgets.QLabel(PronounDecl)
        self.enLbl.setGeometry(QtCore.QRect(240, 200, 130, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.enLbl.setFont(font)
        self.enLbl.setAlignment(QtCore.Qt.AlignRight | QtCore.Qt.AlignTrailing
                                | QtCore.Qt.AlignVCenter)
        self.enLbl.setObjectName("enLbl")
        self.genderBox = QtWidgets.QGroupBox(PronounDecl)
        self.genderBox.setGeometry(QtCore.QRect(10, 70, 780, 80))
        self.genderBox.setTitle("")
        self.genderBox.setObjectName("genderBox")
        self.mascanimrb = QtWidgets.QRadioButton(self.genderBox)
        self.mascanimrb.setGeometry(QtCore.QRect(10, 20, 250, 25))
        self.mascanimrb.setChecked(False)
        self.mascanimrb.setObjectName("mascanimrb")
        self.mascinanrb = QtWidgets.QRadioButton(self.genderBox)
        self.mascinanrb.setGeometry(QtCore.QRect(280, 20, 250, 25))
        self.mascinanrb.setChecked(True)
        self.mascinanrb.setObjectName("mascinanrb")
        self.femrb = QtWidgets.QRadioButton(self.genderBox)
        self.femrb.setGeometry(QtCore.QRect(620, 20, 130, 25))
        self.femrb.setChecked(False)
        self.femrb.setObjectName("femrb")
        self.plurinanrb = QtWidgets.QRadioButton(self.genderBox)
        self.plurinanrb.setGeometry(QtCore.QRect(550, 50, 200, 25))
        self.plurinanrb.setChecked(False)
        self.plurinanrb.setObjectName("plurinanrb")
        self.pluranimrb = QtWidgets.QRadioButton(self.genderBox)
        self.pluranimrb.setGeometry(QtCore.QRect(280, 50, 200, 25))
        self.pluranimrb.setObjectName("pluranimrb")
        self.nuetrb = QtWidgets.QRadioButton(self.genderBox)
        self.nuetrb.setGeometry(QtCore.QRect(10, 50, 150, 25))
        self.nuetrb.setChecked(False)
        self.nuetrb.setObjectName("nuetrb")
        self.singBttn = QtWidgets.QPushButton(PronounDecl)
        self.singBttn.setGeometry(QtCore.QRect(130, 480, 150, 50))
        self.singBttn.setObjectName("singBttn")
        self.groupBttn = QtWidgets.QPushButton(PronounDecl)
        self.groupBttn.setGeometry(QtCore.QRect(520, 480, 150, 50))
        self.groupBttn.setObjectName("groupBttn")

        self.retranslateUi(PronounDecl)
        QtCore.QMetaObject.connectSlotsByName(PronounDecl)
        PronounDecl.setTabOrder(self.helpBttn, self.mascanimrb)
        PronounDecl.setTabOrder(self.mascanimrb, self.mascinanrb)
        PronounDecl.setTabOrder(self.mascinanrb, self.femrb)
        PronounDecl.setTabOrder(self.femrb, self.nuetrb)
        PronounDecl.setTabOrder(self.nuetrb, self.pluranimrb)
        PronounDecl.setTabOrder(self.pluranimrb, self.plurinanrb)
        PronounDecl.setTabOrder(self.plurinanrb, self.typeDrop)
        PronounDecl.setTabOrder(self.typeDrop, self.enEdit)
        PronounDecl.setTabOrder(self.enEdit, self.stemEdit)
        PronounDecl.setTabOrder(self.stemEdit, self.nomEdit)
        PronounDecl.setTabOrder(self.nomEdit, self.accEdit)
        PronounDecl.setTabOrder(self.accEdit, self.genEdit)
        PronounDecl.setTabOrder(self.genEdit, self.datEdit)
        PronounDecl.setTabOrder(self.datEdit, self.insEdit)
        PronounDecl.setTabOrder(self.insEdit, self.prpEdit)
        PronounDecl.setTabOrder(self.prpEdit, self.singBttn)
        PronounDecl.setTabOrder(self.singBttn, self.groupBttn)
        PronounDecl.setTabOrder(self.groupBttn, self.rejectBttn)
        PronounDecl.setTabOrder(self.rejectBttn, self.endingBttn)
        PronounDecl.setTabOrder(self.endingBttn, self.pronBttn)
        PronounDecl.setTabOrder(self.pronBttn, self.acceptBttn)

    def retranslateUi(self, PronounDecl):
        _translate = QtCore.QCoreApplication.translate
        PronounDecl.setWindowTitle(
            _translate("PronounDecl", "Russian Pronoun Declension"))
        self.titleLbl.setText(
            _translate("PronounDecl", "Russian Pronoun Declension"))
        self.nomLbl.setText(_translate("PronounDecl", "Nominative"))
        self.genLbl.setText(_translate("PronounDecl", "Genitive"))
        self.insLbl.setText(_translate("PronounDecl", "Instrumental"))
        self.accLbl.setText(_translate("PronounDecl", "Accusative"))
        self.datLbl.setText(_translate("PronounDecl", "Dative"))
        self.prpLbl.setText(_translate("PronounDecl", "Prepositional"))
        self.rejectBttn.setText(_translate("PronounDecl", "Reject"))
        self.acceptBttn.setText(_translate("PronounDecl", "Accept"))
        self.pronBttn.setText(_translate("PronounDecl", "Pronouns"))
        self.typeLbl.setText(_translate("PronounDecl", "Pronoun Type"))
        self.helpBttn.setText(_translate("PronounDecl", "Help"))
        self.endingBttn.setText(_translate("PronounDecl", "Endings"))
        self.stemLbl.setText(_translate("PronounDecl", "Pronoun Stem"))
        self.enLbl.setText(_translate("PronounDecl", "English"))
        self.mascanimrb.setText(_translate("PronounDecl", "Masculine Animate"))
        self.mascinanrb.setText(
            _translate("PronounDecl", "Masculine Inanimate"))
        self.femrb.setText(_translate("PronounDecl", "Feminine"))
        self.plurinanrb.setText(_translate("PronounDecl", "Plural Inanimate"))
        self.pluranimrb.setText(_translate("PronounDecl", "Plural Animate"))
        self.nuetrb.setText(_translate("PronounDecl", "Nueter"))
        self.singBttn.setText(_translate("PronounDecl", "Singular"))
        self.groupBttn.setText(_translate("PronounDecl", "Group"))
Exemplo n.º 13
0
    def setupUi(self, PartDecl):
        PartDecl.setObjectName("PartDecl")
        PartDecl.resize(800, 600)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        PartDecl.setWindowIcon(icon)
        self.insEdit = LineEditRU(PartDecl)
        self.insEdit.setGeometry(QtCore.QRect(30, 330, 340, 30))
        self.insEdit.setText("")
        self.insEdit.setObjectName("insEdit")
        self.insLbl = QtWidgets.QLabel(PartDecl)
        self.insLbl.setGeometry(QtCore.QRect(30, 310, 340, 25))
        self.insLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.insLbl.setObjectName("insLbl")
        self.accEdit = LineEditRU(PartDecl)
        self.accEdit.setGeometry(QtCore.QRect(430, 210, 340, 30))
        self.accEdit.setObjectName("accEdit")
        self.genLbl = QtWidgets.QLabel(PartDecl)
        self.genLbl.setGeometry(QtCore.QRect(30, 250, 340, 25))
        self.genLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.genLbl.setObjectName("genLbl")
        self.datLbl = QtWidgets.QLabel(PartDecl)
        self.datLbl.setGeometry(QtCore.QRect(430, 250, 340, 25))
        self.datLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.datLbl.setObjectName("datLbl")
        self.prpLbl = QtWidgets.QLabel(PartDecl)
        self.prpLbl.setGeometry(QtCore.QRect(430, 310, 340, 25))
        self.prpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.prpLbl.setObjectName("prpLbl")
        self.datEdit = LineEditRU(PartDecl)
        self.datEdit.setGeometry(QtCore.QRect(430, 270, 340, 30))
        self.datEdit.setObjectName("datEdit")
        self.accLbl = QtWidgets.QLabel(PartDecl)
        self.accLbl.setGeometry(QtCore.QRect(430, 190, 340, 25))
        self.accLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.accLbl.setObjectName("accLbl")
        self.nomLbl = QtWidgets.QLabel(PartDecl)
        self.nomLbl.setGeometry(QtCore.QRect(30, 190, 340, 25))
        self.nomLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.nomLbl.setObjectName("nomLbl")
        self.nomEdit = LineEditRU(PartDecl)
        self.nomEdit.setGeometry(QtCore.QRect(30, 210, 340, 30))
        self.nomEdit.setObjectName("nomEdit")
        self.genEdit = LineEditRU(PartDecl)
        self.genEdit.setGeometry(QtCore.QRect(30, 270, 340, 30))
        self.genEdit.setObjectName("genEdit")
        self.prpEdit = LineEditRU(PartDecl)
        self.prpEdit.setGeometry(QtCore.QRect(430, 330, 340, 30))
        self.prpEdit.setObjectName("prpEdit")
        self.tenseBox = QtWidgets.QGroupBox(PartDecl)
        self.tenseBox.setGeometry(QtCore.QRect(10, 40, 780, 40))
        self.tenseBox.setTitle("")
        self.tenseBox.setObjectName("tenseBox")
        self.parb = QtWidgets.QRadioButton(self.tenseBox)
        self.parb.setGeometry(QtCore.QRect(20, 20, 170, 25))
        self.parb.setChecked(True)
        self.parb.setObjectName("parb")
        self.pprb = QtWidgets.QRadioButton(self.tenseBox)
        self.pprb.setGeometry(QtCore.QRect(210, 20, 170, 25))
        self.pprb.setObjectName("pprb")
        self.pastarb = QtWidgets.QRadioButton(self.tenseBox)
        self.pastarb.setGeometry(QtCore.QRect(430, 20, 170, 21))
        self.pastarb.setObjectName("pastarb")
        self.pastprb = QtWidgets.QRadioButton(self.tenseBox)
        self.pastprb.setGeometry(QtCore.QRect(600, 20, 170, 25))
        self.pastprb.setObjectName("pastprb")
        self.quitBttn = QtWidgets.QPushButton(PartDecl)
        self.quitBttn.setGeometry(QtCore.QRect(100, 530, 150, 50))
        self.quitBttn.setObjectName("quitBttn")
        self.acceptBttn = QtWidgets.QPushButton(PartDecl)
        self.acceptBttn.setGeometry(QtCore.QRect(550, 530, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.titleLbl = QtWidgets.QLabel(PartDecl)
        self.titleLbl.setGeometry(QtCore.QRect(10, 10, 780, 30))
        font = QtGui.QFont()
        font.setPointSize(18)
        font.setBold(True)
        font.setWeight(75)
        self.titleLbl.setFont(font)
        self.titleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLbl.setObjectName("titleLbl")
        self.enLbl = QtWidgets.QLabel(PartDecl)
        self.enLbl.setGeometry(QtCore.QRect(30, 470, 80, 25))
        self.enLbl.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                | QtCore.Qt.AlignVCenter)
        self.enLbl.setObjectName("enLbl")
        self.backBttn = QtWidgets.QPushButton(PartDecl)
        self.backBttn.setGeometry(QtCore.QRect(320, 530, 150, 50))
        self.backBttn.setObjectName("backBttn")
        self.genderBox = QtWidgets.QGroupBox(PartDecl)
        self.genderBox.setGeometry(QtCore.QRect(10, 90, 780, 90))
        self.genderBox.setTitle("")
        self.genderBox.setObjectName("genderBox")
        self.mascanimrb = QtWidgets.QRadioButton(self.genderBox)
        self.mascanimrb.setGeometry(QtCore.QRect(70, 20, 200, 25))
        self.mascanimrb.setChecked(False)
        self.mascanimrb.setObjectName("mascanimrb")
        self.femrb = QtWidgets.QRadioButton(self.genderBox)
        self.femrb.setGeometry(QtCore.QRect(580, 20, 150, 25))
        self.femrb.setObjectName("femrb")
        self.nuetrb = QtWidgets.QRadioButton(self.genderBox)
        self.nuetrb.setGeometry(QtCore.QRect(70, 50, 150, 25))
        self.nuetrb.setObjectName("nuetrb")
        self.pluranimrb = QtWidgets.QRadioButton(self.genderBox)
        self.pluranimrb.setGeometry(QtCore.QRect(300, 50, 200, 25))
        self.pluranimrb.setObjectName("pluranimrb")
        self.mascinanrb = QtWidgets.QRadioButton(self.genderBox)
        self.mascinanrb.setGeometry(QtCore.QRect(300, 20, 200, 25))
        self.mascinanrb.setChecked(True)
        self.mascinanrb.setObjectName("mascinanrb")
        self.plurinanrb = QtWidgets.QRadioButton(self.genderBox)
        self.plurinanrb.setGeometry(QtCore.QRect(530, 50, 200, 25))
        self.plurinanrb.setObjectName("plurinanrb")
        self.presaCheck = QtWidgets.QCheckBox(PartDecl)
        self.presaCheck.setGeometry(QtCore.QRect(80, 360, 200, 30))
        self.presaCheck.setObjectName("presaCheck")
        self.prespCheck = QtWidgets.QCheckBox(PartDecl)
        self.prespCheck.setGeometry(QtCore.QRect(80, 390, 200, 30))
        self.prespCheck.setObjectName("prespCheck")
        self.pastpCheck = QtWidgets.QCheckBox(PartDecl)
        self.pastpCheck.setGeometry(QtCore.QRect(480, 390, 200, 30))
        self.pastpCheck.setObjectName("pastpCheck")
        self.pastaCheck = QtWidgets.QCheckBox(PartDecl)
        self.pastaCheck.setGeometry(QtCore.QRect(480, 360, 200, 30))
        self.pastaCheck.setObjectName("pastaCheck")
        self.stemEdit = LineEditRU(PartDecl)
        self.stemEdit.setGeometry(QtCore.QRect(160, 420, 230, 30))
        self.stemEdit.setText("")
        self.stemEdit.setObjectName("stemEdit")
        self.stemLbl = QtWidgets.QLabel(PartDecl)
        self.stemLbl.setGeometry(QtCore.QRect(60, 420, 80, 25))
        self.stemLbl.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                  | QtCore.Qt.AlignVCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.endLbl = QtWidgets.QLabel(PartDecl)
        self.endLbl.setGeometry(QtCore.QRect(410, 420, 80, 25))
        self.endLbl.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                 | QtCore.Qt.AlignVCenter)
        self.endLbl.setObjectName("endLbl")
        self.endEdit = LineEditRU(PartDecl)
        self.endEdit.setGeometry(QtCore.QRect(510, 420, 230, 30))
        self.endEdit.setText("")
        self.endEdit.setObjectName("endEdit")
        self.helpBttn = QtWidgets.QPushButton(PartDecl)
        self.helpBttn.setGeometry(QtCore.QRect(640, 0, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.enEdit = LineEditEN(PartDecl)
        self.enEdit.setGeometry(QtCore.QRect(130, 470, 330, 30))
        self.enEdit.setText("")
        self.enEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.enEdit.setObjectName("enEdit")
        self.changeBttn = QtWidgets.QPushButton(PartDecl)
        self.changeBttn.setGeometry(QtCore.QRect(530, 460, 150, 50))
        self.changeBttn.setObjectName("changeBttn")

        self.retranslateUi(PartDecl)
        QtCore.QMetaObject.connectSlotsByName(PartDecl)
        PartDecl.setTabOrder(self.helpBttn, self.parb)
        PartDecl.setTabOrder(self.parb, self.pprb)
        PartDecl.setTabOrder(self.pprb, self.pastarb)
        PartDecl.setTabOrder(self.pastarb, self.pastprb)
        PartDecl.setTabOrder(self.pastprb, self.mascanimrb)
        PartDecl.setTabOrder(self.mascanimrb, self.mascinanrb)
        PartDecl.setTabOrder(self.mascinanrb, self.femrb)
        PartDecl.setTabOrder(self.femrb, self.nuetrb)
        PartDecl.setTabOrder(self.nuetrb, self.pluranimrb)
        PartDecl.setTabOrder(self.pluranimrb, self.plurinanrb)
        PartDecl.setTabOrder(self.plurinanrb, self.nomEdit)
        PartDecl.setTabOrder(self.nomEdit, self.accEdit)
        PartDecl.setTabOrder(self.accEdit, self.genEdit)
        PartDecl.setTabOrder(self.genEdit, self.datEdit)
        PartDecl.setTabOrder(self.datEdit, self.insEdit)
        PartDecl.setTabOrder(self.insEdit, self.prpEdit)
        PartDecl.setTabOrder(self.prpEdit, self.presaCheck)
        PartDecl.setTabOrder(self.presaCheck, self.pastaCheck)
        PartDecl.setTabOrder(self.pastaCheck, self.prespCheck)
        PartDecl.setTabOrder(self.prespCheck, self.pastpCheck)
        PartDecl.setTabOrder(self.pastpCheck, self.stemEdit)
        PartDecl.setTabOrder(self.stemEdit, self.endEdit)
        PartDecl.setTabOrder(self.endEdit, self.enEdit)
        PartDecl.setTabOrder(self.enEdit, self.quitBttn)
        PartDecl.setTabOrder(self.quitBttn, self.backBttn)
        PartDecl.setTabOrder(self.backBttn, self.acceptBttn)
Exemplo n.º 14
0
class Ui_PartDecl(object):
    def setupUi(self, PartDecl):
        PartDecl.setObjectName("PartDecl")
        PartDecl.resize(800, 600)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        PartDecl.setWindowIcon(icon)
        self.insEdit = LineEditRU(PartDecl)
        self.insEdit.setGeometry(QtCore.QRect(30, 330, 340, 30))
        self.insEdit.setText("")
        self.insEdit.setObjectName("insEdit")
        self.insLbl = QtWidgets.QLabel(PartDecl)
        self.insLbl.setGeometry(QtCore.QRect(30, 310, 340, 25))
        self.insLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.insLbl.setObjectName("insLbl")
        self.accEdit = LineEditRU(PartDecl)
        self.accEdit.setGeometry(QtCore.QRect(430, 210, 340, 30))
        self.accEdit.setObjectName("accEdit")
        self.genLbl = QtWidgets.QLabel(PartDecl)
        self.genLbl.setGeometry(QtCore.QRect(30, 250, 340, 25))
        self.genLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.genLbl.setObjectName("genLbl")
        self.datLbl = QtWidgets.QLabel(PartDecl)
        self.datLbl.setGeometry(QtCore.QRect(430, 250, 340, 25))
        self.datLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.datLbl.setObjectName("datLbl")
        self.prpLbl = QtWidgets.QLabel(PartDecl)
        self.prpLbl.setGeometry(QtCore.QRect(430, 310, 340, 25))
        self.prpLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.prpLbl.setObjectName("prpLbl")
        self.datEdit = LineEditRU(PartDecl)
        self.datEdit.setGeometry(QtCore.QRect(430, 270, 340, 30))
        self.datEdit.setObjectName("datEdit")
        self.accLbl = QtWidgets.QLabel(PartDecl)
        self.accLbl.setGeometry(QtCore.QRect(430, 190, 340, 25))
        self.accLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.accLbl.setObjectName("accLbl")
        self.nomLbl = QtWidgets.QLabel(PartDecl)
        self.nomLbl.setGeometry(QtCore.QRect(30, 190, 340, 25))
        self.nomLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.nomLbl.setObjectName("nomLbl")
        self.nomEdit = LineEditRU(PartDecl)
        self.nomEdit.setGeometry(QtCore.QRect(30, 210, 340, 30))
        self.nomEdit.setObjectName("nomEdit")
        self.genEdit = LineEditRU(PartDecl)
        self.genEdit.setGeometry(QtCore.QRect(30, 270, 340, 30))
        self.genEdit.setObjectName("genEdit")
        self.prpEdit = LineEditRU(PartDecl)
        self.prpEdit.setGeometry(QtCore.QRect(430, 330, 340, 30))
        self.prpEdit.setObjectName("prpEdit")
        self.tenseBox = QtWidgets.QGroupBox(PartDecl)
        self.tenseBox.setGeometry(QtCore.QRect(10, 40, 780, 40))
        self.tenseBox.setTitle("")
        self.tenseBox.setObjectName("tenseBox")
        self.parb = QtWidgets.QRadioButton(self.tenseBox)
        self.parb.setGeometry(QtCore.QRect(20, 20, 170, 25))
        self.parb.setChecked(True)
        self.parb.setObjectName("parb")
        self.pprb = QtWidgets.QRadioButton(self.tenseBox)
        self.pprb.setGeometry(QtCore.QRect(210, 20, 170, 25))
        self.pprb.setObjectName("pprb")
        self.pastarb = QtWidgets.QRadioButton(self.tenseBox)
        self.pastarb.setGeometry(QtCore.QRect(430, 20, 170, 21))
        self.pastarb.setObjectName("pastarb")
        self.pastprb = QtWidgets.QRadioButton(self.tenseBox)
        self.pastprb.setGeometry(QtCore.QRect(600, 20, 170, 25))
        self.pastprb.setObjectName("pastprb")
        self.quitBttn = QtWidgets.QPushButton(PartDecl)
        self.quitBttn.setGeometry(QtCore.QRect(100, 530, 150, 50))
        self.quitBttn.setObjectName("quitBttn")
        self.acceptBttn = QtWidgets.QPushButton(PartDecl)
        self.acceptBttn.setGeometry(QtCore.QRect(550, 530, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.titleLbl = QtWidgets.QLabel(PartDecl)
        self.titleLbl.setGeometry(QtCore.QRect(10, 10, 780, 30))
        font = QtGui.QFont()
        font.setPointSize(18)
        font.setBold(True)
        font.setWeight(75)
        self.titleLbl.setFont(font)
        self.titleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLbl.setObjectName("titleLbl")
        self.enLbl = QtWidgets.QLabel(PartDecl)
        self.enLbl.setGeometry(QtCore.QRect(30, 470, 80, 25))
        self.enLbl.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                | QtCore.Qt.AlignVCenter)
        self.enLbl.setObjectName("enLbl")
        self.backBttn = QtWidgets.QPushButton(PartDecl)
        self.backBttn.setGeometry(QtCore.QRect(320, 530, 150, 50))
        self.backBttn.setObjectName("backBttn")
        self.genderBox = QtWidgets.QGroupBox(PartDecl)
        self.genderBox.setGeometry(QtCore.QRect(10, 90, 780, 90))
        self.genderBox.setTitle("")
        self.genderBox.setObjectName("genderBox")
        self.mascanimrb = QtWidgets.QRadioButton(self.genderBox)
        self.mascanimrb.setGeometry(QtCore.QRect(70, 20, 200, 25))
        self.mascanimrb.setChecked(False)
        self.mascanimrb.setObjectName("mascanimrb")
        self.femrb = QtWidgets.QRadioButton(self.genderBox)
        self.femrb.setGeometry(QtCore.QRect(580, 20, 150, 25))
        self.femrb.setObjectName("femrb")
        self.nuetrb = QtWidgets.QRadioButton(self.genderBox)
        self.nuetrb.setGeometry(QtCore.QRect(70, 50, 150, 25))
        self.nuetrb.setObjectName("nuetrb")
        self.pluranimrb = QtWidgets.QRadioButton(self.genderBox)
        self.pluranimrb.setGeometry(QtCore.QRect(300, 50, 200, 25))
        self.pluranimrb.setObjectName("pluranimrb")
        self.mascinanrb = QtWidgets.QRadioButton(self.genderBox)
        self.mascinanrb.setGeometry(QtCore.QRect(300, 20, 200, 25))
        self.mascinanrb.setChecked(True)
        self.mascinanrb.setObjectName("mascinanrb")
        self.plurinanrb = QtWidgets.QRadioButton(self.genderBox)
        self.plurinanrb.setGeometry(QtCore.QRect(530, 50, 200, 25))
        self.plurinanrb.setObjectName("plurinanrb")
        self.presaCheck = QtWidgets.QCheckBox(PartDecl)
        self.presaCheck.setGeometry(QtCore.QRect(80, 360, 200, 30))
        self.presaCheck.setObjectName("presaCheck")
        self.prespCheck = QtWidgets.QCheckBox(PartDecl)
        self.prespCheck.setGeometry(QtCore.QRect(80, 390, 200, 30))
        self.prespCheck.setObjectName("prespCheck")
        self.pastpCheck = QtWidgets.QCheckBox(PartDecl)
        self.pastpCheck.setGeometry(QtCore.QRect(480, 390, 200, 30))
        self.pastpCheck.setObjectName("pastpCheck")
        self.pastaCheck = QtWidgets.QCheckBox(PartDecl)
        self.pastaCheck.setGeometry(QtCore.QRect(480, 360, 200, 30))
        self.pastaCheck.setObjectName("pastaCheck")
        self.stemEdit = LineEditRU(PartDecl)
        self.stemEdit.setGeometry(QtCore.QRect(160, 420, 230, 30))
        self.stemEdit.setText("")
        self.stemEdit.setObjectName("stemEdit")
        self.stemLbl = QtWidgets.QLabel(PartDecl)
        self.stemLbl.setGeometry(QtCore.QRect(60, 420, 80, 25))
        self.stemLbl.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                  | QtCore.Qt.AlignVCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.endLbl = QtWidgets.QLabel(PartDecl)
        self.endLbl.setGeometry(QtCore.QRect(410, 420, 80, 25))
        self.endLbl.setAlignment(QtCore.Qt.AlignLeading | QtCore.Qt.AlignLeft
                                 | QtCore.Qt.AlignVCenter)
        self.endLbl.setObjectName("endLbl")
        self.endEdit = LineEditRU(PartDecl)
        self.endEdit.setGeometry(QtCore.QRect(510, 420, 230, 30))
        self.endEdit.setText("")
        self.endEdit.setObjectName("endEdit")
        self.helpBttn = QtWidgets.QPushButton(PartDecl)
        self.helpBttn.setGeometry(QtCore.QRect(640, 0, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.enEdit = LineEditEN(PartDecl)
        self.enEdit.setGeometry(QtCore.QRect(130, 470, 330, 30))
        self.enEdit.setText("")
        self.enEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.enEdit.setObjectName("enEdit")
        self.changeBttn = QtWidgets.QPushButton(PartDecl)
        self.changeBttn.setGeometry(QtCore.QRect(530, 460, 150, 50))
        self.changeBttn.setObjectName("changeBttn")

        self.retranslateUi(PartDecl)
        QtCore.QMetaObject.connectSlotsByName(PartDecl)
        PartDecl.setTabOrder(self.helpBttn, self.parb)
        PartDecl.setTabOrder(self.parb, self.pprb)
        PartDecl.setTabOrder(self.pprb, self.pastarb)
        PartDecl.setTabOrder(self.pastarb, self.pastprb)
        PartDecl.setTabOrder(self.pastprb, self.mascanimrb)
        PartDecl.setTabOrder(self.mascanimrb, self.mascinanrb)
        PartDecl.setTabOrder(self.mascinanrb, self.femrb)
        PartDecl.setTabOrder(self.femrb, self.nuetrb)
        PartDecl.setTabOrder(self.nuetrb, self.pluranimrb)
        PartDecl.setTabOrder(self.pluranimrb, self.plurinanrb)
        PartDecl.setTabOrder(self.plurinanrb, self.nomEdit)
        PartDecl.setTabOrder(self.nomEdit, self.accEdit)
        PartDecl.setTabOrder(self.accEdit, self.genEdit)
        PartDecl.setTabOrder(self.genEdit, self.datEdit)
        PartDecl.setTabOrder(self.datEdit, self.insEdit)
        PartDecl.setTabOrder(self.insEdit, self.prpEdit)
        PartDecl.setTabOrder(self.prpEdit, self.presaCheck)
        PartDecl.setTabOrder(self.presaCheck, self.pastaCheck)
        PartDecl.setTabOrder(self.pastaCheck, self.prespCheck)
        PartDecl.setTabOrder(self.prespCheck, self.pastpCheck)
        PartDecl.setTabOrder(self.pastpCheck, self.stemEdit)
        PartDecl.setTabOrder(self.stemEdit, self.endEdit)
        PartDecl.setTabOrder(self.endEdit, self.enEdit)
        PartDecl.setTabOrder(self.enEdit, self.quitBttn)
        PartDecl.setTabOrder(self.quitBttn, self.backBttn)
        PartDecl.setTabOrder(self.backBttn, self.acceptBttn)

    def retranslateUi(self, PartDecl):
        _translate = QtCore.QCoreApplication.translate
        PartDecl.setWindowTitle(
            _translate("PartDecl", "Russian Participial Declension"))
        self.insLbl.setText(_translate("PartDecl", "Instrumental"))
        self.genLbl.setText(_translate("PartDecl", "Genitive"))
        self.datLbl.setText(_translate("PartDecl", "Dative"))
        self.prpLbl.setText(_translate("PartDecl", "Prepositional"))
        self.accLbl.setText(_translate("PartDecl", "Accusative"))
        self.nomLbl.setText(_translate("PartDecl", "Nominative"))
        self.parb.setText(_translate("PartDecl", "Pres Active"))
        self.pprb.setText(_translate("PartDecl", "Pres Passive"))
        self.pastarb.setText(_translate("PartDecl", "Past Active"))
        self.pastprb.setText(_translate("PartDecl", "Past Passive"))
        self.quitBttn.setText(_translate("PartDecl", "Quit"))
        self.acceptBttn.setText(_translate("PartDecl", "Accept"))
        self.titleLbl.setText(
            _translate("PartDecl", "Russian Participial Declension For"))
        self.enLbl.setText(_translate("PartDecl", "English"))
        self.backBttn.setText(_translate("PartDecl", "Back"))
        self.mascanimrb.setText(_translate("PartDecl", "Masc Animate"))
        self.femrb.setText(_translate("PartDecl", "Feminine"))
        self.nuetrb.setText(_translate("PartDecl", "Nueter"))
        self.pluranimrb.setText(_translate("PartDecl", "Plural Animate"))
        self.mascinanrb.setText(_translate("PartDecl", "Masc Inanimate"))
        self.plurinanrb.setText(_translate("PartDecl", "Plural Inanimate"))
        self.presaCheck.setText(_translate("PartDecl", "Present Active"))
        self.prespCheck.setText(_translate("PartDecl", "Present Passive"))
        self.pastpCheck.setText(_translate("PartDecl", "Past Passive"))
        self.pastaCheck.setText(_translate("PartDecl", "Past Active"))
        self.stemLbl.setText(_translate("PartDecl", "Stem"))
        self.endLbl.setText(_translate("PartDecl", "Ending"))
        self.helpBttn.setText(_translate("PartDecl", "Help"))
        self.changeBttn.setText(_translate("PartDecl", "Change All"))
Exemplo n.º 15
0
    def setupUi(self, ShortAdj):
        ShortAdj.setObjectName("ShortAdj")
        ShortAdj.resize(800, 600)
        icon = QtGui.QIcon()
        icon.addPixmap(
            QtGui.QPixmap(
                "../../../../usr/share/machinetrans/resources/logo.png"),
            QtGui.QIcon.Normal, QtGui.QIcon.Off)
        ShortAdj.setWindowIcon(icon)
        self.rufemEdit = LineEditRU(ShortAdj)
        self.rufemEdit.setGeometry(QtCore.QRect(420, 140, 330, 30))
        self.rufemEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.rufemEdit.setObjectName("rufemEdit")
        self.ruplurLbl = QtWidgets.QLabel(ShortAdj)
        self.ruplurLbl.setGeometry(QtCore.QRect(420, 210, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.ruplurLbl.setFont(font)
        self.ruplurLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.ruplurLbl.setObjectName("ruplurLbl")
        self.ruplurEdit = LineEditRU(ShortAdj)
        self.ruplurEdit.setGeometry(QtCore.QRect(420, 240, 330, 30))
        self.ruplurEdit.setText("")
        self.ruplurEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.ruplurEdit.setObjectName("ruplurEdit")
        self.titleLbl = QtWidgets.QLabel(ShortAdj)
        self.titleLbl.setGeometry(QtCore.QRect(10, 20, 780, 60))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.titleLbl.setFont(font)
        self.titleLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.titleLbl.setObjectName("titleLbl")
        self.runuetEdit = LineEditRU(ShortAdj)
        self.runuetEdit.setGeometry(QtCore.QRect(50, 240, 330, 30))
        self.runuetEdit.setText("")
        self.runuetEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.runuetEdit.setObjectName("runuetEdit")
        self.rumascEdit = LineEditRU(ShortAdj)
        self.rumascEdit.setGeometry(QtCore.QRect(50, 140, 330, 30))
        self.rumascEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.rumascEdit.setObjectName("rumascEdit")
        self.rufemLbl = QtWidgets.QLabel(ShortAdj)
        self.rufemLbl.setGeometry(QtCore.QRect(420, 110, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.rufemLbl.setFont(font)
        self.rufemLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.rufemLbl.setObjectName("rufemLbl")
        self.rumascLbl = QtWidgets.QLabel(ShortAdj)
        self.rumascLbl.setGeometry(QtCore.QRect(50, 110, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.rumascLbl.setFont(font)
        self.rumascLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.rumascLbl.setObjectName("rumascLbl")
        self.runuetLbl = QtWidgets.QLabel(ShortAdj)
        self.runuetLbl.setGeometry(QtCore.QRect(50, 210, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.runuetLbl.setFont(font)
        self.runuetLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.runuetLbl.setObjectName("runuetLbl")
        self.quitBttn = QtWidgets.QPushButton(ShortAdj)
        self.quitBttn.setGeometry(QtCore.QRect(130, 520, 150, 50))
        self.quitBttn.setObjectName("quitBttn")
        self.acceptBttn = QtWidgets.QPushButton(ShortAdj)
        self.acceptBttn.setGeometry(QtCore.QRect(520, 520, 150, 50))
        self.acceptBttn.setObjectName("acceptBttn")
        self.stemEdit = LineEditRU(ShortAdj)
        self.stemEdit.setGeometry(QtCore.QRect(230, 330, 330, 30))
        self.stemEdit.setText("")
        self.stemEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.stemEdit.setObjectName("stemEdit")
        self.engLbl = QtWidgets.QLabel(ShortAdj)
        self.engLbl.setGeometry(QtCore.QRect(230, 390, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.engLbl.setFont(font)
        self.engLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.engLbl.setObjectName("engLbl")
        self.stemLbl = QtWidgets.QLabel(ShortAdj)
        self.stemLbl.setGeometry(QtCore.QRect(230, 300, 330, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.stemLbl.setFont(font)
        self.stemLbl.setAlignment(QtCore.Qt.AlignCenter)
        self.stemLbl.setObjectName("stemLbl")
        self.helpBttn = QtWidgets.QPushButton(ShortAdj)
        self.helpBttn.setGeometry(QtCore.QRect(640, 10, 150, 50))
        self.helpBttn.setObjectName("helpBttn")
        self.enEdit = LineEditEN(ShortAdj)
        self.enEdit.setGeometry(QtCore.QRect(230, 440, 330, 30))
        self.enEdit.setText("")
        self.enEdit.setAlignment(QtCore.Qt.AlignCenter)
        self.enEdit.setObjectName("enEdit")
        self.backBttn = QtWidgets.QPushButton(ShortAdj)
        self.backBttn.setGeometry(QtCore.QRect(325, 520, 150, 50))
        self.backBttn.setObjectName("backBttn")
        self.shortCheck = QtWidgets.QCheckBox(ShortAdj)
        self.shortCheck.setGeometry(QtCore.QRect(320, 70, 160, 25))
        font = QtGui.QFont()
        font.setBold(True)
        font.setWeight(75)
        self.shortCheck.setFont(font)
        self.shortCheck.setChecked(False)
        self.shortCheck.setObjectName("shortCheck")

        self.retranslateUi(ShortAdj)
        QtCore.QMetaObject.connectSlotsByName(ShortAdj)
        ShortAdj.setTabOrder(self.helpBttn, self.rumascEdit)
        ShortAdj.setTabOrder(self.rumascEdit, self.rufemEdit)
        ShortAdj.setTabOrder(self.rufemEdit, self.runuetEdit)
        ShortAdj.setTabOrder(self.runuetEdit, self.ruplurEdit)
        ShortAdj.setTabOrder(self.ruplurEdit, self.stemEdit)
        ShortAdj.setTabOrder(self.stemEdit, self.enEdit)
        ShortAdj.setTabOrder(self.enEdit, self.quitBttn)
        ShortAdj.setTabOrder(self.quitBttn, self.acceptBttn)