git-svn-id: svn://db.shs.com.ru/libs@719 a8b55f48-bf90-11e4-a774-851b48703e85
30 lines
556 B
C++
30 lines
556 B
C++
#ifndef PROPERTYSTORAGEEDITOR_H
|
|
#define PROPERTYSTORAGEEDITOR_H
|
|
|
|
#include <QWidget>
|
|
#include "propertystorage.h"
|
|
|
|
|
|
class QAD_EXPORT PropertyStorageEditor: public QWidget {
|
|
Q_OBJECT
|
|
public:
|
|
explicit PropertyStorageEditor(QWidget * parent = 0);
|
|
~PropertyStorageEditor();
|
|
|
|
void clear();
|
|
bool isEmpty() const;
|
|
void setStorage(PropertyStorage * s);
|
|
void applyProperties();
|
|
|
|
private:
|
|
QList<QWidget*> _widgets;
|
|
PropertyStorage * storage;
|
|
|
|
signals:
|
|
void resetStorageRequest(PropertyStorage * );
|
|
void changed();
|
|
|
|
};
|
|
|
|
#endif // PROPERTYSTORAGEEDITOR_H
|