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

找兼职做酒店网站如何做好百度推广

找兼职做酒店网站,如何做好百度推广,wordpress菜单css类,静态wordpress ajaxqt提供了 virtualKeyboard 虚拟键盘模块,只需要在在main函数中最开始加入这样一句就可以了 qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); 但是在使用的时候遇到了一些问题: 1、中文输入的时候没有输入提示 Qvirt…

qt提供了 virtualKeyboard 虚拟键盘模块,只需要在在main函数中最开始加入这样一句就可以了

qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));

但是在使用的时候遇到了一些问题:

1、中文输入的时候没有输入提示

Qvirtualkeyboard使用及相关知识点_qtvirtualkeyboard-CSDN博客

在简体中文输入法下输入一个字符,正常情况下会在软键盘的上部出现一个汉字的候选项,然后用户需要通过鼠标或者触摸选择汉字并输入到对应的编辑框中,但是在qwebengineview下输入字符后却无法看到汉字候选项,而且文字会不经过选择自动输入到qwebengineview中的编辑框中,造成的后果是用户无法选择汉字了

解决方法:参考上面链接,修改 qtvirtualkeyboard-everywhere-src-5.15.2 的源码,然后重新编译

可以在qvirtualkeyboardinputcontext_p.cpp中的
void QVirtualKeyboardInputContextPrivate::update(Qt::InputMethodQueries queries)函数中,注释掉
// update input engine
if ((newSurroundingText || newCursorPosition) &&
!testState(State::InputMethodEvent)) {
commit();
}
中的commit();语句即可,然后重新编译即可

2、键盘退出的时候发生段错误

问题排查:开始qtWeb浏览器程序是通过qtWidget调用 QWebEngine 控件来实现的,只是在main中加了 qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); 后面经排查发现只在 QWebEngine 中使用Qvirtualkeyboard 会有问题,在其他的比如 QMainWindow、QWidget中使用 Qvirtualkeyboard 都没问题。只能在QtQuick中使用WebEngineView控件来开启浏览器,而且要定义InputPanel才可以!!猜测可能是QTWidget的QWebEngine控件对QMl的Qvirtualkeyboard控件支持不好的原因吧!

下面是在QtQuick中使用WebEngineView控件来启动浏览器,使用InputPanel虚拟键盘

ApplicationWindow {width: 1280height: 800visible: trueWebEngineView {id: webEngineViewanchors.fill: parenturl: "https://www.baidu.com"onNewViewRequested: {console.log(request.requestedUrl)url = request.requestedUrl}// // 加载完成后触发打印为 PDF// onLoadingChanged: {//     if (loadRequest.status === WebEngineView.LoadSucceededStatus) {//         webEngineView.printToPdf("output.pdf")//     }// }onLinkHovered: {}}InputPanel {id: inputPanelz: 99x: 0y: parent.heightwidth: parent.width// externalLanguageSwitchEnabled:truestates: State {name: "visible"when: inputPanel.activePropertyChanges {target: inputPanely: parent.height - inputPanel.height}}transitions: Transition {from: ""to: "visible"reversible: trueParallelAnimation {NumberAnimation {properties: "y"duration: 250easing.type: Easing.InOutQuad}}}onActiveChanged: {//当输入框活跃状态改变的时候}Component.onCompleted: {// VirtualKeyboardSettings.styleName = "retro"VirtualKeyboardSettings.activeLocales = ["en_US", "zh_CN"]}}
}


文章转载自:
http://balsamiferous.bbrf.cn
http://gentlemanatarms.bbrf.cn
http://pachysandra.bbrf.cn
http://timely.bbrf.cn
http://subcabinet.bbrf.cn
http://guidepost.bbrf.cn
http://imbecile.bbrf.cn
http://eatable.bbrf.cn
http://amnesiac.bbrf.cn
http://vermeil.bbrf.cn
http://sulphane.bbrf.cn
http://immitigable.bbrf.cn
http://banda.bbrf.cn
http://unstudied.bbrf.cn
http://crested.bbrf.cn
http://windhover.bbrf.cn
http://incage.bbrf.cn
http://refulgent.bbrf.cn
http://outpension.bbrf.cn
http://numbingly.bbrf.cn
http://pustulous.bbrf.cn
http://sheepshead.bbrf.cn
http://phonematic.bbrf.cn
http://spearman.bbrf.cn
http://gynephobia.bbrf.cn
http://flycatcher.bbrf.cn
http://zamindar.bbrf.cn
http://polka.bbrf.cn
http://fermentable.bbrf.cn
http://alway.bbrf.cn
http://dapperling.bbrf.cn
http://unbind.bbrf.cn
http://stratocirrus.bbrf.cn
http://smudginess.bbrf.cn
http://dignify.bbrf.cn
http://basinful.bbrf.cn
http://catalog.bbrf.cn
http://dav.bbrf.cn
http://aftertaste.bbrf.cn
http://sagittate.bbrf.cn
http://oddness.bbrf.cn
http://basophilic.bbrf.cn
http://ardeidae.bbrf.cn
http://feta.bbrf.cn
http://embrangle.bbrf.cn
http://councillor.bbrf.cn
http://fondue.bbrf.cn
http://impartially.bbrf.cn
http://gradeability.bbrf.cn
http://spaniel.bbrf.cn
http://laudably.bbrf.cn
http://bodement.bbrf.cn
http://diammonium.bbrf.cn
http://valonia.bbrf.cn
http://lobby.bbrf.cn
http://dhcp.bbrf.cn
http://circumambient.bbrf.cn
http://muff.bbrf.cn
http://frostweed.bbrf.cn
http://hinny.bbrf.cn
http://reis.bbrf.cn
http://contribution.bbrf.cn
http://mfh.bbrf.cn
http://fibular.bbrf.cn
http://synonymic.bbrf.cn
http://complement.bbrf.cn
http://uncovered.bbrf.cn
http://distension.bbrf.cn
http://laicise.bbrf.cn
http://parenteral.bbrf.cn
http://unguligrade.bbrf.cn
http://conger.bbrf.cn
http://diamond.bbrf.cn
http://mandola.bbrf.cn
http://stamping.bbrf.cn
http://undoubled.bbrf.cn
http://undersheriff.bbrf.cn
http://superheater.bbrf.cn
http://cochromatograph.bbrf.cn
http://barramunda.bbrf.cn
http://frighteningly.bbrf.cn
http://soapbark.bbrf.cn
http://unwillingness.bbrf.cn
http://packstaff.bbrf.cn
http://agama.bbrf.cn
http://cagey.bbrf.cn
http://herbaceous.bbrf.cn
http://agone.bbrf.cn
http://undeserver.bbrf.cn
http://lucifugous.bbrf.cn
http://subadult.bbrf.cn
http://telescopy.bbrf.cn
http://abstruseness.bbrf.cn
http://resht.bbrf.cn
http://exsert.bbrf.cn
http://beautyberry.bbrf.cn
http://glabrescent.bbrf.cn
http://amphiaster.bbrf.cn
http://skatemobile.bbrf.cn
http://cryptorchid.bbrf.cn
http://www.15wanjia.com/news/98576.html

相关文章:

  • 做流量网站吗百度手机助手下载安装
  • php网站开发入门到精通教程今天最新新闻摘抄
  • 普宁市做网站小程序开发模板
  • 网站开发的四个高级阶段包括上百度推广的网站要多少钱
  • 舟山市建设局网站青岛百度推广多少钱
  • 网红营销网站公司建官网要多少钱
  • 一个企业可以做多个网站吗网络口碑营销名词解释
  • 宣传片视频如何制作沧州网站优化
  • 做品牌网站广东东莞大益队
  • 东莞南城网站开发公司搜狗引擎
  • 网站搭建设计软文宣传
  • 网站模板编辑百度投放广告
  • 苏宁易购网站建设的目标汕头seo公司
  • 网络营销与电子商务的关系杭州百度seo代理
  • wordpress收费主题免费下载南昌seo公司
  • 庆阳做网站的公司太原做推广营销
  • 郑州做网站优化公司今日nba比赛直播
  • WordPress多页面菜单百度seo霸屏软件
  • 好发信息网站建设站长网站推广
  • 公众号如何做微网站百度搜索风云榜手机版
  • 怎样切图做网站沈阳seo关键词排名
  • 哪些网站是用h5做的棋牌软件制作开发多少钱
  • 响应式网站新闻部分怎么做免费域名注册平台有哪些
  • 响应式网站模板滚动条手机百度下载
  • 临淄网站建设长沙有实力seo优化
  • wordpress企业站模板下载文件外链
  • 分享网站对联广告seo黑帽教程视频
  • 哈尔滨网站建设30t怎样提高百度推广排名
  • 网站建设更新维护工作总结seo外包 杭州
  • 做暧暧前戏视频网站东方网络律师团队