Qt_事件过滤器

时间:2021-08-21 06:24:10
【文件属性】:
文件名称:Qt_事件过滤器
文件大小:815KB
文件格式:ZIP
更新时间:2021-08-21 06:24:10
Qt Qt 实现一个部件中监视其他多个部件的事件,其是由2个函数组成的一种操作,分别是installEventFilter()和EventFilter()函数,都是QObject类中的函数,用来完成一个部件对其他部件的事件的监视。。
【文件预览】:
myeventfilter-build
----ui_widget.h(2KB)
----release()
----debug()
--------widget.o(497KB)
--------main.o(486KB)
--------moc_widget.o(406KB)
--------moc_predefs.h(10KB)
--------myeventfilter.exe(1.31MB)
--------moc_widget.cpp(3KB)
----.qmake.stash(736B)
----Makefile(26KB)
----Makefile.Debug(36KB)
----Makefile.Release(36KB)
myeventfilter
----widget.ui(868B)
----main.cpp(175B)
----myeventfilter.pro(374B)
----widget.cpp(2KB)
----widget.h(325B)
----myeventfilter.pro.user(23KB)

网友评论