You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
347 B
C
24 lines
347 B
C
9 years ago
|
#ifndef IFORM_H
|
||
|
#define IFORM_H
|
||
|
|
||
|
#include <QWidget>
|
||
|
|
||
|
class IForm : public QWidget
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
|
||
|
public:
|
||
|
explicit IForm(QWidget *parent = 0);
|
||
|
virtual ~IForm();
|
||
|
|
||
|
signals:
|
||
|
void recordAdded();
|
||
|
void recordUpdated();
|
||
|
void validationError(QString errMessage);
|
||
|
|
||
|
public slots:
|
||
|
virtual bool saveRecord() = 0;
|
||
|
};
|
||
|
|
||
|
#endif // IFORM_H
|