krita
KisView Class Reference
Inheritance diagram for KisView:

Detailed Description
Definition at line 113 of file kis_view.h.
Public Slots | |
void | slotSetFGColor (const KisColor &c) |
void | slotSetBGColor (const KisColor &c) |
void | rotateLayer180 () |
void | rotateLayerLeft90 () |
void | rotateLayerRight90 () |
void | mirrorLayerX () |
void | mirrorLayerY () |
void | scaleLayer (double sx, double sy, KisFilterStrategy *filterStrategy) |
void | rotateLayer (double radians) |
void | shearLayer (double angleX, double angleY) |
void | slotCreateMask () |
void | slotMaskFromSelection () |
void | slotMaskToSelection () |
void | slotApplyMask () |
void | slotRemoveMask () |
void | slotEditMask () |
void | slotShowMask () |
void | brushActivated (KisResource *brush) |
void | patternActivated (KisResource *pattern) |
void | gradientActivated (KisResource *gradient) |
void | paintopActivated (const KisID &paintop, const KisPaintOpSettings *paintopSettings) |
Signals | |
void | brushChanged (KisBrush *brush) |
void | gradientChanged (KisGradient *gradient) |
void | patternChanged (KisPattern *pattern) |
void | paintopChanged (KisID paintop, const KisPaintOpSettings *paintopSettings) |
void | currentColorSpaceChanged (KisColorSpace *cs) |
void | cursorPosition (Q_INT32 xpos, Q_INT32 ypos) |
void | sigFGQColorChanged (const QColor &) |
void | sigBGQColorChanged (const QColor &) |
void | sigInputDeviceChanged (const KisInputDevice &inputDevice) |
void | viewTransformationsChanged () |
Public Member Functions | |
KisView (KisDoc *doc, KisUndoAdapter *adapter, QWidget *parent=0, const char *name=0) | |
virtual | ~KisView () |
virtual QWidget * | createContainer (QWidget *parent, int index, const QDomElement &element, int &id) |
virtual void | removeContainer (QWidget *container, QWidget *parent, QDomElement &element, int id) |
virtual bool | eventFilter (QObject *o, QEvent *e) |
virtual DCOPObject * | dcopObject () |
virtual void | print (KPrinter &printer) |
virtual void | setupPrinter (KPrinter &printer) |
virtual void | updateReadWrite (bool readwrite) |
virtual void | guiActivateEvent (KParts::GUIActivateEvent *event) |
virtual int | leftBorder () const |
virtual int | rightBorder () const |
virtual int | topBorder () const |
virtual int | bottomBorder () const |
Q_INT32 | docWidth () const |
Q_INT32 | docHeight () const |
void | updateStatusBarSelectionLabel () |
virtual QPoint | applyViewTransformations (const QPoint &p) const |
virtual QPoint | reverseViewTransformations (const QPoint &p) const |
virtual void | canvasAddChild (KoViewChild *child) |
virtual void | mouseMoveEvent (QMouseEvent *e) |
void | resizeCurrentImage (Q_INT32 w, Q_INT32 h, bool cropLayers=false) |
void | scaleCurrentImage (double sx, double sy, KisFilterStrategy *filterStrategy) |
void | rotateCurrentImage (double radians) |
void | shearCurrentImage (double angleX, double angleY) |
void | insertPart (const QRect &viewRect, const KoDocumentEntry &entry, KisGroupLayerSP parent, KisLayerSP above) |
Q_INT32 | importImage (const KURL &url=KURL()) |
KisCanvasSubject * | canvasSubject () |
KisCanvasController * | getCanvasController () |
Protected Slots | |
virtual void | slotChildActivated (bool a) |
Protected Member Functions | |
virtual void | resizeEvent (QResizeEvent *) |
virtual void | styleChange (QStyle &oldStyle) |
virtual void | paletteChange (const QPalette &oldPalette) |
virtual void | showEvent (QShowEvent *) |
Friends | |
class | KisSelectionManager |
class | KisFilterManager |
class | KisGridManager |
class | KisPerspectiveGridManager |
Member Function Documentation
void KisView::currentColorSpaceChanged | ( | KisColorSpace * | cs | ) | [signal] |
Indicates when the current layer changed so that the current colorspace could have changed.
Q_INT32 KisView::importImage | ( | const KURL & | url = KURL() |
) |
Import an image as a layer.
If there is more than one layer in the image, import all of them as separate layers.
- Parameters:
-
url the url to the image file
- Returns:
- the number of layers added
Definition at line 1741 of file kis_view.cc.
The documentation for this class was generated from the following files: