Hello Forum,
i have a Scene named Itensity with a Fadeouttime of 1 second. In the virtual Console is a Fader that is linked to that Scene to control the intensity.
Now i added a button named FadeOut as Flashfunction. But the Button dont use the Fadeouttime from the scene.
Is there a solution?
Max
Fadeout Button
- GGGss
- Posts: 3052
- Joined: Mon Sep 12, 2016 7:15 pm
- Location: Belgium
- Real Name: Fredje Gallon
As the word says 'flash' it is an instant action - no timing involved.
If you use a normal button and connect that to your scene (with fade out timing) - when you release the button the scene will fade out.
If you use a normal button and connect that to your scene (with fade out timing) - when you release the button the scene will fade out.
All electric machines work on smoke... when the smoke escapes... they don't work anymore
-
- Posts: 23
- Joined: Tue Dec 26, 2017 9:15 am
- Real Name:
Hello GGGss,
in normal Mode the following happens:
When i move the slider lets say to 100, the button gets an orange Frame. When i now press the Fadeout Button, the value switch to 0 without fadeout. The frame around the button gest green.
When i now move the slider to 100 and then press the button, the fadeout works. Now the green Frame disappears.
Max
in normal Mode the following happens:
When i move the slider lets say to 100, the button gets an orange Frame. When i now press the Fadeout Button, the value switch to 0 without fadeout. The frame around the button gest green.
When i now move the slider to 100 and then press the button, the fadeout works. Now the green Frame disappears.
Max
-
- Posts: 23
- Joined: Tue Dec 26, 2017 9:15 am
- Real Name:
Hello,
after Playing around with the "Monitor the selected channels and update the slider level" i think this is can solve my problems when:
1. I have activated a scene.
2. I override the settings with the slider manually (the resetbutton is red now).
3. i activate a new scene. Here it should be possible to have an option "release overrides at the override value first"
Max
after Playing around with the "Monitor the selected channels and update the slider level" i think this is can solve my problems when:
1. I have activated a scene.
2. I override the settings with the slider manually (the resetbutton is red now).
3. i activate a new scene. Here it should be possible to have an option "release overrides at the override value first"
Max
- GGGss
- Posts: 3052
- Joined: Mon Sep 12, 2016 7:15 pm
- Location: Belgium
- Real Name: Fredje Gallon
Wait a minute - you are saying that you use simple desk together with VC?
Simple desk always wins the battle and is merely there to try out thing and debug stuff...
What if you set the scene level in VC and try what you want to do?
Slider on VC in level control and from there on...
Simple desk always wins the battle and is merely there to try out thing and debug stuff...
What if you set the scene level in VC and try what you want to do?
Slider on VC in level control and from there on...
All electric machines work on smoke... when the smoke escapes... they don't work anymore
-
- Posts: 23
- Joined: Tue Dec 26, 2017 9:15 am
- Real Name:
Attached a Show with the problem...
i think the solution in code ist something like this:
when a function starts:
1. look if some of the enabled Channels in the function are overritten
2. find the Sliderobjects in the virtualconsole witch are responsible for the overrides.
3. set the value of the blue line to the value of the green Line. (Lines of the monitored VC-Sliders)
4. set the isOverriding function of the sliders to false
then proceed with the function (scene,...)
i think the solution in code ist something like this:
when a function starts:
1. look if some of the enabled Channels in the function are overritten
2. find the Sliderobjects in the virtualconsole witch are responsible for the overrides.
3. set the value of the blue line to the value of the green Line. (Lines of the monitored VC-Sliders)
4. set the isOverriding function of the sliders to false
then proceed with the function (scene,...)
- Attachments
-
- Overrideproblem.qxw
- (10.22 KiB) Downloaded 28 times
-
- Posts: 23
- Joined: Tue Dec 26, 2017 9:15 am
- Real Name:
Perhaps a first test is to change the behavior of the resetbutton.
Im not shure how to copy the override value to the channels.
void VCSlider::slotResetButtonClicked()
{
m_isOverriding = false;
m_resetButton->setStyleSheet(QString("QToolButton{ background: %1; }")
.arg(m_slider->palette().window().color().name()));
// request to delete all the active fader channels
foreach (QSharedPointer<GenericFader> fader, m_fadersMap.values())
{
if (!fader.isNull())
fader->removeAll();
}
emit monitorDMXValueChanged(m_monitorValue);
}
Im not shure how to copy the override value to the channels.
void VCSlider::slotResetButtonClicked()
{
m_isOverriding = false;
m_resetButton->setStyleSheet(QString("QToolButton{ background: %1; }")
.arg(m_slider->palette().window().color().name()));
// request to delete all the active fader channels
foreach (QSharedPointer<GenericFader> fader, m_fadersMap.values())
{
if (!fader.isNull())
fader->removeAll();
}
emit monitorDMXValueChanged(m_monitorValue);
}