pydm
pydm copied to clipboard
WIP:add a new widget called ReadbackButton.
…on in EDM that has two PV properties. One is Control PV and the other is Readback PV. In edm, the button widget has two PV properties. One is Control PV, and the other is Readback PV. We can also set the color in Inconsistent property. When the two PVs' value are different, the inconsistent color will shown on the button. Similarly, we need this functionality in PyDM GUIs. So I write a new widget called ReadbackButton. In this widget, I add a readback channel and inconsistentColor properties, as well as corresponding slot functions, relative to the PushButton widget.
In edm, the button widget has two PV properties. One is Control PV, and the other is Readback PV. We can also set the color in Inconsistent property. When the two PVs' value are different, the inconsistent color will shown on the button.
Codecov Report
Merging #774 (97eff3e) into master (9ac9bd5) will decrease coverage by
1.48%
. The diff coverage is0.00%
.
@@ Coverage Diff @@
## master #774 +/- ##
==========================================
- Coverage 58.92% 57.43% -1.49%
==========================================
Files 91 92 +1
Lines 10543 10815 +272
==========================================
Hits 6212 6212
- Misses 4331 4603 +272
Impacted Files | Coverage Δ | |
---|---|---|
pydm/widgets/qtplugins.py | 0.00% <0.00%> (ø) |
|
pydm/widgets/readbackbutton.py | 0.00% <0.00%> (ø) |
|
pydm/widgets/rules.py | 70.94% <0.00%> (-1.12%) |
:arrow_down: |
pydm/widgets/base.py | 90.76% <0.00%> (+0.45%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 9ac9bd5...97eff3e. Read the comment docs.