answerPointers.insert(index, new AnswerEditor()); answersLayout->insertWidget(index,answerPointers[answersCount]);