I18N Code Work done.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Form implementation generated from reading ui file 'ui/WordDialog.ui'
|
||||
# Form implementation generated from reading ui file 'WordDialog.ui'
|
||||
#
|
||||
# Created by: PyQt6 UI code generator 6.6.0
|
||||
# Created by: PyQt6 UI code generator 6.6.1
|
||||
#
|
||||
# WARNING: Any manual changes made to this file will be lost when pyuic6 is
|
||||
# run again. Do not edit this file unless you know what you are doing.
|
||||
@@ -9,15 +9,15 @@
|
||||
from PyQt6 import QtCore, QtGui, QtWidgets
|
||||
|
||||
|
||||
class Ui_Dialog(object):
|
||||
def setupUi(self, Dialog):
|
||||
Dialog.setObjectName("Dialog")
|
||||
Dialog.resize(802, 300)
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(Dialog)
|
||||
class Ui_Word(object):
|
||||
def setupUi(self, Word):
|
||||
Word.setObjectName("Word")
|
||||
Word.resize(802, 300)
|
||||
self.verticalLayout = QtWidgets.QVBoxLayout(Word)
|
||||
self.verticalLayout.setObjectName("verticalLayout")
|
||||
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
||||
self.horizontalLayout.setObjectName("horizontalLayout")
|
||||
self.wordList = QtWidgets.QListView(parent=Dialog)
|
||||
self.wordList = QtWidgets.QListView(parent=Word)
|
||||
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.Expanding)
|
||||
sizePolicy.setHorizontalStretch(0)
|
||||
sizePolicy.setVerticalStretch(0)
|
||||
@@ -25,18 +25,18 @@ class Ui_Dialog(object):
|
||||
self.wordList.setSizePolicy(sizePolicy)
|
||||
self.wordList.setObjectName("wordList")
|
||||
self.horizontalLayout.addWidget(self.wordList)
|
||||
self.definition = QtWidgets.QTextEdit(parent=Dialog)
|
||||
self.definition = QtWidgets.QTextEdit(parent=Word)
|
||||
self.definition.setObjectName("definition")
|
||||
self.horizontalLayout.addWidget(self.definition)
|
||||
self.verticalLayout.addLayout(self.horizontalLayout)
|
||||
self.buttonBox = QtWidgets.QDialogButtonBox(parent=Dialog)
|
||||
self.buttonBox = QtWidgets.QDialogButtonBox(parent=Word)
|
||||
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Ok)
|
||||
self.buttonBox.setObjectName("buttonBox")
|
||||
self.verticalLayout.addWidget(self.buttonBox)
|
||||
|
||||
self.retranslateUi(Dialog)
|
||||
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
||||
self.retranslateUi(Word)
|
||||
QtCore.QMetaObject.connectSlotsByName(Word)
|
||||
|
||||
def retranslateUi(self, Dialog):
|
||||
def retranslateUi(self, Word):
|
||||
_translate = QtCore.QCoreApplication.translate
|
||||
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
|
||||
Word.setWindowTitle(_translate("Word", "Dialog"))
|
||||
|
||||
Reference in New Issue
Block a user