Obsolete Members for QWheelEvent

クラスQWheelEvent の以下のメンバーは非推奨です。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。

パブリック関数

(deprecated in 6.0) Qt::MouseEventSource source() const

メンバ関数ドキュメント

[deprecated in 6.0] Qt::MouseEventSource QWheelEvent::source() const

この関数は6.0から非推奨となった。新しいコードでは使用しないことを強く推奨する。

代わりにpointingDevice() を使用してください。

ホイール・イベント・ソースに関する情報を返します。

このソースは、物理的なホイールを持つマウスから来るイベントと、タッチパッド上のフリックジェスチャのような他の手段によって生成されたイベントを区別するために使用することができます。この列挙型は、そのイベントがどこで合成されたかを示します。しかし、どのデバイスから合成されたかを知る方が役に立つことが多いので、代わりにpointingDevice() を使ってみてください。

注意: 多くのプラットフォームではそのような情報は提供されない。そのようなプラットフォームでは、常にQt::MouseEventNotSynthesized が返される。

Qt::MouseEventSourceも参照のこと

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.