QTimer
-
Hello Everyone,
I am designing an interface. I used stackedwidget because I wanted to have multiple pages. On the first page of the stackedwidget, I can print the data I want to print on the interface screen by using a timer, refreshing it every 2 seconds. I want to apply this process to the second page, but I can only get the data once. What can I do for it? -
Hello Everyone,
I am designing an interface. I used stackedwidget because I wanted to have multiple pages. On the first page of the stackedwidget, I can print the data I want to print on the interface screen by using a timer, refreshing it every 2 seconds. I want to apply this process to the second page, but I can only get the data once. What can I do for it?@Rumeysa_135 said in QTimer:
but I can only get the data once
What data and why can you get it only once? Please describe better.
-
@Rumeysa_135 said in QTimer:
but I can only get the data once
What data and why can you get it only once? Please describe better.
@jsulm
By communicating via serial port, I get temperature, pressure and humidity data, I print these data to the screen on the first page of the stackedwidget with timer and I can refresh it every 2 seconds but I cannot do this on the 2nd page. -
@jsulm
By communicating via serial port, I get temperature, pressure and humidity data, I print these data to the screen on the first page of the stackedwidget with timer and I can refresh it every 2 seconds but I cannot do this on the 2nd page. -
@jsulm
By communicating via serial port, I get temperature, pressure and humidity data, I print these data to the screen on the first page of the stackedwidget with timer and I can refresh it every 2 seconds but I cannot do this on the 2nd page.