• QSignMapper


    ---恢复内容开始---

    (QObject * sender, int id)

      void QSignalMapper::setMapping(QObject * sender, int id)      SIGNAL
    Adds a mapping so that when map() is signalled from the given sender, the signal mapped(id) is emitted.

    There may be at most one integer ID for each sender.    signal V.发信号

    添加一个信号/槽映射关系,当QSignalMapper的槽map ()被sender的信号激活时(前提是sender的信号已经连接到

    QSignalMapper的map()槽),QSignalMapper就会以id作为参数产生信号mapped ( int id )。

      QObject * QSignalMapper::mapping(int id) const
    Returns the sender QObject that is associated with the id.

      void QSignalMapper::map()   SLOT
    This slot emits signals based on which object sends signals to it.

    ---恢复内容结束---

  • 相关阅读:
    SpringBoot04-web
    springboot03-日志功能
    SpringBoot02-自动配置原理
    SpringBoot02
    SpringBoot01
    八大排序算法
    SpringSecurity04
    SpringSecurity03
    SpringSecurity02
    SpringSecurity01
  • 原文地址:https://www.cnblogs.com/584709796-qq-com/p/5287612.html
Copyright © 2020-2023  润新知