Check the output window - there will be an error there for you.
Also, check the documentation - currentIndexChanged() doesn't exist. It's currentIndexChanged(int)
Check the output window - there will be an error there for you.
Also, check the documentation - currentIndexChanged() doesn't exist. It's currentIndexChanged(int)
When i put some integer inside it underline it as error.
I suppose that inside must be the number of the selected item from comboBox i mean 0 for first, 1 for next etc.
Maybe you misunderstand, what I mean is this:
Qt Code:
connect(ui->comboBox, SIGNAL(currentIndexChanged(int)), this, SLOT(combochanged(int)));To copy to clipboard, switch view to plain text mode
it works, thanks a lot!!!!
Bookmarks