78,159 → 78,49 |
connect(userActionSniffer, SIGNAL(actionStart()), this, SLOT(spinboxStartUserAction())); |
connect(userActionSniffer, SIGNAL(actionEnd()), this, SLOT(spinboxFinishUserAction())); |
|
pageLayout_4 = new QVBoxLayout( this ); |
pageLayout_4->setSpacing( 5 ); |
pageLayout_4->setMargin( 0 ); |
setupUi(this); |
setSizePolicy( QSizePolicy(QSizePolicy::Minimum, QSizePolicy::Minimum)); |
|
imagePageNumberSelector = new QGridLayout(); |
imagePageNumberSelector->setSpacing( 5 ); |
imagePageNumberSelector->setMargin( 0 ); |
imagePageNumber = new QSpinBox( this ); |
imagePageNumber->setMinimum(0); |
imagePageNumber->setSpecialValueText(tr( "Auto" )); |
imagePageNumberLabel = new QLabel( "&Page Number:", this ); |
imagePageNumberLabel->setBuddy(imagePageNumber); |
imagePageNumberSelector->addWidget( imagePageNumberLabel, 0, 0 ); |
imagePageNumberSelector->addWidget( imagePageNumber, 0, 1); |
pageLayout_4->addLayout( imagePageNumberSelector ); |
|
// FreeScale = new QRadioButton( "&Free Scaling", this ); |
// FreeScale->setChecked( true ); |
// pageLayout_4->addWidget( FreeScale ); |
// freeScale = new QRadioButton( "&Free Scaling", this ); |
// freeScale->setChecked( true ); |
// pageLayout_4->addWidget( freeScale ); |
|
layout43 = new QGridLayout; |
layout43->setSpacing( 5 ); |
layout43->setMargin( 0 ); |
imageXOffsetSpinBox = new ScrSpinBox( this, 0 ); |
installSniffer(imageXOffsetSpinBox); |
xposImgLabel = new QLabel( "&X-Pos:", this ); |
xposImgLabel->setBuddy(imageXOffsetSpinBox); |
layout43->addWidget( xposImgLabel, 0, 0 ); |
layout43->addWidget( imageXOffsetSpinBox, 0, 1 ); |
imageYOffsetSpinBox = new ScrSpinBox( this, 0 ); |
installSniffer(imageYOffsetSpinBox); |
yposImgLabel = new QLabel( "&Y-Pos:", this ); |
yposImgLabel->setBuddy(imageYOffsetSpinBox); |
layout43->addWidget( yposImgLabel, 1, 0 ); |
layout43->addWidget( imageYOffsetSpinBox, 1, 1 ); |
|
imageRotation = new ScrSpinBox( this, 6); |
imageRotation->setWrapping( true ); |
installSniffer(imageRotation); |
imageRotationLabel = new QLabel( "Rotation:", this ); |
imageRotationLabel->setBuddy(imageRotation); |
layout43->addWidget( imageRotationLabel, 2, 0 ); |
layout43->addWidget( imageRotation, 2, 1 ); |
|
FreeScale = new QRadioButton( "&Free Scaling", this ); |
FreeScale->setChecked( true ); |
layout43->addWidget( FreeScale ); |
freeScale->setChecked( true ); |
|
imageXScaleSpinBox = new ScrSpinBox( this, 0 ); |
installSniffer(imageXScaleSpinBox); |
xscaleLabel = new QLabel( "X-Sc&ale:", this ); |
xscaleLabel->setBuddy(imageXScaleSpinBox); |
layout43->addWidget( xscaleLabel, 4, 0 ); |
layout43->addWidget( imageXScaleSpinBox, 4, 1 ); |
imageYScaleSpinBox = new ScrSpinBox( this, 0 ); |
installSniffer(imageYScaleSpinBox); |
yscaleLabel = new QLabel( "Y-Scal&e:", this ); |
yscaleLabel->setBuddy(imageYScaleSpinBox); |
layout43->addWidget( yscaleLabel, 5, 0 ); |
layout43->addWidget( imageYScaleSpinBox, 5, 1 ); |
keepImageWHRatioButton = new LinkButton( this ); |
|
keepImageWHRatioButton->setCheckable( true ); |
keepImageWHRatioButton->setAutoRaise( true ); |
keepImageWHRatioButton->setMaximumSize( QSize( 15, 32767 ) ); |
layout43->addWidget( keepImageWHRatioButton, 4, 2, 2, 1 ); |
|
imgDpiX = new ScrSpinBox( this, 0 ); |
installSniffer(imgDpiX); |
imgDPIXLabel = new QLabel( "Actual X-DPI:", this ); |
imgDPIXLabel->setBuddy(imgDpiX); |
layout43->addWidget( imgDPIXLabel, 6, 0 ); |
layout43->addWidget( imgDpiX, 6, 1 ); |
imgDpiY = new ScrSpinBox( this, 0 ); |
|
installSniffer(imgDpiY); |
imgDPIYLabel = new QLabel( "Actual Y-DPI:", this ); |
imgDPIYLabel->setBuddy(imgDpiY); |
layout43->addWidget( imgDPIYLabel, 7, 0 ); |
layout43->addWidget( imgDpiY, 7, 1 ); |
keepImageDPIRatioButton = new LinkButton( this ); |
|
keepImageDPIRatioButton->setCheckable( true ); |
keepImageDPIRatioButton->setAutoRaise( true ); |
keepImageDPIRatioButton->setMaximumSize( QSize( 15, 32767 ) ); |
layout43->addWidget( keepImageDPIRatioButton, 6, 2, 2, 1 ); |
pageLayout_4->addLayout( layout43 ); |
|
Layout24 = new QVBoxLayout; |
Layout24->setSpacing( 3 ); |
Layout24->setMargin( 0 ); |
frameScale->setText( "&To Frame Size" ); |
|
FrameScale = new QRadioButton( this ); |
FrameScale->setText( "Scale &To Frame Size" ); |
Layout24->addWidget( FrameScale ); |
cbProportional->setEnabled( false ); |
cbProportional->setText( "P&roportional" ); |
cbProportional->setChecked( true ); |
|
Layout18 = new QHBoxLayout; |
Layout18->setSpacing( 5 ); |
Layout18->setMargin( 0 ); |
|
Frame4 = new QFrame( this ); |
Frame4->setMinimumSize( QSize( 15, 2 ) ); |
Frame4->setMaximumSize( QSize( 15, 10 ) ); |
Frame4->setFrameShape( QFrame::NoFrame ); |
Frame4->setFrameShadow( QFrame::Plain ); |
Layout18->addWidget( Frame4 ); |
|
Aspect = new QCheckBox( this ); |
Aspect->setEnabled( false ); |
Aspect->setText( "P&roportional" ); |
Aspect->setChecked( true ); |
|
Layout18->addWidget( Aspect ); |
Layout24->addLayout( Layout18 ); |
pageLayout_4->addLayout( Layout24 ); |
|
EditEffects = new QToolButton( this); |
pageLayout_4->addWidget( EditEffects ); |
|
EditPSDProps = new QToolButton( this); |
pageLayout_4->addWidget( EditPSDProps ); |
|
GroupBoxCM = new QFrame( this ); |
GroupBoxCM->setFrameShape( QFrame::NoFrame ); |
GroupBoxCM->setFrameShadow( QFrame::Plain ); |
GroupBoxCMLayout = new QVBoxLayout( GroupBoxCM ); |
GroupBoxCMLayout->setSpacing( 2 ); |
GroupBoxCMLayout->setMargin( 5 ); |
GroupBoxCMLayout->setAlignment( Qt::AlignTop ); |
TextCms1 = new QLabel( GroupBoxCM ); |
GroupBoxCMLayout->addWidget( TextCms1 ); |
InputP = new ScComboBox( GroupBoxCM ); |
GroupBoxCMLayout->addWidget(InputP); |
TextCms2 = new QLabel( GroupBoxCM ); |
GroupBoxCMLayout->addWidget(TextCms2); |
MonitorI = new ScComboBox( GroupBoxCM ); |
GroupBoxCMLayout->addWidget(MonitorI); |
pageLayout_4->addWidget(GroupBoxCM); |
|
GroupBoxCompression = new QFrame( this ); |
GroupBoxCompression->setFrameShape( QFrame::NoFrame ); |
GroupBoxCompression->setFrameShadow( QFrame::Plain ); |
GroupBoxCompressionLayout = new QVBoxLayout( GroupBoxCompression ); |
GroupBoxCompressionLayout->setSpacing( 2 ); |
GroupBoxCompressionLayout->setMargin( 5 ); |
GroupBoxCompressionLayout->setAlignment( Qt::AlignTop ); |
TextCompressionMethod = new QLabel( GroupBoxCompression ); |
GroupBoxCompressionLayout->addWidget( TextCompressionMethod ); |
CompressionMethod = new ScComboBox( GroupBoxCompression ); |
GroupBoxCompressionLayout->addWidget(CompressionMethod); |
TextCompressionQuality = new QLabel( GroupBoxCompression ); |
GroupBoxCompressionLayout->addWidget( TextCompressionQuality ); |
CompressionQuality = new ScComboBox( GroupBoxCompression ); |
GroupBoxCompressionLayout->addWidget( CompressionQuality ); |
pageLayout_4->addWidget( GroupBoxCompression ); |
|
languageChange(); |
|
connect(imagePageNumber , SIGNAL(valueChanged(int)) , this, SLOT(handleImagePageNumber())); |
243,15 → 133,15 |
connect(imgDpiY , SIGNAL(valueChanged(double)), this, SLOT(handleDpiY())); |
connect(keepImageWHRatioButton , SIGNAL(clicked()) , this, SLOT(handleImageWHRatio())); |
connect(keepImageDPIRatioButton, SIGNAL(clicked()) , this, SLOT(handleImageDPIRatio())); |
connect(FreeScale , SIGNAL(clicked()) , this, SLOT(handleScaling())); |
connect(FrameScale , SIGNAL(clicked()) , this, SLOT(handleScaling())); |
connect(Aspect , SIGNAL(clicked()) , this, SLOT(handleScaling())); |
connect(EditEffects , SIGNAL(clicked()) , this, SLOT(handleImageEffects())); |
connect(EditPSDProps , SIGNAL(clicked()) , this, SLOT(handleExtImgProperties())); |
connect(InputP , SIGNAL(activated(const QString&)), this, SLOT(handleProfile(const QString&))); |
connect(MonitorI , SIGNAL(activated(int)) , this, SLOT(handleIntent())); |
connect(CompressionMethod , SIGNAL(activated(int)) , this, SLOT(handleCompressionMethod())); |
connect(CompressionQuality , SIGNAL(activated(int)) , this, SLOT(handleCompressionQuality())); |
connect(freeScale , SIGNAL(clicked()) , this, SLOT(handleScaling())); |
connect(frameScale , SIGNAL(clicked()) , this, SLOT(handleScaling())); |
connect(cbProportional , SIGNAL(clicked()) , this, SLOT(handleScaling())); |
connect(imgEffectsButton , SIGNAL(clicked()) , this, SLOT(handleImageEffects())); |
connect(imgExtProperties , SIGNAL(clicked()) , this, SLOT(handleExtImgProperties())); |
connect(inputProfiles , SIGNAL(activated(const QString&)), this, SLOT(handleProfile(const QString&))); |
connect(renderIntent , SIGNAL(activated(int)) , this, SLOT(handleIntent())); |
connect(compressionMethod , SIGNAL(activated(int)) , this, SLOT(handleCompressionMethod())); |
connect(compressionQuality , SIGNAL(activated(int)) , this, SLOT(handleCompressionQuality())); |
} |
|
void PropertiesPalette_Image::changeEvent(QEvent *e) |
377,17 → 267,17 |
if (m_haveDoc) |
{ |
if (ScCore->haveCMS() && m_doc->cmsSettings().CMSinUse) |
GroupBoxCM->show(); |
colorMgmtGroup->show(); |
else |
{ |
GroupBoxCM->hide(); |
colorMgmtGroup->hide(); |
return; |
} |
|
InputP->blockSignals(true); |
MonitorI->blockSignals(true); |
inputProfiles->blockSignals(true); |
renderIntent->blockSignals(true); |
|
InputP->clear(); |
inputProfiles->clear(); |
if (m_haveItem) |
{ |
if (m_item->pixm.imgInfo.colorspace == ColorSpaceCMYK) |
396,19 → 286,19 |
ProfilesL::Iterator itPend = ScCore->InputProfilesCMYK.end(); |
for (itP = ScCore->InputProfilesCMYK.begin(); itP != itPend; ++itP) |
{ |
InputP->addItem(itP.key()); |
inputProfiles->addItem(itP.key()); |
if (itP.key() == m_item->IProfile) |
InputP->setCurrentIndex(InputP->count()-1); |
inputProfiles->setCurrentIndex(inputProfiles->count()-1); |
} |
if (!ScCore->InputProfilesCMYK.contains(m_item->IProfile)) |
{ |
InputP->addItem(m_item->IProfile); |
InputP->setCurrentIndex(InputP->count()-1); |
inputProfiles->addItem(m_item->IProfile); |
inputProfiles->setCurrentIndex(inputProfiles->count()-1); |
} |
else |
{ |
if (!m_item->EmProfile.isEmpty()) |
InputP->addItem(m_item->EmProfile); |
inputProfiles->addItem(m_item->EmProfile); |
} |
} |
else |
417,26 → 307,26 |
ProfilesL::Iterator itPend=ScCore->InputProfiles.end(); |
for (itP = ScCore->InputProfiles.begin(); itP != itPend; ++itP) |
{ |
InputP->addItem(itP.key()); |
inputProfiles->addItem(itP.key()); |
if (itP.key() == m_item->IProfile) |
InputP->setCurrentIndex(InputP->count()-1); |
inputProfiles->setCurrentIndex(inputProfiles->count()-1); |
} |
if (!ScCore->InputProfiles.contains(m_item->IProfile)) |
{ |
InputP->addItem(m_item->IProfile); |
InputP->setCurrentIndex(InputP->count()-1); |
inputProfiles->addItem(m_item->IProfile); |
inputProfiles->setCurrentIndex(inputProfiles->count()-1); |
} |
else |
{ |
if (!m_item->EmProfile.isEmpty()) |
InputP->addItem(m_item->EmProfile); |
inputProfiles->addItem(m_item->EmProfile); |
} |
} |
MonitorI->setCurrentIndex(m_item->IRender); |
renderIntent->setCurrentIndex(m_item->IRender); |
} |
|
InputP->blockSignals(false); |
MonitorI->blockSignals(false); |
inputProfiles->blockSignals(false); |
renderIntent->blockSignals(false); |
} |
} |
|
447,7 → 337,7 |
if (m_haveItem) |
updateProfileList(); |
else if (m_doc) |
GroupBoxCM->setVisible(ScCore->haveCMS() && m_doc->cmsSettings().CMSinUse); |
colorMgmtGroup->setVisible(ScCore->haveCMS() && m_doc->cmsSettings().CMSinUse); |
} |
|
void PropertiesPalette_Image::displayImageRotation(double rot) |
570,8 → 460,8 |
imagePageNumber->blockSignals(true); |
imagePageNumber->setMaximum(m_item->pixm.imgInfo.numberOfPages); |
imagePageNumber->setValue(m_item->pixm.imgInfo.actualPageNumber); |
CompressionMethod->setCurrentIndex(m_item->OverrideCompressionMethod ? m_item->CompressionMethodIndex + 1 : 0); |
CompressionQuality->setCurrentIndex(m_item->OverrideCompressionQuality ? m_item->CompressionQualityIndex + 1 : 0); |
compressionMethod->setCurrentIndex(m_item->OverrideCompressionMethod ? m_item->CompressionMethodIndex + 1 : 0); |
compressionQuality->setCurrentIndex(m_item->OverrideCompressionQuality ? m_item->CompressionQualityIndex + 1 : 0); |
imagePageNumber->blockSignals(false); |
|
imageXScaleSpinBox->blockSignals(true); |
580,17 → 470,16 |
imageYOffsetSpinBox->blockSignals(true); |
imageRotation->blockSignals(true); |
|
updateProfileList(); |
EditEffects->setShown(m_item->PictureIsAvailable && m_item->isRaster); |
EditPSDProps->setShown(m_item->PictureIsAvailable && m_item->pixm.imgInfo.valid); |
imgEffectsButton->setShown(m_item->PictureIsAvailable && m_item->isRaster); |
imgExtProperties->setShown(m_item->PictureIsAvailable && m_item->pixm.imgInfo.valid); |
bool setter = m_item->ScaleType; |
FreeScale->setChecked(setter); |
FrameScale->setChecked(!setter); |
freeScale->setChecked(setter); |
frameScale->setChecked(!setter); |
if ((m_item->asLatexFrame()) || (m_item->asOSGFrame())) |
{ |
FreeScale->setEnabled(false); |
FrameScale->setEnabled(false); |
Aspect->setEnabled(false); |
freeScale->setEnabled(false); |
frameScale->setEnabled(false); |
cbProportional->setEnabled(false); |
imageXScaleSpinBox->setEnabled(false); |
imageYScaleSpinBox->setEnabled(false); |
imgDpiX->setEnabled(false); |
602,10 → 491,10 |
imageYScaleSpinBox->setEnabled(setter); |
imgDpiX->setEnabled(setter); |
imgDpiY->setEnabled(setter); |
Aspect->setEnabled(!setter); |
Aspect->setChecked(m_item->AspectRatio); |
FreeScale->setEnabled(true); |
FrameScale->setEnabled(true); |
cbProportional->setEnabled(!setter); |
cbProportional->setChecked(m_item->AspectRatio); |
freeScale->setEnabled(true); |
frameScale->setEnabled(true); |
} |
//CB Why do we need this? Setting it too much here |
// if (setter == true) |
631,6 → 520,10 |
rrR = 360 - rrR; |
imageRotation->showValue(fabs(rrR)); |
|
if (m_item->asImageFrame()) |
{ |
updateProfileList(); |
} |
if (m_item->asOSGFrame()) |
{ |
setEnabled(false); |
688,11 → 581,11 |
if (!m_ScMW || m_ScMW->scriptIsRunning()) |
return; |
|
if (FreeScale == sender()) |
if (freeScale == sender()) |
{ |
FrameScale->setChecked(false); |
FreeScale->setChecked(true); |
Aspect->setEnabled(false); |
frameScale->setChecked(false); |
freeScale->setChecked(true); |
cbProportional->setEnabled(false); |
// imageXOffsetSpinBox->setEnabled(true); |
// imageYOffsetSpinBox->setEnabled(true); |
imageXScaleSpinBox->setEnabled(true); |
703,11 → 596,11 |
keepImageWHRatioButton->setEnabled(true); |
keepImageDPIRatioButton->setEnabled(true); |
} |
if (FrameScale == sender()) |
if (frameScale == sender()) |
{ |
FrameScale->setChecked(true); |
FreeScale->setChecked(false); |
Aspect->setEnabled(true); |
frameScale->setChecked(true); |
freeScale->setChecked(false); |
cbProportional->setEnabled(true); |
// imageXOffsetSpinBox->setEnabled(false); |
// imageYOffsetSpinBox->setEnabled(false); |
imageXScaleSpinBox->setEnabled(false); |
721,7 → 614,7 |
|
if ((m_haveDoc) && (m_haveItem)) |
{ |
m_item->setImageScalingMode(FreeScale->isChecked(), Aspect->isChecked()); |
m_item->setImageScalingMode(freeScale->isChecked(), cbProportional->isChecked()); |
emit UpdtGui(PageItem::ImageFrame); |
emit DocChanged(); |
} |
837,7 → 730,7 |
{ |
if (!m_haveDoc || !m_haveItem || !m_ScMW || m_ScMW->scriptIsRunning()) |
return; |
m_doc->itemSelection_SetColorProfile(InputP->currentText()); |
m_doc->itemSelection_SetColorProfile(inputProfiles->currentText()); |
} |
|
void PropertiesPalette_Image::handleIntent() |
844,7 → 737,7 |
{ |
if (!m_haveDoc || !m_haveItem || !m_ScMW || m_ScMW->scriptIsRunning()) |
return; |
m_doc->itemSelection_SetRenderIntent(MonitorI->currentIndex()); |
m_doc->itemSelection_SetRenderIntent(renderIntent->currentIndex()); |
} |
|
void PropertiesPalette_Image::handleCompressionMethod() |
851,7 → 744,7 |
{ |
if (!m_haveDoc || !m_haveItem || !m_ScMW || m_ScMW->scriptIsRunning()) |
return; |
m_doc->itemSelection_SetCompressionMethod(CompressionMethod->currentIndex() - 1); |
m_doc->itemSelection_SetCompressionMethod(compressionMethod->currentIndex() - 1); |
} |
|
void PropertiesPalette_Image::handleCompressionQuality() |
858,7 → 751,7 |
{ |
if (!m_haveDoc || !m_haveItem || !m_ScMW || m_ScMW->scriptIsRunning()) |
return; |
m_doc->itemSelection_SetCompressionQuality(CompressionQuality->currentIndex() - 1); |
m_doc->itemSelection_SetCompressionQuality(compressionQuality->currentIndex() - 1); |
} |
|
void PropertiesPalette_Image::languageChange() |
869,45 → 762,45 |
yposImgLabel->setText( tr("&Y-Pos:")); |
xscaleLabel->setText( tr("X-Sc&ale:")); |
yscaleLabel->setText( tr("Y-Scal&e:")); |
FreeScale->setText( tr("&Free Scaling")); |
freeScale->setText( tr("&Free Scaling")); |
imagePageNumberLabel->setText( tr("&Page Number:")); |
imageRotationLabel->setText( tr("Rotation:")); |
|
Aspect->setText( tr("P&roportional")); |
EditEffects->setText( tr("Image Effects")); |
EditPSDProps->setText( tr("Extended Image Properties")); |
cbProportional->setText( tr("P&roportional")); |
imgEffectsButton->setText( tr("Image Effects")); |
imgExtProperties->setText( tr("Extended Properties")); |
|
TextCms1->setText( tr("Input Profile:")); |
TextCms2->setText( tr("Rendering Intent:")); |
TextCompressionMethod->setText( tr("PDF Compression Method:")); |
TextCompressionQuality->setText( tr("PDF Compression Quality:")); |
inputProfLabel->setText( tr("Input Profile:")); |
renderIntentLabel->setText( tr("Rendering Intent:")); |
compressionMethodLabel->setText( tr("Method:")); |
compressionQualityLabel->setText( tr("Quality:")); |
|
int oldMonitorI=MonitorI->currentIndex(); |
MonitorI->clear(); |
MonitorI->addItem( tr("Perceptual")); |
MonitorI->addItem( tr("Relative Colorimetric")); |
MonitorI->addItem( tr("Saturation")); |
MonitorI->addItem( tr("Absolute Colorimetric")); |
MonitorI->setCurrentIndex(oldMonitorI); |
int oldMonitorI=renderIntent->currentIndex(); |
renderIntent->clear(); |
renderIntent->addItem( tr("Perceptual")); |
renderIntent->addItem( tr("Relative Colorimetric")); |
renderIntent->addItem( tr("Saturation")); |
renderIntent->addItem( tr("Absolute Colorimetric")); |
renderIntent->setCurrentIndex(oldMonitorI); |
|
int oldCompressionMethod=CompressionMethod->currentIndex(); |
CompressionMethod->clear(); |
CompressionMethod->addItem( tr( "Global" ) ); |
CompressionMethod->addItem( tr( "Automatic" ) ); |
CompressionMethod->addItem( tr( "Lossy - JPEG" ) ); |
CompressionMethod->addItem( tr( "Lossless - Zip" ) ); |
CompressionMethod->addItem( tr( "None" ) ); |
CompressionMethod->setCurrentIndex(oldCompressionMethod); |
int oldCompressionMethod=compressionMethod->currentIndex(); |
compressionMethod->clear(); |
compressionMethod->addItem( tr( "Global" ) ); |
compressionMethod->addItem( tr( "Automatic" ) ); |
compressionMethod->addItem( tr( "Lossy - JPEG" ) ); |
compressionMethod->addItem( tr( "Lossless - Zip" ) ); |
compressionMethod->addItem( tr( "None" ) ); |
compressionMethod->setCurrentIndex(oldCompressionMethod); |
|
int oldCompressionQuality=CompressionQuality->currentIndex(); |
CompressionQuality->clear(); |
CompressionQuality->addItem( tr( "Global" ) ); |
CompressionQuality->addItem( tr( "Maximum" ) ); |
CompressionQuality->addItem( tr( "High" ) ); |
CompressionQuality->addItem( tr( "Medium" ) ); |
CompressionQuality->addItem( tr( "Low" ) ); |
CompressionQuality->addItem( tr( "Minimum" ) ); |
CompressionQuality->setCurrentIndex(oldCompressionQuality); |
int oldCompressionQuality=compressionQuality->currentIndex(); |
compressionQuality->clear(); |
compressionQuality->addItem( tr( "Global" ) ); |
compressionQuality->addItem( tr( "Maximum" ) ); |
compressionQuality->addItem( tr( "High" ) ); |
compressionQuality->addItem( tr( "Medium" ) ); |
compressionQuality->addItem( tr( "Low" ) ); |
compressionQuality->addItem( tr( "Minimum" ) ); |
compressionQuality->setCurrentIndex(oldCompressionQuality); |
|
QString pctSuffix = tr(" %"); |
imageXScaleSpinBox->setSuffix(pctSuffix); |
926,15 → 819,15 |
imageXScaleSpinBox->setToolTip( tr("Resize the image horizontally")); |
imageYScaleSpinBox->setToolTip( tr("Resize the image vertically")); |
keepImageWHRatioButton->setToolTip( tr("Keep the X and Y scaling the same")); |
FreeScale->setToolTip( tr("Allow the image to be a different size to the frame")); |
FrameScale->setToolTip( tr("Make the image fit within the size of the frame")); |
freeScale->setToolTip( tr("Allow the image to be a different size to the frame")); |
frameScale->setToolTip( tr("Make the image fit within the size of the frame")); |
imgDpiX->setToolTip( tr("Effective horizontal DPI of the image after scaling")); |
imgDpiY->setToolTip( tr("Effective vertical DPI of the image after scaling")); |
Aspect->setToolTip( tr("Use image proportions rather than those of the frame")); |
InputP->setToolTip( tr("Source profile of the image")); |
MonitorI->setToolTip( tr("Rendering intent for the image")); |
CompressionMethod->setToolTip( tr("Compression method used in PDF export for the image")); |
CompressionQuality->setToolTip( tr("Compression quality used in PDF export for the image")); |
cbProportional->setToolTip( tr("Use image proportions rather than those of the frame")); |
inputProfiles->setToolTip( tr("Source profile of the image")); |
renderIntent->setToolTip( tr("Rendering intent for the image")); |
compressionMethod->setToolTip( tr("Compression method used in PDF export for the image")); |
compressionQuality->setToolTip( tr("Compression quality used in PDF export for the image")); |
} |
|
void PropertiesPalette_Image::unitChange() |