明面上没bug了

This commit is contained in:
2026-08-02 00:06:33 +08:00
parent 6ea03829bc
commit 8b63f1f564
9 changed files with 50 additions and 30 deletions
+3 -4
View File
@@ -1,9 +1,9 @@
#ifndef Base_Widget_Menu_H
#define Base_Widget_Menu_H
#include "Renderive/export.h"
#include <QPushButton>
#include <QWidget>
#include <vector>
#include "export.h"
#include "Widget/base/Node.hpp"
#include "Widget/base/Roll_Object.h"
class QHBoxLayout;
@@ -26,8 +26,7 @@ public:
void add_menu_button_on_layout2(const std::vector<Abstract_Menu_Button*>& buttons, int stretch);
void add_menu_button_on_layout1(const std::vector<Abstract_Menu_Button*>& buttons);
void add_menu_button_on_layout2(const std::vector<Abstract_Menu_Button*>& buttons);
signals :
signals :
void show_that();
void hide_that();
protected:
@@ -104,7 +103,7 @@ public:
setText(text.arg(this->value));
}
Value_Menu_Button(const QString& text, int font_size,
const std::function<void(Value_Menu_Button*, bool)>& valueChanged, double first_value) {
const std::function<void(Value_Menu_Button*, bool)>& valueChanged, double first_value) {
this->text = text;
init(font_size);
value_changed = valueChanged;