Hi there
I am pretty new to QT, so please bear with me on this. I have had a scan of this forum, but as yet can't see a solution.
Basically I have two combo boxes on an interface, each controlling two separate threads for serial port access.
What I want to be able to do is select one box, and this in turn will disable that option in a different combobox.
for example I have the following ports selectable:
ttyS0
ttyS1
ttyS2
ttyS3
ttyUSB0
so if i select ttyS0 in one combo box, i want that option disabled in the second combo box to stop that port being activated by the other program. and vice versa if an option is selected in combo box 2, it needs to be disabled in combobox 1.
is there a way to do this?
so far the only way i can see is to use remove the index from the list. is this the best way to do this??
thanks in advance
Bookmarks