Kstars

dslrinfodialog.h
1 /*
2  SPDX-FileCopyrightText: 2017 Jasem Mutlaq <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #ifndef DSLRINFODIALOG_H
8 #define DSLRINFODIALOG_H
9 
10 #include <QDialog>
11 
12 #include <indidevapi.h>
13 
14 #include "ui_dslrinfo.h"
15 
16 #include "indi/indicamera.h"
17 
18 namespace Ekos
19 {
20 class Capture;
21 }
22 
23 class DSLRInfo : public QDialog, public Ui::DSLRInfo
24 {
25  Q_OBJECT
26 
27  public:
28  explicit DSLRInfo(QWidget *parent, ISD::Camera *ccd);
29 
30  protected slots:
31  void save();
32 
33  signals:
34  void infoChanged();
35 
36  private:
37  ISD::Camera *currentCCD = nullptr;
38  int sensorMaxWidth = 0, sensorMaxHeight = 0;
39  double sensorPixelW = 0, sensorPixelH = 0;
40 
41  friend class Ekos::Capture;
42 };
43 
44 #endif
Q_OBJECTQ_OBJECT
Ekos is an advanced Astrophotography tool for Linux. It is based on a modular extensible framework to...
Definition: align.cpp:66
Captures single or sequence of images from a CCD. The capture class support capturing single or multi...
Definition: capture.h:83
const QList< QKeySequence > & save()
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Fri Aug 19 2022 03:57:50 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.