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"))
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"))
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"))
class Ui_AdjDeclEntry(object): 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) def retranslateUi(self, AdjDeclEntry): _translate = QtCore.QCoreApplication.translate AdjDeclEntry.setWindowTitle( _translate("AdjDeclEntry", "Russian Adjectival Declension Entry")) self.titleLbl.setText( _translate("AdjDeclEntry", "Russian Adjectival Declension")) self.nomLbl.setText(_translate("AdjDeclEntry", "Nominative")) self.genLbl.setText(_translate("AdjDeclEntry", "Genitive")) self.insLbl.setText(_translate("AdjDeclEntry", "Instrumental")) self.accLbl.setText(_translate("AdjDeclEntry", "Accusative")) self.datLbl.setText(_translate("AdjDeclEntry", "Dative")) self.prpLbl.setText(_translate("AdjDeclEntry", "Prepositional")) self.rejectBttn.setText(_translate("AdjDeclEntry", "Reject")) self.acceptBttn.setText(_translate("AdjDeclEntry", "Accept")) self.anim.setText(_translate("AdjDeclEntry", "Animate")) self.inan.setText(_translate("AdjDeclEntry", "Inanimate")) self.fem.setText(_translate("AdjDeclEntry", "Feminine")) self.nuet.setText(_translate("AdjDeclEntry", "Nueter")) self.pluranim.setText(_translate("AdjDeclEntry", "Plural Animate")) self.plurinan.setText(_translate("AdjDeclEntry", "Plural Inanimate")) self.helpBttn.setText(_translate("AdjDeclEntry", "Help")) self.stemLbl.setText(_translate("AdjDeclEntry", "Stem")) self.engLbl.setText(_translate("AdjDeclEntry", "English")) self.declBttn.setText(_translate("AdjDeclEntry", "Declensions"))
class Ui_ShortAdj(object): 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) def retranslateUi(self, ShortAdj): _translate = QtCore.QCoreApplication.translate ShortAdj.setWindowTitle( _translate("ShortAdj", "Russian Short Form Adjective")) self.ruplurLbl.setText(_translate("ShortAdj", "Plural")) self.titleLbl.setText( _translate("ShortAdj", "Russian Short Form Adjective for ")) self.rufemLbl.setText(_translate("ShortAdj", "Feminine")) self.rumascLbl.setText(_translate("ShortAdj", "Masculine")) self.runuetLbl.setText(_translate("ShortAdj", "Nueter")) self.quitBttn.setText(_translate("ShortAdj", "Quit")) self.acceptBttn.setText(_translate("ShortAdj", "Accept.")) self.engLbl.setText(_translate("ShortAdj", "English")) self.stemLbl.setText(_translate("ShortAdj", "Stem")) self.helpBttn.setText(_translate("ShortAdj", "Help")) self.backBttn.setText(_translate("ShortAdj", "Back")) self.shortCheck.setText(_translate("ShortAdj", "Short Form"))