frontend: Add OBSSourceView widget #11862
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Creates a new widget for displaying an OBS source preview.
Note
PR is currently a draft as it still contains logging and testing code. Widget also needs to be tested in other contexts.
Motivation and Context
This is a wrapper around the existing OBSQTDisplay which comes without batteries and some assembly required. This bundles the necessary setup and callbacks for OBSQTDisplay in an easier to use widget.
How Has This Been Tested?
Replaced the preview of the Filters window with an OBSSourceView widget, as well as adding an additional one to the sidebar.
Types of changes
Checklist: