diff --git a/__pycache__/fake_patch_notes.cpython-314.pyc b/__pycache__/fake_patch_notes.cpython-314.pyc
new file mode 100644
index 0000000..e58040c
Binary files /dev/null and b/__pycache__/fake_patch_notes.cpython-314.pyc differ
diff --git a/fake_patch_notes.py b/fake_patch_notes.py
new file mode 100644
index 0000000..055be14
--- /dev/null
+++ b/fake_patch_notes.py
@@ -0,0 +1,7 @@
+patch_note = (
+ "## π§ Modifications\n"
+ " \n\n"
+ " π« De l'auto Γ©cole: nouvelle emplacement et nouveau circuit\n\n"
+ " π Du concessionnaire\n\n"
+ " π Module de saisie pour le SAPD\n\n"
+ )
\ No newline at end of file
diff --git a/mainwindow.py b/mainwindow.py
index d37cf1e..4d14cb8 100644
--- a/mainwindow.py
+++ b/mainwindow.py
@@ -15,6 +15,10 @@ import resources # This is generated from the .qrc file
if sys.platform.startswith('linux'):
os.environ["QT_QPA_PLATFORM"] = "xcb"
+# Remove this into final release
+from fake_patch_notes import patch_note
+NO_STAFF = True
+
def load_custom_font():
# Load font from Qt resource
font_id = QFontDatabase.addApplicationFont(":/assets/Avocado-Cake-Demo.otf")
@@ -48,8 +52,12 @@ class MainWindow(QMainWindow):
# Adjust UI
self.maintitle_label.setFont(QFont(font_family, 38))
self.subtitle_label.setStyleSheet("color: rgb(163, 177, 198)")
- self.staff_btn.hide()
- self.spacer_substitution.hide()
+
+ if NO_STAFF :
+ self.staff_btn.hide()
+ self.spacer_substitution.hide()
+
+ self.info_text.setMarkdown(patch_note)
# Find the button by its objectName in Qt Designer
# Example: objectName = "close_btn"
diff --git a/mainwindow.ui b/mainwindow.ui
index d30f85b..c4d3df4 100644
--- a/mainwindow.ui
+++ b/mainwindow.ui
@@ -37,6 +37,10 @@
MainWindow
+
+
+ :/assets/Icone.ico:/assets/Icone.ico
+
color: rgb(255, 255, 255);
@@ -256,13 +260,13 @@
450
- 658
+ 630
450
- 658
+ 630
@@ -271,6 +275,219 @@
QFrame::Shadow::Raised
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+ -
+
+
+ QFrame::Shape::NoFrame
+
+
+ QFrame::Shadow::Raised
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 100
+
+
+
+ QFrame::Shape::NoFrame
+
+
+ QFrame::Shadow::Raised
+
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
-
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+ QFrame::Shape::NoFrame
+
+
+ QFrame::Shadow::Raised
+
+
+
-
+
+
+ false
+
+
+ Position en file d'attente:
+
+
+
+ -
+
+
+
+ 70
+ 50
+
+
+
+ Qt::LayoutDirection::RightToLeft
+
+
+ QFrame::Shadow::Sunken
+
+
+ false
+
+
+ 2
+
+
+ 20.000000000000000
+
+
+
+ -
+
+
+ Qt::Orientation::Horizontal
+
+
+ QSizePolicy::Policy::Fixed
+
+
+
+ 80
+ 20
+
+
+
+
+
+
+
+
+
+
+ -
+
+
+
+ 0
+ 0
+
+
+
+
+ 0
+ 0
+
+
+
+
+ 16777215
+ 50
+
+
+
+
+
+
+ QFrame::Shape::NoFrame
+
+
+ QFrame::Shadow::Raised
+
+
+
-
+
+
+ true
+
+
+
+
+
+ Qt::Orientation::Horizontal
+
+
+
+ -
+
+
+
+
+
+
+
+
+
+ -
+
+
+ Qt::Orientation::Horizontal
+
+
+ QSizePolicy::Policy::Fixed
+
+
+
+ 180
+ 20
+
+
+
+
+
+
+
+
-
@@ -326,7 +543,7 @@
0
- 180
+ 140
@@ -345,6 +562,12 @@
QFrame::Shadow::Raised
+
+ 0
+
+
+ 9
+
-
@@ -363,16 +586,28 @@
20
- 20
+ 10
-
+
+
+ 0
+ 0
+
+
un espace pour se retrouver
+
+ Qt::TextFormat::AutoText
+
+
+ Qt::AlignmentFlag::AlignCenter
+
@@ -588,7 +823,7 @@
0
- 280
+ 310
@@ -615,6 +850,15 @@
QFrame::Shadow::Raised
+
+ -
+
+
+ true
+
+
+
+
-
diff --git a/styles.qss b/styles.qss
index bbb3e40..dbba172 100644
--- a/styles.qss
+++ b/styles.qss
@@ -29,3 +29,8 @@ QPushButton#minimize_btn {
padding: 0px;
padding-top: 0
}
+
+QTextEdit#info_text {
+ background-color: transparent;
+ border: none;
+}