7#ifndef DECK_PREVIEW_WIDGET_H
8#define DECK_PREVIEW_WIDGET_H
16#include <QAbstractItemView>
17#include <QApplication>
33 const QString &_filePath);
75 void setTags(
const QStringList &tags);
93 if (event->type() == QEvent::Wheel) {
94 if (
auto *combo = qobject_cast<QComboBox *>(obj)) {
96 if (!combo->view()->isVisible()) {
98 QWidget *parent = combo->parentWidget();
100 if (
auto *scroll = qobject_cast<QAbstractScrollArea *>(parent)) {
101 QApplication::sendEvent(scroll->viewport(), event);
104 parent = parent->parentWidget();
111 return QObject::eventFilter(obj, event);
Definition deck_loader.h:20
Represents a deck that was loaded from somewhere. Contains the DeckList itself, as well as info about...
Definition loaded_deck.h:14