• 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
  • ekos
  • guide
guider.h
Go to the documentation of this file.
1 /* Ekos guide tool
2  Copyright (C) 2012 Andrew Stepanenko
3 
4  Modified by Jasem Mutlaq <mutlaqja@ikarustech.com> for KStars.
5 
6  This application is free software; you can redistribute it and/or
7  modify it under the terms of the GNU General Public
8  License as published by the Free Software Foundation; either
9  version 2 of the License, or (at your option) any later version.
10  */
11 
12 #ifndef GUIDER_H
13 #define GUIDER_H
14 
15 #include <QtGui>
16 #include "common.h"
17 #include "ui_guider.h"
18 #include "scroll_graph.h"
19 #include "gmath.h"
20 
21 #include "../guide.h"
22 
23 
24 class rguider : public QWidget
25 {
26  Q_OBJECT
27 
28 public:
29  explicit rguider(Ekos::Guide *parent = 0);
30  ~rguider();
31 
32  void guide( void );
33  void set_half_refresh_rate( bool is_half );
34  bool is_guiding( void ) const;
35  void set_math( cgmath *math );
36  void fill_interface( void );
37  void set_image(FITSView *image);
38  void set_ready(bool enable) { is_ready = enable;}
39 
40 protected slots:
41  void onXscaleChanged( int i );
42  void onYscaleChanged( int i );
43  void onSquareSizeChanged( int index );
44  void onThresholdChanged( int i );
45  void onInfoRateChanged( double val );
46  void onEnableDirRA( int state );
47  void onEnableDirDEC( int state );
48  void onInputParamChanged();
49 
50  void guideStarSelected(int x, int y);
51 
52  void onStartStopButtonClick();
53 
54 private:
55  cgmath *pmath;
56  Ekos::Guide *pmain_wnd;
57 
58  custom_drawer *pDriftOut;
59  cscroll_graph *drift_graph;
60 
61  FITSView *pimage;
62  bool is_started;
63  bool is_ready;
64  bool half_refresh_rate;
65  int lost_star_try;
66 
67 
68 
69 private:
70  Ui::guiderClass ui;
71 };
72 
73 #endif // GUIDER_H
rguider::~rguider
~rguider()
Definition: guider.cpp:102
rguider::set_math
void set_math(cgmath *math)
Definition: guider.cpp:121
rguider::guide
void guide(void)
Definition: guider.cpp:387
gmath.h
rguider::onYscaleChanged
void onYscaleChanged(int i)
Definition: guider.cpp:214
QWidget
FITSView
Definition: fitsview.h:81
rguider::onStartStopButtonClick
void onStartStopButtonClick()
Definition: guider.cpp:350
rguider::onEnableDirRA
void onEnableDirRA(int state)
Definition: guider.cpp:262
custom_drawer
Definition: common.h:54
rguider::guideStarSelected
void guideStarSelected(int x, int y)
Definition: guider.cpp:458
rguider::onXscaleChanged
void onXscaleChanged(int i)
Definition: guider.cpp:197
rguider
Definition: guider.h:24
rguider::set_image
void set_image(FITSView *image)
Definition: guider.cpp:450
Ekos::Guide
Definition: guide.h:35
rguider::set_half_refresh_rate
void set_half_refresh_rate(bool is_half)
Definition: guider.cpp:109
cgmath
Definition: gmath.h:116
rguider::onInputParamChanged
void onInputParamChanged()
Definition: guider.cpp:286
rguider::onSquareSizeChanged
void onSquareSizeChanged(int index)
Definition: guider.cpp:230
rguider::onInfoRateChanged
void onInfoRateChanged(double val)
Definition: guider.cpp:246
rguider::is_guiding
bool is_guiding(void) const
Definition: guider.cpp:115
cscroll_graph
Definition: scroll_graph.h:31
rguider::set_ready
void set_ready(bool enable)
Definition: guider.h:38
common.h
rguider::onEnableDirDEC
void onEnableDirDEC(int state)
Definition: guider.cpp:274
rguider::fill_interface
void fill_interface(void)
Definition: guider.cpp:128
rguider::rguider
rguider(Ekos::Guide *parent=0)
Definition: guider.cpp:28
scroll_graph.h
rguider::onThresholdChanged
void onThresholdChanged(int i)
Definition: guider.cpp:237
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:19 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