You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
851 B
C++
46 lines
851 B
C++
#pragma once
|
|
|
|
#include "iGridRowGroup.h"
|
|
#include "mGuiJob_global.h"
|
|
|
|
// 提取出来,供多层模型时定制使用
|
|
class M_GUI_JOB_EXPORT tGridRowGroup : public iGridRowGroup
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit tGridRowGroup(iGridRowItem* pParent = nullptr);
|
|
~tGridRowGroup();
|
|
|
|
public:
|
|
|
|
// 序列化
|
|
virtual void onSerialize(ZxSerializer* ser);
|
|
virtual void onDeserialize(ZxSerializer* ser);
|
|
|
|
// 控件
|
|
virtual void initEditor();
|
|
virtual void setDlgBase(QWidget* p);
|
|
virtual void configEditor();
|
|
virtual void initOtherEditors();
|
|
|
|
// 范围
|
|
virtual void setBounds(QRectF& rt);//全局
|
|
virtual QRectF getRightBounds_Main();//右
|
|
|
|
// 绘图
|
|
virtual void paint(QPainter* pPainter);
|
|
|
|
protected:
|
|
|
|
virtual void _paintItemValue(QPainter* pPainter);
|
|
|
|
signals:
|
|
|
|
public slots:
|
|
|
|
protected:
|
|
|
|
};
|