Mar-10-2017, 02:51 PM
Hi there,
Due to the slightly annoying thing about not being able to return a value from a method when a button is clicked, how do you keep track of button clicks. I have a simple message window, and the messages are downloaded into a list and I want to cycle through this list so usually, you could set up a simple while false loop and iterate through, but I can't work out how you are supposed to do that with qt, if you have to call another method and can't pass variables back and forth
How is this done?
Due to the slightly annoying thing about not being able to return a value from a method when a button is clicked, how do you keep track of button clicks. I have a simple message window, and the messages are downloaded into a list and I want to cycle through this list so usually, you could set up a simple while false loop and iterate through, but I can't work out how you are supposed to do that with qt, if you have to call another method and can't pass variables back and forth
How is this done?