View Single Post
Posts: 23 | Thanked: 0 times | Joined on Dec 2009
#7
Originally Posted by Sasler View Post
If I understood you correctly, you could try this:

Code:
void MainWindow::on_Button_clicked()
{
       ui->label->setText("text2 text2 text2");
}
Assuming that on_Button_clicked() is called when you click "next" and that the QLabel ID is "label".

Hope this helps
thanks for helping me out, but how do i change that on third click it would change to text3 text3 text3