摘要:
关键字:QT,QComboBox,QLineEdit,QListView,QPushButton,QMenu,QWidgetAction,setStyleSheetOS:Windows 7方法一:QComboBox+QLineEdit+QListView相关问题链接:QComboBox: Can w... 阅读全文
摘要:
OS:Window 8.1关键字:JavaScript,HTML,this,new,delete,call,apply。1.this一般而言,在Javascript中,this指向函数执行时的当前对象。2.new在JavaScript中,使用new关键字后,意味着做了如下四件事情:创建一个新的对象,... 阅读全文
摘要:
OS:Windows 7 关键字:VS2015,C++,V-Table,虚表,虚函数。 对C++ 了解的人都应该知道虚函数(Virtual Function)是通过一张虚函数表(Virtual Table)来实现的。简称为V-Table。在这个表中,主是要一个类的虚函数的地址表,这张表解决了继承、覆 阅读全文
摘要:
OS:Windows 7关键字:Python3.4,XML,ElementTree,minidom本文介绍用Python解析生成以下XML: LDL China 1.创建一个xml文件名为src.xml,内容如... 阅读全文
摘要:
OS: Windows 8.1 with update关键字:Python 3.4,HTML5,JSON,JavaScript1.LocalServer.py,启动server,打开网页,传递JSON。from threading import Threadimport timeimport web... 阅读全文
摘要:
OS: Windows 8.1 with update关键字:Python3.4, http.server, Thread例子代码如下:import osfrom threading import Threadimport timeimport webbrowserport_number = "80... 阅读全文
摘要:
关键字:Web本地化, jquery,jquery.i18n.properties。运行环境:Chrome, IE。本文介绍使用jquery.i18n.properties对网站前端实现本地化,支持多语言。网站内容根据浏览器设置的语言来显示。1.前端文件夹结构如下:2.index.html文件 ... 阅读全文
摘要:
OS:Windows 7关键字:Python IDE, Spyder1.安装工具pip:https://pip.pypa.io/en/latest/installing.html下载get-pip.py.运行cmd:"python get-pip.py"。注:Python 2.7.9 和3.4 以后... 阅读全文
摘要:
OS:Win8.1 with update关键字:NodeJS,ExpressJS,SocketIO,MongoDB。1.源代码下载:https://github.com/ldlchina/ESMNodeAppTemplate2.服务器环境配置:安装NodeJS: http://www.nodejs... 阅读全文
摘要:
关键字:NodeJS,Express,Socket.io。OS:Windows 8.1 with update pro。1.安装NodeJS:http://nodejs.org/。2.初始化一个NodeJS web应用:打开CMD窗口。运行cmd:“mkdir myapp”,新建一个文件夹,名为my... 阅读全文