nanovna-saver/src/NanoVNASaver/Windows
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
..
About.py Redesign of the About window (#648) 2023-07-05 10:00:47 +02:00
AnalysisWindow.py Feature/tinysa (#616) 2023-03-14 19:22:46 +01:00
Bands.py fix: PyQt6 fixes (#629) 2023-04-18 12:14:21 +02:00
CalibrationSettings.py Control panel width increased a few pixels to allow Markers -> "reference" checkbox to be capitalized like the other checkboxes and radio buttons. Now able to be displayed as "Reference" without cutting off the text of the "Enable Delta Marker" checkbox. (#665) 2023-07-30 08:52:49 +02:00
Defaults.py pyqt6 2023-03-13 12:13:44 +01:00
DeviceSettings.py Sweep.py: add getters and setters for private fields (#659) 2023-07-30 09:03:06 +02:00
DisplaySettings.py fix "Could not parse stylesheet of object QGroupBox..." error (#643) 2023-06-21 14:08:19 +02:00
Files.py fix: PyQt6 fixes (#629) 2023-04-18 12:14:21 +02:00
MarkerSettings.py pyqt6 2023-03-13 12:13:44 +01:00
Screenshot.py Feature/tinysa (#616) 2023-03-14 19:22:46 +01:00
SweepSettings.py Sweep.py: add getters and setters for private fields (#659) 2023-07-30 09:03:06 +02:00
TDR.py pyqt6 2023-03-13 12:13:44 +01:00
__init__.py