Example #1
0
void ComplexParameter::slotShowInTimeline()
{

    m_ui.kplotwidget->setMoveTimeLine(!m_ui.kplotwidget->isMoveTimeline());
    updateButtonStatus();

}
Example #2
0
ComplexParameter::ComplexParameter(QWidget *parent) :
        QWidget(parent)
{
    m_ui.setupUi(this);
    //m_ui.effectlist->horizontalHeader()->setVisible(false);
    //m_ui.effectlist->verticalHeader()->setVisible(false);


    m_ui.buttonLeftRight->setIcon(KIcon("go-next"));//better icons needed
    m_ui.buttonLeftRight->setToolTip(i18n("Allow horizontal moves"));
    m_ui.buttonUpDown->setIcon(KIcon("go-up"));
    m_ui.buttonUpDown->setToolTip(i18n("Allow vertical moves"));
    m_ui.buttonShowInTimeline->setIcon(KIcon("kmplayer"));
    m_ui.buttonShowInTimeline->setToolTip(i18n("Show keyframes in timeline"));
    m_ui.buttonHelp->setIcon(KIcon("help-about"));
    m_ui.buttonHelp->setToolTip(i18n("Parameter info"));
    m_ui.buttonNewPoints->setIcon(KIcon("document-new"));
    m_ui.buttonNewPoints->setToolTip(i18n("Add keyframe"));

    connect(m_ui.buttonLeftRight, SIGNAL(clicked()), this , SLOT(slotSetMoveX()));
    connect(m_ui.buttonUpDown, SIGNAL(clicked()), this , SLOT(slotSetMoveY()));
    connect(m_ui.buttonShowInTimeline, SIGNAL(clicked()), this , SLOT(slotShowInTimeline()));
    connect(m_ui.buttonNewPoints, SIGNAL(clicked()), this , SLOT(slotSetNew()));
    connect(m_ui.buttonHelp, SIGNAL(clicked()), this , SLOT(slotSetHelp()));
    connect(m_ui.parameterList, SIGNAL(currentIndexChanged(const QString &)), this, SLOT(slotParameterChanged(const QString&)));
    connect(m_ui.kplotwidget, SIGNAL(parameterChanged(QDomElement)), this , SLOT(slotUpdateEffectParams(QDomElement)));
    connect(m_ui.kplotwidget, SIGNAL(parameterList(QStringList)), this , SLOT(slotUpdateParameterList(QStringList)));
    /*ÜeffectLists["audio"]=audioEffectList;
    effectLists["video"]=videoEffectList;
    effectLists["custom"]=customEffectList;*/
    setSizePolicy(QSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding));
    m_ui.infoBox->hide();
    updateButtonStatus();

}
Example #3
0
void ComplexParameter::slotParameterChanged(const QString& text)
{

    //m_ui.buttonNewPoints->setEnabled(text!="all");
    m_ui.kplotwidget->replot(text);
    updateButtonStatus();
}
Example #4
0
void fwDraw ( ESContext *esContext )
//void fwUpdate ( ESContext *esContext, float delta )
{
	fwl_RenderSceneUpdateScene();
	updateButtonStatus(); //poll Model & update UI(View)
	updateConsoleStatus(); //poll Model & update UI(View)
	checkFileLoadRequest();
	/* status bar, if we have one */
	finishedWithGlobalShader();
	drawStatusBar();  // UI/View 
	restoreGlobalShader();

	//drawStatusBarFE();
	eglSwapBuffers ( esContext->eglDisplay, esContext->eglSurface );

}
Example #5
0
void ComplexParameter::slotSetNew()
{
    m_ui.kplotwidget->setNewPoints(!m_ui.kplotwidget->isNewPoints());
    updateButtonStatus();
}
Example #6
0
void ComplexParameter::slotSetMoveY()
{
    m_ui.kplotwidget->setMoveY(!m_ui.kplotwidget->isMoveY());
    updateButtonStatus();
}
Example #7
0
void updateButtonGroup(ButtonGroup group) {
    if (!buttonGroupValid(group)) return;
    for (int i = 0; i < group->count; i++) {
        updateButtonStatus(group->buttons[i]);
    }
}
void UserNameDialog::textChanged(QString userName)
{
    userName_ = userName;

    updateButtonStatus();
}