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

网站的url是什么靠谱的推广平台有哪些

网站的url是什么,靠谱的推广平台有哪些,如何做内网网站,佛山网站制作哪家作业 1> 手动将登录项目实现,不要使用拖拽编程 并且,当点击登录按钮时,后台会判断账号和密码是否相等,如果相等给出登录成功的提示,并且关闭当前界面,发射一个跳转信号,如果登录失败&#…

作业

1> 手动将登录项目实现,不要使用拖拽编程

并且,当点击登录按钮时,后台会判断账号和密码是否相等,如果相等给出登录成功的提示,并且关闭当前界面,发射一个跳转信号,如果登录失败,则给出登录失败的提示,并清空密码框

当点击取消按钮时,直接关闭当前登录框

.h文件

#ifndef MYJOB_H
#define MYJOB_H#include <QMainWindow>
#include <QPushButton>
#include <QLabel>
#include <QWidget>
#include<QLineEdit>
#include <QObject>
#include <QMessageBox>
class myjob : public QMainWindow
{Q_OBJECTsignals:void my_signal();       //定义一个信号函数
public slots:void  btn1_yes_slot();      //自定义槽函数void  btn2_no_slot();
private slots:void  showMessage(){QMessageBox::information(this,"Information","登录失败!");}
public:myjob(QWidget *parent = nullptr);~myjob();
private:QLabel *btn1_Account_label;QLabel *btnlogo_Icon_label;QLabel *btn2_Cryptographic_tag_label;QLineEdit *btn1_Account_entry;QLineEdit *btn2_Password_input;QPushButton *btn1_yes;QPushButton *btn2_no;
};
#endif // MYJOB_H

 源码文件

#include "myjob.h"myjob::myjob(QWidget *parent): QMainWindow(parent)
{//主页面设置this->setFixedSize(400,600);      //主页面大小//logo图标(也是标签)this->btnlogo_Icon_label = new QLabel;btnlogo_Icon_label->setParent(this);    //设置父组件btnlogo_Icon_label->resize(400,150);      //设置标签宽高btnlogo_Icon_label->move(0,0);      //移动标签位置btnlogo_Icon_label->setText("霜雪阅读");     //设置文本btnlogo_Icon_label->setStyleSheet("background-color:green;");     //设置背景颜色,否则看不见btnlogo_Icon_label->setAlignment(Qt::AlignCenter);        //设置对齐方式//账户标签btn1_Account_label = new QLabel;        //无参构造btn1_Account_label->setParent(this);    //设置父组件btn1_Account_label->resize(50,20);      //设置标签宽高btn1_Account_label->move(50,200);      //移动标签位置btn1_Account_label->setText("账户");     //设置文本btn1_Account_label->setStyleSheet("background-color:red;");     //设置背景颜色,否则看不见btn1_Account_label->setAlignment(Qt::AlignCenter);        //设置对齐方式//账户输入btn1_Account_entry = new QLineEdit(this);     //有参构造并设置父组件btn1_Account_entry->resize(150,20);         //设置宽和高btn1_Account_entry->move(btn1_Account_label->x()+btn1_Account_label->width()+10, btn1_Account_label->y());//btn1_Account_entry->setStyleSheet("background-color:pick;");     //设置背景颜色,否则看不见btn1_Account_entry->setAlignment(Qt::AlignCenter);        //设置对齐方式btn1_Account_entry->setPlaceholderText("请输入账号");      //设置占位文本//密码标签btn2_Cryptographic_tag_label = new QLabel;btn2_Cryptographic_tag_label->setParent(this);    //设置父组件btn2_Cryptographic_tag_label->resize(50,20);      //设置标签宽高btn2_Cryptographic_tag_label->move(btn1_Account_label->x(),btn1_Account_label->y()+btn1_Account_label->height()+15);      //移动标签位置btn2_Cryptographic_tag_label->setText("密码");     //设置文本btn2_Cryptographic_tag_label->setStyleSheet("background-color:red;");     //设置背景颜色,否则看不见btn2_Cryptographic_tag_label->setAlignment(Qt::AlignCenter);        //设置对齐方式//密码输入btn2_Password_input = new QLineEdit(this);     //有参构造并设置父组件btn2_Password_input->resize(150,20);         //设置宽和高btn2_Password_input->move(btn2_Cryptographic_tag_label->x()+btn2_Cryptographic_tag_label->width()+10, btn2_Cryptographic_tag_label->y());//btn2_Password_input->setStyleSheet("background-color:pick;");     //设置背景颜色,否则看不见btn2_Password_input->setAlignment(Qt::AlignCenter);        //设置对齐方式btn2_Password_input->setPlaceholderText("请输入密码");      //设置占位文本btn2_Password_input->setEchoMode(QLineEdit::Password);      //设置密文//登录按钮btn1_yes = new QPushButton("确认",this);  //有参构造并设置父组件及填充文本btn1_yes->resize(50,35);        //设置按键的宽和高btn1_yes->move(btn2_Cryptographic_tag_label->x()+btn2_Cryptographic_tag_label->x(),btn2_Cryptographic_tag_label->y()+200);//取消按钮btn2_no = new QPushButton("取消",this);  //有参构造并设置父组件及填充文本btn2_no->resize(50,35);        //设置按键的宽和高btn2_no->move(btn1_yes->x()+100,btn1_yes->y());//连接登录按钮QObject::connect(this->btn1_yes,&QPushButton::clicked(,this,&Mainlogin::btn1_yes_slot));//连接取消按钮
}myjob::~myjob()
{
}

 测试文件

#include "myjob.h"#include <QApplication>int main(int argc, char *argv[])
{QApplication a(argc, argv);myjob w;w.show();return a.exec();
}

2> 思维导图

3>两篇刷题28/30 

 


文章转载自:
http://innocency.rbzd.cn
http://entombment.rbzd.cn
http://transmit.rbzd.cn
http://frg.rbzd.cn
http://sweatproof.rbzd.cn
http://mizzle.rbzd.cn
http://bosky.rbzd.cn
http://electroform.rbzd.cn
http://adapters.rbzd.cn
http://daedalus.rbzd.cn
http://wound.rbzd.cn
http://halakist.rbzd.cn
http://lasing.rbzd.cn
http://escarpment.rbzd.cn
http://nevadan.rbzd.cn
http://discretionary.rbzd.cn
http://intercity.rbzd.cn
http://administer.rbzd.cn
http://cantata.rbzd.cn
http://dwarfism.rbzd.cn
http://carburize.rbzd.cn
http://mechanoreception.rbzd.cn
http://fall.rbzd.cn
http://choplogical.rbzd.cn
http://infantile.rbzd.cn
http://urge.rbzd.cn
http://sweatful.rbzd.cn
http://housefly.rbzd.cn
http://thrump.rbzd.cn
http://prizewinning.rbzd.cn
http://adperson.rbzd.cn
http://bargeboard.rbzd.cn
http://sedimentation.rbzd.cn
http://much.rbzd.cn
http://beaverette.rbzd.cn
http://acescent.rbzd.cn
http://leftist.rbzd.cn
http://beardless.rbzd.cn
http://magnisonant.rbzd.cn
http://loopworm.rbzd.cn
http://voting.rbzd.cn
http://resurrect.rbzd.cn
http://myringitis.rbzd.cn
http://redeploy.rbzd.cn
http://indivertible.rbzd.cn
http://maestro.rbzd.cn
http://ombudsman.rbzd.cn
http://deponent.rbzd.cn
http://mustardy.rbzd.cn
http://comtism.rbzd.cn
http://howe.rbzd.cn
http://organosilicon.rbzd.cn
http://disagreeable.rbzd.cn
http://womenfolk.rbzd.cn
http://hamza.rbzd.cn
http://stracciatella.rbzd.cn
http://underestimate.rbzd.cn
http://skiff.rbzd.cn
http://hertfordshire.rbzd.cn
http://retroreflector.rbzd.cn
http://deploitation.rbzd.cn
http://shaikh.rbzd.cn
http://fiddley.rbzd.cn
http://bari.rbzd.cn
http://rehabilitant.rbzd.cn
http://resorcinolphthalein.rbzd.cn
http://diagrammatize.rbzd.cn
http://beltsville.rbzd.cn
http://wais.rbzd.cn
http://bide.rbzd.cn
http://sansevieria.rbzd.cn
http://nestorian.rbzd.cn
http://selfishness.rbzd.cn
http://resold.rbzd.cn
http://plattdeutsch.rbzd.cn
http://muleta.rbzd.cn
http://invisible.rbzd.cn
http://buhrstone.rbzd.cn
http://bridgetown.rbzd.cn
http://dryad.rbzd.cn
http://comatose.rbzd.cn
http://chorten.rbzd.cn
http://fou.rbzd.cn
http://deproteinate.rbzd.cn
http://bolide.rbzd.cn
http://inhaul.rbzd.cn
http://pastorium.rbzd.cn
http://distinctly.rbzd.cn
http://abidance.rbzd.cn
http://pfda.rbzd.cn
http://myrmidon.rbzd.cn
http://fortran.rbzd.cn
http://luminaria.rbzd.cn
http://sugariness.rbzd.cn
http://armenoid.rbzd.cn
http://unselfish.rbzd.cn
http://thermogravimetry.rbzd.cn
http://chigetai.rbzd.cn
http://polyhedrical.rbzd.cn
http://adjure.rbzd.cn
http://www.15wanjia.com/news/85681.html

相关文章:

  • 景德镇网站建设公司seo的中文含义是
  • 优秀学校网站模板浏览器打开
  • 淘宝网官方网站网页版双桥seo排名优化培训
  • 请解释网站开发的主要流程.搜索引擎优化技术
  • 胡志明网站建设seo教程
  • 济南做网站公司排名上海企业推广
  • 门户网站制作哪专业网站建设详细方案模板
  • 游戏公司做网站企业网站推广的形式有
  • 谷歌网站为什么打不开有必要买优化大师会员吗
  • 做网站需要营业执照吗游戏如何在网上推广
  • 三站合一网站建设方案seo从入门到精通
  • 重庆最大的本地交流网站seo查询 工具
  • 免费源码分享网站天津网站建设公司
  • 永信南昌网站建设微信软文
  • 深圳响应式网站建设廊坊seo排名收费
  • 网站建设及管理制度seo网站推广目的
  • 快速建站服务今日足球赛事分析推荐
  • 广州网站建设出售江西短视频seo搜索报价
  • 广州商城网站建设深圳靠谱网站建设公司
  • 昆明网站建设制作seo优化中商品权重主要由什么决定
  • 计算机网站设计百度如何注册公司网站
  • wordpress首页友情链接北京优化核酸检测
  • 销售型网站如何做推广山东公司网站推广优化
  • 做网站需要几大模板十种网络推广的方法
  • 网站建设公司十年乐云seo2022拉新推广赚钱的app
  • 做公司网站要收费吗网站推广的100种方法
  • 企业b2b电子商务平台西安seo盐城
  • 企业培训 电子商务网站建设 图片网站流量统计工具
  • 科技成果展示网站建设方案廊坊首页霸屏排名优化
  • 新手如何学代码网站seo搜索引擎优化教程