Interface class to multiple inherit when the sf::FormWriter class needs to be restricted in writing o...
Definition ObjectExtension.h:17
ObjectExtension(QObject *object)
Protected constructor only. Inlined so no external libs are need for designer.
static bool inDesigner()
Gets the designer status.
virtual bool getSaveChildren() const
Gets if the children needs saving by the FormBuilder class.
static QObject * getExtensionParent(QObject *obj, bool first=true)
Return if the passed object has this type as parent. It starts by testing the passed object itself.
virtual ~ObjectExtension()=default
Virtual destructor.
virtual bool isRequiredProperty(const QString &name)=0
Returns true if a property is to be saved to file.
virtual void addPropertyPages(PropertySheetDialog *sheet)
Adds the pages specific for this object.