38 index =
new QLabel(std::to_string(
id).c_str());
39 this->addWidget(
index, 0);
65 void setId(
int id) {
mId = id;
index->setText(std::to_string(
id).c_str()); };
128 for (
size_t i = 0; i <
allItem.size(); i++)
140 QObject::connect(itemLayout, SIGNAL(valueChange(
int)),
this, SLOT(
updateVector()));
154 for (
size_t i = 0; i <
allItem.size(); i++)
175 QObject::connect(itemLayout, SIGNAL(valueChange(
int)),
this, SLOT(
updateVector()));
184 for (
size_t i = 0; i <
mVec.size(); i++)
186 std::cout <<
mVec[i] <<
", ";
188 std::cout << std::endl;
QPushButton * removeButton
DECLARE_FIELD_WIDGET mVectorItemLayout(int id)
This is an implementation of AdditiveCCD based on peridyno.