mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-17 16:02:14 -07:00
Add a display for modified cards.
This commit is contained in:
parent
69adf806e6
commit
cdc7fbc965
2 changed files with 77 additions and 21 deletions
|
|
@ -20,7 +20,6 @@ class DlgSelectSetForCards : public QDialog
|
|||
|
||||
public:
|
||||
explicit DlgSelectSetForCards(QWidget *parent, DeckListModel *_model);
|
||||
void actOK();
|
||||
void sortSetsByCount();
|
||||
QMap<QString, QStringList> getCardsForSets();
|
||||
QMap<QString, QStringList> getModifiedCards();
|
||||
|
|
@ -30,6 +29,7 @@ public:
|
|||
QMap<QString, QStringList> cardsForSets;
|
||||
|
||||
public slots:
|
||||
void actOK();
|
||||
void updateCardLists();
|
||||
void dragEnterEvent(QDragEnterEvent *event) override;
|
||||
void dropEvent(QDropEvent *event) override;
|
||||
|
|
@ -40,6 +40,9 @@ private:
|
|||
QScrollArea *uneditedCardsArea;
|
||||
FlowWidget *uneditedCardsFlowWidget;
|
||||
QLabel *uneditedCardsLabel;
|
||||
QScrollArea *modifiedCardsArea;
|
||||
FlowWidget *modifiedCardsFlowWidget;
|
||||
QLabel *modifiedCardsLabel;
|
||||
QWidget *listContainer;
|
||||
QListWidget *listWidget;
|
||||
DeckListModel *model;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue