82 lines
4.2 KiB
Python
82 lines
4.2 KiB
Python
# Form implementation generated from reading ui file 'ui/SessionDialog.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(842, 569)
|
|
self.verticalLayout = QtWidgets.QVBoxLayout(Dialog)
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
self.nameLbl = QtWidgets.QLabel(parent=Dialog)
|
|
self.nameLbl.setObjectName("nameLbl")
|
|
self.verticalLayout.addWidget(self.nameLbl)
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
self.label_2 = QtWidgets.QLabel(parent=Dialog)
|
|
self.label_2.setObjectName("label_2")
|
|
self.horizontalLayout.addWidget(self.label_2)
|
|
self.timerLbl = QtWidgets.QLabel(parent=Dialog)
|
|
self.timerLbl.setObjectName("timerLbl")
|
|
self.horizontalLayout.addWidget(self.timerLbl)
|
|
spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Policy.Expanding, QtWidgets.QSizePolicy.Policy.Minimum)
|
|
self.horizontalLayout.addItem(spacerItem)
|
|
self.activeBox = QtWidgets.QCheckBox(parent=Dialog)
|
|
self.activeBox.setEnabled(True)
|
|
self.activeBox.setObjectName("activeBox")
|
|
self.horizontalLayout.addWidget(self.activeBox)
|
|
self.verticalLayout.addLayout(self.horizontalLayout)
|
|
self.label = QtWidgets.QLabel(parent=Dialog)
|
|
self.label.setObjectName("label")
|
|
self.verticalLayout.addWidget(self.label)
|
|
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
|
|
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
|
|
self.wordView = QtWidgets.QListView(parent=Dialog)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Policy.Preferred, QtWidgets.QSizePolicy.Policy.Expanding)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.wordView.sizePolicy().hasHeightForWidth())
|
|
self.wordView.setSizePolicy(sizePolicy)
|
|
self.wordView.setObjectName("wordView")
|
|
self.horizontalLayout_2.addWidget(self.wordView)
|
|
self.textBrowser = QtWidgets.QTextBrowser(parent=Dialog)
|
|
self.textBrowser.setObjectName("textBrowser")
|
|
self.horizontalLayout_2.addWidget(self.textBrowser)
|
|
self.verticalLayout.addLayout(self.horizontalLayout_2)
|
|
self.verticalLayout_2 = QtWidgets.QVBoxLayout()
|
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
|
self.label_4 = QtWidgets.QLabel(parent=Dialog)
|
|
self.label_4.setObjectName("label_4")
|
|
self.verticalLayout_2.addWidget(self.label_4)
|
|
self.textEdit = QtWidgets.QTextEdit(parent=Dialog)
|
|
self.textEdit.setObjectName("textEdit")
|
|
self.verticalLayout_2.addWidget(self.textEdit)
|
|
self.verticalLayout.addLayout(self.verticalLayout_2)
|
|
self.buttonBox = QtWidgets.QDialogButtonBox(parent=Dialog)
|
|
self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
|
|
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.StandardButton.Cancel|QtWidgets.QDialogButtonBox.StandardButton.Ok)
|
|
self.buttonBox.setObjectName("buttonBox")
|
|
self.verticalLayout.addWidget(self.buttonBox)
|
|
|
|
self.retranslateUi(Dialog)
|
|
self.buttonBox.accepted.connect(Dialog.accept) # type: ignore
|
|
self.buttonBox.rejected.connect(Dialog.reject) # type: ignore
|
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|
|
|
def retranslateUi(self, Dialog):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
Dialog.setWindowTitle(_translate("Dialog", "Session"))
|
|
self.nameLbl.setText(_translate("Dialog", "nameLbl"))
|
|
self.label_2.setText(_translate("Dialog", "Session Timer"))
|
|
self.timerLbl.setText(_translate("Dialog", "00:00:00"))
|
|
self.activeBox.setText(_translate("Dialog", "Active"))
|
|
self.label.setText(_translate("Dialog", "Words"))
|
|
self.label_4.setText(_translate("Dialog", "Notes"))
|