码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果
【LeetCode】Combinations
Given two integersnandk, return all possible combinations ofknumbers out of 1 ...n.For example,Ifn= 4 andk= 2, a solution is:[ [2,4], [3,4], [2,3],...
分类:其他好文   时间:2014-05-14 03:54:40    阅读次数:250
leetcode -day13 Valid Palindrome & Triangle & Pascal's Triangle I II
1、 ?? Valid Palindrome Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. For example, "A man, a plan, a canal: Panama" is a palindrom...
分类:其他好文   时间:2014-05-13 07:06:35    阅读次数:284
Qt编程获取鼠标移动事件
想做下面一个效果:想当鼠标移动到按钮上的时候,按钮就变大,图标换个大的,鼠标不在按钮上的时候,按钮就变小,图标也换成小的,感觉比较Cool 实现原理:为每个按钮设置监听属性 void MainHomeForm::init() { //为按钮注册事件 ui->SystemSetButton->installEventFilter(this); ui->ZoneSe...
分类:移动开发   时间:2014-05-12 22:57:49    阅读次数:555
【LeetCode】Spiral Matrix
Spiral MatrixGiven a matrix ofmxnelements (mrows,ncolumns), return all elements of the matrix in spiral order.For example,Given the following matrix:[...
分类:其他好文   时间:2014-05-12 20:04:43    阅读次数:268
【LeetCode】Spiral Matrix II
Given an integern, generate a square matrix filled with elements from 1 ton2in spiral order.For example,Givenn=3,You should return the following matri...
分类:其他好文   时间:2014-05-12 19:53:23    阅读次数:332
串口类QextSerialPort
QextSerialPort类是基于Qt程序串口类,在win和linux都适用,win下可以使用EventDriven,linux好像不行。 整个类的层次关系。我下载的是qextserialport-1.2win-alpha这个版本,不过编译时有点问...
分类:其他好文   时间:2014-05-11 23:30:33    阅读次数:304
222
/* Endian swapping module.Simple example with Avalon streaming interfaces and a CSR busAvalon-ST has readyLatency of 0Avalon-MM has fixed readLatency ...
分类:其他好文   时间:2014-05-11 23:21:17    阅读次数:423
Bg, Fg, &, Ctrl-Z – 5 Examples to Manage Unix Background Jobs
Whenyouexecuteaunixshell-scriptorcommandthattakesalongtime,youcanrunitasabackgroundjob.Inthisarticle,letusreviewhowtoexecuteajobinthebackground,bringajobtotheforeground,viewallbackgroundjobs,andkillabackgroundjob.1.ExecutingabackgroundjobAppendinganampersan..
分类:其他好文   时间:2014-05-11 19:35:31    阅读次数:484
C语言实现C++的继承和多态
C++语言的对象化模型.封装,隐藏内部实现.继承,复用现有代码.多态,改写对象行为本文描述了一个C++实现的继承和多态的场景,然后用C语言编写了一种对等的实现。// A typical example of inheritance and virtual function use.// We wou...
分类:编程语言   时间:2014-05-11 18:03:47    阅读次数:412
【LeetCode】Reverse Linked List II
Reverse a linked list from positionmton. Do it in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m= 2 andn= 4,return1->4->3->2->5->NULL.No...
分类:其他好文   时间:2014-05-11 16:03:43    阅读次数:327
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!