Branding CopyDev complet — splash screen, A propos, statusbar
- Splash screen au demarrage (fond sombre, logo CopyDev, nom, coordonnees) - Statut dans le splash : licence, mise a jour, chargement - A propos refait : design sombre pro, logo 150px, version, description, coordonnees completes (email, web, tel), copyright - Barre de titre : "CopyDev Imposing Tool vX.X.X — www.copydev.fr" - Barre de statut : mention "CopyDev — contact@copydev.fr" permanente Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
10
main.py
10
main.py
@@ -188,9 +188,17 @@ def main():
|
||||
if os.path.exists(icon_path):
|
||||
app.setWindowIcon(QIcon(icon_path))
|
||||
|
||||
# Splash screen
|
||||
from app.splash import SplashScreen
|
||||
splash = SplashScreen()
|
||||
splash.show()
|
||||
QApplication.processEvents()
|
||||
|
||||
splash.set_status("Verification de la licence...")
|
||||
if not _check_license():
|
||||
sys.exit(1)
|
||||
|
||||
splash.set_status("Recherche de mises a jour...")
|
||||
# Verification de mise a jour silencieuse
|
||||
from app.updater import check_for_update, VERSION
|
||||
update_available, remote_version = check_for_update()
|
||||
@@ -211,9 +219,11 @@ def main():
|
||||
else:
|
||||
QMessageBox.warning(None, "Mise a jour", f"Echec de la mise a jour :\n{msg}")
|
||||
|
||||
splash.set_status("Chargement de l'interface...")
|
||||
from app.main_window import MainWindow
|
||||
window = MainWindow()
|
||||
window.show()
|
||||
splash.close()
|
||||
sys.exit(app.exec())
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user