mirror of
https://github.com/qgis/QGIS.git
synced 2025-07-03 00:03:10 -04:00
8 lines
205 B
Python
8 lines
205 B
Python
from qgis.PyQt.QtWidgets import QLabel
|
|
|
|
|
|
def formOpen(dialog, layer, feature):
|
|
label = dialog.findChild(QLabel, "label")
|
|
assert label.text() == "Swimming Monkey"
|
|
label.setText("Flying Monkey")
|