nanovna-saver/src/NanoVNASaver
Name abb80a5160
Sweep.py: add getters and setters for private fields (#659)
* style, Sweep.py: remove a double negation

* style, NanoVNASaver.py: simplify sweepSource computation

* Sweep.py: add getters and setters for private fields

Beware that this commit removes a lock from
SweepSettings.update_tex_power, and adds one to
DeviceSettings.updatecustomPoint.
Both changse may be incorrect, depending on the role of the lock
(issue #657).

Follows: 6eb24f23 d09b55e1 dbea311a

Since d09b55e1, the Properties.name class attribute is overriden by
each assignment to the properties.name instance attribute.
This is most probably unwanted.

This commit

 * removes @dataclass, which is confusing as some attributes are
   managed because of the lock.
   Because of this, it has to restore __repr__ and __eq__.
 * provides getters and setters for private attributes, and
   protects each update by a thread lock
 * adds a regression test for the bug fixed by d09b55e1 (immutable
   properties).
2023-07-30 09:03:06 +02:00
..
Analysis Trivial style changes (#625) 2023-03-22 15:56:59 +01:00
Charts fix: PyQt6 fixes (#629) 2023-04-18 12:14:21 +02:00
Controls Sweep.py: add getters and setters for private fields (#659) 2023-07-30 09:03:06 +02:00
Hardware With current firmware, the JNCRadio, SV4401A, SV6301A devices allows 1001 datapoints (#662) 2023-07-26 07:54:31 +02:00
Marker fix "Could not parse stylesheet of object QGroupBox..." error (#643) 2023-06-21 14:08:19 +02:00
Settings Sweep.py: add getters and setters for private fields (#659) 2023-07-30 09:03:06 +02:00
Windows Sweep.py: add getters and setters for private fields (#659) 2023-07-30 09:03:06 +02:00
About.py use correct URL for NanoVNASaver version check (#647) 2023-07-05 10:00:06 +02:00
AnalyticTools.py Trivial style changes (#625) 2023-03-22 15:56:59 +01:00
Calibration.py Trivial style changes (#625) 2023-03-22 15:56:59 +01:00
Defaults.py Trivial style changes (#625) 2023-03-22 15:56:59 +01:00
Formatting.py Trivial style changes (#625) 2023-03-22 15:56:59 +01:00
Inputs.py Feature/tinysa (#616) 2023-03-14 19:22:46 +01:00
NanoVNASaver.py Sweep.py: add getters and setters for private fields (#659) 2023-07-30 09:03:06 +02:00
RFTools.py Trivial style changes (#625) 2023-03-22 15:56:59 +01:00
SITools.py used black for reformatting/lintig 2023-03-08 09:40:39 +01:00
SweepWorker.py Sweep.py: add getters and setters for private fields (#659) 2023-07-30 09:03:06 +02:00
Touchstone.py Trivial style changes (#625) 2023-03-22 15:56:59 +01:00
Version.py Trivial style changes (#625) 2023-03-22 15:56:59 +01:00
__init__.py Trivial style changes (#625) 2023-03-22 15:56:59 +01:00
__main__.py option --auto-connect, connect automatically if one device detected (#645) 2023-07-05 09:59:26 +02:00