Isis 3 Programmer Reference
|
Table model for control points. More...
#include <PointTableModel.h>
Public Types | |
enum | Warning { None = 0 , SortingDisabled , SortingTableSizeLimitReached } |
Public Slots | |
void | handleTreeSelectionChanged (QList< AbstractTreeItem * >) |
void | resetColumnHeaders () |
virtual void | applyFilter () |
virtual void | sort () |
virtual void | reverseOrder (TableColumn *) |
virtual void | updateSort () |
virtual void | rebuildSort () |
Signals | |
void | modelModified () |
void | filterProgressChanged (int) |
void | rebuildProgressChanged (int) |
void | sortProgressChanged (int) |
void | filterProgressRangeChanged (int, int) |
void | rebuildProgressRangeChanged (int, int) |
void | sortProgressRangeChanged (int, int) |
void | filterCountsChanged (int visibleRows, int totalRows) |
void | treeSelectionChanged (QList< AbstractTreeItem * >) |
void | tableSelectionChanged (QList< AbstractTreeItem * >) |
void | userWarning (AbstractTableModel::Warning) |
Public Member Functions | |
PointTableModel (AbstractTreeModel *model) | |
virtual QList< AbstractTreeItem * > | getItems (int, int) |
virtual QList< AbstractTreeItem * > | getItems (AbstractTreeItem *, AbstractTreeItem *) |
virtual int | getVisibleRowCount () const |
virtual QList< AbstractTreeItem * > | getSelectedItems () |
virtual QString | getWarningMessage (AbstractTreeItem const *, TableColumn const *, QString valueToSave) const |
virtual void | setGlobalSelection (bool selected) |
virtual int | indexOfVisibleItem (AbstractTreeItem const *item) const |
virtual bool | isSorting () const |
virtual bool | isFiltering () const |
virtual bool | sortingIsEnabled () const |
virtual void | setSortingEnabled (bool) |
virtual int | sortLimit () const |
virtual void | setSortLimit (int) |
virtual bool | sortingOn () const |
virtual TableColumnList * | getColumns () |
virtual const AbstractTableDelegate * | getDelegate () const |
Static Public Member Functions | |
static QString | getPointWarningMessage (AbstractTreeItem const *, TableColumn const *, QString valueToSave) |
Protected Member Functions | |
virtual TableColumnList * | createColumns () |
AbstractTreeModel * | getDataModel () |
const AbstractTreeModel * | getDataModel () const |
virtual QList< AbstractTreeItem * > | getSortedItems (int, int, AbstractTreeModel::InterestingItems) |
virtual QList< AbstractTreeItem * > | getSortedItems (AbstractTreeItem *, AbstractTreeItem *, AbstractTreeModel::InterestingItems) |
void | handleTreeSelectionChanged (QList< AbstractTreeItem * > newlySelectedItems, AbstractTreeItem::InternalPointerType) |
Private Slots | |
void | cancelSort () |
void | itemsLost () |
void | sortStatusUpdated () |
void | sortFinished () |
Private Member Functions | |
PointTableModel (const PointTableModel &) | |
PointTableModel & | operator= (PointTableModel) |
QList< AbstractTreeItem * > | doSort (QList< AbstractTreeItem * >) |
void | nullify () |
void | setSorting (bool sorting) |
Private Attributes | |
AbstractTreeModel * | m_dataModel |
AbstractTableDelegate * | m_delegate |
QList< AbstractTreeItem * > * | m_sortedItems |
BusyLeafItem * | m_busyItem |
TableColumnList * | m_columns |
QTimer * | m_sortStatusPoller |
LessThanFunctor * | m_lessThanFunctor |
bool | m_sortingEnabled |
int | m_sortLimit |
bool | m_sorting |
QFutureWatcher< QList< AbstractTreeItem * > > * | m_sortingWatcher |
Static Private Attributes | |
static const int | SORT_UPDATE_FREQUENCY = 50 |
Table model for control points.
This class represents a model that provides access to control points in a table-like fashion. It acts as a proxy model to the underlying tree model by providing an interface to get items by index ranges, get selected items, etc.. Thus, users of the class can access all control points in the underlying tree model without having to worry about the details of traversing the tree structure to find the items of interest. The class also has knowledge of what columns should be in the control point table.
2017-07-25 Summer Stapleton - Removed the CnetViz namespace. Fixes #5054.
2019-07-26 Ken Edmundson - OSIRIS-REx modifications to support display/editing of control point coordinates in either Lat, Lon, Radius or XYZ... 1) Added public slot resetColumnHeaders. Header text has to be updated prior to updating the point table because what is displayed in the table is dependent on the header, e.g. "Apriori SP Latitude" or Apriori SP X". 2) Changed getPointWarningMessage method.
Definition at line 48 of file PointTableModel.h.
|
inherited |
Definition at line 54 of file AbstractTableModel.h.
|
explicit |
Definition at line 38 of file PointTableModel.cpp.
|
virtual |
Definition at line 49 of file PointTableModel.cpp.
|
virtualslotinherited |
Definition at line 167 of file AbstractTableModel.cpp.
|
privateslotinherited |
Definition at line 339 of file AbstractTableModel.cpp.
|
protectedvirtual |
Implements Isis::AbstractTableModel.
Definition at line 227 of file PointTableModel.cpp.
|
privateinherited |
Definition at line 353 of file AbstractTableModel.cpp.
|
virtualinherited |
Definition at line 152 of file AbstractTableModel.cpp.
|
protectedinherited |
Definition at line 205 of file AbstractTableModel.cpp.
|
protectedinherited |
Definition at line 210 of file AbstractTableModel.cpp.
|
virtualinherited |
Definition at line 162 of file AbstractTableModel.cpp.
|
virtual |
Implements Isis::AbstractTableModel.
Definition at line 59 of file PointTableModel.cpp.
|
virtual |
Implements Isis::AbstractTableModel.
Definition at line 53 of file PointTableModel.cpp.
|
static |
Definition at line 103 of file PointTableModel.cpp.
|
virtual |
Implements Isis::AbstractTableModel.
Definition at line 71 of file PointTableModel.cpp.
|
protectedvirtualinherited |
Definition at line 237 of file AbstractTableModel.cpp.
|
protectedvirtualinherited |
Definition at line 215 of file AbstractTableModel.cpp.
|
virtual |
Implements Isis::AbstractTableModel.
Definition at line 65 of file PointTableModel.cpp.
|
virtual |
Implements Isis::AbstractTableModel.
Definition at line 77 of file PointTableModel.cpp.
|
protectedinherited |
Definition at line 299 of file AbstractTableModel.cpp.
|
slot |
Definition at line 208 of file PointTableModel.cpp.
|
virtual |
Implements Isis::AbstractTableModel.
Definition at line 89 of file PointTableModel.cpp.
|
virtualinherited |
Definition at line 116 of file AbstractTableModel.cpp.
|
virtualinherited |
Definition at line 111 of file AbstractTableModel.cpp.
|
privateslotinherited |
Definition at line 347 of file AbstractTableModel.cpp.
|
privateinherited |
Definition at line 402 of file AbstractTableModel.cpp.
|
virtualslotinherited |
Definition at line 419 of file AbstractTableModel.cpp.
|
slot |
Definition at line 97 of file PointTableModel.cpp.
|
virtualslotinherited |
Definition at line 197 of file AbstractTableModel.cpp.
|
virtual |
Implements Isis::AbstractTableModel.
Definition at line 83 of file PointTableModel.cpp.
|
privateinherited |
Definition at line 414 of file AbstractTableModel.cpp.
|
virtualinherited |
Definition at line 126 of file AbstractTableModel.cpp.
|
virtualinherited |
Definition at line 139 of file AbstractTableModel.cpp.
|
virtualslotinherited |
Definition at line 172 of file AbstractTableModel.cpp.
|
privateslotinherited |
Definition at line 320 of file AbstractTableModel.cpp.
|
virtualinherited |
Definition at line 121 of file AbstractTableModel.cpp.
|
virtualinherited |
Definition at line 147 of file AbstractTableModel.cpp.
|
virtualinherited |
Definition at line 134 of file AbstractTableModel.cpp.
|
privateslotinherited |
Definition at line 314 of file AbstractTableModel.cpp.
|
virtualslotinherited |
Definition at line 201 of file AbstractTableModel.cpp.
|
privateinherited |
Definition at line 142 of file AbstractTableModel.h.
|
privateinherited |
Definition at line 143 of file AbstractTableModel.h.
|
privateinherited |
Definition at line 139 of file AbstractTableModel.h.
|
privateinherited |
Definition at line 140 of file AbstractTableModel.h.
|
privateinherited |
Definition at line 145 of file AbstractTableModel.h.
|
privateinherited |
Definition at line 141 of file AbstractTableModel.h.
|
privateinherited |
Definition at line 149 of file AbstractTableModel.h.
|
privateinherited |
Definition at line 147 of file AbstractTableModel.h.
|
privateinherited |
Definition at line 150 of file AbstractTableModel.h.
|
privateinherited |
Definition at line 148 of file AbstractTableModel.h.
|
privateinherited |
Definition at line 144 of file AbstractTableModel.h.
|
staticprivateinherited |
Definition at line 152 of file AbstractTableModel.h.