|
|
@ -356,7 +356,7 @@ void EditorWindow::setupStandardActions()
|
|
|
|
d->zoomMinusAction = KStdAction::zoomOut(TQT_TQOBJECT(this), TQT_SLOT(slotDecreaseZoom()),
|
|
|
|
d->zoomMinusAction = KStdAction::zoomOut(TQT_TQOBJECT(this), TQT_SLOT(slotDecreaseZoom()),
|
|
|
|
actionCollection(), "editorwindow_zoomminus");
|
|
|
|
actionCollection(), "editorwindow_zoomminus");
|
|
|
|
|
|
|
|
|
|
|
|
d->zoomTo100percents = new TDEAction(i18n("Zoom to 100%"), "viewmag1",
|
|
|
|
d->zoomTo100percents = new TDEAction(i18n("Zoom to 100%"), "zoom-original",
|
|
|
|
ALT+CTRL+Key_0, // NOTE: Photoshop 7 use ALT+CTRL+0.
|
|
|
|
ALT+CTRL+Key_0, // NOTE: Photoshop 7 use ALT+CTRL+0.
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotZoomTo100Percents()),
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotZoomTo100Percents()),
|
|
|
|
actionCollection(), "editorwindow_zoomto100percents");
|
|
|
|
actionCollection(), "editorwindow_zoomto100percents");
|
|
|
@ -367,7 +367,7 @@ void EditorWindow::setupStandardActions()
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotToggleFitToWindow()),
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotToggleFitToWindow()),
|
|
|
|
actionCollection(), "editorwindow_zoomfit2window");
|
|
|
|
actionCollection(), "editorwindow_zoomfit2window");
|
|
|
|
|
|
|
|
|
|
|
|
d->zoomFitToSelectAction = new TDEAction(i18n("Fit to &Selection"), "viewmagfit",
|
|
|
|
d->zoomFitToSelectAction = new TDEAction(i18n("Fit to &Selection"), "zoom-fit-best",
|
|
|
|
ALT+CTRL+Key_S, TQT_TQOBJECT(this), TQT_SLOT(slotFitToSelect()),
|
|
|
|
ALT+CTRL+Key_S, TQT_TQOBJECT(this), TQT_SLOT(slotFitToSelect()),
|
|
|
|
actionCollection(), "editorwindow_zoomfit2select");
|
|
|
|
actionCollection(), "editorwindow_zoomfit2select");
|
|
|
|
d->zoomFitToSelectAction->setEnabled(false);
|
|
|
|
d->zoomFitToSelectAction->setEnabled(false);
|
|
|
@ -401,7 +401,7 @@ void EditorWindow::setupStandardActions()
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotZoomTextChanged(const TQString &)) );
|
|
|
|
TQT_TQOBJECT(this), TQT_SLOT(slotZoomTextChanged(const TQString &)) );
|
|
|
|
|
|
|
|
|
|
|
|
// Do not use std KDE action for full screen because action text is too large for app. toolbar.
|
|
|
|
// Do not use std KDE action for full screen because action text is too large for app. toolbar.
|
|
|
|
m_fullScreenAction = new TDEToggleAction(i18n("Full Screen"), "window_fullscreen",
|
|
|
|
m_fullScreenAction = new TDEToggleAction(i18n("Full Screen"), "view-fullscreen",
|
|
|
|
CTRL+SHIFT+Key_F, TQT_TQOBJECT(this),
|
|
|
|
CTRL+SHIFT+Key_F, TQT_TQOBJECT(this),
|
|
|
|
TQT_SLOT(slotToggleFullScreen()),
|
|
|
|
TQT_SLOT(slotToggleFullScreen()),
|
|
|
|
actionCollection(), "editorwindow_fullscreen");
|
|
|
|
actionCollection(), "editorwindow_fullscreen");
|
|
|
@ -456,13 +456,13 @@ void EditorWindow::setupStandardActions()
|
|
|
|
// -- Standard 'Rotate' menu actions ----------------------------------------
|
|
|
|
// -- Standard 'Rotate' menu actions ----------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
d->rotateLeftAction = new TDEAction(i18n("Rotate Left"),
|
|
|
|
d->rotateLeftAction = new TDEAction(i18n("Rotate Left"),
|
|
|
|
"rotate_ccw", SHIFT+CTRL+Key_Left,
|
|
|
|
"object-rotate-left", SHIFT+CTRL+Key_Left,
|
|
|
|
TQT_TQOBJECT(m_canvas), TQT_SLOT(slotRotate270()),
|
|
|
|
TQT_TQOBJECT(m_canvas), TQT_SLOT(slotRotate270()),
|
|
|
|
actionCollection(),
|
|
|
|
actionCollection(),
|
|
|
|
"editorwindow_rotate_left");
|
|
|
|
"editorwindow_rotate_left");
|
|
|
|
d->rotateLeftAction->setEnabled(false);
|
|
|
|
d->rotateLeftAction->setEnabled(false);
|
|
|
|
d->rotateRightAction = new TDEAction(i18n("Rotate Right"),
|
|
|
|
d->rotateRightAction = new TDEAction(i18n("Rotate Right"),
|
|
|
|
"rotate_cw", SHIFT+CTRL+Key_Right,
|
|
|
|
"object-rotate-right", SHIFT+CTRL+Key_Right,
|
|
|
|
TQT_TQOBJECT(m_canvas), TQT_SLOT(slotRotate90()),
|
|
|
|
TQT_TQOBJECT(m_canvas), TQT_SLOT(slotRotate90()),
|
|
|
|
actionCollection(),
|
|
|
|
actionCollection(),
|
|
|
|
"editorwindow_rotate_right");
|
|
|
|
"editorwindow_rotate_right");
|
|
|
|