|
DtkDevice
DTK library for device.
|
键盘设备类 更多...
#include <dinputdevicekeyboard.h>
Public 槽 | |
| DExpected< void > | reset () override |
| 重置键盘相关的所有设置 更多... | |
Public 槽 继承自 Dtk::Device::DInputDeviceGeneric | |
| virtual DExpected< void > | reset () |
| 重置设备的设置 更多... | |
Protected 成员函数 | |
| DInputDeviceKeyboard (const DeviceInfo &info=DeviceInfoInitializer, bool enabled=true, QObject *parent=nullptr) | |
| 默认构造函数与指定父对象的构造函数, 该函数仅开放给子类和DInputDeviceManager使用. 更多... | |
Protected 成员函数 继承自 Dtk::Device::DInputDeviceGeneric | |
| DInputDeviceGeneric (const DeviceInfo &info=DeviceInfoInitializer, bool enabled=true, QObject *parent=nullptr) | |
| DInputDeviceGeneric (DInputDeviceGenericPrivate &dd, const DeviceInfo &info, bool enabled, QObject *parent) | |
| void | setId (quint32 id) |
| 设置设备的id 更多... | |
| void | setName (const QString &name) |
| 设置设备名 更多... | |
| void | setType (DeviceType type) |
| 设置设备类型 更多... | |
| void | setEnabled (bool enabled) |
| 设置设备是否启用 更多... | |
| void | setDeviceInfo (const DeviceInfo &info) |
| 设置设备信息 更多... | |
友元 | |
| class | DInputDeviceManager |
额外继承的成员函数 | |
Public 类型 继承自 Dtk::Device::DInputDeviceGeneric | |
| using | Ptr = QSharedPointer< DInputDeviceGeneric > |
信号 继承自 Dtk::Device::DInputDeviceGeneric | |
| void | enabledChanged (bool enabled) |
| 设备启用状态改变信号 更多... | |
Public 成员函数 继承自 Dtk::Device::DInputDeviceGeneric | |
| virtual quint32 | id () const |
| 获取设备id 更多... | |
| virtual QString | name () const |
| 获取设备名 更多... | |
| virtual DeviceType | type () const |
| 获取设备类型 更多... | |
| virtual bool | enabled () const |
| 获取设备是否启用 更多... | |
| ~DInputDeviceGeneric () override | |
| 析构函数 更多... | |
属性 继承自 Dtk::Device::DInputDeviceGeneric | |
| quint32 | id |
| 设备id 更多... | |
| QString | name |
| 设备名 更多... | |
| DeviceType | type |
| 设备类型 更多... | |
| bool | enabled |
| 设备启用状态 更多... | |
键盘设备类
键盘设备类目前并没有实现任何实际功能.
|
protected |
默认构造函数与指定父对象的构造函数, 该函数仅开放给子类和DInputDeviceManager使用.
成员变量初始化构造函数, 该函数仅开放给子类和DInputDeviceManager使用.
|
overrideslot |
重置键盘相关的所有设置
注意, 在当前版本, 该函数无任何实际作用.