mirror of
https://gitee.com/js-yhsec/energy_storage.git
synced 2026-05-28 03:09:24 +08:00
实现策略配置功能
This commit is contained in:
@@ -114,10 +114,10 @@ void QUI::combox(QComboBox& comb, QWidget* parent, int x, int y, int w, int h, s
|
||||
}
|
||||
}
|
||||
|
||||
void QUI::lineedit(QLineEdit& lineEdit, QWidget* parent, int x, int y, int w, int h)
|
||||
void QUI::lineedit(QLineEdit& edit, QWidget* parent, int x, int y, int w, int h)
|
||||
{
|
||||
lineEdit.setParent(parent);
|
||||
lineEdit.setGeometry(x, y, w, h);
|
||||
edit.setParent(parent);
|
||||
edit.setGeometry(x, y, w, h);
|
||||
}
|
||||
|
||||
void QUI::setBackground(QWidget* w, std::string name, QColor color, std::string border)
|
||||
@@ -742,7 +742,7 @@ void TableBase::setOperate(std::vector<std::string> vecOperate, std::function<vo
|
||||
}
|
||||
}
|
||||
|
||||
void TableBase::setRowData(int row, std::vector<std::string> vd)
|
||||
void TableBase::setRow(int row, std::vector<std::string> vd)
|
||||
{
|
||||
int rowCount = widget_->rowCount();
|
||||
if (row >= rowCount)
|
||||
|
||||
Reference in New Issue
Block a user