16,203
社区成员
发帖
与我相关
我的任务
分享
HZTableItemBtn *iBtn = new HZTableItemBtn(HZTableItemBtn::ItemType_Color, _editType);
iBtn->setParentTable(this);
iBtn->setGeometry(0, 0, 25, 25);
QHBoxLayout *layout = new QHBoxLayout();
QWidget *widget = new QWidget();
layout->addWidget(iBtn);
widget->setLayout(layout);