krita/ui
KisClipboard Class Reference
The Krita clipboard is a clipboard that can store paint devices instead of just qimage's. More...
#include <kis_clipboard.h>

Public Member Functions | |
| virtual | ~KisClipboard () |
| KisPaintDeviceSP | clip () |
| QSize | clipSize () |
| bool | hasClip () |
| void | setClip (KisPaintDeviceSP layer) |
Static Public Member Functions | |
| static KisClipboard * | instance () |
Detailed Description
The Krita clipboard is a clipboard that can store paint devices instead of just qimage's.
Definition at line 40 of file kis_clipboard.h.
Constructor & Destructor Documentation
| KisClipboard::~KisClipboard | ( | ) | [virtual] |
Definition at line 63 of file kis_clipboard.cc.
Member Function Documentation
| KisPaintDeviceSP KisClipboard::clip | ( | ) |
Get the contents of the clipboard in the form of a paint device.
Definition at line 150 of file kis_clipboard.cc.
| QSize KisClipboard::clipSize | ( | ) |
Definition at line 247 of file kis_clipboard.cc.
| bool KisClipboard::hasClip | ( | ) |
Definition at line 242 of file kis_clipboard.cc.
| KisClipboard * KisClipboard::instance | ( | ) | [static] |
Definition at line 68 of file kis_clipboard.cc.
| void KisClipboard::setClip | ( | KisPaintDeviceSP | layer | ) |
Sets the clipboard to the contents of the specified paint device; also set the system clipboard to a QImage representation of the specified paint device.
Definition at line 75 of file kis_clipboard.cc.
The documentation for this class was generated from the following files:
