|
|
|
@ -325,7 +325,7 @@ ImageView::ImageView(TQWidget* parent,Document* document, TDEActionCollection* a
|
|
|
|
|
d->mTools[d->mToolID]->updateCursor();
|
|
|
|
|
|
|
|
|
|
// Create actions
|
|
|
|
|
d->mZoomToFit=new TDEToggleAction(i18n("Fit to &Window"),"viewmagfit",0,d->mActionCollection,"view_zoom_to_fit");
|
|
|
|
|
d->mZoomToFit=new TDEToggleAction(i18n("Fit to &Window"),"zoom-fit-best",0,d->mActionCollection,"view_zoom_to_fit");
|
|
|
|
|
connect(d->mZoomToFit,TQT_SIGNAL(toggled(bool)),
|
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(setZoomToFit(bool)) );
|
|
|
|
|
d->mZoomToWidth=new TDEToggleAction(i18n("Fit to &Width"),0,0,d->mActionCollection,"view_zoom_to_width");
|
|
|
|
@ -340,7 +340,7 @@ ImageView::ImageView(TQWidget* parent,Document* document, TDEActionCollection* a
|
|
|
|
|
d->mZoomOut=KStdAction::zoomOut(TQT_TQOBJECT(this),TQT_SLOT(slotZoomOut()),d->mActionCollection);
|
|
|
|
|
|
|
|
|
|
d->mResetZoom=KStdAction::actualSize(TQT_TQOBJECT(this),TQT_SLOT(slotResetZoom()),d->mActionCollection);
|
|
|
|
|
d->mResetZoom->setIcon("viewmag1");
|
|
|
|
|
d->mResetZoom->setIcon("zoom-original");
|
|
|
|
|
|
|
|
|
|
d->mLockZoom=new TDEToggleAction(i18n("&Lock Zoom"),"system-lock-screen",0,d->mActionCollection,"view_zoom_lock");
|
|
|
|
|
d->mLockZoom->setChecked(ImageViewConfig::lockZoom());
|
|
|
|
|