mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-02 00:02:12 -05:00
8 lines
206 B
Python
8 lines
206 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')
|