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