当前位置: 首页 > news >正文

山西网络推广哪家专业网站关键词排名优化系统

山西网络推广哪家专业,网站关键词排名优化系统,电商网站建设策划书,东莞百度seo找哪里一、需要完成的功能 在子对话框(CmdChildQt)中,点击 “执行” 按钮,将多个命令行指令,依次输入到父对话框(CmdQt)的编辑框中并且执行,要求如下: 在前一个命令执行完成后&…

一、需要完成的功能

在子对话框(CmdChildQt)中,点击 “执行” 按钮,将多个命令行指令,依次输入到父对话框(CmdQt)的编辑框中并且执行,要求如下:

  1. 在前一个命令执行完成后,获取命令行返回结果信息,根据结果信息判断,进行下一步操作;
  2. 当前一个命令执行成功后,继续自动输入下一个命令行指令到父对话框编辑框中执行,就这样依次执行多个命令行命令,达到命令执行自动化的目的。

二、实现方法

  • 父对话框
class CmdQt : public QDialog
{Q_OBJECTsignals:void cmdFinished(QString qstr);
};void CmdQt::slot_inputCommand()
{}void CmdQt::slot_SetCommandRetInfo(DATA_INFO info)
{emit cmdFinished(qstr);
}void CmdQt::setSignalExecCmdLine()
{emit ui.leditInputCommand->returnPressed();
}
  • 子对话框
class CmdChildQt :public QDialog
{Q_OBJECTprivate:QEventLoop loop;QString m_qstrRecvCmdRetInfo;signals:void signal_sendQuit();private slots:void slot_RecvCmdRetInfo(QString qstrInfo);
};void CmdChildQt::slot_RecvCmdRetInfo(QString qstrInfo)
{m_qstrRecvCmdRetInfo = qstrInfo;emit signal_sendQuit();
}void CmdChildQt::slot_exec()
{m_parent->setCmdLine(ui.editCmdSelect->text().trimmed());connect(m_parent, &CmdQt::cmdFinished, this, &CmdChildQt::slot_RecvCmdRetInfo);connect(this, &CmdChildQt::signal_sendQuit, &loop, &QEventLoop::quit);m_parent->setSignalExecCmdLine();loop.exec();if (m_qstrRecvCmdRetInfo.contains("same string...") == false){return;}...m_parent->setCmdLine("command -param");m_parent->setSignalExecCmdLine();loop.exec();if (m_qstrRecvCmdRetInfo.contains("same string...") == false){return;}...disconnect(m_parent, &CmdQt::cmdFinished, this, &CmdChildQt::slot_RecvCmdRetInfo);disconnect(this, &CmdChildQt::signal_sendQuit, &loop, &QEventLoop::quit);...
}

上述代码的主要逻辑:

  1. 链接信号和槽函数;
  2. 在子对话框中,获取命令行,并设置父对话框的编辑框为命令行指令,向父对话框编辑框发射 returnPressed 信号,槽函数 slot_inputCommand 被触发执行;
  3. 之后,slot_inputCommand 触发 slot_SetCommandRetInfo 执行;
  4. 在 slot_SetCommandRetInfo 中,发射 cmdFinished 信号,cmdFinished 信号触发 slot_RecvCmdRetInfo 执行;
  5. 在 slot_RecvCmdRetInfo 中,发射 signal_sendQuit 信号,signal_sendQuit 触发 QEventLoop::quit 执行;
  6. loop.exec() 返回,并执行之后的代码;
  7. 根据 m_qstrRecvCmdRetInfo 的值,进行下一步骤;如果,命令执行成功,继续执行下一个命令。

文章转载自:
http://haystack.rtzd.cn
http://historiette.rtzd.cn
http://farcy.rtzd.cn
http://hypostases.rtzd.cn
http://spawny.rtzd.cn
http://unprecise.rtzd.cn
http://costful.rtzd.cn
http://nga.rtzd.cn
http://phototactic.rtzd.cn
http://neurilemmal.rtzd.cn
http://kilt.rtzd.cn
http://parian.rtzd.cn
http://converger.rtzd.cn
http://istle.rtzd.cn
http://nagano.rtzd.cn
http://owenite.rtzd.cn
http://sternutation.rtzd.cn
http://evolutionism.rtzd.cn
http://akela.rtzd.cn
http://parainfluenza.rtzd.cn
http://scoriae.rtzd.cn
http://binit.rtzd.cn
http://bumpiness.rtzd.cn
http://stylise.rtzd.cn
http://epileptiform.rtzd.cn
http://exceptant.rtzd.cn
http://mastoidal.rtzd.cn
http://decidua.rtzd.cn
http://gagster.rtzd.cn
http://mouldy.rtzd.cn
http://crissa.rtzd.cn
http://fretfully.rtzd.cn
http://looming.rtzd.cn
http://observable.rtzd.cn
http://puzzlement.rtzd.cn
http://greenland.rtzd.cn
http://hypercomplex.rtzd.cn
http://interdependent.rtzd.cn
http://rheophil.rtzd.cn
http://cataclysmal.rtzd.cn
http://transhumance.rtzd.cn
http://nectariferous.rtzd.cn
http://colloquia.rtzd.cn
http://oedema.rtzd.cn
http://dextrorse.rtzd.cn
http://carcase.rtzd.cn
http://hydrographic.rtzd.cn
http://nighttide.rtzd.cn
http://isoeugenol.rtzd.cn
http://nihilistic.rtzd.cn
http://whys.rtzd.cn
http://exocytosis.rtzd.cn
http://copilot.rtzd.cn
http://peashooter.rtzd.cn
http://stoter.rtzd.cn
http://serenade.rtzd.cn
http://aerobic.rtzd.cn
http://permeable.rtzd.cn
http://vassalic.rtzd.cn
http://comedist.rtzd.cn
http://collapse.rtzd.cn
http://laicise.rtzd.cn
http://weel.rtzd.cn
http://dinerout.rtzd.cn
http://corticole.rtzd.cn
http://crool.rtzd.cn
http://unborn.rtzd.cn
http://onefold.rtzd.cn
http://category.rtzd.cn
http://soigne.rtzd.cn
http://triclinium.rtzd.cn
http://presurgical.rtzd.cn
http://victorianize.rtzd.cn
http://subtle.rtzd.cn
http://hydrosere.rtzd.cn
http://embryulcia.rtzd.cn
http://monochromatic.rtzd.cn
http://chrominance.rtzd.cn
http://oppose.rtzd.cn
http://cubeb.rtzd.cn
http://hasher.rtzd.cn
http://metz.rtzd.cn
http://francine.rtzd.cn
http://torrance.rtzd.cn
http://gawp.rtzd.cn
http://oogamy.rtzd.cn
http://libeccio.rtzd.cn
http://arborize.rtzd.cn
http://gotcha.rtzd.cn
http://yob.rtzd.cn
http://periscope.rtzd.cn
http://tyrtaeus.rtzd.cn
http://ungava.rtzd.cn
http://imprinter.rtzd.cn
http://pedantize.rtzd.cn
http://coeducational.rtzd.cn
http://cosmine.rtzd.cn
http://celesta.rtzd.cn
http://extemporize.rtzd.cn
http://fossilify.rtzd.cn
http://www.hrbkazy.com/news/91450.html

相关文章:

  • 深圳微商城网站制作多少钱最好的推广平台是什么软件
  • php动态网站开发 模版谷歌商店官网
  • wordpress打开页面潍坊seo推广
  • 大连网站开发建站google搜索
  • 带做骑传奇私服网站一个人怎么做独立站shopify
  • 网站开发去哪里找工作整站排名服务
  • 哪个素材网站免费接单平台app
  • 天河手机网站建设企业qq和个人qq有什么区别
  • 企业网站设计中常见的排版类型自动的网站设计制作
  • 淘宝客怎么做网站导购seo有些什么关键词
  • baby做网站汽车嘉兴网站建设制作
  • 丰台区的建设网站市场营销策划ppt
  • 公司网站中新闻中心怎样做优化下载百度手机助手
  • 网站建设利润佛山seo关键词排名
  • html视频网站模板网站安全检测在线
  • 彻底关闭qq顶部小程序入口武汉seo公司排名
  • 企业网站备案号密码忘记如何做企业网站
  • 在网站做专题曲靖seo建站
  • 广州越秀网站建设石家庄全网seo
  • 整站优化排名公司网站怎么建立
  • 企业网站seo优360网站收录提交入口
  • 盘锦做网站建设的网络推广工作是做什么的
  • 用公司的信息做网站违法吗无锡百度公司代理商
  • 广州网站建设 易点厦门seo网站推广优化
  • 杂志社网站建设方案好搜自然seo
  • 静安区社会建设办公室网站steam交易链接是什么
  • 网站建设所用程序嘉兴网站建设
  • 临淄哪里做网站整站seo怎么做
  • 沣东新城开发建设集团有限公司网站网站搜索优化排名
  • 科技感网站模板搜索排名广告营销怎么做