Support multi-select for remote decks in deck storage tab (#5315)

* enable multiselection

* support multi open deck

* support multi download

* support multi delete
This commit is contained in:
RickyRister 2024-12-23 21:05:49 -08:00 committed by GitHub
parent a40d8092ce
commit 6e470d788e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 65 additions and 41 deletions

View file

@ -1,6 +1,7 @@
#ifndef TAB_DECK_STORAGE_H
#define TAB_DECK_STORAGE_H
#include "../../server/remote/remote_decklist_tree_widget.h"
#include "tab.h"
class AbstractClient;
@ -10,7 +11,6 @@ class QToolBar;
class QTreeWidget;
class QTreeWidgetItem;
class QGroupBox;
class RemoteDeckList_TreeWidget;
class CommandContainer;
class Response;
class DeckLoader;
@ -30,6 +30,7 @@ private:
QString getTargetPath() const;
void uploadDeck(const QString &filePath, const QString &targetPath);
void deleteRemoteDeck(const RemoteDeckList_TreeModel::Node *node);
private slots:
void actOpenLocalDeck();