Srivats P
f07cba39d5
Reset port widget current on portgroup disconnect
...
Failure to do so was causing a crash because port widget was trying to
disconnect signal from a non-existent port (corresponding to the current
index that was not reset) after the portgroup reconnected or another
portgroup came up and a port was selected in the port list.
This bug was a regression caused by the refactoring changes when
portwidget (and streamswidget) was extracted from portswindow.
2022-12-08 17:00:15 +05:30
Srivats P
3cea0244d4
Rename port configuration slot
...
Adding a parameter with a default value to the existing on_XXX slot
in a previous commit makes auto connect signal-slots by name to flag
signal not found.
So rename the slot name and add an explicit connection.
2022-10-07 12:58:45 +05:30
Srivats P
b645e02963
Double click port to open port config dialog
...
Or select and press Enter using the keyboard
Fixes #344
2022-09-27 11:38:03 +05:30
Srivats P
42091e5221
Allow user to add a port description
...
If a user description is available, that is shown in the ports window
other wise the system determined description is shown.
Updates #223
2022-09-09 12:25:17 +05:30
Srivats P
2ee19da15c
Add Stream and Device menus to main window menu bar
...
Stream and Device related actions from the File menu has been moved
under these new menus
2022-02-11 18:09:30 +05:30
Srivats P
14993073fe
Extract portWidget from streamsWidget
2021-11-06 19:18:48 +05:30
Srivats P
0a825a0aa3
Extract streamsWidget code out of portsWindow
...
All functionality seems to be working, so hopefully no regressions!
It does appear to me that portWidget can be extracted out of
streamsWidget
2021-11-05 15:27:37 +05:30
Srivats P
b52d1c5be3
Extract streamswidget.ui out of portswindow.ui
...
Only UI extraction is done. PortsWindow is still a combined class that
will be separated in the subsequent commit(s).
Although this commit builds successfully, but the stream actions don't
work because the stream widget's signals are not connected to port
window's slots
2021-11-05 13:02:19 +05:30
Srivats P
9c44bb8e12
Update stream view actions after opening a streams file
...
Fixes #312
2021-09-25 12:41:31 +05:30
Srivats P
1e1e0b0c48
Clear current and selection when restoring default view
...
This is done for all top level windows - ports, stats, logs
At startup, the local portgroup would automatically become current with
the result that the welcome page would not be visible. Not sure why but
an explicit setFocus of ports window seems to avoid it.
2020-05-07 18:40:31 +05:30
Srivats P
18d024481f
Add cut-copy-paste to Edit menu and context-menu
...
Actions have been added to context-menu for stream list and device group
list only for now.
2020-03-14 21:13:24 +05:30
Srivats P
913ef5c0ee
Add start/stop tx buttons to stream list window
2019-06-19 22:22:01 +05:30
Srivats P
00bc01898d
Show a progress dialog during Apply
...
The most time spent during apply is during packet rebuilding.
Unfortunately, there is no feedback from the drone to know the actual
progress, so this is just a busy indicator for now.
I tried to put a jump url to the FAQ on why it takes time, but 'coz the
app cursor is a "wait cursor", user cannot click on any widgets/elements
inside the dialog box - so this won't work.
Iterate on this dialog and what it displays based on user feedback.
2019-02-22 18:58:13 +05:30
Srivats P
5eea62f4f4
Fix build break by renaming xlocale.h to avoid name clash
2018-09-15 11:40:11 +05:30
Srivats P
c673141f33
Bugfix: Remove group separator when converting string to number
...
Fixes #240
2018-09-14 20:24:30 +05:30
Srivats P
a16eefbff4
Treat warnings as errors and fix existing warnings
2018-04-20 20:50:51 +05:30
Srivats P
f801982830
Port common, rpc and client code to Qt5
...
Still pending
* server port to Qt5
* verify/test the port
2018-03-14 21:58:56 +05:30
Srivats P
6dd6511269
Merge branch 'master' into sign
2017-12-03 12:59:26 +05:30
Srivats P
81e7e735bc
sign: Resolve a few FIXMEs
...
* Rename track_stream_stats to is_tracking_stream_stats for consistency
with other bool params
* Change signature magic value to CODA
* Resolve notify memory leak
2017-12-03 11:26:09 +05:30
Srivats P
f9b83763bd
UX: Change apply hint color to red
...
Changing the color to be same as the port name color shows that these
are related
2017-10-05 20:04:23 +05:30
Srivats P
6bd687e2bc
UX: Enhance StreamConfigDialog
...
* Add stream name/enabled fields to dialog
* Change Dialog title to include current stream name
2017-09-22 20:45:42 +05:30
Srivats P
1047f0b1d8
Fix warning
2017-09-21 20:50:24 +05:30
Srivats P
f62a3be54a
UX: Don't allow edit of non-contiguous streams
...
Allowing this has potential of confusion for user when using Prev/Next
2017-09-20 22:05:13 +05:30
Srivats P
fd243f6847
UX: Open StreamConfigDialog on add stream
...
Add+Edit is now reduced to single step. For new users, it is easier to
comprehend this single step and no text hint is needed for edit
2017-09-20 22:00:47 +05:30
Srivats P
360fa13c97
UX: Edit multiple streams in the StreamConfigDialog
...
The dialog now accepts a list of streams as input and has prev/next
buttons to tranverse through the list making changes in one or more of
the streams
2017-09-17 13:18:44 +05:30
Srivats P
509e9d5398
Change Stream Config Dialog inputs
...
This is the first of many commits that lays the foundation for -
* Editing multiple streams without exiting the dialog
* Triggering the dialog when a new stream is added instead of add+edit
2017-09-16 12:30:00 +05:30
Srivats P
db77563466
UX: Change port name color if local config is changed
...
Although the applyHint is also changed in this case, the applyHint is
visible only when the port is selected. Having the port name in a
different color is a visual hint to the user that Apply is pending
2017-09-16 12:12:43 +05:30
Srivats P
3aa44343f0
Add new entry at end if nothing selected in stream/devGrp list
2017-09-14 21:01:56 +05:30
Srivats P
cca2e94bb3
Detect when port config has changed and needs to APPLY'd
...
For now we prompt user to click Apply, in future we can use this to do a
"Auto Apply"
2017-09-14 20:38:13 +05:30
Srivats P
abb48a1c12
UX: Auto expand port group and allow deselect in PortsWindow
2017-09-09 13:13:52 +05:30
Srivats P
40c5e00ec2
(UX) Add textual hints for to the ports window
...
Improves first run experience
2017-09-07 20:45:43 +05:30
Srivats P
bf161811b4
sign: Add Stream Stats button to GUI port config
2016-11-21 18:39:55 +05:30
Srivats P
1986845bae
sign: remove streamsType and associated code
2016-11-05 19:41:02 +05:30
Srivats P
2185bf2855
sign: Disable Port TxMode/StreamsType config in GUI based on port state
2016-10-28 18:27:24 +05:30
Srivats P
1f4a825042
sign: fix incorrect code added by mistake in a79bbb1f
2016-10-27 21:48:18 +05:30
Srivats P
a79bbb1fcd
sign: signed tx stats infra; actual tx signing pending
2016-10-23 17:24:23 +05:30
Srivats P
75efed5ec4
Add extension while saving streams and sessions, if user doesn't specify one.
...
Fixes #187
2016-06-14 18:56:29 +05:30
Srivats P
2acfb3f25a
Fix warnings introduced by recent feature development
2016-06-01 20:51:29 +05:30
Srivats P
ff066ea657
Renamed AbstractFileFormat to StreamFileFormat and FileFormat to OstmFielFormat to be consistent with the new convention introduced with SessionFileFormat/OssnFileFormat
2016-05-19 21:54:28 +05:30
Srivats P
c8a31f3068
Refactor stream file supportedFileTypes() to accept operation - Open/Save and return fileTypes accordingly
2016-05-19 21:05:32 +05:30
Srivats P
29f840c91c
Use .ostm as default extension for Saved Stream(s) file and use it as default filter for open stream file
2016-05-18 21:33:26 +05:30
Srivats P
294d1c80a1
Save/Open Session: Save only owned ports if some ports are reserved - corresponding open session code not to overwrite a owned port is pending
2016-05-06 21:24:36 +05:30
Srivats P
9bd6b536a3
Save/Open Session: saved streams and deviceGroups in file; open code pending
2016-04-15 19:03:52 +05:30
Srivats P
bcb5376f9d
Save/Open Session - added UI and related infra to invoke OssnFileFormat; code to build sessionContent incomplete
2016-04-14 07:44:07 +05:30
Srivats P
24a93a5025
Device Emulation (contd.): PortsWindow - refactored all device related widgets into a separate DevicesWidget for better modularity.
2016-03-13 19:51:32 +05:30
Srivats P
941d522451
Device Emulation (contd.): GUI now fetches ARP/NDP also from server and display summary counts - resolved/total
2016-03-12 18:56:35 +05:30
Srivats P
7c87e2130a
Device Emulation (contd.): Use two different TableViews for DeviceGroupList and DeviceList
2016-03-11 21:05:07 +05:30
Srivats P
0503c8acaf
Device Emulation (contd.): Get and display Device List
2016-03-11 18:58:08 +05:30
Srivats P
bb69e644b1
Device Emulation (contd.): remove model from deviceGroupList if deviceInfo is selected - until deviceInfo model is implemented
2016-03-04 18:53:08 +05:30
Srivats P
73485fb3bc
Device Emulation (contd.): UI changes so that the 'Apply' button is seen to be common for both streams and devices; provisional UI for device information
2016-03-04 18:41:36 +05:30