OpendTect  6.6
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
uiTableModel Class Referenceabstract

Classes

class  CellData
 

Public Types

enum  ItemFlag {
  NoFlags =0 , ItemSelectable =1 , ItemEditable =2 , ItemDragEnabled =4 ,
  ItemDropEnabled =8 , ItemIsUserCheckable =16 , ItemEnabled =32
}
 

Public Member Functions

virtual ~uiTableModel ()
 
void beginReset ()
 
virtual Color cellColor (int row, int col) const =0
 
void endReset ()
 
virtual int flags (int row, int col) const =0
 
ODAbstractTableModel * getAbstractModel ()
 
virtual CellData getCellData (int row, int col) const =0
 
virtual uiString headerText (int rowcol, OD::Orientation) const =0
 
virtual int isChecked (int row, int col) const
 
virtual int nrCols () const =0
 
virtual int nrRows () const =0
 
virtual uiPixmap pixmap (int row, int col) const =0
 
virtual void setCellData (int row, int col, const CellData &)=0
 
virtual void setChecked (int row, int col, int val)
 
virtual Color textColor (int row, int col) const =0
 
virtual uiString tooltip (int row, int col) const =0
 

Protected Member Functions

 uiTableModel ()
 

Protected Attributes

ODAbstractTableModel * odtablemodel_
 

Detailed Description

<>

Member Enumeration Documentation

◆ ItemFlag

Enumerator
NoFlags 
ItemSelectable 
ItemEditable 
ItemDragEnabled 
ItemDropEnabled 
ItemIsUserCheckable 
ItemEnabled 

Constructor & Destructor Documentation

◆ ~uiTableModel()

virtual uiTableModel::~uiTableModel ( )
virtual

◆ uiTableModel()

uiTableModel::uiTableModel ( )
protected

Member Function Documentation

◆ beginReset()

void uiTableModel::beginReset ( )

◆ cellColor()

virtual Color uiTableModel::cellColor ( int  row,
int  col 
) const
pure virtual

◆ endReset()

void uiTableModel::endReset ( )

◆ flags()

virtual int uiTableModel::flags ( int  row,
int  col 
) const
pure virtual

◆ getAbstractModel()

ODAbstractTableModel* uiTableModel::getAbstractModel ( )
inline

◆ getCellData()

virtual CellData uiTableModel::getCellData ( int  row,
int  col 
) const
pure virtual

◆ headerText()

virtual uiString uiTableModel::headerText ( int  rowcol,
OD::Orientation   
) const
pure virtual

◆ isChecked()

virtual int uiTableModel::isChecked ( int  row,
int  col 
) const
inlinevirtual

◆ nrCols()

virtual int uiTableModel::nrCols ( ) const
pure virtual

◆ nrRows()

virtual int uiTableModel::nrRows ( ) const
pure virtual

◆ pixmap()

virtual uiPixmap uiTableModel::pixmap ( int  row,
int  col 
) const
pure virtual

◆ setCellData()

virtual void uiTableModel::setCellData ( int  row,
int  col,
const CellData  
)
pure virtual

◆ setChecked()

virtual void uiTableModel::setChecked ( int  row,
int  col,
int  val 
)
inlinevirtual

◆ textColor()

virtual Color uiTableModel::textColor ( int  row,
int  col 
) const
pure virtual

◆ tooltip()

virtual uiString uiTableModel::tooltip ( int  row,
int  col 
) const
pure virtual

Member Data Documentation

◆ odtablemodel_

ODAbstractTableModel* uiTableModel::odtablemodel_
protected

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