6#ifndef DECK_PREVIEW_WIDGET_H
7#define DECK_PREVIEW_WIDGET_H
12#include <QAbstractItemView>
13#include <QApplication>
36 const QString &_filePath);
64 void setTags(
const QStringList &tags);
71 [[nodiscard]]
int row()
const;
108 if (event->type() == QEvent::Wheel) {
109 if (
auto *combo = qobject_cast<QComboBox *>(obj)) {
111 if (!combo->view()->isVisible()) {
113 QWidget *parent = combo->parentWidget();
115 if (
auto *scroll = qobject_cast<QAbstractScrollArea *>(parent)) {
116 QApplication::sendEvent(scroll->viewport(), event);
119 parent = parent->parentWidget();
126 return QObject::eventFilter(obj, event);
The list model backing the Visual Deck Storage widget tree.
Definition visual_deck_storage_model.h:97
Represents a deck that was loaded from somewhere. Contains the DeckList itself, as well as info about...
Definition loaded_deck.h:14
Source model for the Visual Deck Storage: the deck files on disk.