| 
    QGIS API Documentation 3.32.0-Lima (311a8cb8a6)
    
   | 
 
The QgsAbstractDbTableModel class is a pure virtual model class for results in a database source widget selector. More...
#include <qgsabstractdbtablemodel.h>

Public Member Functions | |
| QgsAbstractDbTableModel (QObject *parent=nullptr) | |
| Constructor.  More... | |
| virtual QStringList | columns () const =0 | 
| Returns the list of columns in the table.  More... | |
| virtual int | defaultSearchColumn () const =0 | 
| Returns the index of the column used by default to filter the results (probably the table name column if it exists)  More... | |
| virtual bool | searchableColumn (int column) const | 
| Returns if the column should be searchable at the given index.  More... | |
| virtual void | setSql (const QModelIndex &index, const QString &sql)=0 | 
| Sets an sql statement that belongs to a cell specified by a model index.  More... | |
The QgsAbstractDbTableModel class is a pure virtual model class for results in a database source widget selector.
Definition at line 28 of file qgsabstractdbtablemodel.h.
      
  | 
  inlineexplicit | 
Constructor.
Definition at line 33 of file qgsabstractdbtablemodel.h.
      
  | 
  pure virtual | 
Returns the list of columns in the table.
      
  | 
  pure virtual | 
Returns the index of the column used by default to filter the results (probably the table name column if it exists)
      
  | 
  inlinevirtual | 
Returns if the column should be searchable at the given index.
Definition at line 44 of file qgsabstractdbtablemodel.h.
      
  | 
  pure virtual | 
Sets an sql statement that belongs to a cell specified by a model index.