QAbstractPhysicalDeviceProxy Class
(
Qt3DInput::QAbstractPhysicalDeviceProxy
)
Qt3DInput::QAbstractPhysicalDeviceProxy
acts as a proxy for an actual Qt3DInput::QQAbstractPhysicalDevice device.
更多...
公共類型
特性
-
deviceName
: const QString
-
status
: const QAbstractPhysicalDeviceProxy::DeviceStatus
公共函數
|
QString
|
deviceName
() const
|
|
Qt3DInput::QAbstractPhysicalDeviceProxy::DeviceStatus
|
status
() const
|
重實現公共函數
信號
|
void
|
statusChanged
(QAbstractPhysicalDeviceProxy::DeviceStatus
status
)
|
靜態公共成員
額外繼承成員
詳細描述
Qt3DInput::QAbstractPhysicalDeviceProxy
acts as a proxy for an actual Qt3DInput::QQAbstractPhysicalDevice device.
Qt3DInput::QAbstractPhysicalDeviceProxy
can be used to facilitate exposing a physical device to users. It alleviates the need to introspect the axis and buttons based on their names.
It is typcally used through subclassing allowing to set the device name and defining enums for the various axis and buttons of your targeted device.
At runtime, the status property will be updated to reflect whether an actual device matching the device name could be created.
成員類型文檔編製
enum QAbstractPhysicalDeviceProxy::
DeviceStatus
特性文檔編製
deviceName
: const
QString
訪問函數:
|
QString
|
deviceName
() const
|
訪問函數:
|
Qt3DInput::QAbstractPhysicalDeviceProxy::DeviceStatus
|
status
() const
|
通知程序信號:
|
void
|
statusChanged
(QAbstractPhysicalDeviceProxy::DeviceStatus
status
)
|
成員函數文檔編製
[override virtual]
int
QAbstractPhysicalDeviceProxy::
axisCount
() const
[override virtual]
int
QAbstractPhysicalDeviceProxy::
axisIdentifier
(const
QString
&
name
) const
[override virtual]
QStringList
QAbstractPhysicalDeviceProxy::
axisNames
() const