mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 08:22:15 -07:00
Save some space.
This commit is contained in:
parent
0cd3598277
commit
9e41a8be70
2 changed files with 6 additions and 2 deletions
|
|
@ -20,12 +20,15 @@ VisualDeckStorageWidget::VisualDeckStorageWidget(QWidget *parent) : QWidget(pare
|
|||
layout = new QVBoxLayout();
|
||||
setLayout(layout);
|
||||
|
||||
searchAndSortLayout = new QHBoxLayout();
|
||||
|
||||
sortWidget = new VisualDeckStorageSortWidget(this);
|
||||
searchWidget = new VisualDeckStorageSearchWidget(this);
|
||||
deckPreviewColorIdentityFilterWidget = new DeckPreviewColorIdentityFilterWidget(this);
|
||||
|
||||
layout->addWidget(sortWidget);
|
||||
layout->addWidget(searchWidget);
|
||||
searchAndSortLayout->addWidget(sortWidget);
|
||||
searchAndSortLayout->addWidget(searchWidget);
|
||||
layout->addLayout(searchAndSortLayout);
|
||||
layout->addWidget(deckPreviewColorIdentityFilterWidget);
|
||||
|
||||
flowWidget = new FlowWidget(this, Qt::ScrollBarAlwaysOff, Qt::ScrollBarAsNeeded);
|
||||
|
|
|
|||
|
|
@ -35,6 +35,7 @@ signals:
|
|||
|
||||
private:
|
||||
QVBoxLayout *layout;
|
||||
QHBoxLayout *searchAndSortLayout;
|
||||
FlowWidget *flowWidget;
|
||||
DeckListModel *deckListModel;
|
||||
QMap<QString, DeckViewCardContainer *> cardContainers;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue