icon change
This commit is contained in:
@@ -7,12 +7,13 @@
|
||||
|
||||
|
||||
from PyQt6 import QtCore, QtGui, QtWidgets
|
||||
|
||||
from src import Icon
|
||||
|
||||
class Ui_Dialog(object):
|
||||
def setupUi(self, Erinnerung):
|
||||
Erinnerung.setObjectName("Erinnerung")
|
||||
Erinnerung.resize(369, 308)
|
||||
Erinnerung.setWindowIcon(Icon("notification").icon)
|
||||
self.buttonBox = QtWidgets.QDialogButtonBox(Erinnerung)
|
||||
self.buttonBox.setGeometry(QtCore.QRect(190, 270, 161, 32))
|
||||
self.buttonBox.setOrientation(QtCore.Qt.Orientation.Horizontal)
|
||||
|
||||
@@ -7,8 +7,7 @@ class ReminderDialog(QtWidgets.QDialog, Ui_Dialog):
|
||||
def __init__(self, parent=None):
|
||||
super().__init__(parent)
|
||||
self.setupUi(self)
|
||||
self.windowIcon(Icon("notification").icon)
|
||||
|
||||
|
||||
def return_message(self) -> dict:
|
||||
return {
|
||||
"message": self.message_box.toPlainText(),
|
||||
|
||||
Reference in New Issue
Block a user