#ifndef IFORM_H #define IFORM_H #include #include "core_global.h" class CORESHARED_EXPORT IForm : public QWidget { Q_OBJECT public: explicit IForm(QWidget *parent = 0); virtual ~IForm(); signals: void recordAdded(); void recordUpdated(); void validationError(const QString &errMessage); public slots: virtual bool saveRecord() = 0; }; #endif // IFORM_H