chalk

KisSelectionManager Class Reference

#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()

KisSelectionManager::~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]

void KisSelectionManager::border ( )
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

void KisSelectionManager::clear ( )
slot

Definition at line 553 of file kis_selection_manager.cpp.

◆ clipboardDataChanged

void KisSelectionManager::clipboardDataChanged ( )
slot

Definition at line 243 of file kis_selection_manager.cpp.

◆ contract

void KisSelectionManager::contract ( )
slot

Definition at line 771 of file kis_selection_manager.cpp.

◆ copy

void KisSelectionManager::copy ( )
slot

Definition at line 369 of file kis_selection_manager.cpp.

◆ copySelectionToNewLayer

void KisSelectionManager::copySelectionToNewLayer ( )
slot

Definition at line 678 of file kis_selection_manager.cpp.

◆ cut

void KisSelectionManager::cut ( )
slot

Definition at line 341 of file kis_selection_manager.cpp.

◆ cutToNewLayer

void KisSelectionManager::cutToNewLayer ( )
slot

Definition at line 690 of file kis_selection_manager.cpp.

◆ deselect

void KisSelectionManager::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

void KisSelectionManager::expand ( )
slot

Definition at line 770 of file kis_selection_manager.cpp.

◆ feather

void KisSelectionManager::feather ( )
slot

Definition at line 703 of file kis_selection_manager.cpp.

◆ fillBackgroundColor

void KisSelectionManager::fillBackgroundColor ( )
slot

Definition at line 619 of file kis_selection_manager.cpp.

◆ fillForegroundColor

void KisSelectionManager::fillForegroundColor ( )
slot

Definition at line 614 of file kis_selection_manager.cpp.

◆ fillPattern

void KisSelectionManager::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

void KisSelectionManager::imgSelectionChanged ( KisImageSP  img)
slot

Definition at line 334 of file kis_selection_manager.cpp.

◆ invert

void KisSelectionManager::invert ( )
slot

Definition at line 650 of file kis_selection_manager.cpp.

◆ load

void KisSelectionManager::load ( )
slot

Definition at line 774 of file kis_selection_manager.cpp.

◆ paste

KisLayerSP KisSelectionManager::paste ( )
slot

Definition at line 417 of file kis_selection_manager.cpp.

◆ pasteNew

void KisSelectionManager::pasteNew ( )
slot

Definition at line 464 of file kis_selection_manager.cpp.

◆ reselect

void KisSelectionManager::reselect ( )
slot

Definition at line 629 of file kis_selection_manager.cpp.

◆ save

void KisSelectionManager::save ( )
slot

Definition at line 775 of file kis_selection_manager.cpp.

◆ selectAll

void KisSelectionManager::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

void KisSelectionManager::similar ( )
slot

Definition at line 772 of file kis_selection_manager.cpp.

◆ smooth

void KisSelectionManager::smooth ( )
slot

Definition at line 1095 of file kis_selection_manager.cpp.

◆ toggleDisplaySelection

void KisSelectionManager::toggleDisplaySelection ( )
slot

Definition at line 759 of file kis_selection_manager.cpp.

◆ transform

void KisSelectionManager::transform ( )
slot

Definition at line 773 of file kis_selection_manager.cpp.

◆ updateGUI

void KisSelectionManager::updateGUI ( )
slot

Definition at line 255 of file kis_selection_manager.cpp.


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