上一页 1 2 3 4 5 6 ··· 23 下一页
摘要: 点击打开链接【QWebview】的必要设置WebView->settings()->setAttribute(QWebSettings::JavascriptEnabled, true);WebView->settings()->setAttribute(QWebSettings::PluginsEnabled, true);//重要用的是QT4.6 免费版难道不支持播放Flash了? TNND 没调试出来 显示Flash的位置只是出现个小图标【QAxWidget】这种方法可行 利用组件 调用AxShockwaveFlash的成员函数 QAxWidget *flash 阅读全文
posted @ 2012-01-02 15:33 Podevor 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 点击打开链接A question that pops up every now and again and this time I'll document my attempt to do this. To do this I use the Qt framework. More specifically, I used QtcpSocket for the connection.In this example program I will use a client-server approach to this problem. I will build a server that 阅读全文
posted @ 2011-12-14 13:15 Podevor 阅读(325) 评论(0) 推荐(0) 编辑
摘要: 点击打开链接自己实现过了的,javascript脚本关于Iframe之间以及与父窗体的值传递,事件调用问题;在父页面访问Iframe子窗体的txtAddress控件window.frames["ifrMapCompanyDetails"].document.all("txtAddress").value = '地址' ;在Iframe子窗体1访问父页面的TextBox1控件 , 子窗体1把值赋给子窗体2的某个控件string strValue = "从子窗体传递给父页面的值" ;下面是在Page_Load事件里面调用的 阅读全文
posted @ 2011-12-02 10:14 Podevor 阅读(266) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="content-type" content="text/html; charset=utf- 阅读全文
posted @ 2011-11-28 14:09 Podevor 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 点击打开链接使用window.location.reload;刷新时,如果提交数据的动作,则会出现讨厌的对话框!解决此问题,应该这样写: window.location.href=window.location.href; window.location.reload; 同理,如果是刷新父窗口,应该这样写: window.opener.location.href=window.opener.location.href; window.opener.location.reload(); 这种写法就不出现那讨厌的对话框啦! 介绍JS实现刷新iframe的方法 <iframe src=&quo 阅读全文
posted @ 2011-11-28 14:08 Podevor 阅读(840) 评论(0) 推荐(0) 编辑
摘要: 点击打开链接javascript中没有像c#,java那样的哈希表(hashtable)的实现。在js中,object属性的实现就是hash表,因此只要在object上封装点方法,简单的使用obejct管理属性的方法就可以实现简单高效的hashtable。首先简单的介绍关于属性的一些方法:属性的枚举:for/in循环是遍历对象属性的方法。如1varobj={2name:'obj1',3age:20,4height:'176cm'5}67varstr='';8for(varnameinobj)9{10str+=name+':'+ob 阅读全文
posted @ 2011-11-21 13:44 Podevor 阅读(213) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript">//源码如下:var Hash = function(){ this._data = new Object(); } function Hash$add(key,value){ if(!key) return; if(typeof(value) === 'undefined') return; this._data[key] = value; } function Hash$addRange(h){ if(!h || !h._data) return; for(var key in h 阅读全文
posted @ 2011-11-21 13:40 Podevor 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 点击打开链接Microsoft的NetMeeting 3 SDK提供了开发NetMeeting的客户端的应用程序接口。NetMeeting实现了ITU-T的实时多点数据链接和会议的T.120协议和实时多媒体视频会议的H.323协议。NetMeeting的大部分组件的实现是基于COM技术的,我们可以在支持COM技术的编程语言中调用这些组件。NetMeeting 3 SDK提供了Scripting API和COM API,使用Scripting API可以在网页等支持脚本语言的环境中使用NetMeeting,使用COM API可以在支持COM技术的编程语言中使用NetMeeting提供的组件。Ne 阅读全文
posted @ 2011-11-21 10:20 Podevor 阅读(313) 评论(0) 推荐(0) 编辑
摘要: 点击打开链接Thanks alot all of you, especially Thiago,I finally got it working. The trick was to read the data after theQTcpSocket connection was closed rather than reading it whenreadyRead() was emitted.Here is my server code:QByteArray block;QDataStream out(&block, QIODevice::WriteOnly);out.setVersi 阅读全文
posted @ 2011-11-21 09:57 Podevor 阅读(317) 评论(0) 推荐(0) 编辑
摘要: 点击打开链接Hi All, I have two simple applications which are network based. The 'server' takes a screenshot of its computer. When a 'client' connects, it will receive the captured image. These are basically the fortune server/client examples modified to transmit images instead of text. Her 阅读全文
posted @ 2011-11-21 09:38 Podevor 阅读(335) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 23 下一页