If page support max five entries, how to update the list with six item and 1st element in the list must be removed

Hi,
This is basic, Generate two slots (or the automatic slot from Designer) and then use the currentRow() + 1 to set the currentRow ;-)
So something like this:
@
// Will only do down, up is your thing to do ;-)
void MainWindow::on_downButtonPressed(void)
{
// Check if you already selected the last item
if (ui->myList.count() > ui->myList.currentRow())
{
ui->myList.setCurrentRow(ui->myList.currentRow() + 1);
}
}
@