Ai
10 Star 126 Fork 52

光明顶魔教工程师/linux_spy

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
send_file.cpp 676 Bytes
一键复制 编辑 原始数据 按行查看 历史
#include "send_file.h"
#include "ui_send_file.h"
send_file::send_file(QWidget *parent) :
QDialog(parent),
ui(new Ui::send_file)
{
ui->setupUi(this);
}
send_file::~send_file()
{
delete ui;
}
enum DOWN_TYPE{
ST_PACK = 0,
ST_FILE
};
void send_file::on_pushButton_ok_clicked()
{
if( ui->checkBox_md5->isChecked()){
file_mark.enabled_md5 = true;
}
file_mark.str_file_type = ui->comboBox_file_type->currentText();
if(file_mark.str_file_type == "file"){
file_mark.file_type = ST_FILE;
}else{
file_mark.file_type = ST_PACK;
}
close();
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/zhaojun_chao/linux_spy.git
git@gitee.com:zhaojun_chao/linux_spy.git
zhaojun_chao
linux_spy
linux_spy
linux_spy_hp

搜索帮助