更新代码

This commit is contained in:
feiyangqingyun
2023-10-17 11:32:22 +08:00
parent f21dfb4776
commit d97b900115
48 changed files with 4918 additions and 3316 deletions

View File

@@ -1,5 +1,5 @@
#include "frmmain.h"
#include "quihelper.h"
#include "qthelper.h"
int main(int argc, char *argv[])
{
@@ -14,10 +14,10 @@ int main(int argc, char *argv[])
a.setWindowIcon(QIcon(":/main.ico"));
//设置编码+字体+中文翻译文件
QUIHelper::initAll();
QtHelper::initAll();
//读取配置文件
AppConfig::ConfigFile = QString("%1/%2.ini").arg(QUIHelper::appPath()).arg(QUIHelper::appName());
AppConfig::ConfigFile = QString("%1/%2.ini").arg(QtHelper::appPath()).arg(QtHelper::appName());
AppConfig::readConfig();
AppData::Intervals << "1" << "10" << "20" << "50" << "100" << "200" << "300" << "500" << "1000" << "1500" << "2000" << "3000" << "5000" << "10000";
@@ -25,9 +25,9 @@ int main(int argc, char *argv[])
AppData::readDeviceData();
frmMain w;
w.setWindowTitle("网络调试助手 V2022 (QQ: 517216493 WX: feiyangqingyun)");
w.setWindowTitle("网络调试助手 V2023 (QQ: 517216493 WX: feiyangqingyun)");
w.resize(950, 700);
QUIHelper::setFormInCenter(&w);
QtHelper::setFormInCenter(&w);
w.show();
return a.exec();