Isis 3.0 Programmer Reference
Home
Footprint2DView.h
Go to the documentation of this file.
1 #ifndef Footprint2DView_h
2 #define Footprint2DView_h
3 
25 #include <QList>
26 #include <QMap>
27 #include <QSize>
28 
30 
31 class QAction;
32 class QEvent;
33 class QToolBar;
34 class QWidgetAction;
35 
36 namespace Isis {
37 
38  class ControlPoint;
39  class Directory;
40  class Image;
41  class MosaicSceneWidget;
42  class ToolPad;
43 
60 
61  Q_OBJECT
62 
63  public:
64  Footprint2DView(Directory *directory, QWidget *parent=0);
66 
67  MosaicSceneWidget *mosaicSceneWidget();
71 
72  QSize sizeHint() const;
73 
74  signals:
75  void modifyControlPoint(ControlPoint *controlPoint);
76  void deleteControlPoint(ControlPoint *controlPoint);
77  void createControlPoint(double latitude, double longitude);
78 
79  void controlPointAdded(QString newPointId);
80 
81  protected:
82  bool eventFilter(QObject *watched, QEvent *event);
83 
84  private slots:
85  void onItemAdded(ProjectItem *item);
86  void onItemRemoved(ProjectItem *item);
88 
89  private:
92 
96 
97  QWidgetAction *m_activeToolBarAction;
98  };
99 }
100 
101 #endif
Footprint2DView(Directory *directory, QWidget *parent=0)
Constructor.
This widget encompasses the entire mosaic scene.
virtual QList< QAction * > permToolBarActions()
Returns a list of actions for the permanent tool bar.
View for displaying footprints of images in a QMos like way.
virtual QList< QAction * > activeToolBarActions()
Returns a list of actions for the active tool bar.
QMap< Image *, ProjectItem * > m_imageItemMap
Maps images to their items.
AbstractProjectItemView is a base class for views of a ProjectItemModel in Qt&#39;s model-view framework...
void onItemRemoved(ProjectItem *item)
Slot to connect to the itemRemoved signal from the model.
bool eventFilter(QObject *watched, QEvent *event)
Event filter to filter out drag and drop events.
ToolPad * m_toolPad
The tool pad.
QToolBar * m_activeToolBar
The active tool bar.
void onQueueSelectionChanged()
Slot to connect to the queueSelectionChanged signal from a MosiacSceneWidget.
~Footprint2DView()
Destructor.
A single control point.
Definition: ControlPoint.h:339
Represents an item of a ProjectItemModel in Qt&#39;s model-view framework.
Definition: ProjectItem.h:113
QSize sizeHint() const
Returns the suggested size for the widget.
QWidgetAction * m_activeToolBarAction
Stores the active tool bar.
$Date$ $Revision$
MosaicSceneWidget * m_sceneWidget
The scene widget.
void onItemAdded(ProjectItem *item)
Slot to connect to the itemAdded signal from the model.
QToolBar * m_permToolBar
The permanent tool bar.
virtual QList< QAction * > toolPadActions()
Returns a list of actions for the tool pad.