Skip to content

Commit 003dfc6

Browse files
committed
Minor cleanup to allow Qt6 support
1 parent eba0dea commit 003dfc6

5 files changed

Lines changed: 16 additions & 635 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.DS_Store
33
__pycache__
44
Thumbs.db
5+
venv

MapsPrinter/maps_printer.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@
3030

3131
from .processing_provider.maps_printer_provider import MapsPrinterProvider
3232

33-
# Initialize Qt resources from file resources.py
34-
from . import resources_rc
35-
36-
# Import code
37-
3833

3934
class MapsPrinter:
4035
"""QGIS Plugin Implementation."""

MapsPrinter/metadata.txt

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,14 @@
1-
# This file contains metadata for your plugin. Since
2-
# version 2.0 of QGIS this is the proper way to supply
3-
# information about a plugin. The old method of
4-
# embedding metadata in __init__.py
5-
# is no longer supported since version 2.0.
1+
# This file contains metadata for your plugin.
62

7-
# This file should be included when you package your plugin.# Mandatory items:
3+
# This file should be included when you package your plugin.
4+
# Mandatory items:
85

96
[general]
107
name=Maps Printer
118
qgisMinimumVersion=3.8
129
description=Export several print layouts to pdf, svg or image file (jpg, tif, png...) format in one click, from the current project or from projects in a folder.
1310
description[fr]=Permet en un clic d'exporter au format pdf, svg ou image (jpg, tif, png...) plusieurs mises en page de cartes. Ces mises en page peuvent provenir du projet en cours ou d'un dossier de projets.
14-
version=0.9
11+
version=1.0
1512
about=Exporting a print layout requires to open it, launch the export, wait till it finishes. This procedure can become boring, repulsive and time consuming when you have to export a lot of print layouts. Maps Printer offers a quick way to export print layouts, without opening each one before: just check them in a list and launch their export to the file format you wish (pdf, svg, jpg, tif, png...). Furthermore, you can export print layouts from project files within a directory.
1613
about[fr]= Lorsque vous avez plusieurs mises en page de cartes à exporter, la tâche peut très vite devenir chronophage et rébarbative. Il faut en effet ouvrir chacune d'elles, en lancer l'export, attendre qu'il finisse avant de passer à la suivante. Avec Maps Printer, vous n'avez plus besoin de suivre ces étapes afin d'exporter dans le format de votre choix (pdf, svg, jpg, tif, png...) : faites votre sélection et générez l'export. En outre, il est possible d'exporter les mises en page des projets présents dans un dossier.
1714
author=Harrissou Sant-anna (Conseil d'Architecture, d'Urbanisme et de l'Environnement du Maine-et-Loire)
@@ -21,8 +18,10 @@ email=delazj@gmail.com
2118

2219
# Optional items:
2320

24-
# Uncomment the following line and add your changelog:
25-
changelog= v.0.9 (2021-12-10)
21+
changelog= v.1.0 (2025-02-13)
22+
- Support of Qt6
23+
- Fix text output mode in pdf export (Thanks MrChebur) - #54
24+
v.0.9 (2021-12-10)
2625
- Fix atlas export to single PDF file (thanks to Nicolas Godet) - #45
2726
- Add multistep feedback when exporting atlases (thanks to Nicolas Godet) - #46
2827
- Fix export failing when layout name contains "illegal characters" - #50
@@ -54,7 +53,10 @@ changelog= v.0.9 (2021-12-10)
5453
- Add progress bar to follow or abort operations
5554
v.0.1 (2014-07-30)
5655
- Initial release
57-
changelog[fr]== v.0.9 (2021-12-10)
56+
changelog[fr]= v.1.0 (2025-02-15)
57+
- Prise en charge de Qt6
58+
- Correction du mode de rendu du texte lors d'un export pdf (merci à MrChebur) - #54
59+
v.0.9 (2021-12-10)
5860
- Correction de l'export d'atlas en un unique fichier PDF (merci à Nicolas Godet) - #45
5961
- Ajout de rapports intermédiaires lors de l'export d'atlas (merci à Nicolas Godet) - #46
6062
- Correction du bug d'export lorsque le nom de la mise en page contient des "caractères illégaux" - #50
@@ -101,3 +103,6 @@ deprecated=False
101103

102104
# determines if the plugin provides processing algorithms
103105
hasProcessingProvider=yes
106+
107+
# determines if the plugin can be run on QGIS built with Qt6
108+
supportsQt6=yes

MapsPrinter/resources.qrc

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)