I want to use a comboBox but am having some problems with the signals. I want to have comboBox with the options
cat
dog
mouse
then when I click a pushButton (which I have already tested and coded) it calls the appropriate function. So the pushButton has the option of calling 3 different functions depending if the user has selected cat, dog or mouse from the comboBox. I know the code below isn't right but hopefully explains the idea.
Qt Code:
if (comboBox == cat){ cat(); } if (comboBox == dog){ dog(); }To copy to clipboard, switch view to plain text mode
Bookmarks