sorry to bring up the old thread, but when you are adding this
void get_started::on_pushButton_clicked()
{
curr = this->ui->stackedWidget->currentIndex();
this->ui->stackedWidget->setCurrentIndex(curr+1);
}
void get_started::on_pushButton_2_clicked()
{
curr = this->ui->stackedWidget->currentIndex();
this->ui->stackedWidget->setCurrentIndex(curr-1);
}
void get_started::on_pushButton_clicked()
{
curr = this->ui->stackedWidget->currentIndex();
this->ui->stackedWidget->setCurrentIndex(curr+1);
}
void get_started::on_pushButton_2_clicked()
{
curr = this->ui->stackedWidget->currentIndex();
this->ui->stackedWidget->setCurrentIndex(curr-1);
}
To copy to clipboard, switch view to plain text mode
*ps : I managed to get it working , sorry for this post
Bookmarks