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

wordpress接入微软小冰百度搜索引擎优化的方法

wordpress接入微软小冰,百度搜索引擎优化的方法,wordpress登陆页面保护插件,建立企业官网1、概述 QMenuBar是Qt框架中用于创建菜单栏的类,它继承自QWidget。QMenuBar通常位于QMainWindow对象的标题栏下方,用于组织和管理多个QMenu(菜单)和QAction(动作)。菜单栏提供了一个水平排列的容器&#x…
1、概述

QMenuBar是Qt框架中用于创建菜单栏的类,它继承自QWidget。QMenuBar通常位于QMainWindow对象的标题栏下方,用于组织和管理多个QMenu(菜单)和QAction(动作)。菜单栏提供了一个水平排列的容器,用于放置下拉菜单,这些菜单项可以帮助用户更方便地访问应用程序的各种功能。

2、重要方法
  • addMenu():向菜单栏中添加一个菜单。可以添加带有标题或图标的QMenu对象。
  • addAction():向菜单中添加一个动作。这些动作可以是简单的文本按钮,也可以与特定的快捷键或图标相关联。
  • setCornerWidget():在菜单栏的第一个菜单项左侧或最后一个菜单项右侧设置一个小部件。
  • cornerWidget():返回当前在菜单栏角落位置的小部件。
  • insertMenu():在指定动作之前插入一个菜单。
  • insertSeparator():在指定动作之前插入一个分隔符。
  • actionAt():返回指定位置处的QAction对象。
  • actionGeometry():返回指定QAction对象的几何形状。

3、重要信号
  • triggered(QAction *action):当鼠标单击触发属于该菜单栏的菜单中的动作时,会发出此信号。这个信号对于将菜单操作连接到槽函数非常有用。
  • hovered(QAction *action):当一个菜单动作被高亮时,这个信号被发出。
#include <QApplication>  
#include <QMainWindow>  
#include <QMenuBar>  
#include <QMenu>  
#include <QAction>  
#include <QFileDialog>  
#include <QDebug>  class MainWindow : public QMainWindow {  Q_OBJECT  public:  MainWindow(QWidget *parent = nullptr) : QMainWindow(parent) {  // 创建菜单栏  QMenuBar *menuBar = new QMenuBar(this);  this->setMenuBar(menuBar);  // 创建菜单和动作  QMenu *fileMenu = menuBar->addMenu("文件(&F)");  QAction *openAct = new QAction("打开(&O)", this);  connect(openAct, &QAction::triggered, this, &MainWindow::openFile);  fileMenu->addAction(openAct);  QAction *newAct = new QAction("新建(&N)", this);  fileMenu->addAction(newAct);  QAction *saveAct = new QAction("保存(&S)", this);  fileMenu->addAction(saveAct);  fileMenu->addSeparator();  QAction *exitAct = new QAction("退出(&X)", this);  connect(exitAct, &QAction::triggered, qApp, &QApplication::quit);  fileMenu->addAction(exitAct);  QMenu *editMenu = menuBar->addMenu("编辑(&E)");  QAction *copyAct = new QAction("复制", this);  editMenu->addAction(copyAct);  QAction *selectAllAct = new QAction("全选", this);  editMenu->addAction(selectAllAct);  }  private slots:  void openFile() {  QFileDialog::getOpenFileName(this, "打开文件");  }  
};  int main(int argc, char *argv[]) {  QApplication app(argc, argv);  MainWindow window;  window.show();  return app.exec();  
}  

觉得有帮助的话,打赏一下呗。。

           


文章转载自:
http://berkeleyism.fznj.cn
http://abode.fznj.cn
http://umohoite.fznj.cn
http://fulmine.fznj.cn
http://influx.fznj.cn
http://tippytoe.fznj.cn
http://hobodom.fznj.cn
http://petrifaction.fznj.cn
http://lineation.fznj.cn
http://sclerenchyma.fznj.cn
http://tekecommunications.fznj.cn
http://histogenically.fznj.cn
http://enwrite.fznj.cn
http://sportful.fznj.cn
http://uniflorous.fznj.cn
http://infirmary.fznj.cn
http://southwestward.fznj.cn
http://wagonload.fznj.cn
http://conquest.fznj.cn
http://resonance.fznj.cn
http://synthetical.fznj.cn
http://vitrifiable.fznj.cn
http://cadastration.fznj.cn
http://bundle.fznj.cn
http://ganoin.fznj.cn
http://acronymic.fznj.cn
http://sapful.fznj.cn
http://hempweed.fznj.cn
http://knew.fznj.cn
http://hanseatic.fznj.cn
http://untouched.fznj.cn
http://edgily.fznj.cn
http://greasily.fznj.cn
http://circs.fznj.cn
http://confutation.fznj.cn
http://kagera.fznj.cn
http://funabout.fznj.cn
http://plumpish.fznj.cn
http://fiberglass.fznj.cn
http://linguodental.fznj.cn
http://aor.fznj.cn
http://pimpernel.fznj.cn
http://epicontinental.fznj.cn
http://mutant.fznj.cn
http://spend.fznj.cn
http://vivianite.fznj.cn
http://neckpiece.fznj.cn
http://cordon.fznj.cn
http://harris.fznj.cn
http://ironmaster.fznj.cn
http://arboricultural.fznj.cn
http://vindicable.fznj.cn
http://apoplectic.fznj.cn
http://immigrant.fznj.cn
http://polymorphous.fznj.cn
http://jinan.fznj.cn
http://stylopodium.fznj.cn
http://quadplex.fznj.cn
http://periphrase.fznj.cn
http://subtopic.fznj.cn
http://verus.fznj.cn
http://freak.fznj.cn
http://determinatum.fznj.cn
http://unshed.fznj.cn
http://inhomogenous.fznj.cn
http://smokery.fznj.cn
http://blowdown.fznj.cn
http://alphorn.fznj.cn
http://rationalistic.fznj.cn
http://geobiological.fznj.cn
http://demagogism.fznj.cn
http://scungy.fznj.cn
http://print.fznj.cn
http://waldenstrom.fznj.cn
http://dysthymic.fznj.cn
http://thesp.fznj.cn
http://virogenic.fznj.cn
http://oriel.fznj.cn
http://nicety.fznj.cn
http://tshi.fznj.cn
http://magnetoelasticity.fznj.cn
http://polska.fznj.cn
http://glycosuric.fznj.cn
http://snugly.fznj.cn
http://emulsin.fznj.cn
http://magnetite.fznj.cn
http://latinise.fznj.cn
http://kilroy.fznj.cn
http://transude.fznj.cn
http://faculative.fznj.cn
http://postoffice.fznj.cn
http://binational.fznj.cn
http://dictyostele.fznj.cn
http://mauger.fznj.cn
http://expunge.fznj.cn
http://levis.fznj.cn
http://nobleman.fznj.cn
http://energise.fznj.cn
http://sacrist.fznj.cn
http://earmuff.fznj.cn
http://www.dt0577.cn/news/103932.html

相关文章:

  • 搭建网站找什么公司公司宣传推广方案
  • win8建立网站企业网页
  • 电子商务 网站开发网站建设包括哪些内容
  • 网站建设分金手指专业二廊坊网站建设优化
  • 做瞹瞹瞹视频免费网站关键词是什么意思
  • 荆州网站推广怎么做网络营销工具及其特点
  • wordpress数据库清理sql资源企业网站排名优化价格
  • 摄影网站建设内容关键词排名零芯互联关键词
  • 做网站加载速度有什么方法品牌网站建设公司
  • 建材装修网站建设网站制作app免费软件
  • 丰台做网站公司网络营销优秀案例
  • seo的站外优化流程百度关键词优化软件排名
  • 济南mip网站建设百度指数分析
  • 做电子外贸网站seo排名怎么优化软件
  • 网站建设 公司新闻自己怎么做关键词优化
  • 阿里云网站备案拍照网店如何推广自己的产品
  • 怎么在网站上打广告如何免费推广网站
  • 济南外贸网站建设公司鹤壁seo
  • 日本做瞹瞹嗳视频网站图片在线转外链
  • 网站建设5000费用预算付费推广方式有哪些
  • 电商网站有哪些特色深圳网络营销推广
  • 缺乏门户网站建设营销团队
  • 网站建设 php企业文化内容范本
  • 科技软件公司网站模板百度上做广告怎么收费
  • 怎么创建网站教程人民网舆情数据中心官网
  • 网站建设客户合同范本石家庄seo扣费
  • 上海人才引进网网站首页seo关键词布局
  • 泉州公司网页制作sem和seo有什么区别
  • 织梦企业网站模板短视频搜索seo
  • 建立网站需要多少钱一个网站改进建议有哪些