Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

void Vectorscope::readConfig (  ) [protected, virtual]

Reads the widget's configuration. Can be extended in the implementing subclass (make sure to run readConfig as well).

Reimplemented from AbstractScopeWidget.

Definition at line 144 of file vectorscope.cpp.

References AbstractScopeWidget::configName().

{
    AbstractGfxScopeWidget::readConfig();

    KSharedConfigPtr config = KGlobal::config();
    KConfigGroup scopeConfig(config, configName());
    m_a75PBox->setChecked(scopeConfig.readEntry("75PBox", false));
    m_aAxisEnabled->setChecked(scopeConfig.readEntry("axis", false));
    m_aIQLines->setChecked(scopeConfig.readEntry("iqlines", false));
    ui->backgroundMode->setCurrentIndex(scopeConfig.readEntry("backgroundmode").toInt());
    ui->paintMode->setCurrentIndex(scopeConfig.readEntry("paintmode").toInt());
    ui->sliderGain->setValue(scopeConfig.readEntry("gain", 1));
    m_aColorSpace_YPbPr->setChecked(scopeConfig.readEntry("colorspace_ypbpr", false));
    m_aColorSpace_YUV->setChecked(!m_aColorSpace_YPbPr->isChecked());
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index