Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
visual_deck_storage_sort_widget.h
Go to the documentation of this file.
1
5
6#ifndef VISUAL_DECK_STORAGE_SORT_WIDGET_H
7#define VISUAL_DECK_STORAGE_SORT_WIDGET_H
8
10
11#include <QComboBox>
12#include <QHBoxLayout>
13#include <QWidget>
14
16class VisualDeckStorageSortWidget : public QWidget
17{
18 Q_OBJECT
19
20public:
22 void retranslateUi();
23
28
29signals:
34
35private slots:
36 void updateSortOrder();
37
38private:
39 QHBoxLayout *layout;
40 QComboBox *sortComboBox;
41};
42
43#endif // VISUAL_DECK_STORAGE_SORT_WIDGET_H
SortOrder
The order in which decks are sorted. Values must match the entries of the sort widget's combo box and...
Definition visual_deck_storage_sort_filter_proxy_model.h:33
void updateSortOrder()
Definition visual_deck_storage_sort_widget.cpp:59
VisualDeckStorageSortFilterProxyModel::SortOrder currentSortOrder() const
The currently selected sort order.
Definition visual_deck_storage_sort_widget.cpp:54
QComboBox * sortComboBox
Definition visual_deck_storage_sort_widget.h:40
void sortOrderChanged()
Emitted when the user picks a different sort order.
void retranslateUi()
Definition visual_deck_storage_sort_widget.cpp:30
QHBoxLayout * layout
Definition visual_deck_storage_sort_widget.h:39
VisualDeckStorageSortWidget(VisualDeckStorageWidget *parent)
Definition visual_deck_storage_sort_widget.cpp:8
Definition visual_deck_storage_widget.h:30
Sorting and filtering proxy on top of VisualDeckStorageModel.