mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 11:19:24 +08:00
实现策略配置功能
This commit is contained in:
@@ -56,7 +56,7 @@ public:
|
||||
|
||||
static void combox(QComboBox& comb, QWidget* parent, int x, int y, int w, int h, std::vector<std::string> items, std::string v="");
|
||||
|
||||
static void lineedit(QLineEdit& lineEdit, QWidget* parent, int x, int y, int w, int h);
|
||||
static void lineedit(QLineEdit& edit, QWidget* parent, int x, int y, int w, int h);
|
||||
|
||||
static void setBackground(QWidget* w, std::string name, QColor color=QColor(29, 54, 102), std::string border="border-radius:5px;");
|
||||
};
|
||||
@@ -170,7 +170,7 @@ public:
|
||||
|
||||
void setOperate(std::vector<std::string> vecOperate, std::function<void(int, std::string)> cb);
|
||||
|
||||
void setRowData(int row, std::vector<std::string> vd);
|
||||
void setRow(int row, std::vector<std::string> vd);
|
||||
|
||||
void clear();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user