Changeset View
Changeset View
Standalone View
Standalone View
commands/tools/selection/kpToolSelectionResizeScaleCommand.h
Show First 20 Lines • Show All 76 Lines • ▼ Show 20 Line(s) | 76 | void resizeAndMoveTo (int width, int height, const QPoint &point, | |||
---|---|---|---|---|---|
77 | bool delayed = false); | 77 | bool delayed = false); | ||
78 | 78 | | |||
79 | protected: | 79 | protected: | ||
80 | void killSmoothScaleTimer (); | 80 | void killSmoothScaleTimer (); | ||
81 | 81 | | |||
82 | // If <delayed>, does a fast, low-quality scale and then calls itself | 82 | // If <delayed>, does a fast, low-quality scale and then calls itself | ||
83 | // with <delayed> unset for a smooth scale, a short time later. | 83 | // with <delayed> unset for a smooth scale, a short time later. | ||
84 | // If acting on a text box, <delayed> is ignored. | 84 | // If acting on a text box, <delayed> is ignored. | ||
85 | void resizeScaleAndMove (bool delayed); | 85 | void resizeScaleAndMove (bool delayed = false); | ||
86 | | ||||
87 | protected slots: | | |||
88 | void resizeScaleAndMove (/*delayed = false*/); | | |||
89 | 86 | | |||
90 | public: | 87 | public: | ||
91 | void finalize (); | 88 | void finalize (); | ||
92 | 89 | | |||
93 | public: | 90 | public: | ||
94 | void execute () override; | 91 | void execute () override; | ||
95 | void unexecute () override; | 92 | void unexecute () override; | ||
96 | 93 | | |||
Show All 11 Lines |