Isis 3 Programmer Reference
TargetInfoWidget.h
1#ifndef TargetInfoWidget_H
2#define TargetInfoWidget_H
3
4#include <QFrame>
5#include <QString>
6
7namespace Ui {
8 class TargetInfoWidget;
9}
10
11namespace 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
Container class for TargetBody.
Definition TargetBody.h:65
Widget for displaying information about a target.
QString formatPmString()
Make the polePMOffsetLabel text using information from the target.
QString formatPoleRaString()
Make the poleRightAscensionLabel text using information from the target.
Directory * m_directory
Unused.
Ui::TargetInfoWidget * m_ui
The widget's ui.
TargetBody * m_target
The target whose information is being displayed.
QString formatPoleDecString()
Make the poleDeclinationLabel text using information from the target.
void errorMsg()
Displays an error message on the Prime Meridian/Pole Position tabs of the TargetInfoWidget in the eve...
TargetInfoWidget(TargetBody *target, Directory *directory, QWidget *parent=0)
Constructor.
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16