diff -Nru hizo-tmdb-22.06.14/debian/changelog hizo-tmdb-22.06.15/debian/changelog --- hizo-tmdb-22.06.14/debian/changelog 2022-06-14 12:00:00.000000000 +0000 +++ hizo-tmdb-22.06.15/debian/changelog 2022-06-15 08:00:00.000000000 +0000 @@ -1,3 +1,13 @@ +hizo-tmdb (22.06.15-0~impish) impish; urgency=low () + + [english] + - ctrl + enter from the movie names area starts the search. + + [français] + - ctrl + entrée depuis la zone des noms de films lance la recherche. + + -- hizoka Wed, 15 Jun 2022 10:00:00 +0200 + hizo-tmdb (22.06.14-0~impish) impish; urgency=low () [english] diff -Nru hizo-tmdb-22.06.14/hizo-tmdb.py hizo-tmdb-22.06.15/hizo-tmdb.py --- hizo-tmdb-22.06.14/hizo-tmdb.py 2022-06-14 12:21:47.000000000 +0000 +++ hizo-tmdb-22.06.15/hizo-tmdb.py 2022-06-15 08:25:33.000000000 +0000 @@ -74,7 +74,7 @@ exit() -# Widgets customisés +# Widgets personnalisés from QWidgetsCustom.QCheckComboBox import QCheckComboBox from QWidgetsCustom.QToolButtonCustom import QToolButtonCustom from QWidgetsCustom.QPushQuitButton import QPushQuitButton @@ -727,8 +727,6 @@ self.MoviesFindedTab.setTabsClosable(True) self.MoviesFindedTab.tabCloseRequested.connect(self.RemoveMovieTab) MoviesFindedHLayout.addWidget(self.MoviesFindedTab) - self.MoviesFindedTab.installEventFilter(self) - # Répartition du WinSplitter if Global['WinSplitter'] == [0, 0]: @@ -753,6 +751,10 @@ self.TopSplitter.setSizes(Global['TopSplitter']) + # Installation des filtres des événements + self.MoviesFindedTab.installEventFilter(self) + self.MoviesSearchedTextEdit.installEventFilter(self) + # Chargement de la langues, force l'anglais if Global["Language"] == "Français": self.LanguageWidget.setCurrentText("Français") else: self.UpdateLanguage("English") @@ -785,6 +787,14 @@ TabIndex = self.MoviesFindedTab.tabBar().tabAt(Event.position().toPoint()) self.RemoveMovieTab(TabIndex) + # Lors de l'utilisation de ctrl + entrée dans QTextEdit des noms de films + elif Object == self.MoviesSearchedTextEdit: + if Event.type() == QEvent.Type.KeyRelease: + if Event.modifiers() == Qt.ControlModifier: + # Il semble que la touche entrée du pavé numérique ne se cumule pas avec ctrl + if Event.key() in [Qt.Key_Enter, Qt.Key_Return]: + self.MoviesSearchedButton.click() + return False @@ -1156,7 +1166,7 @@ self.MoviesSearchedButton.setText(translate("SearchBox", "Start search")) self.MoviesSearchedBox.setTitle(translate("SearchBox", "Movie names searched:")) self.MoviesSearchedButton.setStatusTip(translate("SearchBox", "Start the movies searching.")) - self.MoviesSearchedLabel.setToolTip(translate("SearchBox", "Movie's names to search on The Movie Data Base.

Rules:
- Only one search per line.
- Exact names (not case sensitive).
- Use *'s for extended search.
- Name must be completed enough to be found.

Examples:
- Iron Man: Will return movies with the name iron man.
- Iron*: Will return all movies whose name starts with iron.
- *Man: Will return all movies whose name ends with man.
- *Man*: Will return all movies whose name includes man.")) + self.MoviesSearchedLabel.setToolTip(translate("SearchBox", "Movie's names to search on The Movie Data Base.

Rules:
- Only one search per line.
- Exact names (not case sensitive).
- Use *'s for extended search.
- Name must be completed enough to be found.

Examples:
- Iron Man: Will return movies with the name iron man.
- Iron*: Will return all movies whose name starts with iron.
- *Man: Will return all movies whose name ends with man.
- *Man*: Will return all movies whose name includes man.

ctrl + enter launches the search.")) # Widgets de la ProgressBox self.ProgressButton.setStatusTip(translate("ProgressBox", "Stop the work in progress...")) @@ -1452,7 +1462,7 @@ # Création de l'application HizoTMDB = QApplication(args) - HizoTMDB.setApplicationVersion("22-06-14.0") # Version de l'application + HizoTMDB.setApplicationVersion("22-06-15.0") # Version de l'application HizoTMDB.setApplicationName("HizoTMDB") # Nom de l'application HizoTMDB.setWindowIcon(QIcon.fromTheme("hizo-tmdb", QIcon("Ressources:hizo-tmdb.png"))) # Icône de l'application diff -Nru hizo-tmdb-22.06.14/Languages/hizo-tmdb_en_EN.ts hizo-tmdb-22.06.15/Languages/hizo-tmdb_en_EN.ts --- hizo-tmdb-22.06.14/Languages/hizo-tmdb_en_EN.ts 2021-10-25 17:48:19.000000000 +0000 +++ hizo-tmdb-22.06.15/Languages/hizo-tmdb_en_EN.ts 2022-06-15 08:24:46.000000000 +0000 @@ -4,32 +4,32 @@ About - + About Qt - + What's up ? - + Changelog of hizo-tmdb - + About hizo-tmdb - + <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:600;">hizo-tmdb v{}</span></p><p><span style=" font-size:10pt;">GUI to download movie's posters from the <a href="https://www.themoviedb.org/"><b>TMDB</b> website</a>.</span></p><p><span style=" font-size:10pt;">This software is programed in python3 + QT6 (PySide6) and is licensed under </span><span style=" font-size:8pt; font-weight:600;"><a href="{}">GNU GPL v3</a></span><span style=" font-size:8pt;">.</span></p><p>&nbsp;</p><p align="right">Created by <span style=" font-weight:600;">Belleguic Terence</span> (<a href="mailto:hizo@free.fr">Hizoka</a>), 2021</p></body></html> - + Close @@ -37,189 +37,182 @@ ConfigBox - + Configuration: - + Token: - + Folder Selector - + Download Folder: - + Posters' Languages: - + Thumb Size: - + Auto Open Folder: - + Auto Download Posters: - + GUI Language: - + Select the download folder - - + + Languages available: - + page(s) - + Number of page to download during the movies search. Between 1 page and 20 pages. - + Nb Page to Download: - + Mandatory: The token to connect at the The Movie Data Base API v4. - + Mandatory: The folder where create the movie folders uses to download posters. - + Mandatory: The posters' languages to download. - + The size of the thumbnails' movie. Between 50px and 500px. - + Enable/disable the auto open download folder when posters' download finished. - + Enable/disable the auto download of the posters when only one movie finded. - + Language of the GUI. The texts are changed in live. - + Max Connection Try: - + Number of connection attempts to the TMDB's API. Between 1 and 20 try. - + Auto Search Starter: - + Enable/disable the auto search at software start if there is search value. - - - - Languages available: - Translation error - - ErrorMessage - + the id - - + + the download folder - + [<span style='color:red;'>ERROR</span>] - + {} An error occurred while using the thread, <b>it is missing the action</b>. {} = [ERROR] - + {} An error occurred while using the thread, <b>the action is unknown</b>. {} = [ERROR] - + {} An error occurred when using the Movies function, <b>the movie names</b> are missing. {} = [ERROR] - + {0} An error occurred while using the MoviePictures function, <b>{1}</b> is missing. {0} = [ERROR], {1} = function name, {2} = Argument name - + {0} The folder {1} <b>does not exist</b> ! {0} = [ERROR], {1} = Folder path - + the name @@ -227,111 +220,111 @@ InfoMessage - + Date unknow - + [<span style='color:green;'>INFO</span>] - + [<span style='color:blue;'>INFO</span>] - + An error occurred during the search for the film, - + An error occurred while searching for the languages, - + An error occurred while searching for the posters of the film, - + An error occurred while downloading this poster, - + try again... - + max number of try reached. - + {} ({} results) {Name of the movie} ({Number of movie returns by the search} results) - + [<span style='color:orange;'>INFO</span>] - + {} Auto download the movie's posters.<br> [INFO] Auto download the movie's posters.<br> - + {0} Launching the search for <b>{1}</b>. {0} = [INFO], {1} = - + {0} Searching for <b>{1}</b> did not return any movies.<br> {0} = [INFO], {1} = Text searched - + {0} Search for the <b>{1}</b> movie completed.<br> {0} = [INFO], {1} = Text searched - + {0} Search the posters of the movie: <b>{1}</b> ({2}). {0} = [INFO], {1} = Movie name, {2} = Movie id - + {0} Search for posters of the film {1} completed.<br> {0} = [INFO], {1} = Movie name - + {0} {1} donwloaded into the folder {2}. {0} = [INFO], {1} = Poster name, {2} = Download folder path - + {0} Search for {1} movie posters completed, automatic opening of folder.<br> {0} = [INFO], {1} = Number of poster downloaded - + {0} Reading of the <b>page n°{1}</b>. {0} = [INFO], {1} = Page number @@ -340,12 +333,12 @@ MainWindow - + Exit - + About @@ -353,17 +346,17 @@ ProgressBox - + Stop the work in progress... - + Stop work - + Returns and progression: @@ -371,32 +364,47 @@ QCheckComboBox - + Undo Action - + Redo Action - + + UnRedo Actions + + + + + Check Boxes + + + + Check All Items - + Partially Check All Items - + Uncheck All Items - + + Default Values + + + + Restore the default values @@ -417,7 +425,7 @@ ReturnBox - + Movies finded: @@ -425,30 +433,30 @@ SearchBox - + Start search - + Movie names searched: - + Start the movies searching. - - Movie's names to search on <b>The Movie Data Base</b>.<br><br>Rules:<br> - Only one search per line.<br> - Exact names (not case sensitive).<br> - Use *'s for extended search.<br> - Name must be completed enough to be found. <br><br>Examples:<br> - Iron Man: Will return movies with the name iron man.<br> - Iron*: Will return all movies whose name starts with iron.<br> - *Man: Will return all movies whose name ends with man.<br> - *Man*: Will return all movies whose name includes man. - + + Movie's names to search on <b>The Movie Data Base</b>.<br><br>Rules:<br> - Only one search per line.<br> - Exact names (not case sensitive).<br> - Use *'s for extended search.<br> - Name must be completed enough to be found. <br><br>Examples:<br> - Iron Man: Will return movies with the name iron man.<br> - Iron*: Will return all movies whose name starts with iron.<br> - *Man: Will return all movies whose name ends with man.<br> - *Man*: Will return all movies whose name includes man.<br><br>ctrl + enter launches the search. + UpdateLanguage - + No <b>French</b> translation files found.<br/>Use of <b>English language</b>. diff -Nru hizo-tmdb-22.06.14/Languages/hizo-tmdb_fr_FR.ts hizo-tmdb-22.06.15/Languages/hizo-tmdb_fr_FR.ts --- hizo-tmdb-22.06.14/Languages/hizo-tmdb_fr_FR.ts 2021-10-25 17:48:19.000000000 +0000 +++ hizo-tmdb-22.06.15/Languages/hizo-tmdb_fr_FR.ts 2022-06-15 08:24:46.000000000 +0000 @@ -4,32 +4,32 @@ About - + About Qt À propos de Qt - + What's up ? Quoi de neuf ? - + Changelog of hizo-tmdb Changelog de hizo-tmdb - + About hizo-tmdb À propos de hizo-tmdb - + <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:600;">hizo-tmdb v{}</span></p><p><span style=" font-size:10pt;">GUI to download movie's posters from the <a href="https://www.themoviedb.org/"><b>TMDB</b> website</a>.</span></p><p><span style=" font-size:10pt;">This software is programed in python3 + QT6 (PySide6) and is licensed under </span><span style=" font-size:8pt; font-weight:600;"><a href="{}">GNU GPL v3</a></span><span style=" font-size:8pt;">.</span></p><p>&nbsp;</p><p align="right">Created by <span style=" font-weight:600;">Belleguic Terence</span> (<a href="mailto:hizo@free.fr">Hizoka</a>), 2021</p></body></html> <html><head/><body><p align="center"><span style=" font-size:12pt; font-weight:600;">hizo-tmdb v{}</span></p><p><span style=" font-size:10pt;">Application graphique pour télécharger les affiches de films depuis le <a href="https://www.themoviedb.org/">site internet <b>TMDB</b></a>.</span></p><p><span style=" font-size:10pt;">Ce programme est codé en python3 + QT6 (PySide6) et est sous licence </span><span style=" font-size:8pt; font-weight:600;"><a href="{}">GNU GPL v3</a></span><span style=" font-size:8pt;">.</span></p><p>&nbsp;</p><p align="right">Créé par <span style=" font-weight:600;">Belleguic Terence</span> (<a href="mailto:hizo@free.fr">Hizoka</a>), 2021</p></body></html> - + Close Fermer @@ -37,149 +37,142 @@ ConfigBox - + Configuration: Configuration : - + Token: Jeton Connexion : - + Folder Selector Selecteur Dossier - + Download Folder: Dossier Téléchargement : - + Thumb Size: Taille Vignettes : - + Auto Open Folder: Ouverture Auto. Dossier : - + Auto Download Posters: Récup. Auto Affiches : - + Posters' Languages: Langues Affiches : - + Select the download folder Indiquer le dossier de téléchargement - + GUI Language: Langue Logiciel : - - + + Languages available: Langues disponibles : - + page(s) - + Number of page to download during the movies search. Between 1 page and 20 pages. Nombre de pages à télécharger lors de la recherche de films. Entre 1 page et 20 pages. - + Nb Page to Download: Nb Page à Charger : - + Mandatory: The token to connect at the The Movie Data Base API v4. Obligatoire : Le jeton de connexion à l'API v4 du site The Movie Data Base. - + Mandatory: The folder where create the movie folders uses to download posters. Obligatoire : Le dossier dans lequel créer les dossiers de téléchargement des affiches de films. - + Mandatory: The posters' languages to download. Obligatoire : Les langues des affiches à télécharger. - + The size of the thumbnails' movie. Between 50px and 500px. La taille des vignettes des films. Entre 50 et 500px. - + Enable/disable the auto open download folder when posters' download finished. (Dés)activer l'ouverture automatique du dossier des affiches lorsqu'elles sont toutes téléchargées. - + Enable/disable the auto download of the posters when only one movie finded. (Dés)activer le téléchargement automatique des affiches quand la recherche ne renvoie qu'un film. - + Language of the GUI. The texts are changed in live. Langue du logiciel. Les textes sont changés en direct. - + Max Connection Try: Tentative Max Connexion : - + Number of connection attempts to the TMDB's API. Between 1 and 20 try. Nombre de tentatives de connexion à l'API de TMDB. Entre 1 et 20 tentatives. - + Auto Search Starter: Recherche Auto Démarrage : - + Enable/disable the auto search at software start if there is search value. Active/désactive la recherche automatique au démarrage du logiciel s'il existe une valeur de recherche. - - - - Languages available: - Translation error - Erreur de traduction - ErrorMessage - + the id l'id - - + + the download folder le dosier de téléchargement @@ -188,42 +181,42 @@ l'adresse de base - + [<span style='color:red;'>ERROR</span>] [<span style='color:red;'>ERREUR</span>] - + {} An error occurred while using the thread, <b>it is missing the action</b>. {} = [ERROR] {} Une erreur est survenue lors de l'utilisation du thread, <b>il manque l'action</b>. - + {} An error occurred while using the thread, <b>the action is unknown</b>. {} = [ERROR] {} Une erreur est survenue lors de l'utilisation du thread, <b>l'action est inconnue</b>. - + {} An error occurred when using the Movies function, <b>the movie names</b> are missing. {} = [ERROR] {} Une erreur est survenue lors de l'utilisation de la fonction Movies, <b>les noms des films</b> sont manquants. - + {0} An error occurred while using the MoviePictures function, <b>{1}</b> is missing. {0} = [ERROR], {1} = function name, {2} = Argument name {0} Une erreur est survenue lors de l'utilisation de la fonction MoviePictures, <b>{1}</b> est manquant. - + {0} The folder {1} <b>does not exist</b> ! {0} = [ERROR], {1} = Folder path {0} Le dossier {1} <b>n'existe pas</b> ! - + the name le nom @@ -231,111 +224,111 @@ InfoMessage - + Date unknow Date inconnue - + [<span style='color:green;'>INFO</span>] - + [<span style='color:blue;'>INFO</span>] - + An error occurred during the search for the film, Une erreur s'est produite lors de la recherche du film, - + An error occurred while searching for the languages, Une erreur s'est produite lors de la recherche des langues, - + An error occurred while searching for the posters of the film, Une erreur s'est produite lors de la recherche des affiches du film, - + An error occurred while downloading this poster, Une erreur s'est produite lors du téléchargement de cette affiche, - + try again... nouvel essai... - + max number of try reached. nombre max de tentative atteint. - + {} ({} results) {Name of the movie} ({Number of movie returns by the search} results) {} ({} retours) - + [<span style='color:orange;'>INFO</span>] - + {} Auto download the movie's posters.<br> [INFO] Auto download the movie's posters.<br> {} Téléchargement automatiquement des affiches du film.<br> - + {0} Launching the search for <b>{1}</b>. {0} = [INFO], {1} = {0} Lancement de la recherche de <b>{1}</b>. - + {0} Searching for <b>{1}</b> did not return any movies.<br> {0} = [INFO], {1} = Text searched {0} Recherche <b>{1}</b> n'a.renvoyé aucun film<br> - + {0} Search for the <b>{1}</b> movie completed.<br> {0} = [INFO], {1} = Text searched {0} Recherche du film <b>{1}</b> terminée.<br> - + {0} Search the posters of the movie: <b>{1}</b> ({2}). {0} = [INFO], {1} = Movie name, {2} = Movie id {0} Recherche des affiches du film : <b>{1}</b> ({2}). - + {0} Search for posters of the film {1} completed.<br> {0} = [INFO], {1} = Movie name {0} Recherche des affiches du film {1} terminée.<br> - + {0} {1} donwloaded into the folder {2}. {0} = [INFO], {1} = Poster name, {2} = Download folder path {0} {1} téléchargé dans le dossier {2}. - + {0} Search for {1} movie posters completed, automatic opening of folder.<br> {0} = [INFO], {1} = Number of poster downloaded {0} Recherche des {1} affiches de films terminée, ouverture automatique du dossier.<br> - + {0} Reading of the <b>page n°{1}</b>. {0} = [INFO], {1} = Page number {0} Lecture de la <b>page n°{1}</b>. @@ -344,12 +337,12 @@ MainWindow - + Exit Quitter - + About À propos @@ -357,17 +350,17 @@ ProgressBox - + Stop the work in progress... Arrêter le travail en cours... - + Stop work Arrêt du Travail - + Returns and progression: Retours et progression : @@ -375,32 +368,47 @@ QCheckComboBox - + Undo Action Annuler Action - + Redo Action Refaire Action - + + UnRedo Actions + Action Rétablissement + + + + Check Boxes + Cases à cocher + + + Check All Items Cocher toutes les cases - + Partially Check All Items Cocher partiellement toutes les cases - + Uncheck All Items Décocher toutes les cases - + + Default Values + Valeurs par défaut + + + Restore the default values Restaurer les valeurs par défaut @@ -433,7 +441,7 @@ ReturnBox - + Movies finded: Films trouvés : @@ -441,30 +449,34 @@ SearchBox - + Start search Rechercher Films - + Movie names searched: Noms des films à rechercher : - + Start the movies searching. Lancer la recherche des films. - + + Movie's names to search on <b>The Movie Data Base</b>.<br><br>Rules:<br> - Only one search per line.<br> - Exact names (not case sensitive).<br> - Use *'s for extended search.<br> - Name must be completed enough to be found. <br><br>Examples:<br> - Iron Man: Will return movies with the name iron man.<br> - Iron*: Will return all movies whose name starts with iron.<br> - *Man: Will return all movies whose name ends with man.<br> - *Man*: Will return all movies whose name includes man.<br><br>ctrl + enter launches the search. + Noms des films à rechercher sur <b>The Movie Data Base</b>.<br><br>Régles :<br> - Une seule recherche par ligne.<br> - Noms exacts (sans prise en compte de la casse).<br> - Utiliser des * pour de la recherche étendue.<br> - Le nom doit être suffisamment complété pour être trouvé.<br><br>Exemples :<br> - Iron Man : Renverra les films portant le nom de iron man.<br> - Iron* : Renverra tous les films dont le nom commence par iron.<br> - *Man : Renverra tous les films dont le nom finit par man.<br> - *Man* : Renverra tous les films dont le nom comporte man.<br><br>ctrl + entrée lance la recherche. + + Movie's names to search on <b>The Movie Data Base</b>.<br><br>Rules:<br> - Only one search per line.<br> - Exact names (not case sensitive).<br> - Use *'s for extended search.<br> - Name must be completed enough to be found. <br><br>Examples:<br> - Iron Man: Will return movies with the name iron man.<br> - Iron*: Will return all movies whose name starts with iron.<br> - *Man: Will return all movies whose name ends with man.<br> - *Man*: Will return all movies whose name includes man. - Noms des films à rechercher sur <b>The Movie Data Base</b>.<br><br>Régles :<br> - Une seule recherche par ligne.<br> - Noms exacts (sans prise en compte de la casse).<br> - Utiliser des * pour de la recherche étendue.<br> - Le nom doit être suffisamment complété pour être trouvé.<br><br>Exemples :<br> - Iron Man : Renverra les films portant le nom de iron man.<br> - Iron* : Renverra tous les films dont le nom commence par iron.<br> - *Man : Renverra tous les films dont le nom finit par man.<br> - *Man* : Renverra tous les films dont le nom comporte man. + Noms des films à rechercher sur <b>The Movie Data Base</b>.<br><br>Régles :<br> - Une seule recherche par ligne.<br> - Noms exacts (sans prise en compte de la casse).<br> - Utiliser des * pour de la recherche étendue.<br> - Le nom doit être suffisamment complété pour être trouvé.<br><br>Exemples :<br> - Iron Man : Renverra les films portant le nom de iron man.<br> - Iron* : Renverra tous les films dont le nom commence par iron.<br> - *Man : Renverra tous les films dont le nom finit par man.<br> - *Man* : Renverra tous les films dont le nom comporte man. UpdateLanguage - + No <b>French</b> translation files found.<br/>Use of <b>English language</b>. Aucun fichier de traduction <b>française</b> trouvé.<br/>Utilisation de la langue <b>anglaise</b>.