Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if attribute("status") = "closed":
- remove form element (attribute("status"))
- from qgis.PyQt.QtWidgets import QWidget
- def my_form_open(dialog, layer, feature):
- status = dialog.findChild(QLabel,"status")
- removeChild(status)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement