1 Star 0 Fork 0

小邓/client

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
serverfilesystem.h 1.56 KB
一键复制 编辑 原始数据 按行查看 历史
小邓 提交于 2024-07-07 01:26 +08:00 . 清理到部分不必要的输出和注释
#ifndef SERVERFILESYSTEM_H
#define SERVERFILESYSTEM_H
#include "qpushbutton.h"
#include <string.h>
#include <QWidget>
#include <QObject>
#include <QTreeView>
#include <QHBoxLayout>
#include <QHBoxLayout>
#include <QDir>
#include <QFileInfo>
#include <QStandardItemModel>
#include "protocol.h"
#include <QInputDialog>
#include "createfilediaog.h"
#include <QFileDialog>
#include "my_tcpsocket.h"
#include <QThread>
#include "fileupload.h"
class serverFileSystem : public QWidget
{
Q_OBJECT
public:
explicit serverFileSystem(QWidget *parent = nullptr);
QTreeView*& getTreeView();
QStandardItemModel*& getItemModel();
QString getTreeRelativePath(QString* type);
void flushTreeView(PDU* pdu);
void mkTreeItem(PDU* pdu,QStandardItemModel* mItemModel);
void startThread();
QThread* get_fileThread();
fileUpload* get_uploadFile_OB();
void handleThread();
signals:
public slots:
void UpLoad();
void DownLoad();
void Share();
void Create();
void Move();
void MoveDes();
void Delete();
void UpdateFileInfo();
private:
QTreeView* m_TreeView;
QStandardItemModel* m_ItemModel;
QPushButton* m_pUpload;
QPushButton* m_pDownload;
QPushButton* m_pShare;
QPushButton* m_pCreate;
QPushButton* m_pMove;
QPushButton* m_pMoveDes;
QPushButton* m_pDelete;
QPushButton* m_pUpdate;
QPushButton* m_pChangeWidget;
QString uploadFilePath;
QThread* fileThread;
fileUpload* uploadFile_OB;
QString m_pMoveOldPath ; // 移动文件原目录
};
#endif // SERVERFILESYSTEM_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xiao-deng-a/client.git
git@gitee.com:xiao-deng-a/client.git
xiao-deng-a
client
client
master

搜索帮助