#include <kis_selection_manager.h>
Inherits TQObject.
Public Slots | |
| void | updateGUI () |
| void | imgSelectionChanged (KisImageSP img) |
| void | clipboardDataChanged () |
| void | cut () |
| void | copy () |
| KisLayerSP | paste () |
| void | pasteNew () |
| void | cutToNewLayer () |
| void | selectAll () |
| void | deselect () |
| void | clear () |
| void | fillForegroundColor () |
| void | fillBackgroundColor () |
| void | fillPattern () |
| void | reselect () |
| void | invert () |
| void | copySelectionToNewLayer () |
| void | feather () |
| void | border () |
| void | expand () |
| void | contract () |
| void | smooth () |
| void | similar () |
| void | transform () |
| void | load () |
| void | save () |
| void | toggleDisplaySelection () |
Public Member Functions | |
| KisSelectionManager (KisView *parent, KisDoc *doc) | |
| void | setup (TDEActionCollection *collection) |
| void | addSelectionAction (TDEAction *action) |
| bool | displaySelection () |
| void | grow (TQ_INT32 xradius, TQ_INT32 yradius) |
| void | shrink (TQ_INT32 xradius, TQ_INT32 yradius, bool edge_lock) |
| void | border (TQ_INT32 xradius, TQ_INT32 yradius) |
| void | erode () |
| void | dilate () |
Detailed Description
The selection manager is responsible selections and the clipboard.
Definition at line 36 of file kis_selection_manager.h.
Constructor & Destructor Documentation
◆ KisSelectionManager()
| KisSelectionManager::KisSelectionManager | ( | KisView * | parent, |
| KisDoc * | doc | ||
| ) |
Definition at line 63 of file kis_selection_manager.cpp.
◆ ~KisSelectionManager()
|
virtual |
Definition at line 94 of file kis_selection_manager.cpp.
Member Function Documentation
◆ addSelectionAction()
| void KisSelectionManager::addSelectionAction | ( | TDEAction * | action | ) |
Definition at line 249 of file kis_selection_manager.cpp.
◆ border [1/2]
|
slot |
Definition at line 769 of file kis_selection_manager.cpp.
◆ border() [2/2]
| void KisSelectionManager::border | ( | TQ_INT32 | xradius, |
| TQ_INT32 | yradius | ||
| ) |
Definition at line 1311 of file kis_selection_manager.cpp.
◆ clear
|
slot |
Definition at line 553 of file kis_selection_manager.cpp.
◆ clipboardDataChanged
|
slot |
Definition at line 243 of file kis_selection_manager.cpp.
◆ contract
|
slot |
Definition at line 771 of file kis_selection_manager.cpp.
◆ copy
|
slot |
Definition at line 369 of file kis_selection_manager.cpp.
◆ copySelectionToNewLayer
|
slot |
Definition at line 678 of file kis_selection_manager.cpp.
◆ cut
|
slot |
Definition at line 341 of file kis_selection_manager.cpp.
◆ cutToNewLayer
|
slot |
Definition at line 690 of file kis_selection_manager.cpp.
◆ deselect
|
slot |
Definition at line 527 of file kis_selection_manager.cpp.
◆ dilate()
| void KisSelectionManager::dilate | ( | ) |
Definition at line 1239 of file kis_selection_manager.cpp.
◆ displaySelection()
| bool KisSelectionManager::displaySelection | ( | ) |
This function return if the selection should be displayed.
Definition at line 764 of file kis_selection_manager.cpp.
◆ erode()
| void KisSelectionManager::erode | ( | ) |
Definition at line 1164 of file kis_selection_manager.cpp.
◆ expand
|
slot |
Definition at line 770 of file kis_selection_manager.cpp.
◆ feather
|
slot |
Definition at line 703 of file kis_selection_manager.cpp.
◆ fillBackgroundColor
|
slot |
Definition at line 619 of file kis_selection_manager.cpp.
◆ fillForegroundColor
|
slot |
Definition at line 614 of file kis_selection_manager.cpp.
◆ fillPattern
|
slot |
Definition at line 624 of file kis_selection_manager.cpp.
◆ grow()
| void KisSelectionManager::grow | ( | TQ_INT32 | xradius, |
| TQ_INT32 | yradius | ||
| ) |
Definition at line 780 of file kis_selection_manager.cpp.
◆ imgSelectionChanged
|
slot |
Definition at line 334 of file kis_selection_manager.cpp.
◆ invert
|
slot |
Definition at line 650 of file kis_selection_manager.cpp.
◆ load
|
slot |
Definition at line 774 of file kis_selection_manager.cpp.
◆ paste
|
slot |
Definition at line 417 of file kis_selection_manager.cpp.
◆ pasteNew
|
slot |
Definition at line 464 of file kis_selection_manager.cpp.
◆ reselect
|
slot |
Definition at line 629 of file kis_selection_manager.cpp.
◆ save
|
slot |
Definition at line 775 of file kis_selection_manager.cpp.
◆ selectAll
|
slot |
Definition at line 499 of file kis_selection_manager.cpp.
◆ setup()
| void KisSelectionManager::setup | ( | TDEActionCollection * | collection | ) |
Definition at line 100 of file kis_selection_manager.cpp.
◆ shrink()
| void KisSelectionManager::shrink | ( | TQ_INT32 | xradius, |
| TQ_INT32 | yradius, | ||
| bool | edge_lock | ||
| ) |
Definition at line 930 of file kis_selection_manager.cpp.
◆ similar
|
slot |
Definition at line 772 of file kis_selection_manager.cpp.
◆ smooth
|
slot |
Definition at line 1095 of file kis_selection_manager.cpp.
◆ toggleDisplaySelection
|
slot |
Definition at line 759 of file kis_selection_manager.cpp.
◆ transform
|
slot |
Definition at line 773 of file kis_selection_manager.cpp.
◆ updateGUI
|
slot |
Definition at line 255 of file kis_selection_manager.cpp.
The documentation for this class was generated from the following files:
