Commit Graph

135 Commits

Author SHA1 Message Date
Martin Pulec
dcbfdf3e82 Basic Qt6 compat 2021-04-08 13:57:45 +02:00
Martin Piatka
41775b81d4 GUI: Move the "Advanced" menu item to settings with better name
Probably all of the useful devices are now reported by capabilities, so
it's likely to be not even needed, so to avoid confusion it's moved into
the settings window and given a more descriptive name
2021-03-15 14:59:55 +01:00
Martin Piatka
cf357e516c GUI: Fix inconsistent formatting 2021-03-15 14:59:54 +01:00
Martin Piatka
152f8d95b0 GUI: Parse embedded audio support 2021-03-15 14:59:54 +01:00
Martin Piatka
15f5234b5f GUI: Remove unneeded video codec array 2021-03-12 13:48:04 +01:00
Martin Piatka
859a819cdb Revert "GUI: Fix embedded audio playback devices not appearing"
This was a dirty fix for #106. Video display devices were reported with
the module name and device option (e.g. "decklink:device=0"). The
display devices are now reported as separate module name and device
option strings, which means that we can test for exact match.

This reverts commit dc9ede91f1.
2021-03-12 13:48:04 +01:00
Martin Piatka
bc3946af0d GUI: move settings generation into settings class 2021-03-12 13:48:04 +01:00
Martin Piatka
2101b6234f GUI: Remove the need to specify device option for each module
All device configuration is now reported from capabilities in the same
way. Therefore it is now possible to generate the .device settings keys
during runtime for all reported modules
2021-03-12 13:48:03 +01:00
Martin Piatka
c2fb0b15f8 GUI: Allow adding only unique suboptions 2021-03-12 13:48:03 +01:00
Martin Piatka
ee4a2f3b11 GUI: Parse the new capabilities version 2021-03-12 13:48:03 +01:00
Martin Piatka
2b7f6006c3 GUI: Make sure modes are only displayed for associated device 2021-03-12 13:48:03 +01:00
Martin Piatka
9938384929 GUI: Check if capabilities are complete and have correct version 2021-03-09 14:39:44 +01:00
Martin Piatka
1777866a65 GUI: simplify device parsing 2021-03-09 14:39:43 +01:00
Martin Piatka
45d8002f66 GUI: iterate over the --capabilities lines only once 2021-03-09 14:39:43 +01:00
Martin Piatka
e534c32fb1 GUI: Parse codec priority and sort codecs according to it 2021-03-09 14:39:43 +01:00
Martin Piatka
57bf1ab13e GUI: codec options tab 2021-03-09 14:39:43 +01:00
Martin Piatka
41f180bde8 GUI: Video compression quality lineedit now using parsed labels 2021-03-09 14:39:42 +01:00
Martin Piatka
029f16fe61 GUI: codec selection using reported codecs 2021-03-09 14:39:42 +01:00
Martin Piatka
cafcc6e457 GUI: parse video compress capabilities 2021-03-09 14:39:42 +01:00
Martin Piatka
6b00f7ac9c GUI: video encoder structures + sample data 2021-03-09 14:39:42 +01:00
Martin Piatka
d4d099d1bc GUI: widget_ui: Remove callback when destructing 2021-03-09 12:55:28 +01:00
Martin Piatka
ad8c4d4406 GUI: Don't use std::function for callbacks
std::function cannot be compared for equality and this would make it
difficult for disconnecting the callbacks when needed.
2021-03-09 12:55:28 +01:00
Martin Piatka
fe53a53dc4 GUI: vuMeter: Indicate if not connected to control socket 2021-03-09 12:55:28 +01:00
Martin Piatka
bfd30713b8 GUI: Allow escaping of spaces with quotes in argument string 2021-03-08 14:25:33 +01:00
Martin Piatka
8bbefbbcef GUI: log_window: Try to choose monospace font in a more portable way 2021-03-04 13:39:16 +01:00
Martin Piatka
9bd6429636 GUI: Add encryption support
Resolves #137
2021-02-25 12:33:51 +01:00
Martin Piatka
3cf9f3edad GUI: Fix cfadea4
SpinBoxUi::textEdited() is not available in Qt 5.5 either
Qt::SkipEmptyParts too
2021-02-15 17:02:05 +01:00
Martin Piatka
fa1b2b59c9 GUI: Add git commit hash to statusbar 2021-02-15 15:43:04 +01:00
Martin Piatka
5233d565fa GUI: Add UG and preview process statuses to status bar 2021-02-15 15:43:04 +01:00
Martin Piatka
71426a86da GUI: Replace deprecated QProcess::start()
The QProcess::start() method is replaced with a new one that requires
executable path and arguments passed separately.

Each argument must be now passed individualy using QStringList and
have their spaces escaped automatically and passing argument
list as a single string would no longer work. This is now handled by
splitting the argument string on spaces.

The executable path can no longer contain quotes as spaces are escaped
by QT automatically now.
2021-02-15 15:43:04 +01:00
Martin Piatka
cfadea4c65 GUI: Replace deprecated Qt calls + fix warnings
Since QTextEdit::setTabStopDistance() is available starting 5.10 and we
still support Qt 5.5 (Ubuntu 16), it's moved to log_window.cpp and
ifdefed according to version
2021-02-15 15:43:04 +01:00
Martin Piatka
e8e4c507f3 GUI: Show audio meter even when no playback device selected 2020-11-28 10:08:31 +01:00
Martin Pulec
9320d8e933 GUI: unwhitelist SPOUT - now reports servers
* pass configuration string
* remove SPOUT and Syphon from list of devices supporting audio
  (included by mistake)
2020-11-25 16:28:00 +01:00
Martin Pulec
c42d6c5bbd GUI: AJA, DELTA, NDI, Syphon, XIMEA - pass opaque cfg
This partially reverts f8d9ac9d. Device configuration is now passed as
an opaques string rather than to be decorated by GUI (prepended
"device=" etc.).
2020-11-25 10:50:27 +01:00
Martin Pulec
76635d7b69 GUI: removed vidcaps that fill vidcap_type::cards 2020-11-24 10:59:03 +01:00
Martin Pulec
f8d9ac9d30 GUI: fix passing options for other capturers 2020-11-24 10:59:02 +01:00
Martin Piatka
dc9ede91f1 GUI: Fix embedded audio playback devices not appearing 2020-11-24 10:50:27 +01:00
Martin Piatka
f7b21a0a9a GUI: Replace save file dialog 2020-11-23 21:47:57 +01:00
Martin Pulec
8b81ab5736 Fix passing NDI device IDs to GUI 2020-11-23 13:49:52 +01:00
Martin Pulec
d70136f68a GUI: updated audio drivers
NDI, SPOUT and Syphon are able to capture/playback audio.

Decklink audio playback on the other hand is not dependant upon video
playback selection (works as a standalone device).
2020-11-23 11:41:48 +01:00
Martin Piatka
b478599bd3 GUI: Prevent local source from appearing in Remote preview when idle 2020-09-21 12:51:30 +02:00
Martin Piatka
c4806a3714 GUI: Placeholder "localhost" in destination 2020-09-21 12:51:30 +02:00
Martin Piatka
e493795472 GUI: Local and Remote labels for previews 2020-09-21 12:51:29 +02:00
Martin Piatka
292541410a GUI: Add --config to help 2020-05-06 15:35:26 +02:00
Martin Pulec
e4b916fadf GUI: Added simple help
This allows simple check if the binary is executable.
2020-04-07 14:17:51 +02:00
Martin Pulec
9436bb31e2 Qt: correct bundle identifier 2020-03-24 15:57:23 +01:00
Martin Piatka
43a6afd719 GUI: Fix Coverity issues 2019-11-18 12:11:16 +01:00
Martin Piatka
2c29eec8f4 GUI: Treat all errors as fatal by default 2019-09-16 12:13:58 +02:00
Martin Piatka
3b354d7328 GUI: Fix debug build 2019-09-16 12:13:58 +02:00
Martin Piatka
0be93a11df GUI: Log process exit code 2019-09-16 12:13:58 +02:00