554 Commits

Author SHA1 Message Date
Jim
803df3a40a
Merge pull request #2744 from cg2121/auto-config-dialogs
UI: Remove first run auto-config prompts
2020-06-24 14:47:35 -07:00
Jim
695f3c1f33
Merge pull request #2662 from WizardCM/log-dialog
Enhance Log dialog with description and Analyze button
2020-06-24 12:01:10 -07:00
Jim
924580dbab
Merge pull request #2376 from cg2121/fix-window-width
UI: Fix buttons changing minimum window width
2020-06-24 09:52:13 -07:00
jp9000
d51ac98fcf UI: Fix pause/replay buttons having large width
Depending on the circumstances, these buttons can start with width
values that are much larger than their height, and that value wouldn't
be corrected immediately.  Setting an explicit policy to lock their
width to the same as their height value enforces the behavior that was
intended from the beginning.
2020-06-24 09:22:58 -07:00
jpark37
c2ddc428b0 UI: Fix warnings for Qt 5.15
AllDockWidgetFeatures is now deprecated. Use underlying values instead.

Use default QFlags constructor instead of nullptr/0.

Use QWheelEvent::angleDelta() in place of orientation() and delta(), and
position() in place of x() and y().
2020-06-21 18:23:05 -07:00
Jim
211ba0b72a
Merge pull request #3067 from cg2121/projector-settings
UI: Auto update projector settings
2020-06-21 05:22:00 -07:00
Jim
129a946e3d
Merge pull request #3065 from cg2121/projector-fix
UI: Delete existing fullscreen projector
2020-06-21 04:57:41 -07:00
Richard Stanway
aa313a1fb1 UI: Don't try to create service if missing file
This would cause meaningless "Service '' not found" log entries.
2020-06-18 23:49:21 +02:00
Clayton Groeneveld
777d9eb787 UI: Auto update projector settings 2020-06-13 21:00:55 -05:00
Clayton Groeneveld
01fe9c990c UI: Delete existing fullscreen projector 2020-06-13 19:54:28 -05:00
Richard Stanway
0a467085d2 UI: Set 8x8 as minimum selectable resolution
Since libobs internally rounds to various powers of 2 to support SSE
functions, resolutions that are too low can get rounded to zero. libobs
will fail to startup with a zero resolution, so if a user accidentally
entered anything that rounded to zero OBS would become unusable without
manual fixing by editing the profile .ini.
2020-05-24 00:48:37 +02:00
Clayton Groeneveld
2fe749fc84 UI: Make select/deselect signals work w/ group items 2020-05-19 06:36:00 -05:00
Bennik2000
b04ace4901 UI: Fix bug where stats dock steals focus of main windows 2020-05-18 18:54:03 +02:00
pkv
aac04ff493 UI: Log monitoring type for global audio devices 2020-05-16 11:11:04 +02:00
Matt Gajownik
d442fda3fc UI: Match Windows taskbar state to tray icon
This adds both a status icon, and changes the color
of the taskbar button itself.
2020-05-07 20:05:35 +10:00
Richard Stanway
efc23bb1ee UI: Remove requirement for replay buffer hotkey
Fixes https://github.com/obsproject/obs-studio/issues/2807
2020-04-26 16:56:36 +02:00
Colin Edwards
9447a06b05 Revert "UI: Remove unnecessary global variables"
This reverts commit f91d3baf43e69f6d1922b0e03e043af6de0baf6a.

From @pkv: the reason some of these vars were global is because Qt was not deleting them at all; as a result memory leaks have been reintroduced for: previewProjector, trayMenu, studioProgramProjector, multiviewProjectorMenu ;
2020-04-19 09:31:18 -05:00
Clayton Groeneveld
f91d3baf43 UI: Remove unnecessary global variables 2020-04-18 18:58:45 -05:00
Colin Edwards
0f10c0811a
Merge pull request #2720 from Bennik2000/status_icons_streaming_recording
UI: Add status icons for recording and streaming
2020-04-18 18:23:32 -05:00
Colin Edwards
47cfe13be2
Merge pull request #2648 from kkartaltepe/fix-previewlabel-styling
UI: Fix previewLabel styling
2020-04-18 16:32:43 -05:00
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