1 Star 0 Fork 1.5K

Penn.Lin / ndd

forked from 爬山虎 / ndd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
gotolinewin.cpp 393 Bytes
一键复制 编辑 原始数据 按行查看 历史
#include "gotolinewin.h"
GoToLineWin::GoToLineWin(QWidget *parent)
: QWidget(parent)
{
ui.setupUi(this);
}
GoToLineWin::~GoToLineWin()
{
}
void GoToLineWin::slot_ok()
{
bool ok;
int lineNums = ui.lineEditNum->text().toInt(&ok);
if (ok && lineNums>=1)
{
int dire = (ui.radioButton->isChecked() ? 0 : 1);
emit sign_gotoLine(dire, lineNums-1);
close();
}
}
C++
1
https://gitee.com/penn6699/notepad--.git
git@gitee.com:penn6699/notepad--.git
penn6699
notepad--
ndd
master

搜索帮助