improvements for notifications and prepare for release
This commit is contained in:
1 parent
d1c9346e57
commit
a2456daca7
7 files changed
+221
-22
No files matched your search
+11
-1
@@ -12,6 +12,7 @@ from PySide6.QtWidgets import QWidget, QVBoxLayout, QLabel
|
||||
from PySide6.QtCore import Qt
|
||||
|
||||
from src.shared.shareddata import APP_NAME, APP_NAME_EXPANDED, CURRENT_VERSION
|
||||
from src.shared.inspiration import get_quote
|
||||
|
||||
|
||||
class AboutWindow(QWidget):
|
||||
@@ -30,12 +31,21 @@ class AboutWindow(QWidget):
|
||||
layout = QVBoxLayout()
|
||||
label = QLabel(f"About {APP_NAME.upper()}", self)
|
||||
label2 = QLabel(f"{APP_NAME_EXPANDED}", self)
|
||||
label3 = QLabel(f"{APP_NAME.upper()} is licensed under the GPL-3.0 licence. For more information, visit https://www.gnu.org/licenses/gpl-3.0.en.html", self)
|
||||
label3 = QLabel(
|
||||
f'{APP_NAME.upper()} is licensed under the GPL-3.0 licence. '
|
||||
'For more information, visit '
|
||||
'<a href="https://www.gnu.org/licenses/gpl-3.0.en.html">'
|
||||
'GNU GPL-3.0</a>',
|
||||
self,
|
||||
)
|
||||
label3.setOpenExternalLinks(True)
|
||||
label4 = QLabel(f"Version v{CURRENT_VERSION}")
|
||||
label5 = QLabel(f"{get_quote()}", self)
|
||||
|
||||
layout.addWidget(label)
|
||||
layout.addWidget(label2)
|
||||
layout.addWidget(label3)
|
||||
layout.addWidget(label4)
|
||||
layout.addWidget(label5)
|
||||
|
||||
self.setLayout(layout)
|
||||
Reference in new issue
Block a user