30 lines
494 B
C++
30 lines
494 B
C++
#include <QLabel>
|
|
#include <QGraphicsProxyWidget>
|
|
#include <QPushButton>
|
|
#include "diagramEditor/editRowData.h"
|
|
#include "global.h"
|
|
|
|
|
|
EditRowData::EditRowData(QGraphicsItem *parent)
|
|
: EditBaseStruct(parent)
|
|
{
|
|
m_layout = new QGraphicsLinearLayout(Qt::Horizontal, this);
|
|
|
|
|
|
m_layout->addStretch();
|
|
m_layout->setSpacing(6);
|
|
|
|
setDataType(DiagramEditorStructType::rowData);
|
|
}
|
|
EditRowData::~EditRowData()
|
|
{
|
|
|
|
}
|
|
|
|
int EditRowData::calWidth()
|
|
{
|
|
int width = 0;
|
|
|
|
return width;
|
|
}
|