87 QModelIndex parent(
const QModelIndex &child )
const override;
88 int rowCount(
const QModelIndex &parent = QModelIndex() )
const override;
89 int columnCount(
const QModelIndex &parent = QModelIndex() )
const override;
90 QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole )
const override;
91 QModelIndex index(
int row,
int column,
const QModelIndex &parent )
const override;
97 void setAllowEmptyTable(
bool allowEmpty );
114 std::unique_ptr< QgsAbstractDatabaseProviderConnection > mConnection;
116 QList<QgsAbstractDatabaseProviderConnection::TableProperty> mTables;
117 bool mAllowEmpty =
false;