|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef CnetEditorWidget_H
2 #define CnetEditorWidget_H
20 template<
typename T >
class QList;
26 class QXmlStreamWriter;
30 class AbstractTableModel;
31 class AbstractTreeItem;
38 class MosaicGraphicsView;
39 class MosaicSceneItem;
48 class ImageImageTreeModel;
49 class ImagePointTreeModel;
50 class MeasureTableModel;
51 class PointMeasureTreeModel;
52 class PointTableModel;
55 class CnetEditorSortConfigDialog;
154 void pointColToggled();
155 void measureColToggled();
157 void handlePointTableFilterCountsChanged(
int visibleRows,
int totalRows);
158 void handleMeasureTableFilterCountsChanged(
int visibleRows,
160 void setCnetModified();
166 QBoxLayout *createMainLayout();
167 void createActions();
168 void createPointTreeView();
169 void createSerialTreeView();
170 void createConnectionTreeView();
171 void createFilterArea();
172 void createPointTableView();
173 void createMeasureTableView();
174 void upgradeVersion();
175 void handleTableFilterCountsChanged(
int visibleRows,
int totalRows,
176 QGroupBox *box, QString initialText);
179 bool m_updatingSelection;
181 QString *m_workingVersion;
182 static const QString VERSION;
192 QGroupBox *m_pointTableBox;
193 QGroupBox *m_measureTableBox;
195 QScrollArea *m_filterArea;
199 QWidget *m_connectionFilterWidget;
208 QSplitter *m_mainSplitter;
213 QString *m_settingsPath;
void setFrozen(bool)
Definition: AbstractTreeModel.cpp:331
@ Point
Definition: AbstractTreeItem.h:46
virtual int sortLimit() const
Definition: AbstractTableModel.cpp:136
ControlPoint * Parent()
Definition: ControlMeasure.h:260
@ PointItems
Definition: AbstractTreeModel.h:52
static QString getColumnName(Column)
Definition: AbstractMeasureItem.cpp:29
Tree model for images and control points.
Definition: ImagePointTreeModel.h:48
Column
Definition: AbstractMeasureItem.h:41
const ControlMeasure * GetMeasure(QString serialNumber) const
Get a control measure based on its cube's serial number.
Definition: ControlPoint.cpp:416
This is free and unencumbered software released into the public domain.
Definition: BoxcarCachingAlgorithm.h:13
virtual void setSortingEnabled(bool)
Definition: AbstractTableModel.cpp:128
void stopWorking()
Definition: AbstractTreeModel.cpp:405
TableViewHeader * getHorizontalHeader()
Returns the horizontal header.
Definition: TableView.cpp:164
static CnetDisplayProperties * getInstance()
Definition: CnetDisplayProperties.cpp:39
Status SetEditLock(bool editLock)
Set the EditLock state.
Definition: ControlPoint.cpp:522
virtual bool sortingIsEnabled() const
Definition: AbstractTableModel.cpp:123
@ Measure
Definition: AbstractTreeItem.h:47
Tree model for images and images.
Definition: ImageImageTreeModel.h:48
int GetNumMeasures() const
Definition: ControlPoint.cpp:1702
Status SetEditLock(bool editLock)
Definition: ControlMeasure.cpp:281
void setModel(AbstractTreeModel *someModel)
Definition: TreeView.cpp:62
Definition: TableView.h:43
static QString getColumnName(Column)
Definition: AbstractPointItem.cpp:30
QString GetId() const
Return the Id of the control point.
Definition: ControlPoint.cpp:1306
This represents an ISIS control net in a project-based GUI interface.
Definition: Control.h:66
Configure user's sorting settings for the cneteditor widget.
Definition: CnetEditorSortConfigDialog.h:37
Translates the tree model into a table model.
Definition: AbstractTableModel.h:48
QString GetCubeSerialNumber() const
Return the serial number of the cube containing the coordinate.
Definition: ControlMeasure.cpp:557
A single control point.
Definition: ControlPoint.h:354
Column
Definition: AbstractPointItem.h:44
int GetNumPoints() const
Return the number of control points in the network.
Definition: ControlNet.cpp:1465
void rebuildItems()
Definition: ImageImageTreeModel.cpp:122
ControlNet * controlNet()
Open and return a pointer to the ControlNet for this Control.
Definition: Control.cpp:150
void setFilter(FilterWidget *newFilter)
Definition: AbstractTreeModel.cpp:365
void rebuildItems()
Definition: ImagePointTreeModel.cpp:128
static const int COLS
Definition: AbstractPointItem.h:70
void setModified(bool modified=true)
@description Sets the modification state of this control.
Definition: Control.cpp:241
void setColumnVisible(QString, bool)
Sets the specified column visible or invisible.
Definition: TableView.cpp:175
a control network
Definition: ControlNet.h:257
#define ASSERT(x)
Definition: IsisDebug.h:134
void rebuildItems()
Definition: PointMeasureTreeModel.cpp:111
@ MeasureItems
Definition: AbstractTreeModel.h:53
int Delete(ControlMeasure *measure)
Remove a measurement from the control point, deleting reference measure is allowed.
Definition: ControlPoint.cpp:354
static const int COLS
Definition: AbstractMeasureItem.h:66
int DeletePoint(ControlPoint *point)
Delete a ControlPoint from the network by the point's address.
Definition: ControlNet.cpp:879
Table model for control points.
Definition: PointTableModel.h:39
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:22
Definition: TreeView.h:31
void setTitle(QString someTitle)
Definition: TreeView.cpp:97
virtual void setSortLimit(int)
Definition: AbstractTableModel.cpp:141
Tree model for control points and control measures.
Definition: PointMeasureTreeModel.h:49
Table model for control measures.
Definition: MeasureTableModel.h:42
const ControlPoint * GetPoint(QString pointId) const
Definition: ControlNet.cpp:1815
QList< AbstractTreeItem * > getItems(int, int, InterestingItemsFlag=AllItems, bool=false)
Definition: AbstractTreeModel.cpp:121
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
a control measurement
Definition: ControlMeasure.h:175