0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00
Commit Graph

234 Commits

Author SHA1 Message Date
jp9000
dcf48e8ffc UI: Add function for adding extra docks to main window 2019-02-07 14:47:02 -08:00
jp9000
412520c5d0 UI: Make assignDockToggle an actual function
Allows using it outside of the constructor.
2019-02-07 14:47:02 -08:00
jp9000
b89c2b76d3 UI: Add function to get main window more easily
Adds OBSBasic::Get() to just quickly return the main window.
2019-02-07 14:47:01 -08:00
jp9000
58f4a6390f UI: Unlock UI by default 2019-02-07 14:47:01 -08:00
jp9000
4ba48484ae UI: Only def. BROWSER_AVAILABLE for WIN32 (for now)
Currently, browser panel is only supported on windows.  So rather than
have to check for _WIN32 in the code everywhere, just move the WIN32
check to cmake, that way we don't have to have _WIN32 checks in the code
everywhere the browser panel code is used, and do not have to remove a
whole bunch of unnecessary _WIN32 #ifdefs for other operating systems
when browser panel support is added for them.
2019-02-05 19:20:59 -08:00
ty2570
a20aeb8362 UI: Clear out previous projectors when loading saved projectors
Closes obsproject/obs-studio#1544
2019-01-31 21:46:32 -06:00
pkv
62fa2b0086 UI: Fix a series of mem leaks (#1614)
* UI: Fix mem leak with projectors

* UI: Fix mem leak with ScaleFilteringMenu

* UI: Fix mem leak with sourceProjector

* UI: Fix leak with preview projector in Source menu and Preview

* UI: Fix mem leaks with background color menu

* UI: Fix leak with deinterlace Menu

* UI: Fix leak with scene transition override menu

* UI: Fix leak with scene projector menu

* UI: Fix leak with filter shortcut in Main

* UI: Fix leak with filter shortcut in stats
2019-01-30 20:33:15 -06:00
Jim
4f706a1b78
Merge pull request #1523 from cg2121/fix-saved-projectors-bug
UI: Fix bug when loading saved projectors
2018-12-03 05:28:14 -08:00
Jim
1db398ad8c
Merge pull request #1518 from fredemmott/stopping-on-delay-stop
ui: Emit STREAMING_STOPPING when stop queued
2018-12-03 04:27:18 -08:00
Clayton Groeneveld
271322bf65 UI: Fix bug when loading saved projectors
This fixes a bug on Linux where fullscreen projectors wouldn't
quite be fullscreen when loaded on start.
2018-10-22 00:32:57 -05:00
Fred Emmott
bab9d6e96d
UI: Emit STREAMING_STOPPING event immediately
If there's a delay, it will *also* be ommitted after the appropriate
number of seconds.

I was originally going to add a new event for this, however this is
consistent with STREAMING_STARTING, which is emitted at the start
of the delay, not the end.
2018-10-17 18:52:20 -07:00
pkviet
047e586eaf UI: Add multi-track FFmpeg output support 2018-10-04 20:32:35 -07:00
Jim
e08e3c9c29
Merge pull request #1441 from cg2121/auto-remux-refactor
UI: Add option to auto remux
2018-09-21 15:47:46 -07:00
cg2121
7f9109091d UI: Add ability to resize output based on source size 2018-09-18 23:13:12 -05:00
cg2121
2fedcab987 UI: Add option to auto remux 2018-09-18 20:55:12 -05:00
jp9000
8b936a1575 cmake: Fix UI being dependent on browser plugin files
The UI currently is dependent on browser source files being present,
when in actuality the files may not have been fetched (i.e. not fetching
submodules).  This fixes that by using a macro to detect whether it's
available or not.

Closes obsproject/obs-studio#1490
2018-09-18 08:56:34 -07:00
Shaolin
823c34f848 UI: Fix system tray context menu creation
On KDE and Unity some QT events aren't triggered as explicit stated
by QT doc.  This is needed to at least show a fixed Context Menu.

Closes obsproject/obs-studio#1252
2018-09-16 16:25:17 -07:00
Shaolin
e650162608 UI: Organize unused/duplicate includes 2018-09-16 16:25:17 -07:00
jp9000
e51adb0fdf UI: Undo/fix stats dock changes to main window
The stats dock was incorrectly added to the .ui file, causing the stats
dock to show by default on startup, and just generally causing a bad
default startup UI appearance.  This fixes that by adding the stats dock
programmatically/dynamically instead of modifying the .ui file.
2018-09-16 12:47:21 -07:00
Marvin Scholz
8c4b496ea0 UI: Add 4th aux audio input device
Closes obsproject/obs-studio#1343
2018-09-15 12:34:53 -07:00
cg2121
36b0ef5b7e UI: Add about dialog 2018-09-07 06:08:31 -05:00
Jim
e299946b41
Merge pull request #1454 from Andersama/dockable-stats
UI: Make stats dockable
2018-09-05 21:04:19 -07:00
Shaolin
6c17c10e77 UI: Add rename scene/source shortcut
This creates a hidden QAction in sceneDocks and sourceDocks so we can
assign a shortcut to perform the renaming action.
2018-08-31 22:08:53 -03:00
jp9000
62cd0e8759 Revert "UI: Do not fire load events until program loaded"
This reverts commit 2ce4696541.
2018-08-29 16:05:29 -07:00
jp9000
da40615132 Revert "UI: Reset sources list manually on first load"
This reverts commit fba2ff8b2c.
2018-08-29 16:05:25 -07:00
jp9000
fba2ff8b2c UI: Reset sources list manually on first load 2018-08-29 13:06:12 -07:00
jp9000
2ce4696541 UI: Do not fire load events until program loaded 2018-08-29 09:36:19 -07:00
Alex Anderson
4df790a471 UI: Make stats dockable
Adds a new dock out of the stats widget.
2018-08-28 14:40:31 -07:00
jp9000
1f1120f4a4 UI: Remove beta warning from auto-config wizard 2018-08-28 12:31:57 -07:00
jp9000
02bdccc6ad UI: Select item that user adds
When a user adds an item (either by adding or copying an item), select
it.  Fixes a bug with copying and pasting sources where the pasted
source will not have the copied transform applied to it.
2018-08-26 22:02:11 -07:00
pkviet
fdb622a069 UI: Fix path for File > Show Recordings
In main menu, File > Show Recordings does not show the path for ffmpeg
custom output when it is selected in Settings.
This fixes the issue.
2018-08-20 01:36:23 +02:00
Shaolin
f452c09f82 UI: Fix mixer context menu toggling layout on kde
This is a weird one. On KDE just clicking in the options or right
clicking the empty space areas of the mixer dock would trigger a layout
change.

This fixes mantis #1256
2018-08-19 04:57:16 -03:00
DungFu
5cbc78b0a9 UI: Hide Dock Icon on Mac OSX when minimizing to tray
This hides the dock icon when minimizing OBS to the tray on OSX. This
also fixes the bugs with minimizing on startup (and hides the dock icon
correctly in that case as well).

Closes obsproject/obs-studio#1430
2018-08-17 10:34:11 -07:00
jp9000
90327563e8 UI: Allow centering/stretching for groups items 2018-08-16 12:42:23 -07:00
jp9000
62d08fe38f UI: Fix flip/rotate transform menu with group items
Fixes an issue where the user could not perform a horizontal/vertical
flip, or rotate group sub-items via the transform context menu.
2018-08-16 08:44:42 -07:00
Jim
2541be5b11
Merge pull request #1352 from cg2121/replay-buffer-button-checkable
UI: Set replay buffer button as checkable
2018-08-15 11:35:33 -07:00
cg2121
b0b6f1f0e2 UI: Set replay buffer button as checkable 2018-08-15 12:27:32 -05:00
jp9000
07813e2bd0 UI: Allow resetting transform of group sub-items 2018-08-15 10:01:48 -07:00
jp9000
e189082439 UI: Make the information dialog a big wider
Fixes an issue where the web page could have both horizontal and
vertical scrollbars, making the information dialog page look a bit
unsightly.
2018-08-13 01:19:23 -07:00
jp9000
fc9393324c UI: Add release candidate checking to info dialog
Allows the ability to specify release candidate versions in the
whatsnew.json in order to allow startup information dialogs to be
displayed to the user which are specific to release candidates.
2018-08-13 01:19:23 -07:00
jp9000
5b091ce06d UI: Use obsproject.com URL for discord invite 2018-08-03 00:33:06 -07:00
jp9000
16ead25dd3 UI: Add ability to join discord server from help menu 2018-08-01 18:41:57 -07:00
VodBox
0dca4318b2 UI: Add Color Coding to Source Tree Widget
This commit adds the ability to select a background color for a
scene-item, whether it's a custom color or one of eight presets.

As this is an initial implementation, it lacks theme customizability,
and it also lacks the ability for the user to set their own preset
colors, so only the hard-coded 8 are available.
2018-08-02 08:23:12 +12:00
cg2121
2e18745c37 UI: Uncheck record/replay buffer buttons if fail
Closes obsproject/obs-studio#1375
2018-07-31 21:35:06 -07:00
jp9000
b6665f9cc0 UI: Use QScopedPointer (not QPointer) where applicable
Contrary to what the name would have you believe, QPointer<> is not used
to delete a pointer when it leaves its specific scope.  Instead, it's
used to check to see if the pointer is still valid.  For most
QWidget-based objects, this is actually fine because QWidgets that are
assigned to layouts or other widgets will automatically be destroyed --
however, for non-widget objects, this can cause a memory leak.

This patch replaces QPointer with QScopedPointer where applicable to
prevent memory leaks.

Closes obsproject/obs-studio#1367
2018-07-31 21:14:52 -07:00
cg2121
8f4edede4a UI: Add confirmation dialog if there are no sources
This adds a confirmation dialog for streaming or recording if
there are no sources.

Closes obsproject/obs-studio#1344
2018-07-31 04:28:43 -07:00
jp9000
a032bcc798 UI: Add intro startup page (windows)
Allows the ability to show a web page via CEF to the users on startup to
present and announce new features.
2018-07-29 23:32:23 -07:00
Richard Stanway
2d60c89a02
UI: Only allow stream/record hotkeys if the UI buttons are enabled
Currently the only thing preventing a user from trying to start multiple
streams or recordings is the UI buttons being disabled. The hotkey code
allowed the user to bypass that, which for streaming resulted in lots of
rtmp output connect threads spawning, which stomped all over each
other's data structures and resulted in crashes.
2018-07-28 15:27:49 +02:00
Shaolin
be8189b0f8 UI: Fix start up crash with saved projectors
This fixes a crash in case the user selected the option to save
projectors on exit and had multiple monitors at that time. Later on,
when obs is started again if the monitor list is lower now the open
projector code will return null when trying to create the saved
projector.

Just check if the returned projector pointer is valid before trying
to restore the saved geometry.
2018-07-24 17:43:58 -03:00
jp9000
7ef3350d50 UI: Do not open properties dialog for groups
On initial creation of an empty group, do not open a properties dialog
for groups.
2018-07-24 02:41:31 -07:00