Isis Developer 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 | ~PointTableModel () |
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) |
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.
|
inherited |
|
explicit |
|
virtual |
|
virtualslotinherited |
|
protectedvirtual |
Implements Isis::AbstractTableModel.
References Isis::AbstractPointItem::createColumns().
|
signalinherited |
|
signalinherited |
Referenced by Isis::AbstractTableModel::AbstractTableModel().
|
signalinherited |
Referenced by Isis::AbstractTableModel::AbstractTableModel().
|
virtualinherited |
|
protectedinherited |
Referenced by Isis::AbstractTableModel::applyFilter(), Isis::MeasureTableModel::getSelectedItems(), getSelectedItems(), Isis::AbstractTableModel::getSortedItems(), Isis::AbstractTableModel::getSortedItems(), Isis::MeasureTableModel::getVisibleRowCount(), getVisibleRowCount(), Isis::MeasureTableModel::indexOfVisibleItem(), indexOfVisibleItem(), Isis::MeasureTableModel::setGlobalSelection(), and setGlobalSelection().
|
protectedinherited |
|
virtualinherited |
|
virtual |
Implements Isis::AbstractTableModel.
References Isis::AbstractTableModel::getSortedItems(), and Isis::AbstractTreeModel::PointItems.
|
virtual |
Implements Isis::AbstractTableModel.
References Isis::AbstractTableModel::getSortedItems(), and Isis::AbstractTreeModel::PointItems.
|
static |
References Isis::AbstractPointItem::APrioriSPCoord1, Isis::AbstractPointItem::APrioriSPCoord1Sigma, Isis::AbstractPointItem::APrioriSPCoord2, Isis::AbstractPointItem::APrioriSPCoord2Sigma, Isis::AbstractPointItem::APrioriSPCoord3, Isis::AbstractPointItem::APrioriSPCoord3Sigma, Isis::AbstractPointItem::EditLock, Isis::ControlPoint::GetAprioriSurfacePoint(), Isis::AbstractPointItem::getColumn(), Isis::AbstractTreeItem::getFormattedData(), Isis::CnetDisplayProperties::getInstance(), Isis::AbstractTreeItem::getPointer(), Isis::TableColumn::getTitle(), and Isis::CnetDisplayProperties::LatLonRadius.
Referenced by getWarningMessage(), and Isis::PointTableDelegate::saveData().
|
virtual |
|
protectedvirtualinherited |
|
protectedvirtualinherited |
|
virtual |
|
virtual |
Implements Isis::AbstractTableModel.
References getPointWarningMessage().
|
protectedinherited |
|
slot |
|
virtual |
|
virtualinherited |
References Isis::AbstractTreeModel::isFiltering().
Referenced by Isis::AbstractTableModel::getSortedItems(), and Isis::TableViewContent::refresh().
|
virtualinherited |
Referenced by Isis::AbstractTableModel::sort().
|
signalinherited |
|
signalinherited |
Referenced by Isis::AbstractTableModel::AbstractTableModel().
|
signalinherited |
Referenced by Isis::AbstractTableModel::AbstractTableModel().
|
virtualslotinherited |
References Isis::AbstractTableModel::getItems(), Isis::AbstractTableModel::modelModified(), Isis::AbstractTableModel::None, Isis::AbstractTableModel::sort(), Isis::AbstractTableModel::SortingDisabled, Isis::AbstractTableModel::sortingOn(), Isis::AbstractTableModel::SortingTableSizeLimitReached, and Isis::AbstractTableModel::userWarning().
Referenced by Isis::AbstractTableModel::AbstractTableModel(), Isis::AbstractTableModel::setSortingEnabled(), and Isis::AbstractTableModel::setSortLimit().
|
slot |
|
virtualslotinherited |
|
virtual |
|
virtualinherited |
|
virtualinherited |
|
virtualslotinherited |
References Isis::TableColumnList::getSortingOrder(), Isis::AbstractTreeModel::isFiltering(), Isis::AbstractTreeModel::isRebuilding(), Isis::AbstractTableModel::isSorting(), Isis::AbstractTableModel::modelModified(), and Isis::AbstractTableModel::sortingOn().
Referenced by Isis::AbstractTableModel::getColumns(), and Isis::AbstractTableModel::rebuildSort().
|
virtualinherited |
|
virtualinherited |
References Isis::AbstractTableModel::getVisibleRowCount(), Isis::AbstractTableModel::sortingIsEnabled(), and Isis::AbstractTableModel::sortLimit().
Referenced by Isis::AbstractTableModel::getSortedItems(), Isis::AbstractTableModel::getSortedItems(), Isis::TableViewHeader::mouseReleaseEvent(), Isis::AbstractTableModel::rebuildSort(), and Isis::AbstractTableModel::sort().
|
virtualinherited |
|
signalinherited |
|
signalinherited |
|
signalinherited |
Referenced by Isis::AbstractTableModel::AbstractTableModel().
|
signalinherited |
|
virtualslotinherited |
|
signalinherited |
Referenced by Isis::AbstractTableModel::rebuildSort().