484 Commits

Author SHA1 Message Date
Exeldro
029b4d1a05 UI: Remove all scenes in ClearSceneData 2020-04-18 17:08:52 +02:00
Clayton Groeneveld
9316373ef3 UI: Remove first run auto-config prompts 2020-04-18 00:02:26 -05:00
Bennik2000
d8e67d2f3c UI: Add status icons for recording and streaming 2020-04-16 19:15:13 +02:00
Richard Stanway
25054d233c
Merge pull request #2677 from emaste/warning-fix
UI: Fix warning compiling with Clang 10
2020-04-10 00:39:07 +02:00
Ed Maste
9f4aaf22f0 UI: Fix warning when compiling with Clang 10
Building with Clang 10 on FreeBSD 13-CURRENT emitted a warning about
logical not (!) applying only to the left hand side of a comparison.
Update the expression to match the style of other flags conditionals.
Verified that object code is the same.
2020-04-10 00:37:37 +02:00
Colin Edwards
da35310363
Merge pull request #2671 from pkviet/logfilter
UI: Log global audio devices and their filters
2020-04-09 01:04:08 -05:00
pkv
92989bd42b UI: Log global audio devices and their filters
Request from support-team.
Currently only sources in Scenes are logged with their filters.
This excludes global audio sources set in Settings > Audio.
This patch remedies this.
2020-04-07 21:33:09 +02:00
Matt Gajownik
c878bfcb1f UI: Differentiate between crash & session log dialogs 2020-04-07 20:43:09 +10:00
Kurt Kartaltepe
14480fe025 UI: Fix previewLabel styling
Label renders with default styling instead of using dynamic property
because it was already polished.
2020-04-04 18:57:31 -07:00
Matt Gajownik
beb2af9721 UI: Require selected source for Transform shortcut
Fixes #2468
2020-04-04 23:45:14 +11:00
Matt Gajownik
a9a19cf351 UI: Use Qt dialogs for Font & Color Pickers on Linux
This fixes a hang on Ubuntu when closing the
dialogs after leaving them open for a time.
2020-03-28 23:15:25 +11:00
jp9000
dff05d9fcc UI: Fix preview state when minimizing to tray
Makes sure preview is properly enabled/disabled when minimizing to tray,
when restoring from tray, or when starting the program up minimized to
tray
2020-03-19 05:33:07 -07:00
VodBox
89792bcae9 UI: Remove unnecessary vertices for preview
This change reduces the number of triangles drawn using a TRISTRIP while
still producing the same shapes for parts of the preview.
2020-03-19 23:25:24 +13:00
jp9000
e93d44dd18 UI: Get actual projector monitor name on windows 2020-03-18 20:37:56 -07:00
jp9000
0fb34ed965 UI: Fix closing OBS before showing whats new dialog
The program can get stuck waiting for the browser within a event queue,
so instead mark that the program is closing, do it in a separate thread,
signal the window when it's finished, and then check whether it's in the
process of closing before actually showing the dialog.
2020-03-16 08:59:46 -07:00
jp9000
8de20ab3be libobs: Add task scheduling features
(This commit also modifies the UI)

Adds the ability to schedule tasks for certain threads
2020-03-14 10:54:37 -07:00
Matt Gajownik
8f6ed5cd87 UI: Support Unicode for Windows fullscreen projectors 2020-03-13 21:15:51 +11:00
jp9000
2131a8b243 UI: Fix preview scaling on scene collection change 2020-03-11 13:48:44 -07:00
Jim
519b3096aa
Merge pull request #2474 from WizardCM/named-display-monitors
Show friendly monitor names on Display Capture on Windows & Projectors
2020-03-09 06:26:52 -07:00
jp9000
b2302902a3 libobs: Fix source type versioning system
(This also modifies image-source, obs-text, text-freetype2, and UI)

This improves source definition versioning.  To do this, it now stores
two identifier names.  One "unversioned" which is the original name, and
one "versioned" with the version number appended.

This fixes both backward compatibility with older OBS versions, and
fixes the inability to use "add existing" in OBS itself on sources
created from older version definitions.
2020-03-09 06:12:22 -07:00
Matt Gajownik
6b5636ad73 UI: Show monitor names for projectors 2020-03-09 11:13:55 +11:00
Richard Stanway
8f4f33aed8 UI: Move OBSBasicSettings to scoped block
This ensures that the OBSBasicSettings destructor has been run before
the restart prompt appears, preventing bugs related to OBS shutting down
with the settings window still having active callbacks.
2020-03-03 00:05:43 +01:00
Richard Stanway
57b47ca90a UI: Fix preview not being re-enabled on maximize 2020-03-01 10:02:14 -08:00
Clayton Groeneveld
9fa1d9eaa3 UI: Fix buttons changing minimum window width 2020-02-27 02:51:23 -06:00
Clayton Groeneveld
0ca8424c66 UI: Fix compiling error with older QT 2020-02-25 22:38:12 -06:00
Richard Stanway
45d0b8ccee UI: Reserve correct number of elements in vector 2020-02-25 00:24:05 +01:00
Richard Stanway
bc7946f8a8 UI: Reserve correct number of elements in vector 2020-02-24 21:51:02 +01:00
Jim
4d0b3efc23
Merge pull request #2408 from cg2121/restart-app
UI: Restart program when audio/locale changed
2020-02-17 21:37:29 -08:00
Jim
262975401e
Merge pull request #2411 from cg2121/fix-locked-source
UI: Fix locked sources being transformed
2020-02-17 21:30:22 -08:00
Clayton Groeneveld
d6969d7732 UI: Fix locked sources being transformed 2020-02-17 13:22:00 -06:00
Clayton Groeneveld
b3601681b8 UI: Add ability to lock volume 2020-02-16 18:33:46 -06:00
Clayton Groeneveld
e0135823ce UI: Restart program when audio/locale changed 2020-02-16 16:12:00 -06:00
Matt Gajownik
8a0cfc5665 UI: Use OBS dock menu instead of Qt dock context menu 2020-02-16 09:37:39 -08:00
Richard Stanway
42ed6ffffb UI: Fix preview not being disabled when minimized 2020-02-13 23:18:40 +01:00
jp9000
7c9d227f1e UI: Watch for refresh signal in source list 2020-02-07 16:44:48 -08:00
Matt Gajownik
c58f6aea35 UI: Show source icons in Advanced Audio Properties
Co-authored-by: VodBox <dillon@vodbox.io>
2020-02-04 13:21:59 +11:00
jp9000
9f1c442d35 UI: Add option to toggle source icons to View menu 2020-01-20 23:19:32 -08:00
Clayton Groeneveld
f7d39c12c0 UI: Fix studio mode transition bugs
-If the user were in the middle of a transition and clicked
the cut transition, the transitions would become borked.

-This actually disables the transition widgets, so the
user doesn't click them. Before, the disabling of the
widgets didn't work as expected. The code for enabling/disabling
them was also simplified.

-This loading of studio mode was moved in OBSInit because
the loading of transitions needs to happen first. This fixes
a bug when enabling/disabling the t-bar when the program
is first loaded. The t-bar would be disabled even if a
cut or stinger transition was not used.

-When the user would click the quick transitions, the
t-bar would be enabled even when it was not supposed
to.
2020-01-14 01:29:23 -06:00
Lqlsoftware
046464884a UI: Properly inform user if recording path is invalid 2019-12-30 14:18:32 -08:00
jp9000
e2fa510436 UI: Add save button next to replay buffer button
Allows the ability to save replays with a button rather than with the
keyboard if desired.

Closes obsproject/obs-studio#1954
2019-12-12 17:59:20 -08:00
JohannMG
b78cdc910b UI: Add Start Streaming settings check on start
When we use the server error to respond to user's failing to start a
stream it is slow to return an error and unclear to the user what went
wrong. This diff introduces a simple settings check before attempting
to stream and catch and explain specific URL/key issues to the user.

In the case of preset services we check there is a Stream Key before
attempting to start a stream.

In the case of "custom" we only verify there is a URL since for some
services that's all that is required or the user may use user/password
authentication.
2019-12-11 01:50:41 -08:00
JohannMG
c4396e03a7 UI: Create UI Validation Helper Class
Pull UI validation and its helpers to their own class. This class will
be used to validate forms and perform UI-action checks such as
checking stream keys aren't empty and in this diff now holds the logic
to ensure there is a source before the person starts a stream.
2019-12-11 01:23:36 -08:00
VodBox
c0e2e7f12e UI: Add Grid Mode to Scenes Widget
Adds an option to the right click menu in the scenes widget to switch
modes. When in regular list mode, it'll let you select grid mode, and in
grid mode, it'll let you select list mode. Grid mode changes the scenes
widget to have a grid of buttons for scenes rather than a list, much
like XSplit.
2019-12-02 08:42:10 +13:00
Richard Stanway
2a917531fd
UI: Default stream / record confirm dialogs to "No"
Helps prevent accidental stream starting if for example a cat walks on
the spacebar while the button has focus.
2019-11-27 12:34:10 +01:00
Chris Angelico
7c540acc11 UI: Create an API for opening projector windows 2019-11-24 22:45:28 -08:00
Chris Angelico
412a75601e UI: Break out the opening of a projector into a slot function 2019-11-24 22:23:16 -08:00
Clayton Groeneveld
82ffcdc827 UI: Add source icons 2019-11-24 20:50:42 -08:00
Jim
87b02924d5
Merge pull request #2102 from cg2121/toggle-projector-mode
UI: Add ability to change projector type
2019-11-24 02:39:49 -08:00
Ford Smith
eeafb3dbb3 UI: Fix wrong icon if recording stopped while paused 2019-11-22 23:54:01 -08:00
Jim
c290e81a1a
Merge pull request #2094 from torresam/copy_sources
UI: Add copy/paste of multiple selected sources
2019-11-22 23:48:51 -08:00