mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-10 12:23:58 -07:00
[UserListDelegate] Consider providerId (#7018)
Co-authored-by: Lukas Brübach <lukas.bruebach@bdosecurity.de>
This commit is contained in:
parent
2914874720
commit
6dc974a05d
19 changed files with 211 additions and 53 deletions
|
|
@ -20,6 +20,7 @@ public:
|
|||
struct Entry
|
||||
{
|
||||
QString cardName;
|
||||
QString cardProviderId;
|
||||
QString mode;
|
||||
QString reason;
|
||||
};
|
||||
|
|
@ -35,6 +36,7 @@ public:
|
|||
void clear();
|
||||
|
||||
QString cardAt(int row) const;
|
||||
const Entry *entryAt(int row) const;
|
||||
|
||||
private slots:
|
||||
void onRefreshFinished(const Response &r);
|
||||
|
|
@ -70,11 +72,13 @@ private:
|
|||
|
||||
QLineEdit *searchEdit;
|
||||
void initSearchBar();
|
||||
void populateProviderCombo(const QString &cardName);
|
||||
QCompleter *searchCompleter;
|
||||
CardDatabaseModel *cardDbModel;
|
||||
CardDatabaseDisplayModel *cardDbDisplayModel;
|
||||
CardSearchModel *cardSearchModel;
|
||||
CardCompleterProxyModel *cardProxyModel;
|
||||
QComboBox *providerComboBox;
|
||||
QComboBox *modeBox;
|
||||
QLineEdit *reasonEdit;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue