<div dir="ltr"><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:12px;text-align:justify">Hi,</span></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:12px;text-align:justify"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:12px;text-align:justify">I am starting to feel a lot of love for PyQt. I am inquiring about how the Qt Property system translates into PyQt</span></div><div><br></div><div style="text-align:justify"><font color="#000000" face="Times New Roman"><span style="font-size:12px">The documentation states:</span></font></div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:12px;text-align:justify">"PyQt5 does not support the setting and getting of Qt properties as if they were normal instance attributes. This is because the name of a property often conflicts with the name of the property’s getter method."</span><br><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:12px;text-align:justify"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:12px;text-align:justify">Does this mean I can't write label.setProperty("text" , "HelloWorld")? I am not exactly sure what this means.</span></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:12px;text-align:justify"><br></span></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:12px;text-align:justify">I have tried this for instance and it works great:</span></div><div><span style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:12px;text-align:justify"><br></span></div><div><span style="text-align:justify"><div><font color="#000000" face="Times New Roman"><span style="font-size:12px">for i in range(0, propertyCount):</span></font></div><div><font color="#000000" face="Times New Roman"><span style="font-size:12px">        metaProperty = metaObject.property(i)</span></font></div><div><font color="#000000" face="Times New Roman"><span style="font-size:12px">        typeName = metaProperty.typeName()</span></font></div><div><font color="#000000" face="Times New Roman"><span style="font-size:12px">        propertyName = metaProperty.name()</span></font></div><div><font color="#000000" face="Times New Roman"><span style="font-size:12px">        value = object.property(metaProperty.name())</span></font></div><div><font color="#000000" face="Times New Roman"><span style="font-size:12px">        print("propertyName: " + propertyName + ", value: " + str(value) + ", type: " + typeName)</span></font></div><div><font color="#000000" face="Times New Roman"><span style="font-size:12px"><br></span></font></div><div><font color="#000000" face="Times New Roman"><span style="font-size:12px">Do we use the Qt Property system in PyQt?</span></font></div><div><font color="#000000" face="Times New Roman"><span style="font-size:12px"><br></span></font></div><div><font color="#000000" face="Times New Roman"><span style="font-size:12px">Thanks,<br>Chris Probst</span></font></div><div style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:12px"><br></div></span></div></div>