373 Commits

Author SHA1 Message Date
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
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
jp9000
cafc9995d8 UI: Fix wrong icon if recording stopped while paused
Fixes pause icon getting stuck if you stream or use replay buffer while
recording, pause, then stop recording while paused.  The icon would get
stuck on the pause icon until all outputs were stopped.
2019-11-20 15:46:42 -08:00
Jim
317d058bf4
Merge pull request #2107 from cg2121/mantis-1554
UI: Fix swap scene issue with double click mode
2019-11-20 01:51:44 -08:00
Clayton Groeneveld
54e7b2c769 UI: Fix swap scene issue with double click mode 2019-11-19 22:10:22 -08:00
derrod
3e841b221d UI: Add setting for Twitch chat add-ons choice
Both BTTV and FFZ are fairly popular however they do occasionally
interfere.  To give users the option to chose whichever one they like
most we add a new setting that allows BTTV, FFZ, both, or neither.

Defaults to "None" for new users.  Existing users will be migrated to
"Both" as that's the previous behavior.
2019-11-19 21:06:36 -08:00
Ford Smith
ac75ec1247 UI: Add system tray icon to indicate when paused 2019-11-17 18:17:07 -08:00
Clayton Groeneveld
bab3391ce4 UI: Use radio buttons for FLV track selection 2019-11-09 08:19:41 -08:00
Clayton Groeneveld
e832b42f07 UI: Add ability to change projector type 2019-10-21 23:48:58 -05:00
Clayton Groeneveld
52a3a61a6e UI: Simplify fullscreen toggle code 2019-10-21 15:17:26 -05:00
Clayton Groeneveld
c4169ba15a UI: Add stats reset hotkey 2019-10-15 23:20:35 -05:00
Clayton Groeneveld
016d4ee87f UI: Fix issue where multiview doesn't update 2019-10-10 20:12:20 -05:00
Anthony Torres
6c32e9a8c7 UI: Add copy/paste of multiple selected sources 2019-10-05 00:04:35 -07:00