OpendTect 8.0
Loading...
Searching...
No Matches
Coords::CRSInfoTableModel Class Reference

#include <crsproj.h>

Inheritance diagram for Coords::CRSInfoTableModel:
[legend]

Public Member Functions

 CRSInfoTableModel (const CRSInfoList &)
 
 ~CRSInfoTableModel ()
 
OD::Color cellColor (int row, int col) const override
 
int currentSelection () const
 
int flags (int row, int col) const override
 
CellData getCellData (int row, int col) const override
 
uiString headerText (int rowcol, OD::Orientation) const override
 
int nrCols () const override
 
int nrRows () const override
 
PixmapDesc pixmap (int row, int col) const override
 
void setCellData (int row, int col, const CellData &) override
 
void setCurrentSelection (int)
 
OD::Color textColor (int row, int col) const override
 
uiString tooltip (int row, int col) const override
 
- Public Member Functions inherited from TableModel
virtual ~TableModel ()
 
bool applyEditRequest (const TableModelEditRequest &, bool useoldval)
 
void beginReset ()
 
bool collectEditRequests (const TableModelEditRequest &, TypeSet< TableModelEditRequest > &)
 
Alignment columnAlignment (int col) const
 
CNotifier< CallBacker, const TableModelEditRequest & > & editRequested ()
 
void endReset ()
 
QAbstractTableModel * getAbstractModel ()
 
virtual CellType getColumnCellType (int col) const
 
virtual char getColumnFormatSpecifier (int col) const
 
virtual int getColumnPrecision (int col) const
 
virtual const EnumDef * getEnumDef (int col) const
 
virtual int isChecked (int row, int col) const
 
 mOD_DisableCopy (TableModel) virtual int nrRows() const =0
 
virtual void setChecked (int row, int col, int val)
 
void setColumnAlignment (int col, const Alignment &)
 

Protected Attributes

const CRSInfoList & crslist_
 
int curselidx_ = -1
 
- Protected Attributes inherited from TableModel
ODAbstractTableModel * odtablemodel_
 

Additional Inherited Members

- Public Types inherited from TableModel
enum  CellType {
  Bool , Text , NumI , NumF ,
  NumD , Color , Date , DateTime ,
  Enum , Other
}
 
enum  ItemFlag {
  NoFlags =0 , ItemSelectable =1 , ItemEditable =2 , ItemDragEnabled =4 ,
  ItemDropEnabled =8 , ItemIsUserCheckable =16 , ItemEnabled =32
}
 
- Protected Member Functions inherited from TableModel
 TableModel ()
 
void rowBulkDataChanged (int row, const TypeSet< int > &changedcols)
 

Constructor & Destructor Documentation

◆ CRSInfoTableModel()

Coords::CRSInfoTableModel::CRSInfoTableModel ( const CRSInfoList & )

◆ ~CRSInfoTableModel()

Coords::CRSInfoTableModel::~CRSInfoTableModel ( )

Member Function Documentation

◆ cellColor()

OD::Color Coords::CRSInfoTableModel::cellColor ( int row,
int col ) const
overridevirtual

Implements TableModel.

◆ currentSelection()

int Coords::CRSInfoTableModel::currentSelection ( ) const

◆ flags()

int Coords::CRSInfoTableModel::flags ( int row,
int col ) const
overridevirtual

Implements TableModel.

◆ getCellData()

CellData Coords::CRSInfoTableModel::getCellData ( int row,
int col ) const
overridevirtual

Implements TableModel.

◆ headerText()

uiString Coords::CRSInfoTableModel::headerText ( int rowcol,
OD::Orientation  ) const
overridevirtual

Implements TableModel.

◆ nrCols()

int Coords::CRSInfoTableModel::nrCols ( ) const
overridevirtual

Implements TableModel.

◆ nrRows()

int Coords::CRSInfoTableModel::nrRows ( ) const
override

◆ pixmap()

PixmapDesc Coords::CRSInfoTableModel::pixmap ( int row,
int col ) const
overridevirtual

Implements TableModel.

◆ setCellData()

void Coords::CRSInfoTableModel::setCellData ( int row,
int col,
const CellData &  )
overridevirtual

Implements TableModel.

◆ setCurrentSelection()

void Coords::CRSInfoTableModel::setCurrentSelection ( int )

◆ textColor()

OD::Color Coords::CRSInfoTableModel::textColor ( int row,
int col ) const
overridevirtual

Implements TableModel.

◆ tooltip()

uiString Coords::CRSInfoTableModel::tooltip ( int row,
int col ) const
overridevirtual

Implements TableModel.

Member Data Documentation

◆ crslist_

const CRSInfoList& Coords::CRSInfoTableModel::crslist_
protected

◆ curselidx_

int Coords::CRSInfoTableModel::curselidx_ = -1
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2026