summaryrefslogtreecommitdiff
path: root/src/app/windowAPropos.py
blob: bf6116eba5e2bd23e5d0ade0f1380698785b1dd7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

############################################################################
#                                                                          #
# Description: Fenêtre à propos                                            #
#                                                                          #
############################################################################

# Import de PyQt5
from PyQt5.QtWidgets import QMessageBox


def window_main(mainWindow: object) -> None:
    """
    Simple QMessageBox avec des infos 'A propos'
    """
    QMessageBox.information(
        mainWindow,
        "A propos",
        f"Logiciel pour mon dossier professionnel.\
        <br>Version: {mainWindow.VERSION}\
        <br>Auteur: Debulois Quentin\
        <br>Code source: \
        <a href='https://git.debulois.fr/'>git.debulois.fr/</a>"
    )