码迷,mamicode.com
首页 >  
搜索关键字:qt quick example    ( 27971个结果)
Qt打开文件对话框
项目中需要打开文件对话框,就查了一下,不得不说Qt的帮助文档做的真好,非常详细。要实现这个功能有两种方式,使用QFileDialog的静态方法,实例化QFileDialog对象。基本算是照抄帮助文档了。下面是自己的代码。 1 // 单击文件按钮 2 void FirstDialog::on_push...
分类:其他好文   时间:2014-08-06 14:14:01    阅读次数:199
asp.net 音乐播放器
Playback Example 青檬音乐台 广东新闻电台 广东音乐之声 日本NHK广播
分类:Web程序   时间:2014-08-06 11:38:11    阅读次数:285
OpenERP-隐藏多对多域弹出列表视图的"新建"按钮(Hide the "Create" button from the popup list view of a many2many field)
隐藏多对多域的弹出列表视图中的“新建”按钮,如例: Hiding the "Create" button from the popup list view of a many2many field. Example shown as below: 1. 在.py文件中定义many2many的field: 1. Define a many2many field in the pytho...
分类:其他好文   时间:2014-08-06 01:59:20    阅读次数:273
struts1标签之<logic:iterate>
主要用来处理在页面上输出集合类,集合一般来说是下列之一: 1、 java对象的数组 2、 ArrayList、Vector、HashMap等 具体用法请参考struts文档,这里不作详细介绍 现在定义一个class,User.java 把它编译成User.class package example; import java.io.Serializabl...
分类:其他好文   时间:2014-08-05 22:47:00    阅读次数:246
LeetCode——Maximum Subarray
Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For example, given the array [?2,1,?3,4,?1,2,1,?5,4], the contiguous subarray [4,?1,2,1] ha...
分类:其他好文   时间:2014-08-05 22:37:50    阅读次数:188
qt学习(一)qt三个文件函数的框架
学到点什么, 而不是复制着什么, 每天敲着别人给的代码,苦涩得改完bug, 就这样一天天的过去, 实质上并没有学到什么, 别人的思想只是拿来借鉴, 你的思想是好是坏都是你的, 不用急着抛弃自己。 从qt看看人家的思路。 Qt编程思路: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
分类:其他好文   时间:2014-08-05 22:24:20    阅读次数:367
快速排序
#include int partition(int A[], int p, int q) { int x = A[p]; int i = p; int j; for (j=p+1; jint quick_sort(int a[], int low, int high)//一...
分类:其他好文   时间:2014-08-05 22:23:40    阅读次数:289
[LeetCode] Restore IP Addresses
Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example: Given "25525511135",return ["25...
分类:其他好文   时间:2014-08-05 19:13:59    阅读次数:225
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!