Isis 3 Programmer Reference
TargetInfoWidget.h
1 #ifndef TargetInfoWidget_H
2 #define TargetInfoWidget_H
3 
4 #include <QFrame>
5 #include <QString>
6 
7 namespace Ui {
8  class TargetInfoWidget;
9 }
10 
11 namespace Isis {
12  class Directory;
13  class TargetBody;
14 
35  class TargetInfoWidget : public QFrame {
36  Q_OBJECT
37 
38  public:
39 
40  explicit TargetInfoWidget(TargetBody* target, Directory *directory, QWidget *parent = 0);
42 
43  private:
44  Ui::TargetInfoWidget *m_ui;
45 
46  void errorMsg();
47  QString formatPoleRaString();
48  QString formatPoleDecString();
49  QString formatPmString();
50 
53  };
54 }
55 
56 #endif // TargetInfoWidget_H
Isis::TargetBody
Container class for TargetBody.
Definition: TargetBody.h:65
Isis::TargetInfoWidget::errorMsg
void errorMsg()
Displays an error message on the Prime Meridian/Pole Position tabs of the TargetInfoWidget in the eve...
Definition: TargetInfoWidget.cpp:267
QWidget
Isis::TargetInfoWidget::m_target
TargetBody * m_target
The target whose information is being displayed.
Definition: TargetInfoWidget.h:52
Isis::Directory
Definition: Directory.h:271
Isis::TargetInfoWidget::TargetInfoWidget
TargetInfoWidget(TargetBody *target, Directory *directory, QWidget *parent=0)
Constructor.
Definition: TargetInfoWidget.cpp:21
Isis::TargetInfoWidget::~TargetInfoWidget
~TargetInfoWidget()
Destructor.
Definition: TargetInfoWidget.cpp:86
Isis::TargetInfoWidget::formatPmString
QString formatPmString()
Make the polePMOffsetLabel text using information from the target.
Definition: TargetInfoWidget.cpp:206
Isis::TargetInfoWidget
Widget for displaying information about a target.
Definition: TargetInfoWidget.h:35
Isis::TargetInfoWidget::formatPoleRaString
QString formatPoleRaString()
Make the poleRightAscensionLabel text using information from the target.
Definition: TargetInfoWidget.cpp:96
Isis::TargetInfoWidget::formatPoleDecString
QString formatPoleDecString()
Make the poleDeclinationLabel text using information from the target.
Definition: TargetInfoWidget.cpp:151
Isis::TargetInfoWidget::m_directory
Directory * m_directory
Unused.
Definition: TargetInfoWidget.h:51
QFrame
Isis::TargetInfoWidget::m_ui
Ui::TargetInfoWidget * m_ui
The widget's ui.
Definition: TargetInfoWidget.h:44
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16