• 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
opssatellites.h
Go to the documentation of this file.
1 /***************************************************************************
2  opssatellites.h - K Desktop Planetarium
3  -------------------
4  begin : Mon 21 Mar 2011
5  copyright : (C) 2011 by Jérôme SONRIER
6  email : jsid@emor3j.fr.eu.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 OPSSATELLITES_H_
18 #define OPSSATELLITES_H_
19 
20 #include "ui_opssatellites.h"
21 
22 #include <QStandardItemModel>
23 #include <QSortFilterProxyModel>
24 
25 #include <kconfigdialog.h>
26 
27 class KStars;
28 
29 
30 class SatelliteSortFilterProxyModel : public QSortFilterProxyModel
31 {
32 public:
33  explicit SatelliteSortFilterProxyModel( QObject* parent );
34  bool filterAcceptsRow( int sourceRow, const QModelIndex &sourceParent ) const;
35 };
36 
43 class OpsSatellites : public QFrame, public Ui::OpsSatellites
44 {
45  Q_OBJECT
46 
47 public:
51  explicit OpsSatellites( KStars *_ks );
52 
56  ~OpsSatellites();
57 
58 private:
62  void updateListView();
63 
64  KStars *ksw;
65  KConfigDialog *m_ConfigDialog;
66  QStandardItemModel *m_Model;
67  QSortFilterProxyModel *m_SortModel;
68 
69 private slots:
70  void slotUpdateTLEs();
71  void slotShowSatellites( bool on );
72  void slotApply();
73  void slotCancel();
74  void slotFilterReg( const QString& );
75  void slotItemChanged( QStandardItem* );
76 };
77 
78 #endif //OPSSATELLITES_H_
OpsSatellites::OpsSatellites
OpsSatellites(KStars *_ks)
Constructor.
Definition: opssatellites.cpp:49
SatelliteSortFilterProxyModel::SatelliteSortFilterProxyModel
SatelliteSortFilterProxyModel(QObject *parent)
Definition: opssatellites.cpp:31
QObject
KStars
This is the main window for KStars.
Definition: kstars.h:94
SatelliteSortFilterProxyModel::filterAcceptsRow
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
Definition: opssatellites.cpp:34
SatelliteSortFilterProxyModel
Definition: opssatellites.h:30
OpsSatellites::~OpsSatellites
~OpsSatellites()
Destructor.
Definition: opssatellites.cpp:77
QSortFilterProxyModel
OpsSatellites
The Satellites Tab of the Options window.
Definition: opssatellites.h:43
QFrame
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