7#ifndef CARD_GROUP_DISPLAY_WIDGET_H
8#define CARD_GROUP_DISPLAY_WIDGET_H
13#include <QPersistentModelIndex>
19#include <qtmetamacros.h>
26class QItemSelectionModel;
44 void onSelectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected);
63 virtual void onCardAddition(
const QModelIndex &parent,
int first,
int last);
64 virtual void onCardRemoval(
const QModelIndex &parent,
int first,
int last);
65 void onDataChanged(
const QModelIndex &topLeft,
const QModelIndex &bottomRight,
const QVector<int> &roles);
91 layout->insertWidget(insertAt, toInsert);
96 layout->removeWidget(toRemove);
Qt model representing a decklist for use in views (tree/table).
Definition deck_list_model.h:228
Represents a specific card instance, defined by its CardInfo and a particular printing.
Definition exact_card.h:24