Kstars

equipmentwriter.h
1/*
2 SPDX-FileCopyrightText: 2009 Prakash Mohan <prakash.mohan@kdemail.net>
3
4 SPDX-License-Identifier: GPL-2.0-or-later
5*/
6
7#pragma once
8
9#include "ui_equipmentwriter.h"
10
11#include <QWidget>
12#include <QDialog>
13
14#include "kstars.h"
15
16class KStars;
17
18class EquipmentWriter : public QDialog
19{
21 public:
22 EquipmentWriter();
23 void saveEquipment();
24 void loadEquipment();
25
26 public slots:
27 void slotAddScope();
28 void slotAddEyepiece();
29 void slotAddLens();
30 void slotAddFilter();
31 void slotSaveScope();
32 void slotSaveEyepiece();
33 void slotSaveLens();
34 void slotSaveFilter();
35 void slotRemoveScope();
36 void slotRemoveEyepiece();
37 void slotRemoveLens();
38 void slotRemoveFilter();
39 void slotSetScope(QString);
40 void slotSetEyepiece(QString);
41 void slotSetLens(QString);
42 void slotSetFilter(QString);
43 void slotNewScope();
44 void slotNewEyepiece();
45 void slotNewLens();
46 void slotNewFilter();
47 void slotClose();
48 void slotSave();
49
50 void slotNewDSLRLens();
51 void slotAddDSLRLens();
52 void slotSaveDSLRLens();
53 void slotRemoveDSLRLens();
54 void slotSetDSLRLens(QString);
55
56 private:
57 Ui::EquipmentWriter ui;
58 bool newScope, newEyepiece, newLens, newFilter, newDSLRLens;
59 int nextScope, nextEyepiece, nextLens, nextFilter, nextDSLRLens;
60};
61
This is the main window for KStars.
Definition kstars.h:89
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 6 2024 12:09:52 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.