Kstars

customproperties.h
1/*
2 SPDX-FileCopyrightText: 2017 Jasem Mutlaq <mutlaqja@ikarustech.com>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include <QDialog>
10
11#include "indi/indicamera.h"
12
13#include "ui_customproperties.h"
14
15class CustomProperties : public QDialog, public Ui::CustomProperties
16{
18
19 public:
20 CustomProperties();
21
22 void setCCD(ISD::Camera *ccd);
23
24 QMap<QString, QMap<QString, QVariant> > getCustomProperties() const;
25 void setCustomProperties(const QMap<QString, QMap<QString, QVariant> > &value);
26
27 signals:
28 void valueChanged();
29
30 private slots:
31 void slotAdd();
32 void slotRemove();
33 void slotClear();
34 void slotApply();
35
36 private:
37
38 void syncProperties();
39
40 ISD::Camera *currentCCD = { nullptr };
42};
Camera class controls an INDI Camera device.
Definition indicamera.h:45
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 13 2024 11:47:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.