0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 04:42:18 +02:00
Commit Graph

24 Commits

Author SHA1 Message Date
Ruwen Hahn
42a3f903a9 UI: Add OBSPropertiesView::SetDisabled
Disables all children of the properties view.
2024-06-04 20:50:46 -04:00
derrod
da43aa109e UI: Add option to disable scrolling to OBSPropertiesView 2024-03-23 16:43:28 -07:00
Lain
2a2472e326 UI: Add func to disable properties view deferring 2023-08-03 16:27:55 -07:00
gxalpha
e8147a9abb
UI: Replace SIGNAL and SLOT macros in properties-view 2023-07-21 13:16:04 +02:00
derrod
dcc07cfe4e clang-format: Set AllowAllConstructorInitializersOnNextLine to false 2023-07-15 16:14:55 -07:00
derrod
e8541b9e27 UI: Recalculate scroll position after resize 2023-04-05 21:26:10 +00:00
cg2121
3a610c698e UI: Remove UNUSED_PARAMETER where unnecessary
Since cpp allows removing the unused parameters from the function name,
UNUSED_PARAMETER is not needed, unless it is in an ifdef.
2023-04-01 16:54:02 -07:00
gxalpha
c958ffa9f4 UI: Properly update filter properties after resetting 2023-03-18 15:31:00 -07:00
Richard Stanway
abedc7d08b UI: Fix use-after-free in properties view 2022-08-17 05:30:57 -07:00
jp9000
89881147c7 UI: Fix deferred source properties not updating 2022-03-09 13:12:17 -08:00
jp9000
e5f57a1e03 UI: Rename visual update callback variable
Having both a "callback" and "cb" doesn't make sense. One is
specifically for visual updates only, the other is for actual updates,
so use an appropriate name for both
2022-03-09 13:11:38 -08:00
Richard Stanway
aa73de952b
UI: Fix uninitialized memory access in OBSPropertiesView
Bug introduced in b0528e0cf7. Closes
https://github.com/obsproject/obs-studio/issues/5934.
2022-02-08 21:57:08 +01:00
jp9000
b0528e0cf7 UI: Fix properties view crash with non-obs objects
The properties view incorrectly assumed that it was being used with obs
objects only.

(Jim note: I'm annoyed.)
2022-02-08 11:07:23 -08:00
jp9000
c71abfbd8c UI: Fix clang-format specifier 2022-02-02 22:39:24 -08:00
jp9000
f0e631df17 UI: Fix filter props. getting recreated unnecessarily
Closes obsproject/obs-studio#5846
2022-02-02 22:35:56 -08:00
jp9000
f34b6866a5 UI: Improve properties view object safety
Use weak references on OBS objects that properties view reference in
order to ensure that the objects are still valid.

This fixes a crash where properties views would use objects without
necessarily knowing whether they were still valid or not.

Fixes obsproject/obs-studio#5862
Closes obsproject/obs-studio#5863
2022-02-02 22:35:56 -08:00
Ford Smith
eb4dbb72c7 UI: Fix audio filter changes not being added to undo
When a change to an audio filter was done, it would create a timer and
wait for no more inputs before saving and adding to undo (this is to
prevent spam from sliders). For some reason, the timer would get
destroyed before the information is saved, preventing it from going on
the undo stack.
2021-04-29 00:14:28 -07:00
Ford Smith
86eb7aeb69 UI: Undo/Redo Properties and Filters
Implements undo/redo for both properties and filters. Works by creating
a new callback that gets called to save undo/redo states after a timer
is fired. Also disabled undo/redo until the actions have completed to
prevent a user from being able to disrupt the stack by perfoming actions
before others have finished.
2021-03-29 03:06:26 -04:00
jpark37
0d1ffd8b30 UI: Support color picker with alpha 2021-01-11 11:52:50 -08:00
Clayton Groeneveld
29b2f11e7a UI: Allow drag & drop reorder of property lists 2020-05-19 00:13:20 -05:00
jp9000
f53df7da64 clang-format: Apply formatting
Code submissions have continually suffered from formatting
inconsistencies that constantly have to be addressed.  Using
clang-format simplifies this by making code formatting more consistent,
and allows automation of the code formatting so that maintainers can
focus more on the code itself instead of code formatting.
2019-06-23 23:49:10 -07:00
VodBox
16484e07e9 UI: Add Transition Previews
This commit adds a preview to the properties window for transitions.

The preview will play back the transition at the global transition
duration or the transitions fixed duration, between two private scenes
with an A and B label, and different background colors.
2019-05-12 21:13:21 -07:00
Michael Fabian 'Xaymar' Dirks
5c0c512fc2 UI: Add support for property groups
Property groups are implemented in the UI using QGroupBox, which support
both the normal and checkable version of them.
2019-04-18 06:37:54 -07:00
jp9000
01b274f1da UI: Rename 'obs' dir to 'UI'
This is to prevent confusion both when prefixing commits and when
reading the directory structure for the first time.
2016-08-27 20:19:45 -07:00