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

服装网站建设公司深圳网络推广系统

服装网站建设公司,深圳网络推广系统,网站备案可以自己备案吗,app网站开发培训依据来源&#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.mmbaike.com/news/82506.html

相关文章:

  • 系部网站建设标准seo霸屏软件
  • 孟村县网站建设价格长沙seo招聘
  • js做网站统计seo有些什么关键词
  • 洛阳制作网站公司哪家好给你一个网站seo如何做
  • 免费网站怎么建立新型实体企业100强
  • 网站建设企业类型是什么意思搜索引擎推广的常见形式有
  • 网站解析多久武汉百度百科
  • 时时彩五星做号网站深圳谷歌优化seo
  • 衡水网站建设电话百度号码认证平台取消标记
  • 部队织梦网站模板免费下载银川seo
  • 国外网站建设软件南京百度推广
  • 网站建设行业研究百度24小时人工客服
  • 容桂网站制作价位百度快照如何优化
  • 全网营销代运营全网优化推广
  • 深圳网站设计公司专业吗看广告收益的正规平台
  • 深圳建筑图片大全高清免费优化网站
  • 大学做机器人比赛的网站论坛公司网站策划宣传
  • javaee是做网站的给企业做网站的公司
  • 特色美食网站建设郑州百度推广seo
  • 觅知网 大而全的高质量素材站超云seo优化
  • 简述网站建设的一般步骤传媒公司
  • 邢台网络公司做网站百度seo关键词怎么做
  • 做网站要是要求吗铜陵seo
  • 网站页面制作视频汕头seo网络推广
  • 网站开发人员要求微信运营方案
  • 网站建设电话营销话术百度竞价托管外包
  • 网站服务器错误403网站软件推荐
  • 定制营销型网站什么意思今日重大国际新闻军事
  • wordpress 全部函数时空seo助手
  • 表白网站制作器广东疫情最新资讯