itom
Loading...
Searching...
No Matches
ito::ExtendedDataObjectTable Class Reference
Inheritance diagram for ito::ExtendedDataObjectTable:
DataObjectTable

Public Member Functions

 ExtendedDataObjectTable (QWidget *parent=nullptr)
 
void setTableName (const QString &name)
 
- Public Member Functions inherited from DataObjectTable
 DataObjectTable (QWidget *parent=0)
 
void setData (QSharedPointer< ito::DataObject > dataObj)
 
QSharedPointer< ito::DataObjectgetData () const
 
bool getReadOnly () const
 
void setReadOnly (bool value)
 
double getMin () const
 
void setMin (double value)
 
double getMax () const
 
void setMax (double value)
 
int getDecimals () const
 
void setDecimals (int value)
 
void setNumberFormat (const NumberFormat &format)
 
NumberFormat getNumberFormat () const
 
Qt::Alignment getAlignment () const
 
void setAlignment (Qt::Alignment alignment)
 
int getEditorDecimals () const
 
void setEditorDecimals (int value)
 
QHeaderView::ResizeMode getHorizontalResizeMode () const
 
void setHorizontalResizeMode (QHeaderView::ResizeMode mode)
 
QHeaderView::ResizeMode getVerticalResizeMode () const
 
void setVerticalResizeMode (QHeaderView::ResizeMode mode)
 
int getDefaultCols () const
 
void setDefaultCols (int value)
 
int getDefaultRows () const
 
void setDefaultRows (int value)
 
QStringList getVerticalLabels () const
 
void setVerticalLabels (QStringList value)
 
QStringList getHorizontalLabels () const
 
void setHorizontalLabels (QStringList value)
 
QStringList getSuffixes () const
 
void setSuffixes (QStringList value)
 
virtual QSize sizeHint () const
 

Protected Member Functions

virtual void selectionChanged (const QItemSelection &selected, const QItemSelection &deselected)
 
void showPlotGeneric (const QString &plotClass)
 
bool coverAllRangesTheSameRows (const QItemSelection &ranges, int &nrOfColumns) const
 
bool coverAllRangesTheSameColumns (const QItemSelection &ranges, int &nrOfRows) const
 
- Protected Member Functions inherited from DataObjectTable
void createActions ()
 
void restoreSelection (const QModelIndexList &indices)
 
void keyPressEvent (QKeyEvent *e)
 
void contextMenuEvent (QContextMenuEvent *event)
 

Protected Attributes

QAction * m_pActPlot2d
 
QAction * m_pActPlot1d
 
QString m_name
 
- Protected Attributes inherited from DataObjectTable
DataObjectModelm_pModel
 
DataObjectDelegatem_pDelegate
 

Private Slots

void showPlot2d ()
 
void showPlot1d ()
 

Additional Inherited Members

- Public Types inherited from DataObjectTable
enum  NumberFormat { Standard = 0 , Scientific = 1 , Auto = 2 }
 
enum  HeatmapType {
  Off = 0 , RealColor = 1 , RedYellowGreen = 2 , GreenYellowRed = 3 ,
  RedWhiteGreen = 4 , GreenWhiteRed = 5
}
 
- Signals inherited from DataObjectTable
void activated (int row, int column)
 
void clicked (int row, int column)
 
void doubleClicked (int row, int column)
 
void entered (int row, int column)
 
void pressed (int row, int column)
 
void selectionInformationChanged (const QString &selectionInformation)
 
- Properties inherited from DataObjectTable
QSharedPointer< ito::DataObjectdata
 
bool readOnly
 
double min
 
double max
 
int decimals
 
int editorDecimals
 
int defaultCols
 
int defaultRows
 
QStringList horizontalLabels
 
QStringList verticalLabels
 
QStringList suffixes
 
QHeaderView::ResizeMode horizontalResizeMode
 
QHeaderView::ResizeMode verticalResizeMode
 
Qt::Alignment alignment
 
NumberFormat numberFormat
 

Member Function Documentation

◆ selectionChanged()

void ito::ExtendedDataObjectTable::selectionChanged ( const QItemSelection & selected,
const QItemSelection & deselected )
protectedvirtual

Reimplemented from DataObjectTable.


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