常规更新

This commit is contained in:
2026-07-24 10:54:44 +08:00
parent 70393f75df
commit 7ae07f0e48
171 changed files with 3133 additions and 2726 deletions
+11 -10
View File
@@ -2,13 +2,16 @@
#include <QWidget>
#ifdef _WINDOWS
#include <QTextCodec>
#include <WinSock2.h>
#include <Windows.h>
#endif
#include <QStyle>
#include <QWidget>
#include <QtWidgets>
#include "Demo_Gallery/export.h"
#include "Generate_Mock_Data.h"
#include "base/Graphic.h"
#include "base/Select_Color_Dialog/Select_Color_Dialog.h"
#include "component/Button.h"
#include "component/simple_widget.h"
#include "plottable/Afterglow.h"
@@ -18,8 +21,6 @@
#include "plottable/Spectrum_p.h"
#include "plottable/Waterfall.h"
#include "plottable/Waterfall_p.h"
#include "Demo_Gallery/export.h"
#include "base/Select_Color_Dialog/Select_Color_Dialog.h"
class Temp : public QWidget {
public:
Temp() {
@@ -44,15 +45,15 @@ int main(int argc, char* argv[]) {
QApplication app(argc, argv);
QTextCodec::setCodecForLocale(QTextCodec::codecForName("UTF-8"));
#ifdef _WINDOWS
SetConsoleOutputCP (CP_UTF8);
system ("chcp 65001");
//setbuf(stdout, 0);
SetConsoleOutputCP(CP_UTF8);
system("chcp 65001");
// setbuf(stdout, 0);
#endif
Button btn;
btn.show();
// WaveWidget w;
// w.resize(400, 400);
// w.show();
Button btn;
btn.show();
// WaveWidget w;
// w.resize(400, 400);
// w.show();
return QApplication::exec();
}
int main2(int argc, char* argv[]) {