还是一堆bug的状态

This commit is contained in:
2026-08-01 20:09:46 +08:00
parent 28b33fb820
commit 6ea03829bc
30 changed files with 84 additions and 2664 deletions
+2 -6
View File
@@ -1,6 +1,6 @@
#ifndef Global_H
#define Global_H
#include "Renderive/architecture/export.h"
#include "Renderive/export.h"
#include "BackEnd/BackEnd.h"
#include <QApplication>
#include <QDebug>
@@ -14,7 +14,7 @@
#include <QtWidgetsDepends>
#include <functional>
#include <vector>
#include "psc_global_include/Singleton.hpp"
#include "private_psc_global_include/Singleton.hpp"
class Global : public Psc::Singleton<Global> {
public:
explicit Global();
@@ -27,10 +27,6 @@ QRect get_max_rect(const QRect& rect, double WHRate);
int calculate_optimal_font_size(const QString& text, const QSize& space_size, const QFont& font);
int calculate_optimal_font_size(const std::vector<QString>& text_list, const QSize& space_size, const QFont& font);
QPushButton* create_button(const QString& text, int font_size, const std::function<void(void)>& func = nullptr);
namespace renderive {
template <typename T>
class Roll_Object;
}
class Base_Widget_Menu;
void init_click_button(QPushButton* button, const QString& text, int font_size, const std::function<void(void)>& func, renderive::Roll_Object<QPushButton>*);
QPushButton* create_click_button(const QString& text, int font_size, const std::function<void(void)>& func, renderive::Roll_Object<QPushButton>*);