mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-07 17:16:00 -05:00
Add option to select 'current transition' (#123)
* move addSelectionEntry to AdvSceneSwitcher class and allow select entry to be 'selectable' Can be useful for implementing 'current transition' as an option or just allowing to select 'None' for screen region ignore * Add option to select 'current transition'
This commit is contained in:
@@ -427,7 +427,7 @@ bool SceneTransition::valid()
|
||||
|
||||
TransitionSwitchWidget::TransitionSwitchWidget(QWidget *parent,
|
||||
SceneTransition *s)
|
||||
: SwitchWidget(parent, s, false)
|
||||
: SwitchWidget(parent, s, false, false, false)
|
||||
{
|
||||
scenes2 = new QComboBox();
|
||||
|
||||
@@ -486,7 +486,7 @@ void TransitionSwitchWidget::Scene2Changed(const QString &text)
|
||||
|
||||
DefTransitionSwitchWidget::DefTransitionSwitchWidget(QWidget *parent,
|
||||
DefaultSceneTransition *s)
|
||||
: SwitchWidget(parent, s, false)
|
||||
: SwitchWidget(parent, s, false, false, false)
|
||||
{
|
||||
QHBoxLayout *mainLayout = new QHBoxLayout;
|
||||
std::unordered_map<std::string, QWidget *> widgetPlaceholders = {
|
||||
|
||||
Reference in New Issue
Block a user