#include <sortmodel.h>
 | 
| bool  | lessThan (const QModelIndex &left, const QModelIndex &right) const override | 
|   | Function compares two items while sorting table view.  
  | 
|   | 
◆ SortModel()
  
  
      
        
          | SortModel::SortModel  | 
          ( | 
          QObject *  | 
          parent = 0 | ) | 
           | 
         
       
   | 
  
explicit   | 
  
 
 
◆ isFilterActive()
      
        
          | bool SortModel::isFilterActive  | 
          ( | 
           | ) | 
           const | 
        
      
 
 
◆ lessThan()
  
  
      
        
          | bool SortModel::lessThan  | 
          ( | 
          const QModelIndex &  | 
          left,  | 
         
        
           | 
           | 
          const QModelIndex &  | 
          right  | 
         
        
           | 
          ) | 
           |  const | 
         
       
   | 
  
overrideprotected   | 
  
 
Function compares two items while sorting table view. 
- Parameters
 - 
  
    | left | index of first item to compare  | 
    | right | index of second item to compare  | 
  
   
- Returns
 - true if left item is smaller than right, false if otherwise 
 
 
 
◆ setFilterActive()
      
        
          | void SortModel::setFilterActive  | 
          ( | 
          bool  | 
          enabled | ) | 
           | 
        
      
 
 
◆ sort()
  
  
      
        
          | void SortModel::sort  | 
          ( | 
          int  | 
          column,  | 
         
        
           | 
           | 
          Qt::SortOrder  | 
          order = Qt::AscendingOrder  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
override   | 
  
 
 
The documentation for this class was generated from the following files: