Commit Graph

91 Commits

Author SHA1 Message Date
Jan Käberich
0e0173f62a switched to new calibration implementation 2022-08-29 20:07:07 +02:00
Jan Käberich
2b591aa362 Handle more than two ports in SCPI and SA/SG GUI 2022-08-23 00:37:25 +02:00
Jan Käberich
73e26a25c4 WIP: synchronization 2022-08-08 18:08:40 +02:00
Jan Käberich
58918f81c1 WIP: device synchronization 2022-08-07 03:01:22 +02:00
Jan Käberich
90ac9c57e1 basic working wrapper 2022-08-05 12:20:41 +02:00
Jan Käberich
f0a40417e4 Partial virtual device wrapper 2022-08-04 17:31:24 +02:00
Jan Käberich
787f0d0223 Merge branch 'master' of github.com:jankae/LibreVNA 2022-07-17 16:01:54 +02:00
Jan Käberich
d516d1ae41 Minor pull-request adjustments
- Restore active mode after amplitude calibration
- Keep order of modes as before (must users are probably used to that order by now)
- Use correct parent for name popup when creating new modes
2022-07-17 15:39:13 +02:00
Jan Käberich
2a4850caf6 Merge branch 'mode-handler' 2022-07-17 15:33:00 +02:00
jankae
32164dda87
Merge pull request #139 from sophiekovalevsky/refactor-device-list
app: refactor enable connect to
2022-07-17 15:15:35 +02:00
Kiara Navarro
8ea6345e9f
app: refactor enable connect to
Instead of enabling multiple times "connect to" by iterating
over device list, let's use a flag that determine when at
least one device was found. In that way, the enabling method
is executed once.
2022-07-16 17:52:49 -05:00
Kiara Navarro
fd5d21db0f
mode: convert averaging mode as a method used in all modes 2022-07-14 08:51:45 -05:00
Kiara Navarro
2f34998904
app: implement setup menu
Offload app window initialization by moving
all menu related logic into another place.
2022-07-12 18:51:11 -05:00
Kiara Navarro
2fbe6e84be
mode: move responsabilities from mode to modehandler
- Pass the following responsabilities from mode to mode handler:
   - active / deactive target mode
   - get active mode
   - create new modes

- Move back setting averaging mode when settings are
updated using getModes() method instead of handling
logic in mode handler.
2022-07-11 19:33:28 -05:00
Kiara Navarro
f56e32488e
app: activate mode from scpi
Fix missing activation of gui mode components
2022-07-10 10:45:56 -05:00
Jan Käberich
97fceb4ff4 reset preferences command line option 2022-07-10 15:30:42 +02:00
Kiara Navarro
cb9b03e418
app/mode: place tabs in menu corner
Signed-off-by: Kiara Navarro <sophiekovalevsky@fedoraproject.org>
2022-07-09 12:54:38 -05:00
Kiara Navarro
7a0e6da706
mode/app: decouple mode creation from gui components
Signed-off-by: Kiara Navarro <sophiekovalevsky@fedoraproject.org>
2022-07-09 12:54:34 -05:00
Jan Käberich
2e055bb55d Save version info in setup files (ignored on load) 2022-07-09 16:49:43 +02:00
Jan Käberich
b4abca85c1 Prevent crash on setup parsing file error + activate first mode if none specified 2022-07-09 16:32:29 +02:00
jankae
f333162663
Merge pull request #125 from sophiekovalevsky/device-init-disconnect-in-active-mode
app: fix init and disconnect device in active mode
2022-07-09 15:48:22 +02:00
Kiara Navarro
f1089303ea
app: fix init and disconnect device in active mode 2022-07-04 08:44:10 -05:00
Kiara Navarro
c8b591a4a1
app: update preferences in all existing modes when applies 2022-07-04 08:23:28 -05:00
Kiara Navarro
d530b2a213
app: prevent update preferences in none active and destroyed modes 2022-07-03 16:51:15 -05:00
Kiara Navarro
d392229c4d
scpi/app: unify result name
When returning scpi values, there are common options
that are shared between different commands. This
change introduce a way to define those values in a
single place.

Signed-off-by: Kiara Navarro <sophiekovalevsky@fedoraproject.org>
2022-07-02 08:51:30 -05:00
Jan Käberich
506502ce02 Fix statusbar mode update connection 2022-06-27 19:58:30 +02:00
jankae
c48ba999e5
Merge pull request #119 from sophiekovalevsky/refactor-reference
gui: set/get reference type and output regardless combobox index
2022-06-25 18:27:56 +02:00
Kiara Navarro
423585845e
vna/mode/app/sa: refactor plot update colors 2022-06-23 21:46:12 -05:00
Kiara Navarro
401a140449
main/app: move message pattern to main 2022-06-20 17:35:38 -05:00
Kiara Navarro
e0143e9caf
gui: set/get reference type and output regardless combobox index 2022-06-19 18:19:46 -05:00
Kiara Navarro
e863d5d3c9
app/main/device: move metatypes to device 2022-05-29 12:43:50 -05:00
Jan Käberich
53dcff8745 :fix valgrind issues 2022-04-23 16:31:36 +02:00
Jan Käberich
c96ac7b794 allow multiple VNA/SG/SA tabs 2022-04-03 23:34:18 +02:00
Jan Käberich
c6ef075f4f split device info and status protocol messages 2022-04-03 20:26:30 +02:00
Jan Käberich
c9ffdcd52b attempt to fix --no-gui option for windows 2022-03-03 12:28:59 +01:00
Jan Käberich
6e07be0af5 options to load calibration/setup files via command line 2022-03-01 12:31:38 +01:00
Jan Käberich
55421d60aa Move statusbar update slot to correct thread 2022-02-22 19:10:22 +01:00
Jan Käberich
2265b8f6c0 Add reference settings to setup file 2022-02-04 12:32:19 +01:00
Jan Käberich
cb5f472c47 improve autostart from setup file 2022-01-30 18:09:47 +01:00
Jan Käberich
b2ed124240 Add setup file as default startup configuration 2022-01-29 23:31:58 +01:00
Jan Käberich
3afbf42791 Fix: prevent crash when closing preferences without connected device 2022-01-29 15:10:38 +01:00
Jan Käberich
392b06f0eb Show setup/calibration info in statusbar 2022-01-21 22:33:58 +01:00
Jan Käberich
5d8efd4336 user selectable IF frequencies 2022-01-15 16:11:33 +01:00
Jan Käberich
dd8f0c4fa9 attempt to connect at startup with empty devicelist (triggers udev info msg) 2022-01-05 12:13:57 +01:00
Jan Käberich
dced1732d6 median option for averaging 2021-12-01 22:11:50 +01:00
Kiara Navarro
f3083d7069
app: add LibreVNA logo and use it as icon launcher
Now it's possible to identify LibreVNA with a logo. This logo would be
visible as an icon when app is launched.

A banner containing same logo has been added to README. Also,
a desktop launcher file is created to be used in GNU/Linux environments
enabling in this way the ability to add as favorite.

Closes #57
2021-11-12 09:05:48 -03:00
Kiara Navarro
fc258e6afb
app: sort header list 2021-10-21 08:31:31 -03:00
Jan Käberich
19f81da857 Merge branch 'master' of https://www.github.com/jankae/VNA2 2021-10-17 20:57:54 +02:00
Jan Käberich
c1bdc3aa89 use enum class for DeviceStatusBar 2021-10-17 20:57:23 +02:00
Kiara Navarro
07e000f01e
gui: implement status bar based upon device state
When device has not been connected for the first time,
status bar doesn't any information.

This implementation tries to encapsulate changes required on
several widgets associated with status bar based upon device state
whether this has been connected or not.
2021-10-14 22:20:09 -03:00