mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-11-13 05:20:00 -08:00
Replace Visual Deck Storage WUBRG filter with compact Essence dropdown
This commit is contained in:
parent
22714efc13
commit
7864af9592
1 changed files with 2 additions and 2 deletions
|
|
@ -9,13 +9,13 @@
|
||||||
#include "../visual_deck_storage_sort_filter_proxy_model.h"
|
#include "../visual_deck_storage_sort_filter_proxy_model.h"
|
||||||
|
|
||||||
#include <QChar>
|
#include <QChar>
|
||||||
#include <QMap>
|
|
||||||
#include <QSet>
|
#include <QSet>
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <qtmetamacros.h>
|
#include <qtmetamacros.h>
|
||||||
|
|
||||||
class QHBoxLayout;
|
class QHBoxLayout;
|
||||||
class QPushButton;
|
class QPushButton;
|
||||||
|
class EssenceFilterPicker;
|
||||||
|
|
||||||
class DeckPreviewColorIdentityFilterWidget : public QWidget
|
class DeckPreviewColorIdentityFilterWidget : public QWidget
|
||||||
{
|
{
|
||||||
|
|
@ -57,7 +57,7 @@ private slots:
|
||||||
private:
|
private:
|
||||||
QHBoxLayout *layout;
|
QHBoxLayout *layout;
|
||||||
QPushButton *toggleButton;
|
QPushButton *toggleButton;
|
||||||
QMap<QChar, bool> activeColors;
|
EssenceFilterPicker *essencePicker = nullptr;
|
||||||
VisualDeckStorageSortFilterProxyModel::FilterMode filterMode = VisualDeckStorageSortFilterProxyModel::Includes;
|
VisualDeckStorageSortFilterProxyModel::FilterMode filterMode = VisualDeckStorageSortFilterProxyModel::Includes;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue