Follow-up questions, if I may ask.
I am still not clear on relations between code ( header / cpp files) and associated x.ui.
The btscanner builds some files and I like to just copy / modify the existing DeviceDiscoveryDialog to DeviceDiscoveryWidget.
Got that partially working.
If I copy device.ui to deviceWidget.ui how do I associate that with DeviceDiscoveryWidget ?
I am going to test modify my MainWindow constructor to add new tab , BUT
in general
is it better to create / add tab form in QtDesigner instead ?
I did try to copy entire form design and it sort of works , after the widgets are manually moved as desired.
I think mixing form GUI and code is not the best idea.
One more , but this may be to early to ask.
The btscanner constructor has several "connect" function and it generally works.
Signal / slot is not limited to one "connection".
So if I add another connection using Edit signal / slot - which takes precedence ?
Assuming of course they are logically OK.
Added after 40 minutes:
If I copy device.ui to deviceWidget.ui how do I associate that with DeviceDiscoveryWidget ?
Silly - just let QtCreator build the relations using SAME file name .
Bookmarks