Class required by TestQVTKTableModelAdapter to run Qt tests involving event loop.  
 More...
#include <QVTKTableModelAdapterTestClass.h>
Inherits QAbstractTableModel.
 | 
|   | QVTKTableModelAdapterTestClass (QObject *parent=nullptr) | 
|   | 
| int  | rowCount (const QModelIndex &parent=QModelIndex()) const override | 
|   | 
| int  | columnCount (const QModelIndex &parent=QModelIndex()) const override | 
|   | 
| bool  | insertRows (int row, int count, const QModelIndex &parent=QModelIndex()) override | 
|   | 
| bool  | removeRows (int row, int count, const QModelIndex &parent=QModelIndex()) override | 
|   | 
| bool  | insertColumns (int column, int count, const QModelIndex &parent=QModelIndex()) override | 
|   | 
| bool  | removeColumns (int column, int count, const QModelIndex &parent=QModelIndex()) override | 
|   | 
| QVariant  | data (const QModelIndex &index, int role) const override | 
|   | 
| bool  | setData (const QModelIndex &index, const QVariant &value, int role) override | 
|   | 
| QVariant  | headerData (int section, Qt::Orientation orientation, int role) const override | 
|   | 
Class required by TestQVTKTableModelAdapter to run Qt tests involving event loop. 
Definition at line 19 of file QVTKTableModelAdapterTestClass.h.
 
◆ QVTKTableModelAdapterTestClass()
      
        
          | QVTKTableModelAdapterTestClass::QVTKTableModelAdapterTestClass  | 
          ( | 
          QObject *  | 
          parent = nullptr | ) | 
           | 
        
      
 
 
◆ rowCount()
  
  
      
        
          | int QVTKTableModelAdapterTestClass::rowCount  | 
          ( | 
          const QModelIndex &  | 
          parent = QModelIndex() | ) | 
           const | 
         
       
   | 
  
override   | 
  
 
 
◆ columnCount()
  
  
      
        
          | int QVTKTableModelAdapterTestClass::columnCount  | 
          ( | 
          const QModelIndex &  | 
          parent = QModelIndex() | ) | 
           const | 
         
       
   | 
  
override   | 
  
 
 
◆ insertRows()
  
  
      
        
          | bool QVTKTableModelAdapterTestClass::insertRows  | 
          ( | 
          int  | 
          row,  | 
         
        
           | 
           | 
          int  | 
          count,  | 
         
        
           | 
           | 
          const QModelIndex &  | 
          parent = QModelIndex()  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
override   | 
  
 
 
◆ removeRows()
  
  
      
        
          | bool QVTKTableModelAdapterTestClass::removeRows  | 
          ( | 
          int  | 
          row,  | 
         
        
           | 
           | 
          int  | 
          count,  | 
         
        
           | 
           | 
          const QModelIndex &  | 
          parent = QModelIndex()  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
override   | 
  
 
 
◆ insertColumns()
  
  
      
        
          | bool QVTKTableModelAdapterTestClass::insertColumns  | 
          ( | 
          int  | 
          column,  | 
         
        
           | 
           | 
          int  | 
          count,  | 
         
        
           | 
           | 
          const QModelIndex &  | 
          parent = QModelIndex()  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
override   | 
  
 
 
◆ removeColumns()
  
  
      
        
          | bool QVTKTableModelAdapterTestClass::removeColumns  | 
          ( | 
          int  | 
          column,  | 
         
        
           | 
           | 
          int  | 
          count,  | 
         
        
           | 
           | 
          const QModelIndex &  | 
          parent = QModelIndex()  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
override   | 
  
 
 
◆ data()
  
  
      
        
          | QVariant QVTKTableModelAdapterTestClass::data  | 
          ( | 
          const QModelIndex &  | 
          index,  | 
         
        
           | 
           | 
          int  | 
          role  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
override   | 
  
 
 
◆ setData()
  
  
      
        
          | bool QVTKTableModelAdapterTestClass::setData  | 
          ( | 
          const QModelIndex &  | 
          index,  | 
         
        
           | 
           | 
          const QVariant &  | 
          value,  | 
         
        
           | 
           | 
          int  | 
          role  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
override   | 
  
 
 
◆ headerData()
  
  
      
        
          | QVariant QVTKTableModelAdapterTestClass::headerData  | 
          ( | 
          int  | 
          section,  | 
         
        
           | 
           | 
          Qt::Orientation  | 
          orientation,  | 
         
        
           | 
           | 
          int  | 
          role  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
override   | 
  
 
 
◆ runTests
  
  
      
        
          | void QVTKTableModelAdapterTestClass::runTests  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
slot   | 
  
 
 
◆ processEvents()
  
  
      
        
          | void QVTKTableModelAdapterTestClass::processEvents  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ testClearTable()
  
  
      
        
          | void QVTKTableModelAdapterTestClass::testClearTable  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ testChangeHeader()
  
  
      
        
          | void QVTKTableModelAdapterTestClass::testChangeHeader  | 
          ( | 
          int  | 
          column,  | 
         
        
           | 
           | 
          const QString &  | 
          name  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ testColumnInsertion()
  
  
      
        
          | void QVTKTableModelAdapterTestClass::testColumnInsertion  | 
          ( | 
          int  | 
          column,  | 
         
        
           | 
           | 
          const QStringList &  | 
          names  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ testColumnRemoval()
  
  
      
        
          | void QVTKTableModelAdapterTestClass::testColumnRemoval  | 
          ( | 
          int  | 
          column,  | 
         
        
           | 
           | 
          int  | 
          n  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ testRowInsertion()
  
  
      
        
          | void QVTKTableModelAdapterTestClass::testRowInsertion  | 
          ( | 
          int  | 
          row,  | 
         
        
           | 
           | 
          int  | 
          n  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ testRowRemoval()
  
  
      
        
          | void QVTKTableModelAdapterTestClass::testRowRemoval  | 
          ( | 
          int  | 
          row,  | 
         
        
           | 
           | 
          int  | 
          n  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
 
◆ testInsertRemoveColumns()
  
  
      
        
          | void QVTKTableModelAdapterTestClass::testInsertRemoveColumns  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ testInsertRemoveRows()
  
  
      
        
          | void QVTKTableModelAdapterTestClass::testInsertRemoveRows  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ Errors
  
  
      
        
          | int QVTKTableModelAdapterTestClass::Errors | 
         
       
   | 
  
protected   | 
  
 
 
◆ ColumnData
  
  
      
        
          | QVector<QVector<double> > QVTKTableModelAdapterTestClass::ColumnData | 
         
       
   | 
  
protected   | 
  
 
 
◆ ColumnNames
  
  
      
        
          | QStringList QVTKTableModelAdapterTestClass::ColumnNames | 
         
       
   | 
  
protected   | 
  
 
 
◆ TargetAdapter
The documentation for this class was generated from the following file: