void MixerCurve::PopupCurve()
{
    m_mixerUI->SettingsGroup->show();
    m_mixerUI->PopupCurve->hide();

    PopupWidget *popup = new PopupWidget();
    popup->popUp(this);

    m_mixerUI->SettingsGroup->hide();
    m_mixerUI->PopupCurve->show();
}
Exemple #2
0
void MixerCurve::PopupCurve()
{
    if (!m_curve->isCommandActive("Popup")) {

        m_mixerUI->SettingsGroup->show();
        m_mixerUI->PopupCurve->hide();

        PopupWidget* popup = new PopupWidget();
        popup->popUp(this);

        m_mixerUI->SettingsGroup->hide();
        m_mixerUI->PopupCurve->show();
        m_curve->showCommands(false);
    }
}