/trunk/Scribus/scribus/ui/propertiespalette_image.cpp |
---|
12,12 → 12,13 |
#define _USE_MATH_DEFINES |
#endif |
#include <cmath> |
#include <QSignalBlocker> |
#include "commonstrings.h" |
#include "sccolorengine.h" |
#include "pageitem.h" |
#include "propertiespalette_utils.h" |
#include "sccolorengine.h" |
#include "sccombobox.h" |
#include "scribuscore.h" |
#include "scraction.h" |
#include "scribusview.h" |
794,14 → 795,16 |
imagePageNumber->setSpecialValueText( tr( "Auto" )); |
int oldMonitorI=renderIntent->currentIndex(); |
QSignalBlocker renderIntentBlocker(renderIntent); |
int oldRenderI = 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); |
renderIntent->setCurrentIndex(oldRenderI); |
QSignalBlocker compressionMethodBlocker(compressionMethod); |
int oldCompressionMethod=compressionMethod->currentIndex(); |
compressionMethod->clear(); |
compressionMethod->addItem( tr( "Global" ) ); |
811,6 → 814,7 |
compressionMethod->addItem( tr( "None" ) ); |
compressionMethod->setCurrentIndex(oldCompressionMethod); |
QSignalBlocker compressionQualityBlocker(compressionQuality); |
int oldCompressionQuality=compressionQuality->currentIndex(); |
compressionQuality->clear(); |
compressionQuality->addItem( tr( "Global" ) ); |
/trunk/Scribus/scribus/ui/propertiespalette_line.cpp |
---|
11,6 → 11,7 |
#define _USE_MATH_DEFINES |
#endif |
#include <cmath> |
#include <QSignalBlocker> |
#include "arrowchooser.h" |
#include "commonstrings.h" |
647,16 → 648,20 |
void PropertiesPalette_Line::languageChange() |
{ |
QSignalBlocker lineTypeBlocker(lineType); |
int oldLineStyle = lineType->currentIndex(); |
lineType->clear(); |
lineType->updateList(); |
lineType->addItem( tr("Custom")); |
lineType->setCurrentIndex(oldLineStyle); |
QSignalBlocker lineModeBlocker(lineMode); |
int oldLineMode = lineMode->currentIndex(); |
lineMode->clear(); |
lineMode->addItem( tr("Left Point")); |
lineMode->addItem( tr("End Points")); |
lineMode->setCurrentIndex(oldLineMode); |
lineModeLabel->setText( tr("&Basepoint:")); |
lineTypeLabel->setText( tr("T&ype of Line:")); |
startArrowLabel->setText( tr("Start Arrow:")); |
665,9 → 670,11 |
endArrowScaleLabel->setText( tr("Scaling:")); |
if (m_haveDoc) |
{ |
QSignalBlocker startArrowBlocker(startArrow); |
int arrowItem = startArrow->currentIndex(); |
startArrow->rebuildList(&m_doc->arrowStyles()); |
startArrow->setCurrentIndex(arrowItem); |
QSignalBlocker endArrowBlocker(endArrow); |
arrowItem = endArrow->currentIndex(); |
endArrow->rebuildList(&m_doc->arrowStyles()); |
endArrow->setCurrentIndex(arrowItem); |
675,6 → 682,7 |
lineWidthLabel->setText( tr("Line &Width:")); |
lineJoinLabel->setText( tr("Ed&ges:")); |
QSignalBlocker lineJoinStyleBlocker(lineJoinStyle); |
int oldLJoinStyle=lineJoinStyle->currentIndex(); |
lineJoinStyle->clear(); |
IconManager* im=IconManager::instance(); |
683,6 → 691,7 |
lineJoinStyle->addItem(im->loadIcon("16/stroke-join-round.png"), tr("Round Join")); |
lineJoinStyle->setCurrentIndex(oldLJoinStyle); |
QSignalBlocker lineEndStyleBlocker(lineEndStyle); |
int oldLEndStyle=lineEndStyle->currentIndex(); |
lineEndStyle->clear(); |
lineEndStyle->addItem(im->loadIcon("16/stroke-cap-butt.png"), tr("Flat Cap")); |
/trunk/Scribus/scribus/ui/propertiespalette_text.cpp |
---|
12,6 → 12,7 |
#define _USE_MATH_DEFINES |
#endif |
#include <cmath> |
#include <QSignalBlocker> |
#include "appmodes.h" |
#include "colorcombo.h" |
642,6 → 643,7 |
advancedWidgetsItem->setText(0, tr("Advanced Settings")); |
pathTextItem->setText(0, tr("Path Text Properties")); |
QSignalBlocker lineSpacingModeBlocker(lineSpacingModeCombo); |
int oldLineSpacingMode = lineSpacingModeCombo->currentIndex(); |
lineSpacingModeCombo->clear(); |
lineSpacingModeCombo->addItem( tr("Fixed Linespacing")); |
/trunk/Scribus/scribus/ui/propertywidget_distance.cpp |
---|
7,6 → 7,8 |
#include "propertywidget_distance.h" |
#include <QSignalBlocker> |
#include "appmodehelper.h" |
#include "appmodes.h" |
#include "pageitem_table.h" |
438,18 → 440,21 |
columnsLabel->setText( tr("Colu&mns:")); |
verticalAlignLabel->setText( tr("Vertical Alignment:")); |
int oldAliLabel = verticalAlign->currentIndex(); |
QSignalBlocker verticalAlignBlocker(verticalAlign); |
int oldAlignIndex = verticalAlign->currentIndex(); |
verticalAlign->clear(); |
verticalAlign->addItem( tr("Top")); |
verticalAlign->addItem( tr("Middle")); |
verticalAlign->addItem( tr("Bottom")); |
verticalAlign->setCurrentIndex(oldAliLabel); |
verticalAlign->setCurrentIndex(oldAlignIndex); |
int oldcolgapLabel = columnGapLabel->currentIndex(); |
QSignalBlocker columnGapLabelBlocker(columnGapLabel); |
int oldColGapLabel = columnGapLabel->currentIndex(); |
columnGapLabel->clear(); |
columnGapLabel->addItem( tr("Gap:")); |
columnGapLabel->addItem( tr("Width:")); |
columnGapLabel->setCurrentIndex(oldcolgapLabel); |
columnGapLabel->setCurrentIndex(oldColGapLabel); |
topLabel->setText( tr("To&p:")); |
bottomLabel->setText( tr("&Bottom:")); |
/trunk/Scribus/scribus/ui/propertywidget_pathtext.cpp |
---|
7,12 → 7,13 |
#include "propertywidget_pathtext.h" |
#include <QSignalBlocker> |
#include "scribus.h" |
#include "scribusdoc.h" |
#include "selection.h" |
#include "units.h" |
PropertyWidget_PathText::PropertyWidget_PathText(QWidget* parent) : QFrame(parent) |
{ |
m_ScMW = 0; |
224,6 → 225,7 |
void PropertyWidget_PathText::languageChange() |
{ |
QSignalBlocker pathTextTypeBlocker(pathTextType); |
int oldPathType = pathTextType->currentIndex(); |
pathTextType->clear(); |
pathTextType->addItem( tr("Default")); |