move files
This commit is contained in:
11
src/ui/dialogs/reminder.py
Normal file
11
src/ui/dialogs/reminder.py
Normal file
@@ -0,0 +1,11 @@
|
||||
from .dialog_sources.Ui_reminder import Ui_Dialog
|
||||
from PyQt6 import QtWidgets
|
||||
class ReminderDialog(QtWidgets.QDialog, Ui_Dialog):
|
||||
def __init__(self, parent=None):
|
||||
super().__init__(parent)
|
||||
self.setupUi(self)
|
||||
def return_message(self) -> dict:
|
||||
return {
|
||||
"message": self.message_box.toPlainText(),
|
||||
"remind_at": self.dateEdit.date().toString("yyyy-MM-dd"),
|
||||
}
|
||||
Reference in New Issue
Block a user