New Dialogs

This commit is contained in:
Christopher T. Johnson
2023-12-08 11:24:32 -05:00
parent 43736fc165
commit 6135c5d278
7 changed files with 492 additions and 0 deletions

73
ui/SessionDialog.py Normal file
View File

@@ -0,0 +1,73 @@
# 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(621, 569)
self.verticalLayout_3 = QtWidgets.QVBoxLayout(Dialog)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.nameLbl = QtWidgets.QLabel(parent=Dialog)
self.nameLbl.setObjectName("nameLbl")
self.verticalLayout_3.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_3.addLayout(self.horizontalLayout)
self.verticalLayout = QtWidgets.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.label = QtWidgets.QLabel(parent=Dialog)
self.label.setObjectName("label")
self.verticalLayout.addWidget(self.label)
self.wordView = QtWidgets.QListView(parent=Dialog)
self.wordView.setObjectName("wordView")
self.verticalLayout.addWidget(self.wordView)
self.verticalLayout_3.addLayout(self.verticalLayout)
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_3.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_3.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"))