Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 6605 → Rev 6606

/branches/Version13x/Scribus/scribus/tabtools.h
20,6 → 20,7
 
#include "scribusapi.h"
 
class QGroupBox;
class LinkButton;
class QSpinBox;
class FontCombo;
61,6 → 62,7
QToolButton* toolText;
QToolButton* toolLine;
QToolButton* toolZoom;
QToolButton* toolMisc;
QWidgetStack* subStackTools;
QWidget* subTabText;
QLabel* textHeadLine;
152,6 → 154,13
QLabel* startArrowText;
QLabel* endArrowText;
QLabel* arrowText;
QWidget* subTabGeneral;
QLabel* generalHeadLine;
QGroupBox* genDispBox;
QLabel* genText1;
QLabel* genText2;
MSpinBox* genDispX;
MSpinBox* genDispY;
 
protected slots:
/*!
196,6 → 205,8
QVBoxLayout* buttonGroupResLayout;
QGridLayout* subTabPolygonLayout;
QGridLayout* subTabZoomLayout;
QGridLayout* subTabGeneralLayout;
QGridLayout* subTabGeneralLayout2;
ScribusDoc* docu;
double unitRatio;
QString unit;
/branches/Version13x/Scribus/scribus/prefs.cpp
534,6 → 534,8
if (tabTools->checkHalfRes->isChecked())
haRes = 2;
prefsManager->appPrefs.toolSettings.lowResType = haRes;
prefsManager->appPrefs.toolSettings.dispX = tabTools->genDispX->value();
prefsManager->appPrefs.toolSettings.dispY = tabTools->genDispY->value();
prefsManager->appPrefs.AutoSave = tabDocument->GroupAS->isChecked();
prefsManager->appPrefs.AutoSaveTime = tabDocument->ASTime->value() * 60 * 1000;
prefsManager->appPrefs.MinWordLen = tabHyphenator->wordLen->value();
/branches/Version13x/Scribus/scribus/prefsmanager.cpp
241,6 → 241,8
appPrefs.toolSettings.dTextStrokeShade = 100;
appPrefs.toolSettings.tabFillChar = "";
appPrefs.toolSettings.dTabWidth = 36.0;
appPrefs.toolSettings.dispX = 10.0;
appPrefs.toolSettings.dispY = 10.0;
appPrefs.DpapColor = QColor(white);
appPrefs.DFrameColor = QColor(red);
appPrefs.DFrameNormColor = QColor(black);
1034,6 → 1036,8
dc9.setAttribute("HalfRes", appPrefs.toolSettings.lowResType);
dc9.setAttribute("StartArrow", appPrefs.toolSettings.dStartArrow);
dc9.setAttribute("EndArrow", appPrefs.toolSettings.dEndArrow);
dc9.setAttribute("dispX", appPrefs.toolSettings.dispX);
dc9.setAttribute("dispY", appPrefs.toolSettings.dispY);
elem.appendChild(dc9);
QDomElement dc4=docu.createElement("MAINWINDOW");
dc4.setAttribute("XPOS",appPrefs.mainWinSettings.xPosition);
1512,6 → 1516,8
appPrefs.toolSettings.polyS = static_cast<bool>(dc.attribute("POLYS", "0").toInt());
appPrefs.toolSettings.dStartArrow = dc.attribute("StartArrow", "0").toInt();
appPrefs.toolSettings.dEndArrow = dc.attribute("EndArrow", "0").toInt();
appPrefs.toolSettings.dispX = dc.attribute("dispX", "10").toDouble();
appPrefs.toolSettings.dispY = dc.attribute("dispY", "10").toDouble();
}
if (dc.tagName()=="MAINWINDOW")
{
/branches/Version13x/Scribus/scribus/prefsstructs.h
139,6 → 139,9
int magMin;
int magMax;
int magStep;
/* Item Duplicate Offset */
double dispX;
double dispY;
};
 
struct ApplicationPrefs
/branches/Version13x/Scribus/scribus/tabtools.cpp
8,6 → 8,7
#include "tabtools.moc"
#include <qtooltip.h>
#include <qspinbox.h>
#include <qgroupbox.h>
 
#include "sccombobox.h"
#include "colorcombo.h"
74,6 → 75,11
toolZoom->setText( QString::null );
toolZoom->setIconSet( QIconSet( loadIcon("16/zoom.png") ) );
buttonGroupToolsLayout->addWidget( toolZoom );
toolMisc = new QToolButton( buttonGroupTools, "toolMisc" );
toolMisc->setToggleButton( true );
toolMisc->setText( QString::null );
toolMisc->setIconSet( QIconSet( loadIcon("configure.png") ) );
buttonGroupToolsLayout->addWidget( toolMisc );
tabToolsLayout->addWidget( buttonGroupTools );
subStackTools = new QWidgetStack( this, "subStackTools" );
subStackTools->setSizePolicy( QSizePolicy( (QSizePolicy::SizeType)3, (QSizePolicy::SizeType)5, 0, 0, subStackTools->sizePolicy().hasHeightForWidth() ) );
379,26 → 385,54
minimumZoom = new QSpinBox( subTabZoom, "minimumZoom" );
minimumZoom->setMaxValue( 3200 );
minimumZoom->setMinValue( 10 );
 
minimumZoom->setSuffix( tr( " %" ) );
subTabZoomLayout->addWidget( minimumZoom, 1, 1, Qt::AlignLeft );
textLabel21b = new QLabel( minimumZoom, tr( "Mi&nimum:" ), subTabZoom, "textLabel21b" );
subTabZoomLayout->addWidget( textLabel21b, 1, 0);
 
maximumZoom = new QSpinBox( subTabZoom, "maximumZoom" );
maximumZoom->setMaxValue( 3200 );
maximumZoom->setMinValue( 10 );
 
maximumZoom->setSuffix( tr( " %" ) );
subTabZoomLayout->addWidget( maximumZoom, 2, 1, Qt::AlignLeft );
textLabel22b = new QLabel( maximumZoom, tr( "Ma&ximum:" ), subTabZoom, "textLabel22b" );
subTabZoomLayout->addWidget( textLabel22b, 2, 0 );
zoomStep = new QSpinBox( 101, 500, 1, subTabZoom, "zoomStep" );
 
zoomStep->setSuffix( tr( " %" ) );
subTabZoomLayout->addWidget( zoomStep, 3, 1, Qt::AlignLeft );
textLabel23b = new QLabel( zoomStep, tr( "&Stepping:" ), subTabZoom, "textLabel23b" );
subTabZoomLayout->addWidget( textLabel23b, 3, 0 );
subStackTools->addWidget( subTabZoom, 5 );
 
subTabGeneral = new QWidget( subStackTools, "subTabGeneral" );
subTabGeneralLayout = new QGridLayout( subTabGeneral, 1, 1, 11, 6, "subTabGeneralLayout");
subTabGeneralLayout->setAlignment( Qt::AlignTop );
generalHeadLine = new QLabel( tr( "Misc. Settings" ), subTabGeneral, "generalHeadLine" );
generalHeadLine->setFont(f);
subTabGeneralLayout->addMultiCellWidget( generalHeadLine, 0, 0, 0, 1, Qt::AlignHCenter | Qt::AlignTop );
 
genDispBox = new QGroupBox( subTabGeneral, "genDispBox" );
genDispBox->setTitle( tr( "Object Duplicate" ) );
genDispBox->setColumnLayout(0, Qt::Vertical );
genDispBox->layout()->setSpacing( 5 );
genDispBox->layout()->setMargin( 10 );
subTabGeneralLayout2 = new QGridLayout( genDispBox->layout() );
 
genDispX = new MSpinBox( -1000, 1000, genDispBox, 1 );
genDispX->setSuffix( tr( " pt" ) );
subTabGeneralLayout2->addWidget( genDispX, 0, 1, Qt::AlignLeft );
genText1 = new QLabel( genDispX, tr( "X-Displacement" ), genDispBox, "genText1" );
subTabGeneralLayout2->addWidget( genText1, 0, 0);
 
genDispY = new MSpinBox( -1000, 1000, genDispBox, 1 );
genDispY->setSuffix( tr( " pt" ) );
subTabGeneralLayout2->addWidget( genDispY, 1, 1, Qt::AlignLeft );
genText2 = new QLabel( genDispY, tr( "Y-Displacement" ), genDispBox, "genText2" );
subTabGeneralLayout2->addWidget( genText2, 1, 0);
subTabGeneralLayout->addMultiCellWidget( genDispBox, 1, 1, 0, 1, Qt::AlignHCenter | Qt::AlignTop );
subStackTools->addWidget( subTabGeneral, 6 );
 
tabToolsLayout->addWidget( subStackTools );
toolText->setOn(true);
 
411,6 → 445,7
QToolTip::add( toolZoom, tr( "Magnification Level Defaults" ) );
QToolTip::add( toolLine, tr( "Line Drawing Properties" ) );
QToolTip::add( toolPoly, tr( "Polygon Drawing Properties" ) );
QToolTip::add( toolMisc, tr( "Other Properties" ) );
QToolTip::add( fontComboText, tr( "Font for new text frames" ) );
QToolTip::add( sizeComboText, tr( "Size of font for new text frames" ) );
QToolTip::add( colorComboText, tr( "Color of font" ) );
438,6 → 473,8
QToolTip::add( shadingLine, tr( "Saturation of color" ) );
QToolTip::add( comboStyleLine, tr( "Style of lines" ) );
QToolTip::add( lineWidthLine, tr( "Width of lines" ) );
QToolTip::add( genDispX, tr( "Horizontal displacement of objects") );
QToolTip::add( genDispY, tr( "Vertical displacement of objects" ) );
//enableSignals(true);
}
 
451,6 → 488,7
connect(toolText, SIGNAL(clicked()), this, SLOT(setTool()));
connect(toolLine, SIGNAL(clicked()), this, SLOT(setTool()));
connect(toolZoom, SIGNAL(clicked()), this, SLOT(setTool()));
connect(toolMisc, SIGNAL(clicked()), this, SLOT(setTool()));
connect(fontComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
connect(sizeComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
connect(colorComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
472,6 → 510,7
disconnect(toolText, SIGNAL(clicked()), this, SLOT(setTool()));
disconnect(toolLine, SIGNAL(clicked()), this, SLOT(setTool()));
disconnect(toolZoom, SIGNAL(clicked()), this, SLOT(setTool()));
disconnect(toolMisc, SIGNAL(clicked()), this, SLOT(setTool()));
disconnect(fontComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
disconnect(sizeComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
disconnect(colorComboText, SIGNAL(activated(int)), this, SLOT(setSample()));
847,6 → 886,9
maximumZoom->setValue(prefsData->magMax);
zoomStep->setValue( prefsData->magStep );
 
genDispX->setValue(prefsData->dispX);
genDispY->setValue(prefsData->dispY);
 
setSample();
 
enableSignals(true);
990,6 → 1032,8
subStackTools->raiseWidget(4);
if (toolZoom == sender())
subStackTools->raiseWidget(5);
if (toolMisc == sender())
subStackTools->raiseWidget(6);
}
 
void TabTools::enableFontPreview(bool state)
1008,4 → 1052,8
gapText->setValues(oldMin * invUnitConversion, oldMax * invUnitConversion, decimals, val * invUnitConversion);
gapTab->getValues(&oldMin, &oldMax, &decimalsOld, &val);
gapTab->setValues(oldMin * invUnitConversion, oldMax * invUnitConversion, decimals, val * invUnitConversion);
genDispX->getValues(&oldMin, &oldMax, &decimalsOld, &val);
genDispX->setValues(oldMin * invUnitConversion, oldMax * invUnitConversion, decimals, val * invUnitConversion);
genDispY->getValues(&oldMin, &oldMax, &decimalsOld, &val);
genDispY->setValues(oldMin * invUnitConversion, oldMax * invUnitConversion, decimals, val * invUnitConversion);
}
/branches/Version13x/Scribus/scribus/icons/configure.png
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/Version13x/Scribus/scribus/icons/Makefile.am
===================================================================
--- branches/Version13x/Scribus/scribus/icons/Makefile.am (revision 6605)
+++ branches/Version13x/Scribus/scribus/icons/Makefile.am (revision 6606)
@@ -1,4 +1,4 @@
-EXTRA_DIST = previewOn.png previewOff.png curvelinear.png curvebezier.png curve.png invert.png page16.png pagedouble16.png pagequadro16.png pagesingle16.png pagetriple16.png viewmag1.png viewmagout.png viewmagin.png register.png cmyk.png rgb.png spot.png alert.png pagedouble.png pagequadro.png pagesingle.png pagetriple.png mover.png above.png below.png firstline.png leftindent.png rightindent.png shade.png linespacing.png linespacing2.png textbase.png textscaleh.png textkern.png textscalev.png wordsOnly.png shadow.png AllCaps.png DrawFrame.xpm DrawImageFrame.xpm DrawPolylineFrame.xpm DrawTable.xpm DrawTextFrame.xpm plugins.png shortwords.png filenew.png fileopen.png editcopy22.png edittrash.png font_otf16.png font_truetype16.png font_type1_16.png font_otf.png font_truetype.png font_type1.png acroread.png checkdoc.png vectorgfx.png ooo_draw.png ooo_writer.png key_bindings.png blend.png hyphenate.png scrap.png misc.png externaltools.png tools.png page.png guides.png font.png typography.png screen.png nftabout.xpm nftinfo.xpm dist.png dist22.png tab.png view.png Kreuz.xpm Bild.xpm Bild16.xpm Editm.xpm Kreise.xpm Lock.xpm Lupe.xpm Rechtecke.xpm Rotieren.xpm Stift16.xpm Stift.xpm Text.xpm Text16.xpm Unlock.xpm DateiClose.png DateiNeu.xpm DateiOpen.xpm DateiPrint.xpm DateiSave2.png AppIcon2.png AppIcon.png LupeZ.xpm DragPix.xpm Rotieren2.png HandC.xpm scribus_logo.jpg DateiClos16.png DateiNeu16.png DateiOpen16.png DateiPrint16.png DateiSave16.png editcopy.png editcut.png editcut22.png editdelete.png editdelete22.png editpaste.png exit.png doc.png image.png pdf.png postscript.png txt.png Zeichen.xpm Hoch.xpm Kapital.xpm Strike.xpm Tief.xpm Unter.xpm Kern.xpm Spacing.xpm Corner.xpm FlipH.xpm FlipV.xpm Winkel.xpm acrobat.png scribusicon.png text_block.png text_center.png text_left.png text_right.png Text2.xpm spline16.png spline.png triangle.png Stiftalt.xpm Stiftalt16.xpm beziertool.png beziertool16.png AddNode.png DeleteNode.png MoveAsym.png MoveKontrol.png MoveNode.png MoveSym.png BevelJoin.png ButtCap.png MiterJoin.png RoundJoin.png SquareCap.png ResetNode.png RoundCap.png Reset1Node.png BezierClose.png PolyCut.png AddPoint.png DelPoint.png Split.png Deletelayer.png Layervisible.xpm Lowerlayer.png Newlayer.png Raiselayer.png checkbox.png combobox.png listbox.png pushbutton.png textview.png charset.png goto.png document2.png trashcan.png trashcan2.png gohome.png bottom.png down.png top.png up.png irreg.png text_force.png ok.png ok22.png Revers.png hmirror.png vmirror.png shear_right.png shear_left.png shear_up.png shear_down.png Splash.png back.png start.png forward.png finish.png penciladd.png pencilsub.png outlined.png fill.png NoPrint.png unlock.png locked.png signature.png signature2.png rotate_cw.png rotate_ccw.png crop.png expand.png frameresize.png framenoresize.png testfill.png frame_table16.png frame_table.png scribusdoc.png scribusdoc16.png documentinfo.png documentinfo32.png filesaveas.png revert.png reload.png compfile.png reload16.png compfile16.png find.png find16.png addf.png removef.png launch.png launch16.png \
+EXTRA_DIST = configure.png previewOn.png previewOff.png curvelinear.png curvebezier.png curve.png invert.png page16.png pagedouble16.png pagequadro16.png pagesingle16.png pagetriple16.png viewmag1.png viewmagout.png viewmagin.png register.png cmyk.png rgb.png spot.png alert.png pagedouble.png pagequadro.png pagesingle.png pagetriple.png mover.png above.png below.png firstline.png leftindent.png rightindent.png shade.png linespacing.png linespacing2.png textbase.png textscaleh.png textkern.png textscalev.png wordsOnly.png shadow.png AllCaps.png DrawFrame.xpm DrawImageFrame.xpm DrawPolylineFrame.xpm DrawTable.xpm DrawTextFrame.xpm plugins.png shortwords.png filenew.png fileopen.png editcopy22.png edittrash.png font_otf16.png font_truetype16.png font_type1_16.png font_otf.png font_truetype.png font_type1.png acroread.png checkdoc.png vectorgfx.png ooo_draw.png ooo_writer.png key_bindings.png blend.png hyphenate.png scrap.png misc.png externaltools.png tools.png page.png guides.png font.png typography.png screen.png nftabout.xpm nftinfo.xpm dist.png dist22.png tab.png view.png Kreuz.xpm Bild.xpm Bild16.xpm Editm.xpm Kreise.xpm Lock.xpm Lupe.xpm Rechtecke.xpm Rotieren.xpm Stift16.xpm Stift.xpm Text.xpm Text16.xpm Unlock.xpm DateiClose.png DateiNeu.xpm DateiOpen.xpm DateiPrint.xpm DateiSave2.png AppIcon2.png AppIcon.png LupeZ.xpm DragPix.xpm Rotieren2.png HandC.xpm scribus_logo.jpg DateiClos16.png DateiNeu16.png DateiOpen16.png DateiPrint16.png DateiSave16.png editcopy.png editcut.png editcut22.png editdelete.png editdelete22.png editpaste.png exit.png doc.png image.png pdf.png postscript.png txt.png Zeichen.xpm Hoch.xpm Kapital.xpm Strike.xpm Tief.xpm Unter.xpm Kern.xpm Spacing.xpm Corner.xpm FlipH.xpm FlipV.xpm Winkel.xpm acrobat.png scribusicon.png text_block.png text_center.png text_left.png text_right.png Text2.xpm spline16.png spline.png triangle.png Stiftalt.xpm Stiftalt16.xpm beziertool.png beziertool16.png AddNode.png DeleteNode.png MoveAsym.png MoveKontrol.png MoveNode.png MoveSym.png BevelJoin.png ButtCap.png MiterJoin.png RoundJoin.png SquareCap.png ResetNode.png RoundCap.png Reset1Node.png BezierClose.png PolyCut.png AddPoint.png DelPoint.png Split.png Deletelayer.png Layervisible.xpm Lowerlayer.png Newlayer.png Raiselayer.png checkbox.png combobox.png listbox.png pushbutton.png textview.png charset.png goto.png document2.png trashcan.png trashcan2.png gohome.png bottom.png down.png top.png up.png irreg.png text_force.png ok.png ok22.png Revers.png hmirror.png vmirror.png shear_right.png shear_left.png shear_up.png shear_down.png Splash.png back.png start.png forward.png finish.png penciladd.png pencilsub.png outlined.png fill.png NoPrint.png unlock.png locked.png signature.png signature2.png rotate_cw.png rotate_ccw.png crop.png expand.png frameresize.png framenoresize.png testfill.png frame_table16.png frame_table.png scribusdoc.png scribusdoc16.png documentinfo.png documentinfo32.png filesaveas.png revert.png reload.png compfile.png reload16.png compfile16.png find.png find16.png addf.png removef.png launch.png launch16.png \
u_undo.png u_redo.png u_undo16.png u_redo16.png u_margins.png u_margins_locked.png u_align.png u_move.png u_resize.png u_rotate.png u_group.png u_fill.png u_shade.png u_lock.png u_unlock.png u_create.png u_delete.png u_fliph.png u_flipv.png u_cut.png u_transp.png u_line.png u_arrow.png u_font.png u_svg.png u_eps.png u_scale_image.png u_shape.png u_enableprint.png u_disableprint.png \
docattributes.png tabtocindex.png colorpicker.png wizard.png flow-bounding.png flow-contour.png flow-frame.png flow-none.png\
al_bottom_in.png al_bottom_out.png al_center_hor.png al_center_ver.png al_left_in.png al_left_out.png al_right_in.png al_right_out.png al_top_in.png al_top_out.png distribute_acrosspage.png distribute_acrossmargins.png distribute_bottom.png distribute_downpage.png distribute_downmargins.png distribute_hcentre.png \
@@ -134,6 +134,7 @@
$(mkinstalldirs) $(prefix)/share/scribus/icons/16/
$(mkinstalldirs) $(prefix)/share/scribus/icons/22/
$(mkinstalldirs) $(prefix)/share/pixmaps/
+ $(INSTALL_DATA) $(srcdir)/configure.png $(prefix)/share/scribus/icons/configure.png
$(INSTALL_DATA) $(srcdir)/previewOn.png $(prefix)/share/scribus/icons/previewOn.png
$(INSTALL_DATA) $(srcdir)/previewOff.png $(prefix)/share/scribus/icons/previewOff.png
$(INSTALL_DATA) $(srcdir)/curvelinear.png $(prefix)/share/scribus/icons/curvelinear.png
@@ -994,3 +995,4 @@
-rm -f $(prefix)/share/scribus/icons/layer-outline.png
-rm -f $(prefix)/share/scribus/icons/previewOn.png
-rm -f $(prefix)/share/scribus/icons/previewOff.png
+ -rm -f $(prefix)/share/scribus/icons/configure.png
Index: branches/Version13x/Scribus/scribus/icons/CMakeLists.txt
===================================================================
--- branches/Version13x/Scribus/scribus/icons/CMakeLists.txt (revision 6605)
+++ branches/Version13x/Scribus/scribus/icons/CMakeLists.txt (revision 6606)
@@ -41,6 +41,7 @@
colorpicker.png
compfile16.png
compfile.png
+configure.png
Corner.xpm
crop.png
curve.png
Index: branches/Version13x/Scribus/scribus/scribus.cpp
===================================================================
--- branches/Version13x/Scribus/scribus/scribus.cpp (revision 6605)
+++ branches/Version13x/Scribus/scribus/scribus.cpp (revision 6606)
@@ -353,8 +353,6 @@
view = NULL;
doc = NULL;
Buffer2 = "";
- DispX = 10;
- DispY = 10;
DocNr = 1;
PrinterUsed = false;
PDef.Pname = "";
@@ -7127,7 +7125,7 @@
for (uint b=0; b<doc->m_Selection->count(); ++b)
{
doc->m_Selection->itemAt(b)->setLocked(false);
- view->MoveItem(DispX, DispY, doc->m_Selection->itemAt(b));
+ view->MoveItem(doc->toolSettings.dispX, doc->toolSettings.dispY, doc->m_Selection->itemAt(b));
}
doc->useRaster = savedAlignGrid;
doc->SnapGuides = savedAlignGuides;
Index: branches/Version13x/Scribus/scribus/reformdoc.cpp
===================================================================
--- branches/Version13x/Scribus/scribus/reformdoc.cpp (revision 6605)
+++ branches/Version13x/Scribus/scribus/reformdoc.cpp (revision 6606)
@@ -458,6 +458,8 @@
}
else
viewToRecalcPictureRes=false;
+ currDoc->toolSettings.dispX = tabTools->genDispX->value();
+ currDoc->toolSettings.dispY = tabTools->genDispY->value();
tabTools->polyWidget->getValues(&currDoc->toolSettings.polyC, &currDoc->toolSettings.polyFd, &currDoc->toolSettings.polyF, &currDoc->toolSettings.polyS, &currDoc->toolSettings.polyR);
currDoc->AutoSave = tabPage->GroupAS->isChecked();
currDoc->AutoSaveTime = tabPage->ASTime->value() * 60 * 1000;
Index: branches/Version13x/Scribus/scribus/scribusdoc.cpp
===================================================================
--- branches/Version13x/Scribus/scribus/scribusdoc.cpp (revision 6605)
+++ branches/Version13x/Scribus/scribus/scribusdoc.cpp (revision 6606)
@@ -306,6 +306,8 @@
toolSettings.defFont = prefsData.toolSettings.defFont;
toolSettings.defSize = prefsData.toolSettings.defSize;
toolSettings.tabFillChar = prefsData.toolSettings.tabFillChar;
+ toolSettings.dispX = prefsData.toolSettings.dispX;
+ toolSettings.dispY = prefsData.toolSettings.dispY;
PageColors.insert("Black", ScColor(0, 0, 0, 255));
PageColors.insert("White", ScColor(0, 0, 0, 0));
/branches/Version13x/Scribus/scribus/plugins/fileloader/scribus134format/scribus134format.cpp
454,6 → 454,8
m_Doc->toolSettings.magMin = dc.attribute("MAGMIN", "10").toInt();
m_Doc->toolSettings.magMax = dc.attribute("MAGMAX", "3200").toInt();
m_Doc->toolSettings.magStep = dc.attribute("MAGSTEP", "200").toInt();
m_Doc->toolSettings.dispX = dc.attribute("dispX", "10").toDouble();
m_Doc->toolSettings.dispY = dc.attribute("dispY", "10").toDouble();
//CB Reset doc zoom step value to 200% instead of old values.
if (m_Doc->toolSettings.magStep<100)
m_Doc->toolSettings.magStep=200;
1452,6 → 1454,8
dc.setAttribute("PASPECT", static_cast<int>(m_Doc->toolSettings.aspectRatio));
dc.setAttribute("EmbeddedPath", static_cast<int>(m_Doc->toolSettings.useEmbeddedPath));
dc.setAttribute("HalfRes", m_Doc->toolSettings.lowResType);
dc.setAttribute("dispX", m_Doc->toolSettings.dispX);
dc.setAttribute("dispY", m_Doc->toolSettings.dispY);
dc.setAttribute("MINORC",m_Doc->guidesSettings.minorColor.name());
dc.setAttribute("MAJORC",m_Doc->guidesSettings.majorColor.name());
dc.setAttribute("GuideC", m_Doc->guidesSettings.guideColor.name());
/branches/Version13x/Scribus/scribus/scribus.h
180,8 → 180,6
QString Buffer2;
QString Buffer3;
bool BuFromApp;
double DispX;
double DispY;
int HaveDoc;
PrefsContext* dirs;
/** \brief view is the main widget which represents your working area. The View