krita/ui

KisSelectionManager Class Reference

The selection manager is responsible selections and the clipboard. More...

#include <kis_selection_manager.h>

Inheritance diagram for KisSelectionManager:

List of all members.

Public Slots

void clear ()
void clipboardDataChanged ()
void copy ()
void copySelectionToNewLayer ()
void cut ()
void cutToNewLayer ()
void deleteSelection ()
void deselect ()
void feather ()
void fillBackgroundColor ()
void fillForegroundColor ()
void fillPattern ()
void invert ()
void paste ()
void pasteAt ()
void pasteNew ()
void reselect ()
void selectAll ()
void selectionChanged ()
void shapeSelectionChanged ()
void smooth ()
void toggleDisplaySelection ()
void updateGUI ()

Signals

void currentSelectionChanged ()

Public Member Functions

 KisSelectionManager (KisView2 *view, KisDoc2 *doc)
virtual ~KisSelectionManager ()
void addSelectionAction (QAction *action)
void border (qint32 xradius, qint32 yradius)
void dilate ()
bool displaySelection ()
void erode ()
void grow (qint32 xradius, qint32 yradius)
void paint (QPainter &gc, const KoViewConverter &converter)
void setup (KActionCollection *collection)
void shrink (qint32 xradius, qint32 yradius, bool edge_lock)

Detailed Description

The selection manager is responsible selections and the clipboard.

Definition at line 44 of file kis_selection_manager.h.


Constructor & Destructor Documentation

KisSelectionManager::KisSelectionManager ( KisView2 view,
KisDoc2 doc 
)

Definition at line 88 of file kis_selection_manager.cc.

KisSelectionManager::~KisSelectionManager (  )  [virtual]

Definition at line 124 of file kis_selection_manager.cc.


Member Function Documentation

void KisSelectionManager::addSelectionAction ( QAction action  ) 

Definition at line 233 of file kis_selection_manager.cc.

void KisSelectionManager::border ( qint32  xradius,
qint32  yradius 
)

Definition at line 1273 of file kis_selection_manager.cc.

void KisSelectionManager::clear (  )  [slot]

Definition at line 598 of file kis_selection_manager.cc.

void KisSelectionManager::clipboardDataChanged (  )  [slot]

Definition at line 227 of file kis_selection_manager.cc.

void KisSelectionManager::copy (  )  [slot]

Definition at line 397 of file kis_selection_manager.cc.

void KisSelectionManager::copySelectionToNewLayer (  )  [slot]

Definition at line 719 of file kis_selection_manager.cc.

void KisSelectionManager::currentSelectionChanged (  )  [signal]
void KisSelectionManager::cut (  )  [slot]

Definition at line 374 of file kis_selection_manager.cc.

void KisSelectionManager::cutToNewLayer (  )  [slot]

Definition at line 731 of file kis_selection_manager.cc.

void KisSelectionManager::deleteSelection (  )  [slot]

Definition at line 621 of file kis_selection_manager.cc.

void KisSelectionManager::deselect (  )  [slot]

Definition at line 575 of file kis_selection_manager.cc.

void KisSelectionManager::dilate (  ) 

Definition at line 1208 of file kis_selection_manager.cc.

bool KisSelectionManager::displaySelection (  ) 

This function return if the selection should be displayed.

Definition at line 794 of file kis_selection_manager.cc.

void KisSelectionManager::erode (  ) 

Definition at line 1140 of file kis_selection_manager.cc.

void KisSelectionManager::feather (  )  [slot]

Definition at line 744 of file kis_selection_manager.cc.

void KisSelectionManager::fillBackgroundColor (  )  [slot]

Definition at line 669 of file kis_selection_manager.cc.

void KisSelectionManager::fillForegroundColor (  )  [slot]

Definition at line 664 of file kis_selection_manager.cc.

void KisSelectionManager::fillPattern (  )  [slot]

Definition at line 674 of file kis_selection_manager.cc.

void KisSelectionManager::grow ( qint32  xradius,
qint32  yradius 
)

Definition at line 802 of file kis_selection_manager.cc.

void KisSelectionManager::invert (  )  [slot]

Definition at line 699 of file kis_selection_manager.cc.

void KisSelectionManager::paint ( QPainter gc,
const KoViewConverter converter 
)
void KisSelectionManager::paste (  )  [slot]

Definition at line 459 of file kis_selection_manager.cc.

void KisSelectionManager::pasteAt (  )  [slot]

Definition at line 512 of file kis_selection_manager.cc.

void KisSelectionManager::pasteNew (  )  [slot]

Definition at line 517 of file kis_selection_manager.cc.

void KisSelectionManager::reselect (  )  [slot]

Definition at line 679 of file kis_selection_manager.cc.

void KisSelectionManager::selectAll (  )  [slot]

Definition at line 556 of file kis_selection_manager.cc.

void KisSelectionManager::selectionChanged (  )  [slot]

Definition at line 368 of file kis_selection_manager.cc.

void KisSelectionManager::setup ( KActionCollection *  collection  ) 

Definition at line 130 of file kis_selection_manager.cc.

void KisSelectionManager::shapeSelectionChanged (  )  [slot]

Definition at line 1568 of file kis_selection_manager.cc.

void KisSelectionManager::shrink ( qint32  xradius,
qint32  yradius,
bool  edge_lock 
)

Definition at line 926 of file kis_selection_manager.cc.

void KisSelectionManager::smooth (  )  [slot]

Definition at line 1078 of file kis_selection_manager.cc.

void KisSelectionManager::toggleDisplaySelection (  )  [slot]

Definition at line 787 of file kis_selection_manager.cc.

void KisSelectionManager::updateGUI (  )  [slot]

Definition at line 239 of file kis_selection_manager.cc.


The documentation for this class was generated from the following files: