pcdshub / pmps-ui

User interfaces and diagnostics for PMPS
Other
0 stars 9 forks source link

Consolidate custom channel setup #59

Open ZLLentz opened 2 years ago

ZLLentz commented 2 years ago

Currently there's a much-repeated pattern in this repository where we create a pydm channel, connect it, and set it to be cleared when the containing widget is destroyed.

This should be consolidated into a re-usable function, either specifically here or in a shared utilities repository. Conversation here: https://github.com/pcdshub/pmps-ui/pull/53#discussion_r747721641