USGS

Isis 3.0 Object Programmers' Reference

Home

Isis::CnetViz::PointTableModel Class Reference

Table model for control points. More...

#include <PointTableModel.h>

Inheritance diagram for Isis::CnetViz::PointTableModel:
Inheritance graph
Collaboration diagram for Isis::CnetViz::PointTableModel:
Collaboration graph

Public Types

enum  Warning { None = 0, SortingDisabled, SortingTableSizeLimitReached }

Public Slots

void handleTreeSelectionChanged (QList< AbstractTreeItem * >)
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 TableColumnListgetColumns ()
virtual const
AbstractTableDelegate
getDelegate () const

Static Public Member Functions

static QString getPointWarningMessage (AbstractTreeItem const *, TableColumn const *, QString valueToSave)

Protected Member Functions

virtual TableColumnListcreateColumns ()
AbstractTreeModelgetDataModel ()
const AbstractTreeModelgetDataModel () 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 Member Functions

 PointTableModel (const PointTableModel &)
PointTableModeloperator= (PointTableModel)

Detailed Description

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.

Author
????-??-?? Eric Hyer

Definition at line 32 of file PointTableModel.h.


The documentation for this class was generated from the following files: