git-svn-id: svn://db.shs.com.ru/libs@586 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
29
test/qad/widgets/propertystorage_editor.h
Normal file
29
test/qad/widgets/propertystorage_editor.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef PROPERTYSTORAGEEDITOR_H
|
||||
#define PROPERTYSTORAGEEDITOR_H
|
||||
|
||||
#include <QWidget>
|
||||
#include "propertystorage.h"
|
||||
|
||||
|
||||
class 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
|
||||
Reference in New Issue
Block a user