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

void Histogram::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 66 of file histogram.cpp.

References AbstractScopeWidget::configName().

{
    AbstractGfxScopeWidget::readConfig();

    KSharedConfigPtr config = KGlobal::config();
    KConfigGroup scopeConfig(config, configName());
    ui->cbY->setChecked(scopeConfig.readEntry("yEnabled", true));
    ui->cbS->setChecked(scopeConfig.readEntry("sEnabled", false));
    ui->cbR->setChecked(scopeConfig.readEntry("rEnabled", true));
    ui->cbG->setChecked(scopeConfig.readEntry("gEnabled", true));
    ui->cbB->setChecked(scopeConfig.readEntry("bEnabled", true));
    m_aRec601->setChecked(scopeConfig.readEntry("rec601", false));
    m_aRec709->setChecked(!m_aRec601->isChecked());
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index