Isis Developer Reference
ChipViewportsWidget.h
Go to the documentation of this file.
1#ifndef ChipViewportsWidget_h
2#define ChipViewportsWidget_h
3
10/* SPDX-License-Identifier: CC0-1.0 */
11
12#include "ControlPoint.h"
13
14#include <QWidget>
15#include <QPointer>
16
17class QAction;
18class QGridLayout;
19class QLabel;
20class QMouseEvent;
21
22namespace Isis {
23 class ChipViewport;
24 class ControlMeasure;
25 class ControlNet;
26 class ControlPoint;
27 class Cube;
28 class CubeViewport;
29 class MdiCubeViewport;
30 class SerialNumberList;
31 class Stretch;
32 class UniversalGroundMap;
33
44 Q_OBJECT
45
46 public:
48 virtual ~ChipViewportsWidget();
49
50 bool eventFilter(QObject *object, QEvent *event);
51
52 signals:
53 void controlPointChanged(QString pointId);
54 void netChanged();
59
60 public slots:
62 void setControlNet(ControlNet *cnet, QString cnetFilename);
63 void setPoint(ControlPoint *controlPoint);
64
65// ChipViewport *referenceChipViewport();
66
67// void savePoint();
68// void colorizeSavePointButton();
69
70// void refresh();
71
72 protected:
73
74 private slots:
75 void showPoints(bool showPoints);
76 void geomChips(bool geomChips);
77 void clearPoint();
78// void enterWhatsThisMode();
79
80 private:
81 void createChipViewports(QWidget *parent);
82 void createActions();
83
84 void loadPoint();
85
86 void mousePressEvent(QObject *object, QMouseEvent *event);
87
88 private:
89
90 QPointer<QWidget> m_parent;
91// bool m_addMeasuresButton;
92
93 QString m_cnetFileName;
94 QPointer<QLabel> m_cnetFileNameLabel;
95 bool m_netChanged;
96
97 QPointer<QAction> m_closeChipViewportWidget;
98
99 QPointer<QAction> m_saveChips;
100
101
102 QPointer<QLabel> m_ptIdValue;
103
104 QPointer<ControlPoint> m_controlPoint;
105 SerialNumberList *m_serialNumberList;
106 QPointer<ControlNet> m_controlNet;
107
108 QPointer<QGridLayout> m_chipViewportsLayout;
109 QList<ChipViewport *> m_chipViewports;
110// QMap<Cube *, ControlMeasureEditWidget *> m_cubeMeasureEditMap;
111// QPointer<ControlMeasureEditWidget> m_referenceMeasureEditor;
112 };
113};
114#endif
Scrolled widget for display ChipViewports.
Definition ChipViewportsWidget.h:43
virtual ~ChipViewportsWidget()
Definition ChipViewportsWidget.cpp:74
void newControlNetwork(ControlNet *)
ChipViewportsWidget(QWidget *parent)
Consructs the ChipViewportsWidget widget.
Definition ChipViewportsWidget.cpp:54
void controlPointChanged(QString pointId)
void setPoint(ControlPoint *controlPoint)
Definition ChipViewportsWidget.cpp:178
void setControlNet(ControlNet *cnet, QString cnetFilename)
New control network being edited.
Definition ChipViewportsWidget.cpp:165
bool eventFilter(QObject *object, QEvent *event)
Definition ChipViewportsWidget.cpp:344
void stretchChipViewport(Stretch *, CubeViewport *)
void setSerialNumberList(SerialNumberList *snList)
Definition ChipViewportsWidget.cpp:148
a control network
Definition ControlNet.h:258
A single control point.
Definition ControlPoint.h:356
Widget to display Isis cubes for qt apps.
Definition CubeViewport.h:122
Serial Number list generator.
Definition SerialNumberList.h:64
Pixel value mapper.
Definition Stretch.h:58
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16