• 首页
  • Qt文档
  • DTK文档
  • 玲珑文档
  • dregionmonitor_zh

    Class::DRegionMonitor

    暂无该属性


    Detailed Description

    ~chinese ~chinese

    一个在指定区域内监视鼠标键盘动作的类

    DRegionMonitor::D_DECLARE_PRIVATE

    [private plain  ]

    int D_DECLARE_PRIVATE(DRegionMonitor )

    ~chinese ~chinese DRegionMonitor::RegisterdFlag 定义了 DRegionMonitor 监听标志。

    ~chinese UnknownCommand DRegionMonitor::Motion ~chinese 代表监听鼠标移动。

    ~chinese UnknownCommand DRegionMonitor::Button ~chinese 代表监听鼠标按键。

    ~chinese UnknownCommand DRegionMonitor::Key ~chinese 代表监听键盘按键。

    DRegionMonitor::Q_DECLARE_FLAGS

    [private plain  ]

    int Q_DECLARE_FLAGS(int , DRegionMonitor::RegisterdFlag )

    DRegionMonitor::watchedRegion

    [private plain  ]

    int watchedRegion() const See also setWatchedRegion()

    DRegionMonitor::registerFlags

    [private plain  ]

    int registerFlags() const ~chinese

    DRegionMonitor::registerFlags ~chinese

    获取监听模式 ~chinese See also DRegionMonitor::setRegisterFlags(RegisterdFlags flags)

    DRegionMonitor::coordinateType

    [private plain  ]

    DRegionMonitor::CoordinateType coordinateType() const See also setCoordinateType()

    DRegionMonitor::buttonRelease

    [private plain  ]

    void buttonRelease(const int &p, const int flag) const

    DRegionMonitor::cursorMove

    [private plain  ]

    void cursorMove(const int &p) const

    DRegionMonitor::cursorEnter

    [private plain  ]

    void cursorEnter(const int &p) const

    DRegionMonitor::cursorLeave

    [private plain  ]

    void cursorLeave(const int &p) const

    DRegionMonitor::keyPress

    [private plain  ]

    void keyPress(const int &keyname) const

    DRegionMonitor::keyRelease

    [private plain  ]

    void keyRelease(const int &keyname) const

    DRegionMonitor::registerdFlagsChanged

    [private plain  ]

    void registerdFlagsChanged(int flags) const

    DRegionMonitor::coordinateTypeChanged

    [private plain  ]

    void coordinateTypeChanged(DRegionMonitor::CoordinateType type) const

    DRegionMonitor::registerRegion

    [public plain  ]

    void registerRegion(const int &region)

    DRegionMonitor::unregisterRegion

    [public plain  ]

    void unregisterRegion()

    DRegionMonitor::setWatchedRegion

    [public plain  ]

    void setWatchedRegion(const int &region)

    DRegionMonitor::setRegisterFlags

    [public plain  ]

    void setRegisterFlags(int flags) ~chinese

    ~chinese

    设置监听模式 ~chinese flags ~chinese

    监听模式,需要注意DRegionMonitor::Motion监听鼠标移动会影响性能,默认包含,如果 ~chinese

    需要可通过此函数去掉DRegionMonitor::Motion ~chinese See also DRegionMonitor::registerFlags()

    DRegionMonitor::setCoordinateType

    [public plain  ]

    void setCoordinateType(DRegionMonitor::CoordinateType type)

    DRegionMonitor::Q_PRIVATE_SLOT

    [private plain  ]

    int Q_PRIVATE_SLOT(int () , void (const int, const int, const int, const int &) )