Here is what I have tried.
//ewo.h file
...
Code: Select all
Q_PROPERTY(bool inGedi READ isInGedi WRITE setInGedi DESIGNABLE false SCRIPTABLE false)
public:
bool isInGedi() const
private:
bool inGedi
...
//ewo.cpp
...
MyWidget::MyWidget(QWidget *parent)
: QWidget(parent)
{
qDebug ()