|
|
@ -190,7 +190,7 @@ void EffectImagesDialog::slotOptionsClicked(void)
|
|
|
|
if ( Type == 10) // Wave
|
|
|
|
if ( Type == 10) // Wave
|
|
|
|
{
|
|
|
|
{
|
|
|
|
optionsDialog->m_waveAmplitude->setValue(m_waveAmplitude);
|
|
|
|
optionsDialog->m_waveAmplitude->setValue(m_waveAmplitude);
|
|
|
|
optionsDialog->m_waveLenght->setValue(m_waveLenght);
|
|
|
|
optionsDialog->m_waveLength->setValue(m_waveLength);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if ( optionsDialog->exec() == KMessageBox::Ok )
|
|
|
|
if ( optionsDialog->exec() == KMessageBox::Ok )
|
|
|
@ -241,7 +241,7 @@ void EffectImagesDialog::slotOptionsClicked(void)
|
|
|
|
if ( Type == 10) // Wave
|
|
|
|
if ( Type == 10) // Wave
|
|
|
|
{
|
|
|
|
{
|
|
|
|
m_waveAmplitude = optionsDialog->m_waveAmplitude->value();
|
|
|
|
m_waveAmplitude = optionsDialog->m_waveAmplitude->value();
|
|
|
|
m_waveLenght = optionsDialog->m_waveLenght->value();
|
|
|
|
m_waveLength = optionsDialog->m_waveLength->value();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -270,7 +270,7 @@ m_config = new KConfig("kipirc");
|
|
|
|
m_spreadRadius = m_config->readNumEntry("SpreadRadius", 3);
|
|
|
|
m_spreadRadius = m_config->readNumEntry("SpreadRadius", 3);
|
|
|
|
m_swirlDegrees = m_config->readNumEntry("SwirlDegrees", 45);
|
|
|
|
m_swirlDegrees = m_config->readNumEntry("SwirlDegrees", 45);
|
|
|
|
m_waveAmplitude = m_config->readNumEntry("WaveAmplitude", 50);
|
|
|
|
m_waveAmplitude = m_config->readNumEntry("WaveAmplitude", 50);
|
|
|
|
m_waveLenght = m_config->readNumEntry("WaveLenght", 100);
|
|
|
|
m_waveLength = m_config->readNumEntry("WaveLength", 100);
|
|
|
|
|
|
|
|
|
|
|
|
if (m_config->readEntry("SmallPreview", "true") == "true")
|
|
|
|
if (m_config->readEntry("SmallPreview", "true") == "true")
|
|
|
|
m_smallPreview->setChecked( true );
|
|
|
|
m_smallPreview->setChecked( true );
|
|
|
@ -311,7 +311,7 @@ void EffectImagesDialog::saveSettings(void)
|
|
|
|
m_config->writeEntry("SpreadRadius", m_spreadRadius);
|
|
|
|
m_config->writeEntry("SpreadRadius", m_spreadRadius);
|
|
|
|
m_config->writeEntry("SwirlDegrees", m_swirlDegrees);
|
|
|
|
m_config->writeEntry("SwirlDegrees", m_swirlDegrees);
|
|
|
|
m_config->writeEntry("WaveAmplitude", m_waveAmplitude);
|
|
|
|
m_config->writeEntry("WaveAmplitude", m_waveAmplitude);
|
|
|
|
m_config->writeEntry("WaveLenght", m_waveLenght);
|
|
|
|
m_config->writeEntry("WaveLength", m_waveLength);
|
|
|
|
|
|
|
|
|
|
|
|
m_config->writeEntry("SmallPreview", m_smallPreview->isChecked());
|
|
|
|
m_config->writeEntry("SmallPreview", m_smallPreview->isChecked());
|
|
|
|
m_config->writeEntry("OverWriteMode", m_overWriteMode->currentItem());
|
|
|
|
m_config->writeEntry("OverWriteMode", m_overWriteMode->currentItem());
|
|
|
@ -423,7 +423,7 @@ TQString EffectImagesDialog::makeProcess(KProcess* proc, BatchProcessImagesItem
|
|
|
|
*proc << "-wave";
|
|
|
|
*proc << "-wave";
|
|
|
|
TQString Temp, Temp2;
|
|
|
|
TQString Temp, Temp2;
|
|
|
|
Temp2 = Temp.setNum( m_waveAmplitude ) + "x";
|
|
|
|
Temp2 = Temp.setNum( m_waveAmplitude ) + "x";
|
|
|
|
Temp2.append ( Temp.setNum( m_waveLenght ) );
|
|
|
|
Temp2.append ( Temp.setNum( m_waveLength ) );
|
|
|
|
*proc << Temp2;
|
|
|
|
*proc << Temp2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|