Add connection time and memory usage limits
This PR introduces two new optional fields to the login process, allowing the capture to stop automatically:
- After a specified duration (in seconds) https://github.com/user-attachments/assets/d9625211-76ca-4405-a367-e814e15c6991
- After a specified memory usage (in megabytes) https://github.com/user-attachments/assets/4ef2493d-12bb-4053-b284-5921ffb43285
Setting either value to 0 disables the corresponding limit.
The memory limit is a duplication of already existing functionality (about window -> global settings -> memory limit).
I don't like the amount of clutter this change introduces. It should be hidden by default.
I reworked the whole PR based on @MrAntoine77's work. This now only adds the connection duration limit.
I think it may be interesting to allow an option for quick edit of some settings (perhaps making the about windows a real window that the user can keep open would be enough?). But that's a question for another issue/PR I think now.