|
Krita Source Code Documentation
|
#include <KoToolSelection.h>
Inheritance diagram for KoToolSelection:Public Member Functions | |
| virtual bool | hasSelection () |
| return true if the tool currently has something selected that can be copied or deleted. | |
| KoToolSelection (QObject *parent=0) | |
| ~KoToolSelection () override | |
Each tool can have a selection which is private to that tool and the specified shape that it comes with. This object is provided for applications to operate on that selection. Copy paste come to mind, but also marking the selected text bold.
Definition at line 18 of file KoToolSelection.h.
|
explicit |
Constructor.
| parent | a parent for memory management purposes. |
Definition at line 9 of file KoToolSelection.cpp.
|
override |
Definition at line 14 of file KoToolSelection.cpp.
|
inlinevirtual |
return true if the tool currently has something selected that can be copied or deleted.
Reimplemented in KoPathToolSelection, SelectionHandler, and SvgTextCursor.
Definition at line 30 of file KoToolSelection.h.