7#ifndef DECK_PREVIEW_WIDGET_H
8#define DECK_PREVIEW_WIDGET_H
16#include <QAbstractItemView>
17#include <QApplication>
33 const QString &_filePath);
75#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
88 void setTags(
const QStringList &tags);
106 if (event->type() == QEvent::Wheel) {
107 if (
auto *combo = qobject_cast<QComboBox *>(obj)) {
109 if (!combo->view()->isVisible()) {
111 QWidget *parent = combo->parentWidget();
113 if (
auto *scroll = qobject_cast<QAbstractScrollArea *>(parent)) {
114 QApplication::sendEvent(scroll->viewport(), event);
117 parent = parent->parentWidget();
124 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