Simple implementation of CSV file import. Successfully imported items are appended to the model.
This commit is contained in:
@ -43,6 +43,9 @@ class TableModel : public QAbstractTableModel {
|
||||
void insertItems(int startPosition,
|
||||
const QByteArray& jsonDoc,
|
||||
const QModelIndex& parentIndex = QModelIndex());
|
||||
void insertItems(int startPosition,
|
||||
const QList<QHash<int, QVariant>>& itemValuesList,
|
||||
const QModelIndex& parentIndex = QModelIndex());
|
||||
|
||||
private:
|
||||
/// *** members ***
|
||||
|
||||
Reference in New Issue
Block a user