You need to stop editing the py files, they are generated from ui file and your going to break things doing what you are doing. All edits must be performed in the ui in qt designer as things are designed. I'm going to go out on a limb and say your other issues come from allowing ai to edit files directly. A warning, ai sucks at xml and ui editing because it rarely has our understands the complete context. And if you don't know when it's hallucinating to guide it back to reality it's going to continue down the wrong rabbit hole. Just do your edits/work in designer where it builds the file correctly on start up and correctly uses all necessary code to initiate the used widgets. Your ai generated posts are mostly hallucinations where it may seem confident in it's conclusion but it's completely out in left field and no where near what's actually happening.
Ai seems wonderful until you realize it's extremely fallible.
Appreciate your take on it.
I've not touched any of the probe_basic py files, qss files, or anything outside of the config/user_nnn/ folders.
Unfortunately, I am not able to diagnose the various issues without assistance when I can't accomplish what I want in qtpyvcp/qt/PB. And I would prefer not to pester you or other skilled folks unless absolutely necessary.
I have
zero coding skills, period. I can work out HAL logic no problem, but figuring out how to create a widget rule, stylesheet, or other text/terminal-based edits is a no-go without some sort of assistance.
I tried to add some hal leds. Didn't work until AI helped me discover it was the layout (as you pointed out).
Once there, I tried to create a widget rule for the hal pins. Didn't work. Still doesn't, but without AI I wouldn't have discovered there's no widget rule channel for HAL items. I would have either given up, or I would have fiddled with everything I could until I broke it and had a tantrum.
With AI help, I now have user-button panel & sidebar indicators that work exactly as I want, and a DRO that's as close to what I want as is reasonable. Getting to this point would have been impossible without AI assistance, or at best would have taken weeks of back-and-forth over the forum.
I'm sorry if I'm coming off as a clown who's spamming you or muddying the waters with AI slop. I genuinely hesitated to post anything, including the current GH issue I've got open, but I thought it might be helpful. Even the
"easy fix, you haven't formatted the sidebar..." was a non-obvious problem to me.
And thank you for all the work you've done. Seriously.