码迷,mamicode.com
首页 >  
搜索关键字:eve    ( 10269个结果
Qt消息机制和事件(二)
三,事件过滤器 有时候,对象需要查看、甚至要拦截发送到另外对象的事件。例如,对话框可能想要拦截按键事件,不让别的组件接收到;或者要修改回车键的默认处理。 通过前面的章节,我们已经知道,Qt 创建了QEvent事件对象之后,会调用QObject的event()函数处理事件的分发。显然,我们可以在eve ...
分类:其他好文   时间:2016-09-01 02:02:49    阅读次数:220
August 12th 2016 Week 33rd Friday
Everything is good in its season. 万物逢时皆美好。 Every dog has its day. You are not in your best condition, maybe just because it is not the right time. Eve ...
分类:其他好文   时间:2016-08-12 23:28:55    阅读次数:149
code forces 140F New Year Snowflake
F. New Year Snowflake F. New Year Snowflake As Gerald ..., in other words, on a New Year Eve Constantine prepared an unusual present for the Beautiful ...
分类:其他好文   时间:2016-08-04 13:08:34    阅读次数:138
我常用的加密解密代码
代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/ -->/*用法 protected void Page_Load(object sender, Eve ...
分类:其他好文   时间:2016-08-03 11:44:44    阅读次数:197
codeforces 140F New Year Snowflake
F. New Year Snowflake F. New Year Snowflake As Gerald ..., in other words, on a New Year Eve Constantine prepared an unusual present for the Beautiful ...
分类:其他好文   时间:2016-08-01 22:33:19    阅读次数:270
Node.js之事件events
Eventsa.EventEmitter支持多个事件监听,最大为10,也可以自定义最大数//添加监听var EventEmitter = require('events').EventEmitter;var instance = new EventEmitter();instance.on('eve ...
分类:Web程序   时间:2016-08-01 21:08:10    阅读次数:172
POJ-1847 Tram( 最短路 )
题目链接:http://poj.org/problem?id=1847 Description Tram network in Zagreb consists of a number of intersections and rails connecting some of them. In eve ...
分类:其他好文   时间:2016-07-12 22:52:16    阅读次数:215
JavaScript屏蔽鼠标右键
JavaScript屏蔽鼠标右键还可以在body标签里加上oncontextmenu= self.event.returnvalue=false 或者: function nocontextmenu(){ if(document.all) { event.cancelBubble=true; eve ...
分类:编程语言   时间:2016-07-09 16:24:08    阅读次数:124
捕获EF提交异常
try { } catch (DbEntityValidationException dbex) { string errMsg = string.Empty; foreach (var eve in dbex.... ...
分类:其他好文   时间:2016-06-30 19:50:21    阅读次数:227
I/o多路复用之poll
一、poll不同与select使用三个位图来表示三个fdset的方式,poll使用一个pollfd的结构体指针实现。函数原型如下:其中nfds表示结构体数组中关心的文件描述符的个数,当加入新的文件描述符的时候需更新nfds的值。其中pollfd结构体如下:pollfd结构包含了要监视的event和发生的eve..
分类:其他好文   时间:2016-06-18 01:38:07    阅读次数:250
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!