码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果)
xargs命令
xargs命令把从stdin接受到的数据重新格式化。例如:$command | xargs xargs命令可以将多行输入转换成单行输出$cat example.txt1 2 3 4 5 67 8 9 1011 12$cat example.txt | xargs1 2 3 4 5 6 7 8 9 ....
分类:其他好文   时间:2014-07-16 23:02:37    阅读次数:299
SVN与TFS自动同步脚本(很实用)
一直都在园子里看文章,因为各种原因懒得写文章。最近稍得空闲,把这几天的工作成果分享一下。因为工作需要,开发人员使用Qt进行系统移动端的开发,Qt的版本控制却不提供连接TFS的设置,只有使用svn。没有办法,只有安装svn,现学现了解,最后发现可以通过svn的hooks实现提交后,svn服务端自动同....
分类:其他好文   时间:2014-07-16 23:01:52    阅读次数:432
quick-x 触摸事件的新方法
--[[ local function onTouch(event, x, y) print(event, x, y) if event == "began" then return true -- 在 bega...
分类:其他好文   时间:2014-07-16 22:54:47    阅读次数:193
Qt信号槽中槽函数为虚函数的一些感想
有时候,在写connect的时候会去犹豫一个问题----我的槽函数到底需不需要为虚函数。这个问题在我每次写connect的时候我都会反问自己,因为确实,如果你不去深究里面的moc,你发现不了太多问题。 比如有这么一个demo.#include #include #include class Tes....
分类:其他好文   时间:2014-07-16 21:51:52    阅读次数:206
Quick Cocos2dx 版本更新
呵呵,不出所料,我又把项目的quick x版本从2.2.1升级到2.2.3了,不知道下次升级到3.x回事神马时候呢,好期待的说。话说运行2.2.3的player的时候,老是提醒我显卡不支持opengl 1.5,说我的显卡才支持到opengl 1.1。用各种工具查看,老子显卡支持opengl4.4, ...
分类:其他好文   时间:2014-07-16 21:49:26    阅读次数:190
Qt中的 Size Hints 和 Size Policies
sizeHint 这个属性所保存的 QSize 类型的值是一个被推荐给窗口或其它组件(为了方便下面统称为widget)的尺寸,也就是说一个 widget 该有多大,它的一个参考来源就是这个 sizeHint 属性的值,而这个值由 sizeHint() 函数来确定。但是 widget 的大小的确定还....
分类:其他好文   时间:2014-07-16 21:27:07    阅读次数:251
【leetcode刷提笔记】Permutations
Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,...
分类:其他好文   时间:2014-07-16 20:58:41    阅读次数:173
Reverse Words in a String
源自leetcode上的一道题。题目为:Reverse Words in a StringGiven an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "bl...
分类:其他好文   时间:2014-07-16 20:46:04    阅读次数:185
深入理解pthread_cond_wait、pthread_cond_signal
LINUX环境下多线程编程肯定会遇到需要条件变量的情况,此时必然要使用pthread_cond_wait()函数。但这个函数的执行过程比较难于理解。     pthread_cond_wait()的工作流程如下(以MAN中的EXAMPLE为例):        Consider two shared variables x and y, protected by the mutex mut,...
分类:其他好文   时间:2014-07-10 19:50:36    阅读次数:347
Reverse Words in a String
题目:          Given an input string, reverse the string word by word. For example, Given s = "the sky is blue", return "blue is sky the". java代码: {CSDN:CODE:422957}...
分类:其他好文   时间:2014-07-10 17:26:26    阅读次数:136
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!