Isis 3 Programmer Reference
Isis::TableColumnList Class Reference

#include <TableColumnList.h>

Inheritance diagram for Isis::TableColumnList:
Inheritance graph
Collaboration diagram for Isis::TableColumnList:
Collaboration graph

Signals

void sortOutDated ()
 

Public Member Functions

 TableColumnList (TableColumnList const &)
 
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
 
TableColumnListoperator= (TableColumnList other)
 

Private Member Functions

void checkIndexRange (int index)
 
void nullify ()
 

Private Attributes

QList< TableColumn * > * m_cols
 
QList< TableColumn * > * m_sortingOrder
 

Detailed Description

Author
????-??-?? Unknown
History

2012-09-28 Kimberly Oyama - Changed member variables to be prefixed with "m_".

2016-08-28 Kelvin Rodriguez - Removed unused member functions that are would cause infinite recursion if called. Caught by clang diagnostics. Part of porting to OS X 10.11

2017-07-25 Summer Stapleton - Removed the CnetViz namespace. Fixes #5054.

Definition at line 30 of file TableColumnList.h.

Constructor & Destructor Documentation

◆ TableColumnList() [1/2]

Isis::TableColumnList::TableColumnList ( )

Definition at line 26 of file TableColumnList.cpp.

◆ TableColumnList() [2/2]

Isis::TableColumnList::TableColumnList ( TableColumnList const & other)

Definition at line 34 of file TableColumnList.cpp.

◆ ~TableColumnList()

Isis::TableColumnList::~TableColumnList ( )
virtual

Definition at line 42 of file TableColumnList.cpp.

Member Function Documentation

◆ append()

void Isis::TableColumnList::append ( TableColumn * newCol)

Definition at line 70 of file TableColumnList.cpp.

◆ checkIndexRange()

void Isis::TableColumnList::checkIndexRange ( int index)
private

Definition at line 266 of file TableColumnList.cpp.

◆ contains() [1/2]

bool Isis::TableColumnList::contains ( QString columnTitle) const

Definition at line 103 of file TableColumnList.cpp.

◆ contains() [2/2]

bool Isis::TableColumnList::contains ( TableColumn const * someCol) const

Definition at line 98 of file TableColumnList.cpp.

◆ getSortingOrder()

QList< TableColumn * > Isis::TableColumnList::getSortingOrder ( )

Definition at line 238 of file TableColumnList.cpp.

◆ getSortingOrderAsStrings()

QStringList Isis::TableColumnList::getSortingOrderAsStrings ( ) const

Definition at line 249 of file TableColumnList.cpp.

◆ getVisibleColumns()

TableColumnList Isis::TableColumnList::getVisibleColumns ( )

Definition at line 201 of file TableColumnList.cpp.

◆ getVisibleWidth()

int Isis::TableColumnList::getVisibleWidth ( ) const

Definition at line 225 of file TableColumnList.cpp.

◆ getVisibleXRange()

QPair< int, int > Isis::TableColumnList::getVisibleXRange ( int visibleColumn)

◆ indexOf()

int Isis::TableColumnList::indexOf ( TableColumn const * someCol) const

Definition at line 88 of file TableColumnList.cpp.

◆ lower()

void Isis::TableColumnList::lower ( TableColumn * col,
bool emitSortOutDated = true )

Definition at line 111 of file TableColumnList.cpp.

◆ nullify()

void Isis::TableColumnList::nullify ( )
private

Definition at line 278 of file TableColumnList.cpp.

◆ operator=()

TableColumnList & Isis::TableColumnList::operator= ( TableColumnList other)

Definition at line 169 of file TableColumnList.cpp.

◆ operator[]() [1/2]

TableColumn *& Isis::TableColumnList::operator[] ( int index)

Definition at line 51 of file TableColumnList.cpp.

◆ operator[]() [2/2]

TableColumn *& Isis::TableColumnList::operator[] ( QString title)

Definition at line 58 of file TableColumnList.cpp.

◆ prepend()

void Isis::TableColumnList::prepend ( TableColumn * newCol)

Definition at line 82 of file TableColumnList.cpp.

◆ raise()

void Isis::TableColumnList::raise ( TableColumn * col,
bool emitSortOutDated = true )

Definition at line 131 of file TableColumnList.cpp.

◆ raiseToTop()

void Isis::TableColumnList::raiseToTop ( TableColumn * col)

Definition at line 151 of file TableColumnList.cpp.

◆ setSortingOrder()

void Isis::TableColumnList::setSortingOrder ( QStringList newOrder)

Definition at line 259 of file TableColumnList.cpp.

◆ size()

int Isis::TableColumnList::size ( ) const

Definition at line 164 of file TableColumnList.cpp.

Member Data Documentation

◆ m_cols

QList< TableColumn * >* Isis::TableColumnList::m_cols
private

Definition at line 78 of file TableColumnList.h.

◆ m_sortingOrder

QList< TableColumn * >* Isis::TableColumnList::m_sortingOrder
private

Definition at line 79 of file TableColumnList.h.


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