码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果
LeetCode: Remove Duplicates from Sorted Array [025]
【题目】 Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for another array, you must do this in place with constant memory. For example, Given input array A ...
分类:其他好文   时间:2014-05-18 18:25:19    阅读次数:272
基于Qt的类QQ气泡聊天的界面开发
使用了几种办法 1:使用Qt下面的QListview来实现QQ类似效果,差强人意 2:使用QWebview加载html css样式来完成,发现效果不错,但是毕竟webview占用巨大的内存 3:使用QTextBrower加载css,但是好像只支持css2.1版本,css3完全不支持,这样的话,花哨的样式应该是无法实现...
分类:其他好文   时间:2014-05-18 15:02:04    阅读次数:500
LeetCode: Generate Parentheses [021]
【题目】 Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. For example, given n = 3, a solution set is: "((()))", "(()())", "(())()", "()(())", "()()()" 【题意】 给定n对括号,输出所有可行的括号组合字符串。所谓合法,就是可以Valid Pare...
分类:其他好文   时间:2014-05-18 09:06:41    阅读次数:266
QT内使用OpenCV
在QT内使用Opencv,调试了好久总是出问题。开始在pro文件内进行了opencv的配置,然后就是不能识别#include包含文件,后来不知道什么原因,神奇地 能够识别包含了。可是,新的问题出现了,不能够识别cv函数,后来发现仅仅是不能识别opencv2.4函数,opencv1.0的函数还是可以识别的,使用IplImage能够正常显示图像。后来不知道怎么回事,又神奇地可以识别opencv2.4....
分类:其他好文   时间:2014-05-18 09:04:39    阅读次数:306
LeetCode: Swap Nodes in Pairs [023]
【题目】 Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algorithm should use only constant space. You may not modify the values in the list, only nodes it...
分类:其他好文   时间:2014-05-18 08:37:57    阅读次数:370
javascript异步延时加载及判断是否已加载js/css文件
/**=========================================** | 异步延时加载js/css文件 | @example loadasync("http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"); | @author liuensong@gmail.com | @param stri...
分类:编程语言   时间:2014-05-18 06:16:24    阅读次数:299
基于 Paraview 扩展与实现——(2)
Paraview程序的架构 Paraview 支持多种数据格式和显示方式,目前包括网格绘制,面绘制,体绘制等方法。若要扩展 Paraview 的功能,必须了解其绘制的固定流水线,并且必须要编写符合 Paraview 接口规范的代码。 可视化包含三个基本的步骤:数据读取,数据过滤和数据渲染。首先,数据需要被读取到可视化应用程序 ParaView 中;接着,根据分析需要选择若干种过滤器来处理这些数...
分类:其他好文   时间:2014-05-18 04:54:16    阅读次数:550
Qt计算器开发(二):信号槽实现数学表达式合法性检查
Qt计算器项目开发的第二篇。因为我们的计算器不是单步计算的,而是可以一次性输入一个完整的数学表达式再去计算的,所以难免用户会输入不合法的表达式,为此我们就要对于用户的输入做一个限制。这里我使用了信号与槽的机制来实现。...
分类:其他好文   时间:2014-05-18 04:24:29    阅读次数:268
LeetCode: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". Clarification: What constitutes a word? A sequence of non-spa...
分类:其他好文   时间:2014-05-18 04:12:07    阅读次数:198
leetcode -day17 Path Sum I II & Flatten Binary Tree to Linked List & Minimum Depth of Binary Tree
1、 ?? Path Sum Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the below...
分类:其他好文   时间:2014-05-18 03:25:06    阅读次数:301
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!