Isis Developer Reference
Isis::TableView Class Reference

#include <TableView.h>

Inheritance diagram for Isis::TableView:
Inheritance graph
Collaboration diagram for Isis::TableView:
Collaboration graph

Public Slots

void displayWarning (AbstractTableModel::Warning)
 Displays warnings for a table. More...
 
void handleModelSelectionChanged ()
 Handles refreshing the content when the model selection is changed. More...
 
void handleModelSelectionChanged (QList< AbstractTreeItem * >)
 

Signals

void activated ()
 
void rebuildModels (QList< AbstractTreeItem * >)
 
void selectionChanged ()
 
void modelDataChanged ()
 
void tableSelectionChanged (QList< AbstractTreeItem * >)
 
void filterCountsChanged (int visibleRows, int totalRows)
 
void editControlPoint (ControlPoint *, QString)
 

Public Member Functions

 TableView (AbstractTableModel *someModel, QString pathForSettigs, QString objName)
 Constructor. More...
 
virtual ~TableView ()
 Destructor. More...
 
QFont getContentFont () const
 
TableViewHeadergetHorizontalHeader ()
 Returns the horizontal header. More...
 
QStringList getTitles () const
 
void setTitles (QStringList someTitle)
 
void setColumnVisible (QString, bool)
 Sets the specified column visible or invisible. More...
 
AbstractTableModelgetModel ()
 Returns the model. More...
 
void readSettings ()
 
void writeSettings ()
 
TableViewContentcontent ()
 Returns the content of the table. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TableView()

Isis::TableView::TableView ( AbstractTableModel someModel,
QString  pathForSettings,
QString  objName 
)

◆ ~TableView()

Member Function Documentation

◆ activated

void Isis::TableView::activated ( )
signal

◆ content()

TableViewContent * Isis::TableView::content ( )

Returns the content of the table.

Returns
TableViewContent The content of the table

Referenced by Isis::Directory::addCnetEditorView().

◆ displayWarning

◆ editControlPoint

void Isis::TableView::editControlPoint ( ControlPoint ,
QString   
)
signal

Referenced by TableView().

◆ filterCountsChanged

void Isis::TableView::filterCountsChanged ( int  visibleRows,
int  totalRows 
)
signal

Referenced by TableView().

◆ getContentFont()

QFont Isis::TableView::getContentFont ( ) const

◆ getHorizontalHeader()

TableViewHeader * Isis::TableView::getHorizontalHeader ( )

Returns the horizontal header.

Returns
TableViewHeader The horizontal header

Referenced by Isis::CnetEditorWidget::readSettings(), and Isis::CnetEditorWidget::writeSettings().

◆ getModel()

AbstractTableModel * Isis::TableView::getModel ( )

Returns the model.

Returns
AbstractTableModel The model

References Isis::TableViewContent::getModel().

◆ getTitles()

QStringList Isis::TableView::getTitles ( ) const

◆ handleModelSelectionChanged [1/2]

void Isis::TableView::handleModelSelectionChanged ( )
slot

Handles refreshing the content when the model selection is changed.

References Isis::TableViewContent::refresh().

Referenced by TableView().

◆ handleModelSelectionChanged [2/2]

void Isis::TableView::handleModelSelectionChanged ( QList< AbstractTreeItem * >  newlySelectedItems)
slot

◆ modelDataChanged

void Isis::TableView::modelDataChanged ( )
signal

Referenced by TableView().

◆ readSettings()

void Isis::TableView::readSettings ( )

◆ rebuildModels

void Isis::TableView::rebuildModels ( QList< AbstractTreeItem * >  )
signal

Referenced by TableView().

◆ selectionChanged

void Isis::TableView::selectionChanged ( )
signal

Referenced by TableView().

◆ setColumnVisible()

void Isis::TableView::setColumnVisible ( QString  column,
bool  visible 
)

Sets the specified column visible or invisible.

Parameters
columnThe column to change the visibility of
visibleThe visibility setting

References Isis::TableColumn::getTitle(), Isis::TableColumn::setVisible(), and Isis::TableColumnList::size().

◆ setTitles()

void Isis::TableView::setTitles ( QStringList  someTitle)

◆ tableSelectionChanged

void Isis::TableView::tableSelectionChanged ( QList< AbstractTreeItem * >  )
signal

Referenced by TableView().

◆ writeSettings()

void Isis::TableView::writeSettings ( )

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