43 lines
1.9 KiB
Python
43 lines
1.9 KiB
Python
# Form implementation generated from reading ui file 'ui/WordDialog.ui'
|
|
#
|
|
# Created by: PyQt6 UI code generator 6.6.0
|
|
#
|
|
# 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.
|
|
|
|
|
|
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)
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
self.wordList = QtWidgets.QListView(parent=Dialog)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.MinimumExpanding, QtWidgets.QSizePolicy.Policy.Expanding)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.wordList.sizePolicy().hasHeightForWidth())
|
|
self.wordList.setSizePolicy(sizePolicy)
|
|
self.wordList.setObjectName("wordList")
|
|
self.horizontalLayout.addWidget(self.wordList)
|
|
self.definition = QtWidgets.QTextEdit(parent=Dialog)
|
|
self.definition.setObjectName("definition")
|
|
self.horizontalLayout.addWidget(self.definition)
|
|
self.verticalLayout.addLayout(self.horizontalLayout)
|
|
self.buttonBox = QtWidgets.QDialogButtonBox(parent=Dialog)
|
|
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Ok)
|
|
self.buttonBox.setObjectName("buttonBox")
|
|
self.verticalLayout.addWidget(self.buttonBox)
|
|
|
|
self.retranslateUi(Dialog)
|
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|
|
|
def retranslateUi(self, Dialog):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
|