I have a for loop to add multiple same horizontal layouts to vertical layout.
def update(self): layoutV = QVBoxLayout() for i in range(int(value)):