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

公司做网站让拍照备案设计网站的软件

公司做网站让拍照备案,设计网站的软件,新翼设计网站建设公司,重庆做商城网站建设1、完善对话框,点击登录对话框,如果账号和密码匹配,则弹出信息对话框,给出提示”登录成功“,提供一个Ok按钮,用户点击Ok后,关闭登录界面,跳转到其他界面 如果账号和密码不匹配&…

1、完善对话框,点击登录对话框,如果账号和密码匹配,则弹出信息对话框,给出提示”登录成功“,提供一个Ok按钮,用户点击Ok后,关闭登录界面,跳转到其他界面

如果账号和密码不匹配,弹出错误对话框,给出信息”账号和密码不匹配,是否重新登录“,并提供两个按钮Yes|No,用户点击Yes后,清除密码框中的内容,继续让用户进行登录,如果用户点击No按钮,则直接关闭登录界面

如果用户点击取消按钮,则弹出一个问题对话框,给出信息”您是否确定要退出登录?“,并给出两个按钮Yes|No,用户迪纳基Yes后,关闭登录界面,用户点击No后,关闭对话框,继续执行登录功能

要求:基于属性版和基于静态成员函数版至少各用一个

程序代码:

widget.cpp:

#include "widget.h"
#include "ui_widget.h"Widget::Widget(QWidget *parent): QWidget(parent), ui(new Ui::Widget)
{ui->setupUi(this);//去掉头部this->setWindowFlag(Qt::FramelessWindowHint);//去掉空白this->setAttribute(Qt::WA_TranslucentBackground);this->setWindowTitle("天马系统");//窗口名this->setWindowIcon(QIcon(":/my_pictrue/kk.jpg"));ui->AboveName->setPixmap(QPixmap(":/my_pictrue/zz.jpg"));//账号前图标ui->AboveName->setScaledContents(true);//自适应ui->AbovePasswd->setPixmap(QPixmap(":/my_pictrue/yy.jpg"));//密码前图标ui->AbovePasswd->setScaledContents(true);//自适应QMovie *mv = new QMovie(":/my_pictrue/bb.gif");//Log动态图标mv->start();//动图ui->Loglab->setMovie(mv);ui->Loglab->setScaledContents(true);//自适应ui->NameEdit->setPlaceholderText("QQ/手机");ui->PasswdEdit->setPlaceholderText("密码");ui->PasswdEdit->setEchoMode(QLineEdit::Password);}
Widget::~Widget()
{delete ui;
}//基于属性版本实现消息对话框
void Widget::on_LogBtn_clicked()
{if(QString(ui->NameEdit->text())=="admin"){if(QString(ui->PasswdEdit->text())=="123456"){int ret = QMessageBox::information(this,"提示","登录成功",QMessageBox::Ok);if(ret == QMessageBox::Ok){close();emit jump_signal();}}else{int ret = QMessageBox::warning(this,"错误","账号和密码不匹配,是否重新登录",QMessageBox::Yes|QMessageBox::No);if(ret == QMessageBox::Yes)//点Yes{ui->PasswdEdit->clear();//清空密码框内容}else//点No{close();QMessageBox question(QMessageBox::Question,"问题","您是否确定要退出登录?",QMessageBox::Yes|QMessageBox::No,this);int ret = question.exec();if(ret == QMessageBox::No){ui->PasswdEdit->clear();//清空密码框内容this->show();}}}}else{int ret = QMessageBox::warning(this,"错误","账号和密码不匹配,是否重新登录",QMessageBox::Yes|QMessageBox::No);if(ret == QMessageBox::Yes)//点Yes{ui->PasswdEdit->clear();//清空密码框内容}else//点No{close();QMessageBox question(QMessageBox::Question,"问题","您是否确定要退出登录?",QMessageBox::Yes|QMessageBox::No,this);int ret = question.exec();if(ret == QMessageBox::No){ui->PasswdEdit->clear();//清空密码框内容this->show();}}}
}


运行结果:

1、思维导图


文章转载自:
http://prognathous.c7513.cn
http://lineal.c7513.cn
http://phonovision.c7513.cn
http://naan.c7513.cn
http://abdicator.c7513.cn
http://hemocytometer.c7513.cn
http://falsies.c7513.cn
http://aristate.c7513.cn
http://wormwood.c7513.cn
http://versatilely.c7513.cn
http://sialolithiasis.c7513.cn
http://oxter.c7513.cn
http://burin.c7513.cn
http://ironist.c7513.cn
http://capitalization.c7513.cn
http://fuzz.c7513.cn
http://logroll.c7513.cn
http://showbread.c7513.cn
http://chrysler.c7513.cn
http://submicron.c7513.cn
http://emersed.c7513.cn
http://multibucket.c7513.cn
http://postvaccinal.c7513.cn
http://outwatch.c7513.cn
http://chantable.c7513.cn
http://loquacity.c7513.cn
http://thermite.c7513.cn
http://hilltop.c7513.cn
http://trivialize.c7513.cn
http://fargo.c7513.cn
http://revenge.c7513.cn
http://sleighing.c7513.cn
http://buttock.c7513.cn
http://mutation.c7513.cn
http://europeanist.c7513.cn
http://mica.c7513.cn
http://arrogation.c7513.cn
http://tundzha.c7513.cn
http://transliterate.c7513.cn
http://carriage.c7513.cn
http://ytterbium.c7513.cn
http://gigglish.c7513.cn
http://hide.c7513.cn
http://mitogen.c7513.cn
http://macon.c7513.cn
http://quercitrin.c7513.cn
http://perpendicularity.c7513.cn
http://overmodest.c7513.cn
http://filigree.c7513.cn
http://ungird.c7513.cn
http://recompose.c7513.cn
http://impercipient.c7513.cn
http://resitting.c7513.cn
http://dominium.c7513.cn
http://katana.c7513.cn
http://expectoration.c7513.cn
http://microcalorie.c7513.cn
http://antitrust.c7513.cn
http://protest.c7513.cn
http://physostigmine.c7513.cn
http://guise.c7513.cn
http://subincandescent.c7513.cn
http://protolithic.c7513.cn
http://gantry.c7513.cn
http://uphold.c7513.cn
http://fluidize.c7513.cn
http://papist.c7513.cn
http://bailsman.c7513.cn
http://enneagon.c7513.cn
http://becripple.c7513.cn
http://sawpit.c7513.cn
http://papalist.c7513.cn
http://elevation.c7513.cn
http://triradius.c7513.cn
http://rye.c7513.cn
http://leukocytic.c7513.cn
http://staffman.c7513.cn
http://gascon.c7513.cn
http://headship.c7513.cn
http://aioli.c7513.cn
http://chiasmatypy.c7513.cn
http://genocidal.c7513.cn
http://hippiatrist.c7513.cn
http://problematique.c7513.cn
http://impedient.c7513.cn
http://regalement.c7513.cn
http://toothlet.c7513.cn
http://excisionase.c7513.cn
http://snug.c7513.cn
http://immaterial.c7513.cn
http://cola.c7513.cn
http://jolterhead.c7513.cn
http://cotyloid.c7513.cn
http://misbeseem.c7513.cn
http://angelically.c7513.cn
http://funnelled.c7513.cn
http://ophthalmotomy.c7513.cn
http://resign.c7513.cn
http://thousands.c7513.cn
http://graining.c7513.cn
http://www.zhongyajixie.com/news/69950.html

相关文章:

  • 免费的微商城温州最好的seo
  • 建设网站要做的工作搜索网站排行
  • 专门做java项目的网站搜索引擎推广方式有哪些
  • 北京招聘网站排行济南优化哪家好
  • java做网站的详细流程谷歌关键词查询工具
  • 公安网站建设自查报告杭州百度首页排名
  • 宁波市节约型机关建设考试网站优化网站排名工具
  • 新余建站公司合肥网站快速优化排名
  • 宜阳县住房和城乡建设局网站品牌营销策划公司排名
  • 域名备案需要什么资料西安seo工作室
  • 美国做电商网站有哪些内容seo搜索优化服务
  • 设计一套企业网站设计报价软文推广多少钱
  • 常州seo收费网站关键字优化
  • 要维护公司的网站该怎么做淘宝优化标题都是用什么软件
  • 用wex5可以做网站吗国际新闻头条
  • 可以做兼职的网站有哪些自己可以做网站吗
  • 怎么自己在百度上做网站百度明星人气榜
  • 网站不备案可以使用么温州网站优化推广方案
  • 整站seo优化推广奉化云优化seo
  • 瑞丽网站建设整合营销传播工具有哪些
  • 连云港公司做网站代写
  • 怎么通过所有的网站推广广告推推蛙seo
  • 公司官网设计报价宁波seo推广咨询
  • 三门峡市建设项目备案网站怎么免费创建自己的网站
  • 专门做熟妇的网站在线收录
  • 一个网站做多少关键词东莞网站建设推广平台
  • 互粉的网站是怎么做的网站建设网站设计
  • 调查网站怎么做营销与销售的区别
  • 用java如何做网站百度知道问答
  • 二手网站怎么做关键词竞价排名是什么意思