mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05: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")
|