码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果)
Unique Binary Search Trees
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?For example,Given n = 3, there are a total of 5 unique BST's...
分类:其他好文   时间:2014-08-18 00:03:13    阅读次数:189
quick-cocos2d-x学习笔记【6】——制作自定义效果按钮菜单
前面提到的是基本的菜单使用,还是很容易的,不过我们在商业产品中,经常看到的按钮都是非常好看,不光光是图片做得精美,而且动画效果也很棒。Candy Crash都玩过吧,看它们那个按钮,真的像果冻一样,效果确实很赞,所以我们也来做个,当然不是它那个效果,而且点击之后有一个抖动的效果。像这样, 好了,开始做个吧,我这个也是搬了一下coinflip中的按钮代码,算是学习一下。 创建一个...
分类:其他好文   时间:2014-08-17 21:22:12    阅读次数:365
UBuntu14.04安装Qt5.3.1
1. Qt5.3.1下载地址为:http://qt-project.org/,选择”Qt 5.3.1 for Linux 32-bit”版本,文件名是”qt-opensource-linux-x86-5.3.1.run”;2. 进入qt-opensource-linux-x86-5.3.1.run目...
分类:其他好文   时间:2014-08-17 21:18:42    阅读次数:280
Symmetric Tree
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:其他好文   时间:2014-08-17 19:55:32    阅读次数:215
Symmetric Tree
-----QUESTION-----Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symme...
分类:其他好文   时间:2014-08-17 19:47:22    阅读次数:259
Qt 应用如何处理拖放时的中文参数
你使用 Qt 开发了一个应用,用户拖放一个文件到你的 exe 上,此时启动你的应用, main() 函数可能收到中文参数,如何正确处理呢?...
分类:其他好文   时间:2014-08-17 18:34:22    阅读次数:165
qtablewidget 导出为 excel
在 Qt 5.2 中使用 OLE 将 qtablewidget 导出为 excel...
分类:其他好文   时间:2014-08-17 17:05:22    阅读次数:493
归并排序
归并排序 归并排序是另一类不同的排序方法,所谓归并,就是把两个或者两个以上的有序表合并成一个新的有序表的过程。基本思想 将一个含有n个序列的有序表看成是n个长度为1的有序表,然后两两归并,得到[n/2]个长度为2的有序表,然后再两两归并,直到得到一个长度为n的有序表为止。example 初始值 【4...
分类:其他好文   时间:2014-08-17 16:58:42    阅读次数:225
Optional arguments
We have seen built-in functions that take a variable number of arguments. For example range can take one, two or three arguments.It is possible to wri...
分类:其他好文   时间:2014-08-17 16:52:32    阅读次数:272
Qt, 我回来了。。。
说起qt,大学时就有接触,但一直没有深入,这个周六周天利用两于时间重新温习了一下,跟之前用过的vs上的MFC、C++ builder比起来,Qt封装很人性化,库也比较全,写个一般的小工具很轻松。 参考的教程为:Qt快速入门系列教程目录, 很详细很实用(除了一些插图说明看不了)导语 该系列教程是基.....
分类:其他好文   时间:2014-08-17 16:52:02    阅读次数:307
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!