|
|
|
@ -371,7 +371,7 @@ void ImageEffect_RatioCrop::readSettings()
|
|
|
|
|
|
|
|
|
|
if (m_originalIsLandscape)
|
|
|
|
|
{
|
|
|
|
|
m_orientCB->setCurrentItem( config->readNumEntry("Hor.Oriented Aspect Ratio Qt::Orientation",
|
|
|
|
|
m_orientCB->setCurrentItem( config->readNumEntry("Hor.Oriented Aspect Ratio Orientation",
|
|
|
|
|
ImageSelectionWidget::Landscape) );
|
|
|
|
|
|
|
|
|
|
m_imageSelectionWidget->setSelectionOrientation(m_orientCB->currentItem());
|
|
|
|
@ -395,7 +395,7 @@ void ImageEffect_RatioCrop::readSettings()
|
|
|
|
|
}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
m_orientCB->setCurrentItem( config->readNumEntry("Ver.Oriented Aspect Ratio Qt::Orientation",
|
|
|
|
|
m_orientCB->setCurrentItem( config->readNumEntry("Ver.Oriented Aspect Ratio Orientation",
|
|
|
|
|
ImageSelectionWidget::Portrait) );
|
|
|
|
|
|
|
|
|
|
m_imageSelectionWidget->setSelectionOrientation(m_orientCB->currentItem());
|
|
|
|
@ -418,7 +418,7 @@ void ImageEffect_RatioCrop::readSettings()
|
|
|
|
|
m_heightInput->setValue( config->readNumEntry("Ver.Oriented Custom Aspect Ratio Height", 600) );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
m_autoOrientation->setChecked( config->readBoolEntry("Auto Qt::Orientation", false) );
|
|
|
|
|
m_autoOrientation->setChecked( config->readBoolEntry("Auto Orientation", false) );
|
|
|
|
|
slotAutoOrientChanged( m_autoOrientation->isChecked() );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -430,7 +430,7 @@ void ImageEffect_RatioCrop::writeSettings()
|
|
|
|
|
if (m_originalIsLandscape)
|
|
|
|
|
{
|
|
|
|
|
config->writeEntry( "Hor.Oriented Aspect Ratio", m_ratioCB->currentItem() );
|
|
|
|
|
config->writeEntry( "Hor.Oriented Aspect Ratio Qt::Orientation", m_orientCB->currentItem() );
|
|
|
|
|
config->writeEntry( "Hor.Oriented Aspect Ratio Orientation", m_orientCB->currentItem() );
|
|
|
|
|
config->writeEntry( "Hor.Oriented Custom Aspect Ratio Num", m_customRatioNInput->value() );
|
|
|
|
|
config->writeEntry( "Hor.Oriented Custom Aspect Ratio Den", m_customRatioDInput->value() );
|
|
|
|
|
|
|
|
|
@ -442,7 +442,7 @@ void ImageEffect_RatioCrop::writeSettings()
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
config->writeEntry( "Ver.Oriented Aspect Ratio", m_ratioCB->currentItem() );
|
|
|
|
|
config->writeEntry( "Ver.Oriented Aspect Ratio Qt::Orientation", m_orientCB->currentItem() );
|
|
|
|
|
config->writeEntry( "Ver.Oriented Aspect Ratio Orientation", m_orientCB->currentItem() );
|
|
|
|
|
config->writeEntry( "Ver.Oriented Custom Aspect Ratio Num", m_customRatioNInput->value() );
|
|
|
|
|
config->writeEntry( "Ver.Oriented Custom Aspect Ratio Den", m_customRatioDInput->value() );
|
|
|
|
|
|
|
|
|
@ -453,7 +453,7 @@ void ImageEffect_RatioCrop::writeSettings()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
config->writeEntry( "Precise Aspect Ratio Crop", m_preciseCrop->isChecked() );
|
|
|
|
|
config->writeEntry( "Auto Qt::Orientation", m_autoOrientation->isChecked() );
|
|
|
|
|
config->writeEntry( "Auto Orientation", m_autoOrientation->isChecked() );
|
|
|
|
|
config->writeEntry( "Guide Lines Type", m_guideLinesCB->currentItem() );
|
|
|
|
|
config->writeEntry( "Golden Section", m_goldenSectionBox->isChecked() );
|
|
|
|
|
config->writeEntry( "Golden Spiral Section", m_goldenSpiralSectionBox->isChecked() );
|
|
|
|
|