Best way to pass values.

well, I'm back again, lol. I've been playing with Qt trying to learn som Gui programming. It's going alright, but I'm at a road block. I know this probably comes back to passing by reference, and what not.

basically I have a form, and a button. When that button is pressed calculations are made based on what the user checked on the form, but my issue is that I need to get these values from that button clicked code block to objects that I have on another form. I'm not sure how to do that.

anyone have any ideas?
In your "on click" event handler, you can either send a signal to the other form or manipulate its public methods directly, passing any appropriate arguments, such as the value in an edit box or the like.
Topic archived. No new replies allowed.