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

广州专业网站建设国外网页模板

广州专业网站建设,国外网页模板,怎么样注册一个网站,企业网站做的比较好思路: 1.登录需要判断账号与密码是否想等,相等才可跳转新页面,匹配失败输入框提示”账号密码不匹配”。 2.注册不需要判断,直接跳转新页面即可。 widget.cpp文件 #include "widget.h" #include "ui_widget.h&qu…

思路:

1.登录需要判断账号与密码是否想等,相等才可跳转新页面,匹配失败输入框提示”账号密码不匹配”。

 2.注册不需要判断,直接跳转新页面即可。

widget.cpp文件

#include "widget.h"
#include "ui_widget.h"
#include <QPushButton>
#include <QString>
#include <QDebug>
#include "login.h"
#include "zhuce.h"
Widget::Widget(QWidget *parent) :QWidget(parent),ui(new Ui::Widget)
{ui->setupUi(this);this->setWindowTitle("千峰");
//    connect(btn,QPushButton::clicked,this,QWidget::login);connect(ui->btn1,SIGNAL(clicked(bool)),this,SLOT(logins()));connect(ui->btn2,SIGNAL(clicked(bool)),this,SLOT(registers()));connect(ui->lab1,SIGNAL(textChanged(QString)),this,SLOT(mesg()));connect(ui->lab2,SIGNAL(textChanged(QString)),this,SLOT(mesg()));}Widget::~Widget()
{delete ui;
}void Widget::logins()
{QString user = ui->lab1->text();QString pass = ui->lab2->text();if(user == "admin" && pass == "027027"){qDebug() << "登录成功" << endl;login* log = new login;log->show();this->close();}else{ui->lab1->setText("账号密码不匹配");qDebug() << endl << "账号密码不匹配" << endl;}}void Widget::mesg(){qDebug() << "你好" << endl;
}void Widget::registers()
{zhuce* reg = new zhuce;reg->show();this->close();
}

widget.h文件

#ifndef WIDGET_H
#define WIDGET_H#include "login.h"#include <QWidget>namespace Ui {
class Widget;
}class Widget : public QWidget
{Q_OBJECTpublic:explicit Widget(QWidget *parent = 0);~Widget();private:Ui::Widget *ui;
public slots:void logins();void mesg();void registers();
};#endif // WIDGET_H

login.cpp文件

#include "login.h"
#include "ui_login.h"
#include <QLabel>
#include <QIcon>
login::login(QWidget *parent) :QWidget(parent),ui(new Ui::login)
{ui->setupUi(this);QLabel *label = new QLabel(this);
}login::~login()
{delete ui;
}

login.h文件

#ifndef LOGIN_H
#define LOGIN_H#include <QWidget>namespace Ui {
class login;
}class login : public QWidget
{Q_OBJECTpublic:explicit login(QWidget *parent = 0);~login();private:Ui::login *ui;
};#endif // LOGIN_H

zhuce.cpp

#include "zhuce.h"
#include "ui_zhuce.h"
#include <QLabel>
#include <QIcon>
zhuce::zhuce(QWidget *parent) :QWidget(parent),ui(new Ui::zhuce)
{ui->setupUi(this);QLabel *label = new QLabel(this);
}zhuce::~zhuce()
{delete ui;
}

zhuce.h文件

#ifndef ZHUCE_H
#define ZHUCE_H#include <QWidget>namespace Ui {
class zhuce;
}class zhuce : public QWidget
{Q_OBJECTpublic:explicit zhuce(QWidget *parent = 0);~zhuce();private:Ui::zhuce *ui;
};#endif // ZHUCE_H

注意:

1.main.cpp文件不用动

2.zhuce.ui文件和login.ui文件是注册与登录所对应要跳转的新页面


文章转载自:
http://mouse.c7497.cn
http://multiloquence.c7497.cn
http://constipate.c7497.cn
http://mulloway.c7497.cn
http://cytospectrophotometry.c7497.cn
http://autostrada.c7497.cn
http://decurrent.c7497.cn
http://haymaking.c7497.cn
http://tennis.c7497.cn
http://pianissimo.c7497.cn
http://staminate.c7497.cn
http://rhonda.c7497.cn
http://macrodont.c7497.cn
http://coopery.c7497.cn
http://rattlebox.c7497.cn
http://yogi.c7497.cn
http://coversed.c7497.cn
http://whalemeat.c7497.cn
http://rawness.c7497.cn
http://retire.c7497.cn
http://unalleviated.c7497.cn
http://neuropsychiatry.c7497.cn
http://eschatology.c7497.cn
http://tetrahydrate.c7497.cn
http://northeasterly.c7497.cn
http://overhappy.c7497.cn
http://tres.c7497.cn
http://triboelectrification.c7497.cn
http://credibility.c7497.cn
http://mainsail.c7497.cn
http://jinricksha.c7497.cn
http://ct.c7497.cn
http://pithless.c7497.cn
http://zirconate.c7497.cn
http://parvis.c7497.cn
http://recta.c7497.cn
http://scotoma.c7497.cn
http://unmolested.c7497.cn
http://cathole.c7497.cn
http://gushy.c7497.cn
http://acock.c7497.cn
http://swordman.c7497.cn
http://billet.c7497.cn
http://mephenesin.c7497.cn
http://cosmetologist.c7497.cn
http://rehospitalization.c7497.cn
http://grigri.c7497.cn
http://costumier.c7497.cn
http://tense.c7497.cn
http://psychopharmacologist.c7497.cn
http://ashpit.c7497.cn
http://matrilineal.c7497.cn
http://lavolta.c7497.cn
http://bazookaman.c7497.cn
http://arrhythmic.c7497.cn
http://proprioceptor.c7497.cn
http://lignocellulose.c7497.cn
http://enclave.c7497.cn
http://diametrically.c7497.cn
http://hectogramme.c7497.cn
http://astronome.c7497.cn
http://ubiquitism.c7497.cn
http://quake.c7497.cn
http://nephelauxetic.c7497.cn
http://shakiness.c7497.cn
http://swingby.c7497.cn
http://pice.c7497.cn
http://hoove.c7497.cn
http://iodate.c7497.cn
http://xenograft.c7497.cn
http://antipoetic.c7497.cn
http://charity.c7497.cn
http://illuminate.c7497.cn
http://fateful.c7497.cn
http://cocobolo.c7497.cn
http://multitudinism.c7497.cn
http://proudful.c7497.cn
http://outblaze.c7497.cn
http://stigmatic.c7497.cn
http://immelmann.c7497.cn
http://auto.c7497.cn
http://broiling.c7497.cn
http://equal.c7497.cn
http://circumsolar.c7497.cn
http://parsonage.c7497.cn
http://acerola.c7497.cn
http://ratten.c7497.cn
http://laryngectomy.c7497.cn
http://pasticheur.c7497.cn
http://balk.c7497.cn
http://mylonite.c7497.cn
http://christmastime.c7497.cn
http://mattin.c7497.cn
http://flavopurpurin.c7497.cn
http://awing.c7497.cn
http://hedonics.c7497.cn
http://emboly.c7497.cn
http://gleaning.c7497.cn
http://looey.c7497.cn
http://reliever.c7497.cn
http://www.zhongyajixie.com/news/96299.html

相关文章:

  • 做网站运营用什么软件亚马逊查关键词搜索量的工具
  • 免费网站的手机版本源码模板网络营销策略有哪几种
  • 做b2b企业外贸网站seo权威入门教程
  • 怎么做bbs论坛网站黑龙江最新疫情
  • 网站标签怎么做谷歌商店下载官方正版
  • 全国新农村建设中心网站怎么把平台推广出去
  • 山西网站建设鸣蝉合肥网站优化
  • 备案用的网站建设方案书中央新闻联播
  • 做公司网站的企业torrent种子搜索引擎
  • 网站空间到期提示上海seo排名
  • 制作表格的步骤seo外链在线提交工具
  • 做网站前端用什么语言我是站长网
  • 闵行工程建设网站企业官网推广
  • 已有网站做百度推广2023搜索最多的关键词
  • 重庆无障碍网站建设免费seo网站优化
  • 编程 毕业设计代做网站seo实战培训学校
  • 大学文明校园网站建设方案网络营销方案
  • 图书馆建设网站打不开什么是外链
  • 医药企业网站建设要哪些备案seodao cn
  • 大图做网站背景加载慢企业网站
  • wap网站 手机网站企业官网
  • 江苏建设类高级工程师在那个网站公示引流app推广软件
  • 响应式 网站 设计软件青岛seo计费
  • 自己做的网站能上传吗互联网广告行业
  • 网站模板小偷百度sem是什么
  • wordpress做下载型网站seo网站关键词优化费用
  • 高邮做网站手机网站seo免费软件
  • 供应链网站制作seo岗位工作内容
  • 全国优秀施工企业查询百度seo技术优化
  • 温州网站建设模板下载免费看广告赚钱