码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果
XML(1)——shema约束之命名空间
一、XML的两种约束DTD和Schema 摘自IBM官网一段话命名空间。 二、shema文件 student.xsd xmlns="http://www.w3.org/2001/XMLSchema"  targetNamespace="http://www.example.org/student" elementFormDefault="qualified">...
分类:其他好文   时间:2014-05-25 22:54:51    阅读次数:385
android-为应用单元测试
0. 新建一个等待测试的业务类,并添加待测试的方法: a. 新建一个名为Junit2的android应用工程; b. 在android工程中新建一个名为Demo的类,并添加save和add两个方法,代码如下:package com.example.junit2;public clas...
分类:移动开发   时间:2014-05-25 22:52:40    阅读次数:403
C++内部类与Java内部类都区别
首先声明一下,C++的内部类与Java内部类相似,但有一点不同,即C++需要一个显式的成员只想外部类对象,而Java内部类对象有一个隐式的成员指向外部类对象。给出两个example:1.C++内部类(原创来自:http://blog.chinaunix.net/uid-7769108-id-1667...
分类:编程语言   时间:2014-05-25 15:06:27    阅读次数:256
hdu4336 Card Collector
Problem DescriptionIn your childhood, do you crazy for collecting the beautiful cards in the snacks? They said that, for example, if you collect all t...
分类:其他好文   时间:2014-05-25 14:05:37    阅读次数:214
LeetCode: Insert Interval [056]
【题目】 Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume that the intervals were initially sorted according to their start times. Example 1: Given intervals [1,3],[6,9], insert and mer...
分类:其他好文   时间:2014-05-25 12:56:43    阅读次数:271
Qt pro工程文件介绍
app - 建立一个应用程序的makefile。这是默认值,所以如果模板没有被指定,这个将被使用。lib - 建立一个库的makefile。vcapp - 建立一个应用程序的Visual Studio项目文件。vclib - 建立一个库的Visual Studio项目文件。subdirs - 这是一...
分类:其他好文   时间:2014-05-25 12:42:14    阅读次数:208
Qt之加密算法
在写这篇文章之前,我曾反复思量关于加密的叫法是否准确,更为严格来说,应该是密码散列-将数据(如中英文字母、特殊字符)通过复杂的算法转换为另一种固定长度的值。QCryptographicHash类 在Qt中,QCryptographicHash类提供了生成密码散列的方法。该类可以用于生成二进...
分类:其他好文   时间:2014-05-25 12:37:04    阅读次数:287
Qt之开机自启动
Windows开机自启动的程序很多,包括系统软件、杀毒软件、一些其他安装软件等等。当然可以禁止,通过软件管理或者手动删除对应的注册表中的项即可!但是为了系统的服务或者操作上的方便,我们往往需要开机自启动一些服务。 以下是开机的启动项: Qt也不例外,在发布Qt程序的时候,我们通常也需要...
分类:其他好文   时间:2014-05-25 12:25:53    阅读次数:194
Qt之界面实现技巧
一、主界面1、无边框setWindowFlags(Qt::FramelessWindowHint)2、界面始终位于顶部位置setWindowFlags(Qt::WindowStaysOnTopHint)3、任务栏图标点击时进行显示/不显示切换setWindowFlags(Qt::WindowMini...
分类:其他好文   时间:2014-05-25 12:24:53    阅读次数:254
LeetCode: Spiral Matrix II [058]
【题目】 Given an integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. For example, Given n = 3, You should return the following matrix: [ [ 1, 2, 3 ], [ 8, 9, 4 ], [ 7, 6, 5 ] ] 【题意】 给定整数n, 将1,2,3...nxn个数按螺旋旋转的方式填入n...
分类:其他好文   时间:2014-05-25 07:08:17    阅读次数:235
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!