8#ifndef TAB_DECK_STORAGE_H
9#define TAB_DECK_STORAGE_H
11#include "../interface/widgets/server/remote/remote_decklist_tree_widget.h"
20class QFileSystemModel;
46 void uploadDeck(
const QString &filePath,
const QString &targetPath);
87 return tr(
"Deck Storage");
ClientStatus
Definition abstract_client.h:42
Definition abstract_client.h:57
Definition remote_decklist_tree_widget.h:26
QFileSystemModel * localDirModel
Definition tab_deck_storage.h:34
QAction * aDeleteRemoteDeck
Definition tab_deck_storage.h:41
QAction * aDeleteLocalDeck
Definition tab_deck_storage.h:39
QToolBar * leftToolBar
Definition tab_deck_storage.h:35
void downloadNodeAtIndex(const QModelIndex &curLeft, const QModelIndex &curRight)
Definition tab_deck_storage.cpp:468
void deleteFolderFinished(const Response &response, const CommandContainer &commandContainer)
Definition tab_deck_storage.cpp:616
void actOpenLocalDeck()
Definition tab_deck_storage.cpp:239
void retranslateUi() override
Definition tab_deck_storage.cpp:166
QAction * aOpenDecksFolder
Definition tab_deck_storage.h:40
QAction * aOpenLocalDeck
Definition tab_deck_storage.h:39
QAction * aNewFolder
Definition tab_deck_storage.h:41
QAction * aUpload
Definition tab_deck_storage.h:39
QString getTargetPath() const
Definition tab_deck_storage.cpp:183
void openRemoteDeckFinished(const Response &r, const CommandContainer &commandContainer)
Definition tab_deck_storage.cpp:439
QAction * aRenameLocal
Definition tab_deck_storage.h:39
void handleConnectionChanged(ClientStatus status)
Definition tab_deck_storage.cpp:210
QAction * aNewLocalFolder
Definition tab_deck_storage.h:39
QTreeView * localDirView
Definition tab_deck_storage.h:33
TabDeckStorage(TabSupervisor *_tabSupervisor, AbstractClient *_client, const ServerInfo_User *currentUserInfo)
Definition tab_deck_storage.cpp:34
QString getTabText() const override
Definition tab_deck_storage.h:85
void actRemoteDoubleClick(const QModelIndex &curRight)
Definition tab_deck_storage.cpp:415
void actOpenRemoteDeck()
Definition tab_deck_storage.cpp:422
void actLocalDoubleClick(const QModelIndex &curLeft)
Definition tab_deck_storage.cpp:232
void uploadDeck(const QString &filePath, const QString &targetPath)
Definition tab_deck_storage.cpp:310
void newFolderFinished(const Response &response, const CommandContainer &commandContainer)
Definition tab_deck_storage.cpp:543
QAction * aDownload
Definition tab_deck_storage.h:41
QGroupBox * leftGroupBox
Definition tab_deck_storage.h:37
void actNewLocalFolder()
Definition tab_deck_storage.cpp:368
void actDownload()
Definition tab_deck_storage.cpp:456
QToolBar * rightToolBar
Definition tab_deck_storage.h:35
RemoteDeckList_TreeWidget * serverDirView
Definition tab_deck_storage.h:36
QAction * aOpenRemoteDeck
Definition tab_deck_storage.h:41
void setRemoteEnabled(bool enabled)
Definition tab_deck_storage.cpp:217
void actNewFolder()
Definition tab_deck_storage.cpp:515
void actUpload()
Definition tab_deck_storage.cpp:287
void actDeleteRemoteDeck()
Definition tab_deck_storage.cpp:554
void openDeckEditor(const LoadedDeck &deck)
void deleteRemoteDeck(const RemoteDeckList_TreeModel::Node *node)
Definition tab_deck_storage.cpp:572
QGroupBox * rightGroupBox
Definition tab_deck_storage.h:37
void actRenameLocal()
Definition tab_deck_storage.cpp:257
void uploadFinished(const Response &r, const CommandContainer &commandContainer)
Definition tab_deck_storage.cpp:354
void actDeleteLocalDeck()
Definition tab_deck_storage.cpp:389
void deleteDeckFinished(const Response &response, const CommandContainer &commandContainer)
Definition tab_deck_storage.cpp:603
void handleConnected(const ServerInfo_User &userInfo)
Definition tab_deck_storage.cpp:202
void downloadFinished(const Response &r, const CommandContainer &commandContainer, const QVariant &extraData)
Definition tab_deck_storage.cpp:499
AbstractClient * client
Definition tab_deck_storage.h:32
void actOpenDecksFolder()
Definition tab_deck_storage.cpp:409
Definition tab_supervisor.h:84
Tab(TabSupervisor *_tabSupervisor)
Definition tab.cpp:11
Definition commands.proto:7
Represents a deck that was loaded from somewhere. Contains the DeckList itself, as well as info about...
Definition loaded_deck.h:14
Definition response.proto:11
Definition serverinfo_user.proto:2