954,206 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help with gui loop.

I'm trying to put the whole program into a loop and I'm not shure where to place it. I have lots of diffrent windows that have to be updated. I have tried adding it into the function that starts the program but it just gets stuck in a loop and doesn't update anything else. Any ideas? I'm know how to use loops without a gui. I guess I just don't know where to put it.

gick01
Newbie Poster
5 posts since Jul 2003
Reputation Points: 10
Solved Threads: 0
 

I think we need a bit more specifics. Is there a redraw function by any chance? Are you using QT? Why doesn't putting main() code into a loop work? You mean it doesn't redraw child windows?

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

I'm new with working with the GUI so bare with me. I just have one window with a couple of inputs and its suppose to give me outputs based on time. I just need all the void functions to run in a loop until I close the window. Thanks for the reply

gick01
Newbie Poster
5 posts since Jul 2003
Reputation Points: 10
Solved Threads: 0
 

I don't understand why just putting that code into a loop doesn't work. Do you think maybe you could copy/paste some of your code here so we can see what's going on exactly?

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

let me change some things and I will submit the code again.

gick01
Newbie Poster
5 posts since Jul 2003
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You