Template
forked from CEN-RA/Plugin_QGIS
création d'un nouveau modell
This commit is contained in:
@@ -71,7 +71,7 @@ from .issues import CenRa_Issues
|
||||
|
||||
from .tools.mises_en_pages import carto_standard
|
||||
from .tools.mises_en_pages import full_page
|
||||
from .tools.mises_en_pages import demo
|
||||
from .tools.mises_en_pages import left_corner
|
||||
|
||||
from datetime import date
|
||||
|
||||
@@ -668,7 +668,11 @@ class AutoMap_Editor(QDialog, EDITOR_CLASS):
|
||||
north.setItemRotation(self.template_parameters['Arrow_rotate'])
|
||||
|
||||
if self.radioButton_10.isChecked() == 1:
|
||||
info_text = ["Source : " + self.mComboBox_3.currentText()][0]
|
||||
text_source = ' '
|
||||
for Item_mComboBox_3 in self.mComboBox_3.checkedItems():
|
||||
text_source = text_source+Item_mComboBox_3+','
|
||||
text_source = text_source[:-1]
|
||||
info_text = ["Source :" + text_source][0]
|
||||
else:
|
||||
info_text = ["Source : " + self.lineEdit_4.text()][0]
|
||||
# ajout note info:
|
||||
@@ -757,8 +761,8 @@ class AutoMap_Editor(QDialog, EDITOR_CLASS):
|
||||
pc = self.layout.pageCollection()
|
||||
pc.pages()[0].setPageSize('A3', QgsLayoutItemPage.Landscape)
|
||||
|
||||
if values_page == "demo.py":
|
||||
self.template_parameters = demo.fletch_canvas(self)
|
||||
if values_page == "left_corner.py":
|
||||
self.template_parameters = left_corner.fletch_canvas(self)
|
||||
if values_page == "carto_standard.py":
|
||||
self.template_parameters = carto_standard.fletch_canvas(self)
|
||||
if values_page == "full_page.py":
|
||||
|
||||
Reference in New Issue
Block a user