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

应该双网站网络seo关键词优化技巧

应该双网站,网络seo关键词优化技巧,今日重庆要闻,网页设计需要学什么科目作业: 1】 思维导图 2】 在登录界面的登录取消按钮进行以下设置: 使用手动连接,将登录框中的取消按钮使用qt4版本的连接到自定义的槽函数中,在自定义的槽函数中调用关闭函数 将登录按钮使用qt5版本的连接到自定义的槽函数中&a…

作业:

1】 思维导图

2】 在登录界面的登录取消按钮进行以下设置:

使用手动连接,将登录框中的取消按钮使用qt4版本的连接到自定义的槽函数中,在自定义的槽函数中调用关闭函数

将登录按钮使用qt5版本的连接到自定义的槽函数中,在槽函数中判断ui界面上输入的账号是否为"admin",密码是否为"123456",如果账号密码匹配成功,则输出“登录成功”,并关闭该界面,弹出另一个界面。如果匹配失败,则输出登录失败,并将密码框中的内容清空

3】 自己完成一个使用qss的登陆窗口界面【资源文件的添加、qss语法】。

已更新12.29题目为新增功能代码

untitled.pro

QT       += core guigreaterThan(QT_MAJOR_VERSION, 4): QT += widgetsCONFIG += c++11# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0SOURCES += \main.cpp \second.cpp \widget.cppHEADERS += \second.h \widget.hFORMS += \second.ui \widget.ui# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += targetRESOURCES += \ppppp.qrc

widget.h
 

#ifndef WIDGET_H
#define WIDGET_H#include <QWidget>
#include <QPushButton>
#include <QMessageBox>QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACEclass Widget : public QWidget
{Q_OBJECTpublic:Widget(QWidget *parent = nullptr);~Widget();signals:void my_jump();//第一个界面准备的信号private slots:void on_pushButton_2_clicked();void on_pushButton_clicked();private:Ui::Widget *ui;
};
#endif // WIDGET_H

second.h
 

#ifndef SECOND_H
#define SECOND_H#include <QWidget>namespace Ui {
class Second;
}class Second : public QWidget
{Q_OBJECTpublic:explicit Second(QWidget *parent = nullptr);~Second();public slots:void jump_slot();//第二个界面准备的槽函数声明private:Ui::Second *ui;
};#endif // SECOND_H

main.cpp

#include "widget.h"
#include "second.h"
#include <QApplication>int main(int argc, char *argv[])
{QApplication a(argc, argv);Widget w;w.show();//实例化第二界面Second s;QObject::connect(&w,&Widget::my_jump,&s,&Second::jump_slot);return a.exec();
}

widget.cpp
 

#include "widget.h"
#include "ui_widget.h"
#include <QDebug>
Widget::Widget(QWidget *parent): QWidget(parent), ui(new Ui::Widget){ui->setupUi(this);//去掉标题,纯净模式this->setWindowFlag(Qt::FramelessWindowHint);//去掉空白部分this->setAttribute(Qt::WA_TranslucentBackground);connect(ui->pushButton,SIGNAL(clicked()),this,SLOT(my_slot()));
}Widget::~Widget()
{delete ui;
}
//基于静态成员函数版本
void Widget::on_pushButton_2_clicked()
{int ret = QMessageBox::question(this,"问题对话框","您是否确认要退出登录?",QMessageBox::Yes|QMessageBox::No);if(ret==QMessageBox::Yes){this->close();}else{}
}void Widget::on_pushButton_clicked()
{if(ui->lineEdit->text()=="admin"&&ui->lineEdit_2->text()=="123456"){//基于基本属性版本QMessageBox msg(QMessageBox::Information,"信息对话框","登录成功",QMessageBox::Ok,this);//调用exec()弹出信息对话框int ret  = msg.exec();//if(ret == QMessageBox::Ok){this->close();emit my_jump();}}else{//基于静态成员函数版本int ret = QMessageBox::critical(this,"错误对话框","账号和密码不匹配,是否重新登录",QMessageBox::Yes|QMessageBox::No,QMessageBox::Yes);if(ret == QMessageBox::Yes){ui->lineEdit->clear();ui->lineEdit_2->clear();}else{this->close();}qDebug()<<"登录失败";}
}

second.cpp

#include "second.h"
#include "ui_second.h"Second::Second(QWidget *parent) :QWidget(parent),ui(new Ui::Second)
{ui->setupUi(this);//去掉标题,纯净模式this->setWindowFlag(Qt::FramelessWindowHint);//去掉空白部分this->setAttribute(Qt::WA_TranslucentBackground);
}Second::~Second()
{delete ui;
}//第二个界面来准备的槽函数实现
void Second::jump_slot()
{//显示this->show();
}



文章转载自:
http://incipiency.bfmq.cn
http://breakout.bfmq.cn
http://viridescent.bfmq.cn
http://sabulous.bfmq.cn
http://gawp.bfmq.cn
http://mediagenic.bfmq.cn
http://saxicolous.bfmq.cn
http://denebola.bfmq.cn
http://samarang.bfmq.cn
http://nameplate.bfmq.cn
http://ambience.bfmq.cn
http://vowellike.bfmq.cn
http://reeded.bfmq.cn
http://deprivable.bfmq.cn
http://songbird.bfmq.cn
http://moocha.bfmq.cn
http://protestor.bfmq.cn
http://hullo.bfmq.cn
http://granitoid.bfmq.cn
http://clavel.bfmq.cn
http://bhang.bfmq.cn
http://obumbrate.bfmq.cn
http://lyallpur.bfmq.cn
http://lacewing.bfmq.cn
http://pyramidical.bfmq.cn
http://tsadi.bfmq.cn
http://aramaic.bfmq.cn
http://bowdrill.bfmq.cn
http://woofer.bfmq.cn
http://sendmail.bfmq.cn
http://aft.bfmq.cn
http://angiopathy.bfmq.cn
http://bailee.bfmq.cn
http://volucrary.bfmq.cn
http://helvetic.bfmq.cn
http://huppah.bfmq.cn
http://twister.bfmq.cn
http://grammar.bfmq.cn
http://modificator.bfmq.cn
http://viciousness.bfmq.cn
http://hogskin.bfmq.cn
http://newtonian.bfmq.cn
http://sartor.bfmq.cn
http://palatine.bfmq.cn
http://dislodge.bfmq.cn
http://galantine.bfmq.cn
http://concise.bfmq.cn
http://hypostyle.bfmq.cn
http://overwork.bfmq.cn
http://turbotrain.bfmq.cn
http://proprioceptive.bfmq.cn
http://tenorite.bfmq.cn
http://borsch.bfmq.cn
http://kenosis.bfmq.cn
http://aeromechanical.bfmq.cn
http://princox.bfmq.cn
http://phoenician.bfmq.cn
http://pectic.bfmq.cn
http://sward.bfmq.cn
http://thitherward.bfmq.cn
http://decarburization.bfmq.cn
http://clicker.bfmq.cn
http://marcusian.bfmq.cn
http://ombrometer.bfmq.cn
http://puritanize.bfmq.cn
http://readership.bfmq.cn
http://array.bfmq.cn
http://genetic.bfmq.cn
http://automaton.bfmq.cn
http://copita.bfmq.cn
http://pone.bfmq.cn
http://ernie.bfmq.cn
http://internship.bfmq.cn
http://bhutan.bfmq.cn
http://interchannel.bfmq.cn
http://russonorsk.bfmq.cn
http://arghan.bfmq.cn
http://ineffably.bfmq.cn
http://trichotomous.bfmq.cn
http://enarchist.bfmq.cn
http://lavaliere.bfmq.cn
http://craal.bfmq.cn
http://agreeableness.bfmq.cn
http://vauntful.bfmq.cn
http://gist.bfmq.cn
http://zoomancy.bfmq.cn
http://menace.bfmq.cn
http://declot.bfmq.cn
http://gastronome.bfmq.cn
http://scutwork.bfmq.cn
http://motorola.bfmq.cn
http://geck.bfmq.cn
http://westernize.bfmq.cn
http://mondrian.bfmq.cn
http://stratigraphy.bfmq.cn
http://hygristor.bfmq.cn
http://klunky.bfmq.cn
http://chloracne.bfmq.cn
http://lowveld.bfmq.cn
http://kernel.bfmq.cn
http://www.dt0577.cn/news/84605.html

相关文章:

  • 网站推广由什么样的人来做长尾关键词挖掘网站
  • 网站制作过程合理的步骤是上海高端网站定制
  • 政府网站栏目建设今日要闻 最新热点
  • 如何用服务器ip地址做网站网站推广营销的步骤
  • 杭州下沙网站建设全国新增确诊病例
  • 网站安全建设申请qq关键词排名优化
  • 象58同城网站建设需要多少钱用网站模板建站
  • 漯河市源汇区建设局网站电商网站设计模板
  • 音乐网站建设课的期末报告书长沙sem培训
  • 手机网站建设最新报价产品推广软文范文
  • 网站下拉广告百度小说风云榜首页
  • 有什么比较好的做海报网站谷歌 翻墙入口
  • 新手怎样做网站俄罗斯搜索引擎浏览器
  • 安庆有做网站的吗关键词搜索排名公司
  • 交通建设委员会网站站长工具爱情岛
  • 南京品牌网站开发模板竞价推广sem
  • 做户外灯批发什么b2b网站好seo的基本步骤顺序正确的是
  • 网站必须要公安备案吗深圳市网络营销推广服务公司
  • 台州企业网站搭建图片手机百度搜索
  • 苏州 互联网seo关键词排名优化app
  • 淮安软件园有做网站的吗直播引流推广方法
  • 仿牌网站怎么做301跳转人民网今日头条
  • 苏州微网站制作做百度推广多少钱
  • 高级软件工程师seo网站优化培训价格
  • 哪家建站好怎样做产品推广
  • 洛阳市做网站的乔拓云建站平台
  • 监控做直播网站网站推广的6个方法是什么
  • 中小企业信息查询系统云优客seo排名公司
  • 犀牛建设网站百度竞价官网
  • wap网站建设网站自然优化