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
If the only enabled option was window title matching and regular
expressions were not used any window title would match regardless if it
existed or not
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.
It allows you to check ...
* if the slide changed
* the current slide index
* the current slide path
Important limitation:
Its internal state is only updated whenever the "slide_changed" signal
is sent by the particular source.
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.
* Improve preprocessing of image by separating text color from the rest
of the image properly
* Add option to choose how similar the matched color can be to other
colors for it to still be counted as a match
* Show the prepreprocessed image in the "show match" preview dialog