Kstars

equipmentwriter.h
1 /*
2  SPDX-FileCopyrightText: 2009 Prakash Mohan <[email protected]>
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 
16 class KStars;
17 
18 class EquipmentWriter : public QDialog
19 {
20  Q_OBJECT
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  private:
51  Ui::EquipmentWriter ui;
52  bool newScope, newEyepiece, newLens, newFilter;
53  int nextScope, nextEyepiece, nextLens, nextFilter;
54 };
55 
Q_OBJECTQ_OBJECT
This is the main window for KStars. In addition to the GUI elements, the class contains the program c...
Definition: kstars.h:92
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.