18 #include "predefinedsetmodel.h"
25 int PredefinedSetModel::rowCount(
const QModelIndex & )
const
27 return mKeySet.size();
30 int PredefinedSetModel::columnCount(
const QModelIndex & )
const
40 return mKeySet.type(section);
50 const int row = index.
row();
51 const int column = index.
column();
53 const int& keyFrameIndex = mKeySet.keyFrameIndexAt(row);
54 const QString& filePath = mKeySet.filePathAt(row);
55 if (column == PredefinedKeySet::ColumnType::FILES) {
58 if (column == PredefinedKeySet::ColumnType::KEYFRAMEPOS) {
QString arg(qlonglong a, int fieldWidth, int base, QChar fillChar) const const