Implemented loopstation preset detail widget

This commit is contained in:
2022-12-28 01:22:03 +01:00
parent 015d42d977
commit d3fd851d54
12 changed files with 425 additions and 4 deletions

View File

@@ -0,0 +1,19 @@
#pragma once
#include <QAbstractListModel>
namespace loopstation_presets { struct Preset; }
class LoopStationPresetTagsModel : public QAbstractListModel
{
public:
LoopStationPresetTagsModel(QObject *parent = nullptr);
void setPreset(const loopstation_presets::Preset &preset);
int rowCount(const QModelIndex &parent) const override;
QVariant data(const QModelIndex &index, int role) const override;
private:
std::vector<QString> m_tags;
};