Kstars
9#include "fitsviewer/bayer.h"
11#include <indidevapi.h>
17#include <QSqlDatabase>
28class VideoWG :
public QLabel
34 virtual ~VideoWG()
override;
36 bool newFrame(IBLOB *bp);
37 bool newBayerFrame(IBLOB *bp,
const BayerParams ¶ms);
39 bool save(
const QString &filename,
const char *format);
41 void setSize(uint16_t w, uint16_t h);
45 void mousePressEvent(QMouseEvent *
event)
override;
46 void mouseMoveEvent(QMouseEvent *
event)
override;
47 void mouseReleaseEvent(QMouseEvent *
event)
override;
48 void initOverlayModel();
55 void newSelection(QRect);
56 void imageChanged(
const QSharedPointer<QImage> &frame);
59 bool debayer(
const IBLOB *bp,
const BayerParams ¶ms);
61 uint16_t streamW { 0 };
62 uint16_t streamH { 0 };
63 uint32_t totalBaseCount { 0 };
64 QVector<QRgb> grayTable;
65 QSharedPointer<QImage> streamImage;
67 QRubberBand *rubberBand {
nullptr };
70 bool m_RawFormatSupported {
false };
74 void paintOverlay(QPixmap &imagePix);
75 bool overlayEnabled =
false;
76 QSqlTableModel *m_CollimationOverlayElementsModel = {
nullptr };
77 QList<QVariantMap> m_CollimationOverlayElements;
78 QList<QVariantMap> m_EnabledOverlayElements;
79 QVariantMap *m_CurrentElement =
nullptr;
80 QStringList *typeValues =
nullptr;
81 QPainter *painter =
nullptr;
83 void PaintOneItem (QString type, QPointF position,
int sizeX,
int sizeY,
int thickness);
virtual bool event(QEvent *e)
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Feb 21 2025 11:54:28 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.