Skip to content

frontend: Add OBSSourceView widget#11862

Open
Warchamp7 wants to merge 1 commit intoobsproject:masterfrom
Warchamp7:obs-source-thumbnail-widget
Open

frontend: Add OBSSourceView widget#11862
Warchamp7 wants to merge 1 commit intoobsproject:masterfrom
Warchamp7:obs-source-thumbnail-widget

Conversation

@Warchamp7
Copy link
Member

@Warchamp7 Warchamp7 commented Feb 13, 2025

Description

Creates a new widget for displaying an OBS source preview.

Motivation and Context

Creates a wrapper around the existing OBSQTDisplay which comes without batteries and some assembly required.

This widget 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

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@WizardCM WizardCM added the New Feature New feature or plugin label Feb 13, 2025
@Warchamp7 Warchamp7 added the UI/UX Anything to do with changes or additions to UI/UX elements. label Apr 6, 2025
@Warchamp7 Warchamp7 force-pushed the obs-source-thumbnail-widget branch 3 times, most recently from c5162e3 to 02bc282 Compare April 20, 2025 13:49
@Warchamp7 Warchamp7 force-pushed the obs-source-thumbnail-widget branch 2 times, most recently from c11b227 to d6e881d Compare April 24, 2025 18:28
@Warchamp7 Warchamp7 added this to the OBS Studio 32.0 milestone Jun 16, 2025
@Warchamp7 Warchamp7 force-pushed the obs-source-thumbnail-widget branch 2 times, most recently from d3fba92 to aee0bb0 Compare November 27, 2025 18:21
@Warchamp7 Warchamp7 marked this pull request as ready for review November 27, 2025 18:28
@Warchamp7
Copy link
Member Author

Warchamp7 commented Nov 27, 2025

Removed the test code and debug logging, moving this PR out of Draft.

I have an unpushed local commit that uses this widget in the Filters window if we want this PR to include a functional usage of it.

This widget can be tested locally very easily by including the header and slapping a widget in any UI:

auto sourceWidget = new OBSSourceWidget(this, source);

@Warchamp7 Warchamp7 force-pushed the obs-source-thumbnail-widget branch from aee0bb0 to 3f981d4 Compare November 27, 2025 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New Feature New feature or plugin UI/UX Anything to do with changes or additions to UI/UX elements.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants