明面上没bug了
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user