1 Star 0 Fork 17

MsBin/UpperComputer

forked from 张杰sc/UpperComputer 
加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
DialogCustomPlot.cpp 567 Bytes
一键复制 编辑 原始数据 按行查看 历史
张杰sc 提交于 2024-07-22 19:24 +08:00 . first init
#include "DialogCustomPlot.h"
#include "ui_DialogCustomPlot.h"
DialogCustomPlot::DialogCustomPlot(bool &isLock, double &upper, QWidget *parent):
QDialog(parent),
ui(new Ui::DialogCustomPlot),_isLock(isLock),_upper(upper)
{
ui->setupUi(this);
ui->checkBox->setChecked(_isLock);
ui->doubleSpinBox->setValue(_upper);
}
DialogCustomPlot::~DialogCustomPlot()
{
delete ui;
}
void DialogCustomPlot::closeEvent(QCloseEvent *event)
{
QDialog::closeEvent(event);
_isLock=ui->checkBox->isChecked();
_upper=ui->doubleSpinBox->value();
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/MsBin/upper-computer.git
git@gitee.com:MsBin/upper-computer.git
MsBin
upper-computer
UpperComputer
master

搜索帮助