Kstars
10#include "ui_streamform.h"
11#include "ui_recordingoptions.h"
12#include "fitsviewer/bayer.h"
13#include <indidevapi.h>
21#include <QResizeEvent>
25class RecordOptions :
public QDialog,
public Ui::recordingOptions
33 void selectRecordDirectory();
38 friend class StreamWG;
41class StreamWG :
public QDialog,
public Ui::streamForm
46 explicit StreamWG(ISD::Camera *ccd);
47 virtual ~StreamWG()
override;
49 void setColorFrame(
bool color);
50 void setSize(
int wd,
int ht);
52 void enableStream(
bool enable);
53 bool isStreamEnabled()
58 void newFrame(INDI::Property prop);
70 void closeEvent(QCloseEvent *ev)
override;
71 void showEvent(QShowEvent *ev)
override;
72 QSize sizeHint()
const override;
76 void updateRecordStatus(
bool enabled);
78 void syncDebayerParameters();
81 void setStreamingFrame(QRect newFrame);
82 void updateFPS(
double instantFPS,
double averageFPS);
86 void imageChanged(
const QSharedPointer<QImage> &frame);
89 bool queryDebayerParameters();
92 int streamWidth, streamHeight;
93 bool colorFrame, isRecording;
94 bool showOverlay =
false;
95 QIcon recordIcon, stopIcon;
96 ISD::Camera *m_Camera {
nullptr};
99 BayerParams m_DebayerParams;
101 uint16_t offsetX, offsetY;
102 double pixelX, pixelY;
103 bool m_DebayerActive {
false }, m_DebayerSupported {
false };
106 INDI::Property *eoszoom {
nullptr}, *eoszoomposition {
nullptr};
109 RecordOptions *options;
111 static constexpr uint32_t DELAY {500};
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:53:02 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.