#include <Clipboard.h>
Definition at line 22 of file Clipboard.h.
Public Types | |
| typedef std::vector< Point > | PointList |
Public Member Functions | |
| Clipboard () | |
| ~Clipboard () | |
| void | clear () |
| bool | empty () const |
| const PointList & | getPoints () const |
| void | setPoints (const PointList &points) |
| void | addPoint (const Point &point) |
| bool | haveReferenceFrames () const |
| bool | referenceFramesDiffer () const |
Protected Attributes | |
| PointList | m_points |
Classes | |
| class | Point |
| typedef std::vector<Point> Clipboard::PointList |
Definition at line 74 of file Clipboard.h.
| Clipboard::Clipboard | ( | ) |
Definition at line 199 of file Clipboard.cpp.
| Clipboard::~Clipboard | ( | ) |
Definition at line 200 of file Clipboard.cpp.
| void Clipboard::clear | ( | ) |
Definition at line 203 of file Clipboard.cpp.
References m_points.
Referenced by MainWindowBase::copy(), and MainWindowBase::cut().
| bool Clipboard::empty | ( | ) | const |
Definition at line 209 of file Clipboard.cpp.
References m_points.
Referenced by MainWindowBase::updateMenuStates().
| const Clipboard::PointList & Clipboard::getPoints | ( | ) | const |
Definition at line 215 of file Clipboard.cpp.
References m_points.
Referenced by Layer::clipboardHasDifferentAlignment(), LayerFactory::getLayerTypeForClipboardContents(), TimeValueLayer::paste(), TimeInstantLayer::paste(), TextLayer::paste(), NoteLayer::paste(), and ImageLayer::paste().
| void Clipboard::setPoints | ( | const PointList & | points | ) |
| void Clipboard::addPoint | ( | const Point & | point | ) |
Definition at line 227 of file Clipboard.cpp.
References m_points.
Referenced by TimeValueLayer::copy(), TimeInstantLayer::copy(), TextLayer::copy(), NoteLayer::copy(), and ImageLayer::copy().
| bool Clipboard::haveReferenceFrames | ( | ) | const |
| bool Clipboard::referenceFramesDiffer | ( | ) | const |
PointList Clipboard::m_points [protected] |
Definition at line 86 of file Clipboard.h.
Referenced by addPoint(), clear(), empty(), getPoints(), haveReferenceFrames(), referenceFramesDiffer(), and setPoints().
1.5.1