schema_editor/comdel/display/schema_display.h

28 lines
377 B
C++

#ifndef DISPLAY_SCHEMA_H
#define DISPLAY_SCHEMA_H
#include <QGraphicsView>
#include <QWidget>
#include <comdel/domain/schema.h>
namespace display {
class Schema: public QGraphicsView
{
public:
Schema();
void setSchema(domain::Schema* schema);
private:
QGraphicsScene scene;
domain::Schema* schema;
};
} // namespace display
#endif // DISPLAY_SCHEMA_H