This repository has been archived on 2020-09-07. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
libs/qad/widgets/propertystorage_editor.h

30 lines
545 B
C++

#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