File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
tests/testdata/qgis_server Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change 284
284
<editforminit/>
285
285
<editforminitcodesource>0</editforminitcodesource>
286
286
<editforminitfilepath></editforminitfilepath>
287
- <editforminitcode><![CDATA[# -*- coding: utf-8 -*-
288
- """
289
- Les formulaires QGIS peuvent avoir une fonction Python qui sera appelée à l'ouverture du formulaire.
290
-
291
- Utilisez cette fonction pour ajouter plus de fonctionnalités à vos formulaires.
292
-
293
- Entrez le nom de la fonction dans le champ "Fonction d'initialisation Python".
294
- Voici un exemple à suivre:
295
- """
296
- from qgis.PyQt.QtWidgets import QWidget
297
-
298
- def my_form_open(dialog, layer, feature):
299
- geom = feature.geometry()
300
- control = dialog.findChild(QWidget, "MyLineEdit")
301
-
302
- ]]></editforminitcode>
287
+ <editforminitcode></editforminitcode>
303
288
<featformsuppress>0</featformsuppress>
304
289
<editorlayout>generatedlayout</editorlayout>
305
290
<editable>
You can’t perform that action at this time.
0 commit comments