2022-04-07 22:21:23 +00:00
|
|
|
#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();
|
|
|
|
|
2022-04-18 09:41:02 +00:00
|
|
|
void setSchema(domain::Schema* schema);
|
2022-04-07 22:21:23 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
QGraphicsScene scene;
|
|
|
|
|
2022-04-18 09:41:02 +00:00
|
|
|
domain::Schema* schema;
|
2022-04-07 22:21:23 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace display
|
|
|
|
|
|
|
|
#endif // DISPLAY_SCHEMA_H
|