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;
25class CommandContainer;
46 void uploadDeck(
const QString &filePath,
const QString &targetPath);
61 void uploadFinished(
const Response &r,
const CommandContainer &commandContainer);
73 void downloadFinished(
const Response &r,
const CommandContainer &commandContainer,
const QVariant &extraData);
76 void newFolderFinished(
const Response &response,
const CommandContainer &commandContainer);
80 void deleteDeckFinished(
const Response &response,
const CommandContainer &commandContainer);
87 return tr(
"Deck Storage");
ClientStatus
Definition abstract_client.h:36
Definition abstract_client.h:51
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:456
void deleteFolderFinished(const Response &response, const CommandContainer &commandContainer)
Definition tab_deck_storage.cpp:600
void actOpenLocalDeck()
Definition tab_deck_storage.cpp:236
void retranslateUi() override
Definition tab_deck_storage.cpp:164
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:181
void openRemoteDeckFinished(const Response &r, const CommandContainer &commandContainer)
Definition tab_deck_storage.cpp:429
QAction * aRenameLocal
Definition tab_deck_storage.h:39
void handleConnectionChanged(ClientStatus status)
Definition tab_deck_storage.cpp:207
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:32
QString getTabText() const override
Definition tab_deck_storage.h:85
void actRemoteDoubleClick(const QModelIndex &curRight)
Definition tab_deck_storage.cpp:406
void actOpenRemoteDeck()
Definition tab_deck_storage.cpp:413
void actLocalDoubleClick(const QModelIndex &curLeft)
Definition tab_deck_storage.cpp:229
void uploadDeck(const QString &filePath, const QString &targetPath)
Definition tab_deck_storage.cpp:305
void newFolderFinished(const Response &response, const CommandContainer &commandContainer)
Definition tab_deck_storage.cpp:531
QAction * aDownload
Definition tab_deck_storage.h:41
QGroupBox * leftGroupBox
Definition tab_deck_storage.h:37
void actNewLocalFolder()
Definition tab_deck_storage.cpp:361
void actDownload()
Definition tab_deck_storage.cpp:444
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:214
void actNewFolder()
Definition tab_deck_storage.cpp:505
void actUpload()
Definition tab_deck_storage.cpp:282
void actDeleteRemoteDeck()
Definition tab_deck_storage.cpp:541
void openDeckEditor(const LoadedDeck &deck)
void deleteRemoteDeck(const RemoteDeckList_TreeModel::Node *node)
Definition tab_deck_storage.cpp:559
QGroupBox * rightGroupBox
Definition tab_deck_storage.h:37
void actRenameLocal()
Definition tab_deck_storage.cpp:252
void uploadFinished(const Response &r, const CommandContainer &commandContainer)
Definition tab_deck_storage.cpp:347
void actDeleteLocalDeck()
Definition tab_deck_storage.cpp:381
void deleteDeckFinished(const Response &response, const CommandContainer &commandContainer)
Definition tab_deck_storage.cpp:589
void handleConnected(const ServerInfo_User &userInfo)
Definition tab_deck_storage.cpp:199
void downloadFinished(const Response &r, const CommandContainer &commandContainer, const QVariant &extraData)
Definition tab_deck_storage.cpp:487
AbstractClient * client
Definition tab_deck_storage.h:32
void actOpenDecksFolder()
Definition tab_deck_storage.cpp:400
Definition tab_supervisor.h:83
Tab(TabSupervisor *_tabSupervisor)
Definition tab.cpp:11
Represents a deck that was loaded from somewhere. Contains the DeckList itself, as well as info about...
Definition loaded_deck.h:14