7#ifndef KISCHANGEPRIMARYSETTINGACTION_H
8#define KISCHANGEPRIMARYSETTINGACTION_H
30 void activate(
int shortcut)
override;
34 void begin(
int shortcut, QEvent *event)
override;
35 void end(QEvent *event)
override;
Change Primary Setting implementation of KisAbstractInputAction.
@ PrimaryAlternateChangeSizeShortcut
Default Mapping: Shift+Left Mouse.
@ SecondaryAlternateChangeSizeShortcut
Secondary Mode (snap to closest pixel value): Shift+Z+Left Mouse.
KisChangePrimarySettingAction()
void activate(int shortcut) override
KisTool::ToolAction savedAction
KisTool::ToolAction decodeAction(int shortcut) const
void inputEvent(QEvent *event) override
void end(QEvent *event) override
bool supportsHiResInputEvents(int shortcut) const override
~KisChangePrimarySettingAction() override
void deactivate(int shortcut) override
int priority() const override
void begin(int shortcut, QEvent *event) override