KisAlternateInvocationAction::KisAlternateInvocationAction(KisInputManager *manager) : KisAbstractInputAction(manager) { setName(i18n("Alternate Invocation")); setDescription(i18n("Alternate Invocation performs an alternate action with the current tool. For example, using the brush tool it picks a color from the canvas.")); QHash<QString, int> shortcuts; shortcuts.insert(i18n("Toggle Primary Mode"), PrimaryAlternateToggleShortcut); shortcuts.insert(i18n("Toggle Secondary Mode"), SecondaryAlternateToggleShortcut); setShortcutIndexes(shortcuts); }
KisPanAction::KisPanAction(KisInputManager *manager) : KisAbstractInputAction(manager), d(new Private) { setName(i18n("Pan Canvas")); QHash<QString, int> shortcuts; shortcuts.insert(i18n("Toggle Pan Mode"), PanToggleShortcut); shortcuts.insert(i18n("Pan Left"), PanLeftShortcut); shortcuts.insert(i18n("Pan Right"), PanRightShortcut); shortcuts.insert(i18n("Pan Up"), PanUpShortcut); shortcuts.insert(i18n("Pan Down"), PanDownShortcut); setShortcutIndexes(shortcuts); }
KisRotateCanvasAction::KisRotateCanvasAction() : KisAbstractInputAction("Rotate Canvas") , d(new Private()) { setName(i18n("Rotate Canvas")); setDescription(i18n("The <i>Rotate Canvas</i> action rotates the canvas.")); QHash<QString, int> shortcuts; shortcuts.insert(i18n("Rotate Mode"), RotateModeShortcut); shortcuts.insert(i18n("Discrete Rotate Mode"), DiscreteRotateModeShortcut); shortcuts.insert(i18n("Rotate Left"), RotateLeftShortcut); shortcuts.insert(i18n("Rotate Right"), RotateRightShortcut); shortcuts.insert(i18n("Reset Rotation"), RotateResetShortcut); setShortcutIndexes(shortcuts); }
KisAlternateInvocationAction::KisAlternateInvocationAction() : KisAbstractInputAction("Alternate Invocation") , m_d(new Private) { setName(i18n("Alternate Invocation")); setDescription(i18n("The <i>Alternate Invocation</i> action performs an alternate action with the current tool. For example, using the brush tool it picks a color from the canvas.")); QHash<QString, int> shortcuts; shortcuts.insert(i18n("Primary Mode"), PrimaryAlternateModeShortcut); shortcuts.insert(i18n("Secondary Mode"), SecondaryAlternateModeShortcut); shortcuts.insert(i18n("Pick Foreground Color from Current Layer"), PickColorFgLayerModeShortcut); shortcuts.insert(i18n("Pick Background Color from Current Layer"), PickColorBgLayerModeShortcut); shortcuts.insert(i18n("Pick Foreground Color from Merged Image"), PickColorFgImageModeShortcut); shortcuts.insert(i18n("Pick Background Color from Merged Image"), PickColorBgImageModeShortcut); setShortcutIndexes(shortcuts); }
KisGammaExposureAction::KisGammaExposureAction() : KisAbstractInputAction("Exposure or Gamma") , d(new Private(this)) { setName(i18n("Exposure and Gamma")); setDescription(i18n("The <i>Exposure and Gamma</i> action changes the display mode of the canvas.")); QHash< QString, int > shortcuts; shortcuts.insert(i18n("Exposure Mode"), ExposureShortcut); shortcuts.insert(i18n("Gamma Mode"), GammaShortcut); shortcuts.insert(i18n("Exposure +0.5"), AddExposure05Shortcut); shortcuts.insert(i18n("Exposure -0.5"), RemoveExposure05Shortcut); shortcuts.insert(i18n("Gamma +0.5"), AddGamma05Shortcut); shortcuts.insert(i18n("Gamma -0.5"), RemoveGamma05Shortcut); shortcuts.insert(i18n("Exposure +0.2"), AddExposure02Shortcut); shortcuts.insert(i18n("Exposure -0.2"), RemoveExposure02Shortcut); shortcuts.insert(i18n("Gamma +0.2"), AddGamma02Shortcut); shortcuts.insert(i18n("Gamma -0.2"), RemoveGamma02Shortcut); shortcuts.insert(i18n("Reset Exposure and Gamma"), ResetExposureAndGammaShortcut); setShortcutIndexes(shortcuts); }