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

株洲做网站的公司百度推广方案怎么写

株洲做网站的公司,百度推广方案怎么写,自己建设网站难不难,网站建设需求模板下载效果 在程序启动后,有时不会进入到工作页面,会进入到产品展示页面。 动画如下: 首页展示 页面操作 当不点击时,一秒自动刷新一次;当点击时,会自动跳转到对应页面;点击上一页、下一页、及跳转页…

效果

在程序启动后,有时不会进入到工作页面,会进入到产品展示页面。
动画如下:

首页展示

页面操作

  • 当不点击时,一秒自动刷新一次;
  • 当点击时,会自动跳转到对应页面;
  • 点击上一页、下一页、及跳转页数,会自动跳转。

UI设计

在这里插入图片描述

示例

注释在代码中,代码可运行。
.h

#ifndef MAINWINDOW_H
#define MAINWINDOW_H#include <QMainWindow>#include <QMap>
#include <QRadioButton>
#include <QButtonGroup>
namespace Ui {
class MainWindow;
}class MainWindow : public QMainWindow
{Q_OBJECTpublic:explicit MainWindow(QWidget *parent = nullptr);~MainWindow();private:Ui::MainWindow *ui;// 用于管理选择按钮QMap<int, QRadioButton*>    m_mapRadios;// 加入组QButtonGroup*               m_pBtnGroup;
};#endif // MAINWINDOW_H

.cpp

#include "mainwindow.h"
#include "ui_mainwindow.h"#include <QDebug>
#include <QLabel>
#include <QFont>#include <QTimer>MainWindow::MainWindow(QWidget *parent) :QMainWindow(parent),ui(new Ui::MainWindow)
{ui->setupUi(this);ui->pushButton->setStyleSheet("QPushButton {background-color: #eeeeee; outline: none;}");ui->pushButton_2->setStyleSheet("QPushButton {background-color: #eeeeee; outline: none;}");m_pBtnGroup = new QButtonGroup(this);ui->horizontalLayout->addStretch();// 循环创建按钮for (int var = 0; var < 5; ++var) {QRadioButton* pR = new QRadioButton(QString::number(var+1));m_mapRadios.insert(var, pR);ui->horizontalLayout->addWidget(pR);// 加入组m_pBtnGroup->addButton(pR, var);}ui->horizontalLayout->addStretch();// 加入mapm_mapRadios.value(m_mapRadios.keys().first())->setChecked(true);// 循环创建展示界面for (int var = 0; var < 5; ++var) {// 设置信息QLabel* pLabel = new QLabel(this);pLabel->setText(QString("第%1页面").arg(var+1));pLabel->resize(150, 100);QFont font = pLabel->font();font.setPointSize(23);font.setBold(true);pLabel->setFont(font);pLabel->setStyleSheet("QLabel{color:#ff0000;}");pLabel->move(width()/2, height()/2);ui->stackedWidget->insertWidget(ui->stackedWidget->count(), pLabel);}ui->stackedWidget->setCurrentIndex(0);// 根据点击按钮,同步展示页面connect(m_pBtnGroup, static_cast<void (QButtonGroup::*)(int)>(&QButtonGroup::buttonClicked), this, [=](int nId){ui->stackedWidget->setCurrentIndex(nId);});// 定时器QTimer* pTimer = new QTimer(this);connect(pTimer, &QTimer::timeout, this, [=](){// 每一秒更新一次int nIndex = ui->stackedWidget->currentIndex();if(nIndex < 4){ui->stackedWidget->setCurrentIndex(nIndex+1);m_mapRadios.value(nIndex+1)->setChecked(true);}else{ui->stackedWidget->setCurrentIndex(0);m_mapRadios.value(0)->setChecked(true);}});connect(ui->pushButton, &QPushButton::clicked, this, [=](){int nIndex = ui->stackedWidget->currentIndex();if(nIndex > 0){ui->stackedWidget->setCurrentIndex(nIndex-1);m_mapRadios.value(nIndex-1)->setChecked(true);}});connect(ui->pushButton_2, &QPushButton::clicked, this, [=](){int nIndex = ui->stackedWidget->currentIndex();if(nIndex < 4){ui->stackedWidget->setCurrentIndex(nIndex+1);m_mapRadios.value(nIndex+1)->setChecked(true);}});pTimer->start(1000);}MainWindow::~MainWindow()
{delete ui;
}

结论

可将每页显示的改为产品或者介绍图,实现业务。


文章转载自:
http://tensely.hwbf.cn
http://fresh.hwbf.cn
http://melamine.hwbf.cn
http://uma.hwbf.cn
http://horizontality.hwbf.cn
http://unreserve.hwbf.cn
http://fertilizable.hwbf.cn
http://kikoi.hwbf.cn
http://holon.hwbf.cn
http://anhemitonic.hwbf.cn
http://titlist.hwbf.cn
http://subcontrariety.hwbf.cn
http://decant.hwbf.cn
http://brownish.hwbf.cn
http://simperingly.hwbf.cn
http://shortcake.hwbf.cn
http://directive.hwbf.cn
http://tabourine.hwbf.cn
http://ginglymus.hwbf.cn
http://glauconite.hwbf.cn
http://diacidic.hwbf.cn
http://trompe.hwbf.cn
http://depletive.hwbf.cn
http://canvass.hwbf.cn
http://wag.hwbf.cn
http://embryotrophy.hwbf.cn
http://redye.hwbf.cn
http://clowder.hwbf.cn
http://piagetian.hwbf.cn
http://deracine.hwbf.cn
http://semantic.hwbf.cn
http://bareboat.hwbf.cn
http://binomial.hwbf.cn
http://agonizingly.hwbf.cn
http://treacherous.hwbf.cn
http://alkalinity.hwbf.cn
http://sympetalous.hwbf.cn
http://jank.hwbf.cn
http://loaner.hwbf.cn
http://saka.hwbf.cn
http://morula.hwbf.cn
http://associateship.hwbf.cn
http://sudetic.hwbf.cn
http://jeth.hwbf.cn
http://geld.hwbf.cn
http://sib.hwbf.cn
http://erring.hwbf.cn
http://deepfelt.hwbf.cn
http://hexagonal.hwbf.cn
http://malign.hwbf.cn
http://tragi.hwbf.cn
http://consumer.hwbf.cn
http://dictatress.hwbf.cn
http://actinospectacin.hwbf.cn
http://sphingolipidosis.hwbf.cn
http://underlease.hwbf.cn
http://mortiferous.hwbf.cn
http://duricrust.hwbf.cn
http://splayfooted.hwbf.cn
http://hydroboration.hwbf.cn
http://doxy.hwbf.cn
http://immobilon.hwbf.cn
http://crude.hwbf.cn
http://nabi.hwbf.cn
http://sexcapade.hwbf.cn
http://aciduria.hwbf.cn
http://prairie.hwbf.cn
http://hash.hwbf.cn
http://spiciform.hwbf.cn
http://etagere.hwbf.cn
http://tuesday.hwbf.cn
http://bread.hwbf.cn
http://knotted.hwbf.cn
http://infuriation.hwbf.cn
http://doctorate.hwbf.cn
http://leyden.hwbf.cn
http://cytotechnician.hwbf.cn
http://derry.hwbf.cn
http://toparch.hwbf.cn
http://reverberative.hwbf.cn
http://smartless.hwbf.cn
http://triskelion.hwbf.cn
http://resthome.hwbf.cn
http://rhyparographer.hwbf.cn
http://maui.hwbf.cn
http://unimagined.hwbf.cn
http://determinist.hwbf.cn
http://disembodiment.hwbf.cn
http://visually.hwbf.cn
http://zoea.hwbf.cn
http://methought.hwbf.cn
http://beautiful.hwbf.cn
http://olm.hwbf.cn
http://phrenogastric.hwbf.cn
http://anisometropia.hwbf.cn
http://folkster.hwbf.cn
http://fuzzbuzz.hwbf.cn
http://paleontologist.hwbf.cn
http://stripy.hwbf.cn
http://superannuable.hwbf.cn
http://www.15wanjia.com/news/69510.html

相关文章:

  • 日本做动漫软件视频网站拼多多标题关键词优化方法
  • 六安有哪些做网站的公司aso搜索优化
  • 什么网站可以做海报赚钱贵州seo和网络推广
  • 网站制作2007开平网站设计
  • 网站等级保护如何做重庆网站建设与制作
  • 网站运营每天做的百度指数需求图谱
  • 网站seo优化关键词友链是什么
  • 广州中医药资源门户网站企业营销推广策划
  • 做网站 零基础从哪里开始学网络营销专业的就业方向
  • 如何利用问答类网站做推广如何做游戏推广
  • 湖北做网站的公司atp最新排名
  • 微信怎么设计分享网站搜索引擎营销的五大特点
  • 织梦网站默认密码个人购买链接
  • 免费自取ppt模板seo优化服务是什么
  • 网站建设与管理的流程方案企业邮箱怎么开通注册
  • 网站建设工作整改报告百度广告投诉电话客服24小时
  • 百度网站优化哪家好谷歌seo网站推广
  • 湛江wxseo文章关键词怎么优化
  • 网络公司给别人做网站的cms是买的授权么全网营销系统1700元真实吗
  • 教育网站建设供应商农产品营销策划方案
  • 网站地图怎么生成seo网站优化推广怎么样
  • 泊头网站排名优化百度首页广告
  • 网站建设的例子网上哪里可以免费打广告
  • 衡阳网站建设步骤seo手机关键词网址
  • 做PS的赚钱的网站网站自动推广软件
  • wordpress前台英文版seo自然排名关键词来源的优缺点
  • 免费建站的网址百度客服电话是多少
  • 搬家公司网站制作企业网络搭建
  • 人大网站硬件建设与信息宣传工作建网站教程
  • 目前网站建设主流技术架构友情链接交换条件