Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Valid property value for designer plugin
allanba last edited by
I wrote and compiled a plugin for designer but when I try to use it it simply won't do anything when I drag it into the grid. I think is because of one of my properties,
I declare it in the header file as:
Q_PROPERTY(uchar Octet READ octet WRITE setOctet)
And the definition:
void setOctet(uchar o)
m_octet = o;
uchar octet() const
Then in the domXml method:
" <property name="Octet" >\n"
I haven't been able to find a list of valid types for the properties so I assume that everything should work with any kind of datatype, am I right or are there limitations?