aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/Annotation.h
diff options
context:
space:
mode:
authorKen Moore <ken@ixsystems.com>2019-04-03 15:21:17 -0400
committerKen Moore <ken@ixsystems.com>2019-04-03 15:21:17 -0400
commit8d5f1e04d7e4f24a4026804d62abe64883419bf2 (patch)
treee8de5a663e7c39db7979b61320a220bcbbdfa5ce /src-qt5/desktop-utils/lumina-pdf/Annotation.h
parentUpdate README.md (diff)
downloadlumina-8d5f1e04d7e4f24a4026804d62abe64883419bf2.tar.gz
lumina-8d5f1e04d7e4f24a4026804d62abe64883419bf2.tar.bz2
lumina-8d5f1e04d7e4f24a4026804d62abe64883419bf2.zip
Remove lumina-calculator and lumina-pdf from the lumina repo.
They have their own repos now (https://github.com/lumina-desktop/lumina-[pdf/calculator])
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/Annotation.h')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/Annotation.h52
1 files changed, 0 insertions, 52 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/Annotation.h b/src-qt5/desktop-utils/lumina-pdf/Annotation.h
deleted file mode 100644
index ce7890b7..00000000
--- a/src-qt5/desktop-utils/lumina-pdf/Annotation.h
+++ /dev/null
@@ -1,52 +0,0 @@
-#include <QColor>
-#include <QList>
-#include <QPointF>
-#include <QPolygonF>
-#include <QVector>
-
-class Annotation {
-public:
- Annotation(int _annotType, double _opacity, QRectF _loc = QRectF())
- : annotType(_annotType), opacity(_opacity), loc(_loc) {}
-
- virtual ~Annotation() {}
-
- virtual int getType() { return annotType; }
- virtual QRectF getLoc() { return loc; }
-
- virtual QString getAuthor() { return author; }
- virtual QString getText() { return text; }
- virtual QList<QPolygonF> getQuadList() { return quadList; }
- virtual QVector<QVector<QPointF>> getInkList() { return inkList; }
- virtual QColor getColor() { return color; }
- virtual QColor getInternalColor() { return iColor; }
- virtual double getOpacity() { return opacity; }
- virtual bool print() { return canPrint; }
-
- virtual void setAuthor(QString _author) { author = _author; }
- virtual void setContents(QString _text) { text = _text; }
- virtual void setColor(QColor _color) { color = _color; };
- virtual void setInternalColor(QColor _iColor) { iColor = _iColor; };
- virtual void setQuadList(QList<QPolygonF> _quadList) {
- quadList = _quadList;
- };
- virtual void setInkList(QVector<QVector<QPointF>> _inkList) {
- inkList = _inkList;
- };
- virtual void setPrint(bool _print) { canPrint = _print; }
-
- virtual QImage renderImage() = 0;
-
-private:
- int annotType;
- double opacity;
- QRectF loc;
-
- QString author;
- QString text;
- QColor color;
- QColor iColor;
- QList<QPolygonF> quadList;
- QVector<QVector<QPointF>> inkList;
- bool canPrint;
-};
bgstack15