Widgets out of scope?
-
Hi all
I am trying to write a program that stores staff details in a container and also writes it to a file. I keep getting error messages saying that the gui widgets I am trying to read the data from are not declared in the scope of the slot submit_button_clicked. I declared the widgets in the gui constructor shouldn't it then also be accessible to the submit_button_clicked slot?
my code:
https://www.dropbox.com/sh/mae4u74zayqyebn/AAAMBA_HroXkkP8FkuG_YUW6aThanks
Deon
-
Change to void staffgui::submit_button_clicked(). Scope resolution is missing for submitt_button_clicked()..