• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
  • options
opscatalog.h
Go to the documentation of this file.
1 /***************************************************************************
2  opscatalog.h - K Desktop Planetarium
3  -------------------
4  begin : Sun Feb 29 2004
5  copyright : (C) 2004 by Jason Harris
6  email : jharris@30doradus.org
7  ***************************************************************************/
8 /***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 
17 #ifndef OPSCATALOG_H_
18 #define OPSCATALOG_H_
19 
20 #include "ui_opscatalog.h"
21 
22 class KStars;
23 class QListWidgetItem;
24 class KConfigDialog;
25 
39 class OpsCatalog : public QFrame, public Ui::OpsCatalog
40 {
41  Q_OBJECT
42 
43 public:
44  explicit OpsCatalog( KStars *_ks );
45  ~OpsCatalog();
46 
47 private slots:
48  void updateCustomCatalogs();
49  void selectCatalog();
50  void slotAddCatalog();
51  void slotLoadCatalog();
52  void slotRemoveCatalog();
53  /*
54  void slotSetDrawStarMagnitude(double newValue);
55  void slotSetDrawStarZoomOutMagnitude(double newValue);
56  */
57  void slotStarWidgets(bool on);
58  void slotDeepSkyWidgets(bool on);
59  void slotApply();
60  void slotCancel();
61 
62 private:
63  void insertCatalog( const QString & filename );
64  void refreshCatalogList();
65  void populateInbuiltCatalogs();
66  void populateCustomCatalogs();
67  QString getCatalogName( const QString &filename );
68 
69  QListWidgetItem *showMessier, *showMessImages, *showNGC, *showIC;
70  KStars *ksw;
71 
72  KConfigDialog *m_ConfigDialog;
73  QStringList *m_CustomCatalogFile;
74  QStringList m_CheckedCatalogNames;
75  QList<int> m_ShowCustomCatalog;
76  float m_StarDensity;
77  bool m_ShowMessier, m_ShowMessImages, m_ShowNGC, m_ShowIC;
78 };
79 
80 #endif //OPSCATALOG_H_
81 
OpsCatalog
The Catalog page for the Options window.
Definition: opscatalog.h:39
KStars
This is the main window for KStars.
Definition: kstars.h:94
OpsCatalog::OpsCatalog
OpsCatalog(KStars *_ks)
Definition: opscatalog.cpp:37
OpsCatalog::~OpsCatalog
~OpsCatalog()
Definition: opscatalog.cpp:99
QFrame
QList
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal