1 Star 0 Fork 28

wangchangsheng1985/BPNNDemoQt

forked from ZzqiZQute/BPNNDemoQt 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
hlncntselector.cpp 606 Bytes
一键复制 编辑 原始数据 按行查看 历史
ZzqiZQute 提交于 2018-12-15 19:06 . fix one bug
#include "hlncntselector.h"
#include "ui_hlncntselector.h"
HLNCntSelector::HLNCntSelector(int num,QWidget *parent) :
QWidget(parent),
ui(new Ui::HLNCntSelector),
mNum(num)
{
ui->setupUi(this);
QString s=QString::fromLocal8Bit("%1").arg(num+1);
ui->lblNum->setText(s);
}
HLNCntSelector::~HLNCntSelector()
{
delete ui;
}
int HLNCntSelector::num() const
{
return mNum;
}
void HLNCntSelector::setNum(int num)
{
mNum = num;
}
int HLNCntSelector::count()
{
return ui->sbCnt->value();
}
void HLNCntSelector::setCount(int cnt)
{
ui->sbCnt->setValue(cnt);
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/wangchangsheng1985/BPNNDemoQt.git
git@gitee.com:wangchangsheng1985/BPNNDemoQt.git
wangchangsheng1985
BPNNDemoQt
BPNNDemoQt
master

搜索帮助