This largely keeps the same gui files, but adds 2 buttons, one to join rooms and one to disconnect rooms. The Set-Up button now does nothing since room creation is not actually supported server-side yet.
The relevant fields are automatically populated on load with values from the current Config.
Pressing the 'Join' button will create a new thread that will join the server, and make a 'Disconnect' button show up. This disconnect button will request an interruption which will be caught by the main client loop in clientCommunication.client(), then properly disconnecting and ending the thread. The same will happen when the user attempts to close the window when connected.
There is also now a Qt Signal passed down from the main gui to the connection classes. Emitting this signal with a string will add said string to the QListWidget on the main gui, displaying a message to the user. This can be made a lot cleaner, but for now it works.
Note that this still is not loaded by main.py, it still is currently only implemented by testing.py. It simply is closer to being ready to be properly impmlemented into main.py.
2
This largely keeps the same gui files, but adds 2 buttons, one to join rooms and one to disconnect rooms. The Set-Up button now does nothing since room creation is not actually supported server-side yet.
The relevant fields are automatically populated on load with values from the current
Config
.Pressing the 'Join' button will create a new thread that will join the server, and make a 'Disconnect' button show up. This disconnect button will request an interruption which will be caught by the main client loop in
clientCommunication.client()
, then properly disconnecting and ending the thread. The same will happen when the user attempts to close the window when connected.There is also now a Qt Signal passed down from the main gui to the connection classes. Emitting this signal with a string will add said string to the
QListWidget
on the main gui, displaying a message to the user. This can be made a lot cleaner, but for now it works.Note that this still is not loaded by
main.py
, it still is currently only implemented bytesting.py
. It simply is closer to being ready to be properly impmlemented intomain.py
.