Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void insertRow( const QString & excelFile,
- const QString & format )
- {
- beginInsertRows( QModelIndex(), 0, 0 );
- QStandardItemModel::insertRow( 0 );
- setData( index( 0, 0, QModelIndex() ),
- excelFile, Qt::DisplayRole );
- setData( index( 0, 1, QModelIndex() ),
- format, Qt::DisplayRole );
- endInsertRows();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement