|
34 | 34 | from .add_onglet import * |
35 | 35 | from .plugin_maitre_dialog import PluginMaitreDialog |
36 | 36 |
|
37 | | -TITRE = "Maître" |
| 37 | +TITRE = "PluginsManager" |
38 | 38 | MENU_IGN = "menu IGN " |
39 | 39 | PREFIXE_PLUGIN_IGN = "IGN_" |
40 | | -DOSSIER_ONGLET = "config_plugin_maitre" |
| 40 | +DOSSIER_ONGLET = "config_PluginsManager" |
41 | 41 | # liste des plugins à exclure du menu et de la barre d'outils (ex : plugin sans interface) |
42 | 42 | # EXCEPT_PLUGIN = ["IGN_Vues"] |
43 | 43 | EXCEPT_PLUGIN = [""] |
@@ -75,7 +75,7 @@ def log(message,reset=False): |
75 | 75 | current_directory = os.path.dirname(__file__) |
76 | 76 | # Remonter d'un niveau |
77 | 77 | parent_directory = os.path.abspath(Path(current_directory, os.pardir)) |
78 | | - fichier = Path(parent_directory, "log_maitre.txt") |
| 78 | + fichier = Path(parent_directory, "log_PluginsManager.txt") |
79 | 79 | mode = "w" if reset else "a" # "w" pour écraser, "a" pour ajouter |
80 | 80 | with open(fichier, mode, encoding="utf-8") as f: |
81 | 81 | f.write(f"{message}\n") |
@@ -110,7 +110,7 @@ def affichemessageAvertissement( titre, text): |
110 | 110 | return None |
111 | 111 |
|
112 | 112 | def afficheDoc(): |
113 | | - webbrowser.open("https://ignf.github.io/maitre-qgis-plugin/") |
| 113 | + webbrowser.open("https://ignf.github.io/PluginsManager-qgis-plugin/") |
114 | 114 |
|
115 | 115 | class PluginMaitre: |
116 | 116 | def __init__(self, iface): |
@@ -167,7 +167,7 @@ def init_menuIGN(self): |
167 | 167 | parent_directory = os.path.abspath(Path(current_directory, os.pardir)) |
168 | 168 |
|
169 | 169 | # ************************************************************************ |
170 | | - # plugin maitre |
| 170 | + # plugin PluginsManager |
171 | 171 | icon_path = Path(os.path.dirname(__file__)) / "icons" / "icon.png" |
172 | 172 | action = QAction(QIcon(str(icon_path)),"Configuration",self.iface.mainWindow()) |
173 | 173 | action.triggered.connect(self.run) |
|
0 commit comments