http://www.cnblogs.com/swarmbees/p/5789482.html http://www.cnblogs.com/swarmbees/p/5812031.html Read More
posted @ 2016-09-03 04:35 findumars Views(519) Comments(0) Diggs(0)
1、ISO开放系统有以下几层: 7 应用层 6 表示层 5 会话层 4 传输层 3 网络层 2 数据链路层 1 物理层 2、TCP/IP 网络协议栈分为应用层(Application)、传输层(Transport)、网络层(Network)和链路层(Link)四层。 通信过程中,每层协议都要加上一个 Read More
posted @ 2016-09-03 04:34 findumars Views(1050) Comments(0) Diggs(1)
原文:VC8_Object_Layout_Secret.html 哈哈,从M$ Visual C++ Team的Andy Rich那里又偷学到一招:VC8的隐含编译项/d1reportSingleClassLayout和/d1reportAllClassLayout。看个复杂的例子吧(如下),现在假 Read More
posted @ 2016-09-02 23:49 findumars Views(442) Comments(0) Diggs(0)
通过Delegate创建QCheckBox来实现的Check列,只有在该列进入编辑模式时才能够Check/Uncheck。这显然不是我们想要的,网上翻来翻去,在一个国外论坛中看到了无需Delegate的实现方法,只需重写Model即可: class MyModel : public QSqlQuer Read More
posted @ 2016-09-02 22:56 findumars Views(608) Comments(0) Diggs(0)
Timers (SetTimer and CreateWaitableTimer) in Windows SetTimer The following example creates a timer (that is not attached to a window) whose Timer Pro Read More
posted @ 2016-09-02 22:54 findumars Views(678) Comments(0) Diggs(0)