Isis Developer Reference
|
#include <TableColumnList.h>
Signals | |
void | sortOutDated () |
Public Member Functions | |
TableColumnList () | |
TableColumnList (TableColumnList const &) | |
virtual | ~TableColumnList () |
TableColumn *& | operator[] (int index) |
TableColumn *& | operator[] (QString title) |
void | append (TableColumn *newCol) |
void | prepend (TableColumn *newCol) |
int | indexOf (TableColumn const *someCol) const |
bool | contains (TableColumn const *someCol) const |
bool | contains (QString columnTitle) const |
QPair< int, int > | getVisibleXRange (int visibleColumn) |
TableColumnList | getVisibleColumns () |
int | getVisibleWidth () const |
QList< TableColumn * > | getSortingOrder () |
QStringList | getSortingOrderAsStrings () const |
void | setSortingOrder (QStringList newOrder) |
void | lower (TableColumn *col, bool emitSortOutDated=true) |
void | raise (TableColumn *col, bool emitSortOutDated=true) |
void | raiseToTop (TableColumn *col) |
int | size () const |
TableColumnList & | operator= (TableColumnList other) |
Isis::TableColumnList::TableColumnList | ( | ) |
Isis::TableColumnList::TableColumnList | ( | TableColumnList const & | other | ) |
|
virtual |
void Isis::TableColumnList::append | ( | TableColumn * | newCol | ) |
References _FILEINFO_, Isis::IException::Programmer, and sortOutDated().
Referenced by Isis::AbstractMeasureItem::createColumns(), Isis::AbstractPointItem::createColumns(), and getVisibleColumns().
bool Isis::TableColumnList::contains | ( | QString | columnTitle | ) | const |
bool Isis::TableColumnList::contains | ( | TableColumn const * | someCol | ) | const |
References indexOf().
Referenced by getVisibleColumns(), and setSortingOrder().
QList< TableColumn * > Isis::TableColumnList::getSortingOrder | ( | ) |
References ASSERT.
Referenced by Isis::TableViewHeader::mouseMoveEvent(), Isis::TableViewHeader::mouseReleaseEvent(), and Isis::AbstractTableModel::sort().
QStringList Isis::TableColumnList::getSortingOrderAsStrings | ( | ) | const |
Referenced by Isis::TableView::~TableView().
TableColumnList Isis::TableColumnList::getVisibleColumns | ( | ) |
References append(), contains(), and size().
Referenced by getVisibleXRange(), Isis::TableViewHeader::handleFilterCountsChanged(), Isis::TableViewContent::keyPressEvent(), Isis::TableViewContent::mouseDoubleClickEvent(), Isis::TableViewHeader::mouseMoveEvent(), Isis::TableViewContent::mousePressEvent(), Isis::TableViewHeader::mousePressEvent(), Isis::TableViewHeader::mouseReleaseEvent(), and Isis::TableViewContent::updateHorizontalScrollBar().
int Isis::TableColumnList::getVisibleWidth | ( | ) | const |
References size().
Referenced by Isis::TableViewContent::paintEvent().
QPair< int, int > Isis::TableColumnList::getVisibleXRange | ( | int | visibleColumn | ) |
References getVisibleColumns(), and size().
Referenced by Isis::TableViewContent::paintEvent().
int Isis::TableColumnList::indexOf | ( | TableColumn const * | someCol | ) | const |
Referenced by contains().
void Isis::TableColumnList::lower | ( | TableColumn * | col, |
bool | emitSortOutDated = true |
||
) |
References size(), and sortOutDated().
TableColumnList & Isis::TableColumnList::operator= | ( | TableColumnList | other | ) |
TableColumn *& Isis::TableColumnList::operator[] | ( | int | index | ) |
TableColumn *& Isis::TableColumnList::operator[] | ( | QString | title | ) |
References _FILEINFO_, and Isis::IException::Programmer.
void Isis::TableColumnList::prepend | ( | TableColumn * | newCol | ) |
Referenced by Isis::TableView::TableView().
void Isis::TableColumnList::raise | ( | TableColumn * | col, |
bool | emitSortOutDated = true |
||
) |
References sortOutDated().
void Isis::TableColumnList::raiseToTop | ( | TableColumn * | col | ) |
References sortOutDated().
Referenced by Isis::TableViewHeader::mouseReleaseEvent(), and setSortingOrder().
void Isis::TableColumnList::setSortingOrder | ( | QStringList | newOrder | ) |
References contains(), and raiseToTop().
Referenced by Isis::TableView::TableView().
int Isis::TableColumnList::size | ( | ) | const |
References ASSERT.
Referenced by getVisibleColumns(), getVisibleWidth(), getVisibleXRange(), Isis::TableViewHeader::handleFilterCountsChanged(), lower(), Isis::TableViewHeader::mouseReleaseEvent(), Isis::TableView::setColumnVisible(), Isis::TableViewHeader::setModel(), Isis::TableView::TableView(), Isis::TableViewContent::TableViewContent(), Isis::TableViewContent::updateHorizontalScrollBar(), Isis::AbstractTableModel::~AbstractTableModel(), and Isis::TableView::~TableView().
|
signal |
Referenced by append(), lower(), raise(), and raiseToTop().