48 RoleTableName = Qt::UserRole,
78 QModelIndex parent(
const QModelIndex &child )
const override;
79 int rowCount(
const QModelIndex &parent = QModelIndex() )
const override;
80 int columnCount(
const QModelIndex &parent = QModelIndex() )
const override;
81 QVariant data(
const QModelIndex &index,
int role = Qt::DisplayRole )
const override;
82 QModelIndex index(
int row,
int column,
const QModelIndex &parent )
const override;
88 void setAllowEmptyTable(
bool allowEmpty );
105 std::unique_ptr< QgsAbstractDatabaseProviderConnection > mConnection;
107 QList<QgsAbstractDatabaseProviderConnection::TableProperty> mTables;
108 bool mAllowEmpty =
false;