<html><body><div style="color:#000; background-color:#fff; font-family:tahoma, new york, times, serif;font-size:10pt"><div>Hi All,</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;">I am looking for some example implementation of setEditType in QGIS python plugins. The enums that do not need any additional information is just fine. However, it is unclear when it comes to enums like ValueMap, EditRange, CheckBox etc., I want to use strings 'true' or 'false' for checkbox in place of default (1,0) and similarly want to be able to set ValueMaps and EditRanges which I am not sure how to do.</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york',
 times, serif; background-color: transparent; font-style: normal;">Any help in this regard would be greatly appreciated.</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;">Thanks in advance,</div><div style="color: rgb(0, 0, 0); font-size: 13px; font-family: tahoma, 'new york', times, serif; background-color: transparent; font-style: normal;">Rukmaj</div></div></body></html>