Commit Graph

1401 Commits (c165798959b991ac1f1e04fbc7395b636085fc3c)

Author SHA1 Message Date
Clayton Groeneveld e9d6847fb6 UI: Hide script tabs if no python settings 2020-05-18 02:50:28 -05:00
Richard Stanway 5ba2d59b3c
Merge pull request #2588 from Vainock/remove-language-region
UI: Remove language region
2020-05-17 23:17:23 +02:00
jp9000 7993179466 cmake: Add cmake folders 2020-05-13 06:52:37 -07:00
jp9000 42bbca3d4b UI: Restore theme if settings window exit with [x]
Fixes a bug where if the theme was changed, then wasn't saved, and the
user exits the window with the [x] button, then chooses "No" when asked
to save settings, it would not restore the original theme.
2020-05-12 10:10:58 -07:00
Richard Stanway 078ea5222d UI/updater: Fix launching OBS as admin post-update
A long standing lack of synchronization on the elevated process handle
made the non-elevated process always exit, so the updater would assume
it was started elevated and launch OBS from the elevated context.

Also applies the altered working directory to the non-elevated code
path so it can find the OBS executable properly.
2020-05-05 03:18:45 +02:00
jp9000 f4f74f0d4f UI: Remove unused variable
Closes obsproject/obs-studio#2843
2020-05-03 06:22:52 -07: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
Tom Lynch 8109183cd9
UI: Update OSX to macOS in English translation 2020-04-23 23:38:54 +01:00
Warchamp7 e1e7e14dc9 UI: Add white icons for dock titles
- Add pop-out and close svg icons
- Update all dark themes qss with the new icons
2020-04-20 17:07:04 -04:00
Colin Edwards 9447a06b05 Revert "UI: Remove unnecessary global variables"
This reverts commit f91d3baf43.

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 55e2985026
Merge pull request #1944 from WizardCM/windows-rc-definition
CMake: Build Windows modules with file descriptors
2020-04-18 18:27:22 -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
Clayton Groeneveld f7caa1119c UI: Adjust a few margins
-Remove 9px margins around central widget. This saves 18px of vertical
space. This will be helpful when the source context menu is added,
which is 24px tall.

-Adjusts margins in transitions dock. The top of the transitions dock
wasn't lined up with the top of the controls dock, which made it look
bad.
2020-04-18 17:24:59 -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
Bennik2000 d8e67d2f3c UI: Add status icons for recording and streaming 2020-04-16 19:15:13 +02:00
Richard Stanway a43c10b173 UI: Refuse drop operations from our own widgets
The UI feedback when dropping scene / source items on other parts of the
program indicated that something would happen instead of showing the
"no drop" icon.
2020-04-13 03:07:30 +02:00
Ed Maste 7325eace24 UI: Fix projector on other than primary display
Calling showFullScreen after setGeometry puts the projector on the
expected monitor.  Previously (on FreeBSD, at least) it opened on the
primary display.
2020-04-12 18:43:23 -04: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
Richard Stanway dca5f2fcdb UI: Properly apply hide cursor on fullscreen projectors
If a projector was created fullscreen, the isFullScreen() call would
fail since the window hasn't been displayed by Qt yet, resulting in the
cursor hiding choice not being applied. This moves the cursor hiding
into the SetMonitor call which is used for all code paths creating a
fullscreen projector, ensuring the setting is applied.

Fixes https://github.com/obsproject/obs-studio/issues/2687
2020-04-10 00:32:09 +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
Colin Edwards c48c9ed2de
Merge pull request #2537 from WizardCM/studio-program-label
UI: Don't open Studio Mode's "Program" label in a window
2020-04-09 00:46:48 -05:00
Colin Edwards 46c59fb13a
Merge pull request #2639 from WizardCM/no-transform
UI: Require selected source for Transform shortcut
2020-04-09 00:42:37 -05:00
Colin Edwards 276869be33
Merge pull request #2679 from kkartaltepe/ui-include-fix
UI: Fix missing includes
2020-04-09 00:20:47 -05:00
Kurt Kartaltepe 35f9e82956 UI: Fix missing includes
These files appeared to be dependent on their include order and were
missing definitions when files were compiled in a different order.
2020-04-08 17:20:52 -07: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
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 ed8df46a39 UI: Don't stretch server field in Qt 5.14 2020-04-05 11:50:53 +10: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
Richard Stanway f4cf9b3b66
Merge pull request #2580 from jpark37/remux-fix
UI: Fix text handling for dialogs
2020-03-28 01:16:41 +01:00
Vainock 8643a3edf6
UI: Remove language region 2020-03-28 00:53:39 +01:00
jpark37 36e2a9fa33 UI: Fix text handling for dialogs
Signal only needs to be connected once, not every keystroke.

Also commit data only when text widget focus is lost to fix cursor
moving to the end of the string after every keystroke.
2020-03-25 17:13:10 -07:00
VodBox 6319973b2f UI: Fix silent scenes with imported SL scenes
Previously, the importer assumed scenes had fields that sources did for
audio, namely volume, sync, mute and monitoring type. SL scenes do not
have these fields. This resulted in mistakes in importing, such as
imported scenes having a volume of 0.0.

This change gets rid of the non-existent fields, and explicitly sets the
volume of the scenes to 1.0 as a precaution.
2020-03-23 23:32:02 +13:00
VodBox 62c7eb489d UI: Set correct window title for fullscreen projector
Before this change, opening up a fullscreen projector would have the
wrong window title (Windowed Projector). This was because the call to
update the window title was called before a monitor is set, and the
title is determined by whether a monitor is set.

This change moves the update title call to after the geometry or monitor
gets set, ensuring the window title is correct.
2020-03-22 22:59:27 +13:00
Matt Gajownik a5453f12a0 UI: Don't open Studio Mode's Program label in a window 2020-03-21 22:19:29 +11:00
Matt Gajownik 9fe8ef293f UI: Make links in updater clickable 2020-03-21 15:34:28 +11:00
Jim 6a609676ee
Merge pull request #2524 from kkartaltepe/settings-crash
UI: Fix crash on settings update
2020-03-20 19:03:29 -07:00
Jim 0be6208839
Merge pull request #2523 from jpark37/warnings-20200319
Warning pass 2020-03-19
2020-03-20 19:02:19 -07:00
Jim 413896a227
Merge pull request #2520 from WizardCM/mixrelixr
UI: Add setting for Mixer add-on choice (MixrElixr)
2020-03-20 19:00:56 -07:00
Kurt Kartaltepe fe079c03ab UI: Fix crash on settings update 2020-03-19 20:36:55 -07:00
jpark37 27fa979d73 UI: Make Importer destructor virtual
Allows unique_ptr to clean up without warnings.
2020-03-19 11:19:26 -07:00
Richard Stanway 4570fcbc72 UI: Fix memory leak 2020-03-19 15:50:32 +01: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
Matt Gajownik a8b8356455 UI: Add setting for Mixer add-on choice
MixrElixr Emotes is the emote-specific portion of
MixrElixr, a popular extension for Mixer chat.

Disabled by default.
2020-03-19 21:04:11 +11:00
jp9000 e93d44dd18 UI: Get actual projector monitor name on windows 2020-03-18 20:37:56 -07:00
Matt Gajownik 4d0f279d08 UI: Restart when browser hardware acceleration changed 2020-03-18 21:47:23 +11:00