21 lines
464 B
C++
21 lines
464 B
C++
#ifndef EDITBASESTRUCT_H
|
|
#define EDITBASESTRUCT_H
|
|
|
|
//编辑器基础空间结构
|
|
#include <QGraphicsWidget>
|
|
#include "global.h"
|
|
|
|
class EditBaseStruct : public QGraphicsWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
EditBaseStruct(QGraphicsItem *parent = 0);
|
|
virtual ~EditBaseStruct();
|
|
void setDataType(DiagramEditorStructType t) {_dataType = t;}
|
|
DiagramEditorStructType getDataType() {return _dataType;}
|
|
protected:
|
|
DiagramEditorStructType _dataType;
|
|
};
|
|
|
|
#endif
|