'Insert `button` in `row` in position `index`.'

def insertButton(self, row, index, button):

    item = self.__mainLayout.itemAt(row)
    layout = item.widget().layout()
    layout.insertWidget(index, button)
    button.triggered.connect(self.__on_actionTriggered)
