29 lines
378 B
C++
29 lines
378 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
|