SEAME-pt / Team05_SEA-ME-warm-up

1 stars 0 forks source link

M04_EX01.5: Connect the Threads to the Cars #21

Open JoelenCruz opened 1 week ago

JoelenCruz commented 1 week ago

Use Qt's signals and slots mechanism to connect the threads to the cars. For example, you can create a signal that gets emitted when the car's position changes, and a slot in the thread that receives this signal and updates the car's position accordingly.