Enables easier use of values returned by macro segments.
For example, this enables the user to extract the user name of a new
Twitch follower and change a text sources settings accordingly
* Added option to configure name conflict locale
* Fixed some locale options not being displayed properly due to missing
obs_module_text() calls and name conflicts not being handled
properly.
* No longer force a fixed width
* Added option to hide the rename context menu entry
* Use locale for invalid connection and variable selection string
Using OBS_SOURCE_CONTROLLABLE_MEDIA instead of a hardcoded list of
source names is much more reliable and has the upside of also supporting
plugin sources
The previous behaviour would cause the impression of OSB being frozen
due to dialogs windows being opened behind OBS while they take over the
input focus.
This enables the easy sharing of single / multiple macros across scene
collections.
Previously either all settings had to be copied via the export / import
functionality of the General tab or none at all.
Utility class to enable selection of index of a macro segments.
Add description of selected segment.
Highlights segment if selected macro is current macro.
This required the following adjustments:
Instead of having a dedicated entry indicating the empty selection the
setPlaceholderText() mechanism is used.
Thus the locations where the 1st entry was assumed to be the empty
selection would have to be adjusted.
Additional checks for the empty string / index -1 have been added.
FindIdxInRagne() was adjusted to return -1 instead of 0 in case the
given string was not found.
Switched to index based singal instead of text based signal to be
notified about selection changes.
This helper class is based on QComboBox, which has filtering of items
enabled by default.
It is intended to be used in places where QComboBoxes have a lot of
entries.
For example, the condition, action, or macro selection widgets.