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

网站营销外包哪家专业新闻摘抄2022最新20篇

网站营销外包哪家专业,新闻摘抄2022最新20篇,黑科技软件合集网站,想学服装设计依据来源&#xff1a;https://doc.qt.io/qt-5/qml-qtquick-mouseevent.html 具体是在event事件或者mouse系列事件中捕获到鼠标事件后&#xff0c;用如下代码判断鼠标事件是否由触摸事件转换而来的 if(mouseEvent->source()Qt::MouseEventSynthesizedBySystem){qDebug()<&…

依据来源:https://doc.qt.io/qt-5/qml-qtquick-mouseevent.html

具体是在event事件或者mouse系列事件中捕获到鼠标事件后,用如下代码判断鼠标事件是否由触摸事件转换而来的

    if(mouseEvent->source()==Qt::MouseEventSynthesizedBySystem){qDebug()<<"是由触摸事件转换而来的";}

通过该条件的一律返回,剩下的就是不由触摸事件生成的鼠标事件,由此做到鼠标与触摸事件的分离,使得触摸事件引起的鼠标事件不再干扰判断
更多信息从依据来源中抽取出来后如下,翻译由网易翻译完成。

此属性保存鼠标事件的源。

鼠标事件源可用于区分真正的鼠标事件和人工鼠标事件。当使用其他指向设备(如触摸屏和图形平板)时,如果应用程序没有使用实际的触摸或平板事件,则鼠标事件可能由操作系统或Qt本身合成。

取值可以是:
Qt.MouseEventNotSynthesized -最常见的值。在这些信息可用的平台上,该值表示该事件代表来自系统的真正鼠标事件。
Qt.MouseEventSynthesizedBySystem -指示鼠标事件是由平台从触摸或平板事件合成的。

Qt.MouseEventSynthesizedByQt -指示鼠标事件是由Qt从未处理的触摸或平板事件合成的。

Qt.MouseEventSynthesizedByApplication-指示鼠标事件是由应用程序合成的。这允许将应用程序生成的鼠标事件与来自系统或由Qt合成的鼠标事件区分开来。

这个属性是在Qt 5.7中引入的。

This property holds the source of the mouse event.

The mouse event source can be used to distinguish between genuine and
artificial mouse events. When using other pointing devices such as
touchscreens and graphics tablets, if the application does not make
use of the actual touch or tablet events, mouse events may be
synthesized by the operating system or by Qt itself.

The value can be one of:

Qt.MouseEventNotSynthesized - The most common value. On platforms
where such information is available, this value indicates that the
event represents a genuine mouse event from the system.
Qt.MouseEventSynthesizedBySystem - Indicates that the mouse event was
synthesized from a touch or tablet event by the platform.
Qt.MouseEventSynthesizedByQt - Indicates that the mouse event was
synthesized from an unhandled touch or tablet event by Qt.
Qt.MouseEventSynthesizedByApplication - Indicates that the mouse event
was synthesized by the application. This allows distinguishing
application-generated mouse events from the ones that are coming from
the system or are synthesized by Qt.

This property was introduced in Qt 5.7.

http://www.ds6.com.cn/news/50504.html

相关文章:

  • 浙江省住房建设局网站首页电脑培训学校排名
  • 私人做的不错的网站网络推广专员是干什么的
  • 选择佛山网站设计怎么创建一个网页
  • 英文网站后台维护下载谷歌浏览器
  • 做网站的收益来源黄冈网站推广优化找哪家
  • 网站开发软件有哪些做免费推广的平台
  • 个人主题网站做的步骤广州网络推广万企在线
  • 网站建设准备网站运营方案
  • 如何用图片做网站背景免费网站大全
  • 装修公司招聘网站百度网站联系方式
  • 贵州网站建设套餐百度指数的数据怎么导出
  • 企业如何找网络公司做网站seo网站优化培训班
  • 叙述一个网站开发流程重庆网页优化seo公司
  • 福步论坛外贸网seo搜索优化网站推广排名
  • 软装设计公司网站网站ui设计
  • 快速做网站详情页安卓手机优化大师官方下载
  • 路由器屏蔽网站怎么做百度网址入口
  • 交互网站建设百度指数怎么看
  • 网站制作困难接广告的平台推荐
  • 网站建设 站内搜索百度信息流广告怎么投放
  • 榆林建设局网站制作企业网站的公司
  • 国内重大新闻2023seo优化关键词排名
  • 制作网站的顺序是营销推广方案案例
  • 电子商务网站规划与建设的论文俄国搜索引擎yandex入口
  • h5网页网站制作代码网站优化seo是什么意思
  • 做shopify网站佛山百度推广电话
  • 做外贸必须用的社交网站搜索引擎优化包括
  • 松江做网站公司上海排名seo公司
  • 建设网站网络公司福州短视频seo公司
  • 企业网站 个人备案自动点击器免费下载