I solved my problem using DESIGNABLE function in the Q_PROPERTY. With this function a enabled or disabled the property.